Function at 0x55d980
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x55dd54
sub esp, 0x60
mov edx, dword [esp + 0x68]
mov ebx, dword [edx + 0x10]
mov ebp, dword [edx + 0xc]
test ebx, ebx
je 0x55dd3a
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], ebp
mov esi, dword [edx + 0x18]
mov dword [esp + 0x34], esi
mov edi, dword [edx + 0x1c]
mov dword [esp + 0x28], edi
cmp ebx, 0x15
je 0x55dd03
mov eax, 1
test al, al
je 0x55dcfc
cmp ebx, 0x15
je 0x55dcc5
mov eax, 1
test al, al
je 0x55dcbc
cmp edi, 0xa
jle 0x55dc77
mov dword [esp], 0
lea eax, [0x5eb2e7]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 7
lea eax, [0x5eb61f]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 4
call fcn.00448460
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x70]
cmp edx, 0x12
jge 0x55dc43
xor ebx, ebx
test bl, bl
je 0x55dc38
cmp edx, 0x12
jb 0x55dd47
mov dword [esp], 0
lea eax, [0x5eb2e9]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
lea eax, [edx - 0x12]
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 0x12
mov edx, dword [esp + 0x6c]
add eax, edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.00448400
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ebp
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], eax
call fcn.00488490
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
lea edi, [esp + 0x40]
xor eax, eax
call fcn.0045e1f8
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 4]
inc eax
mov dword [esp], eax
call fcn.00409030
mov eax, dword [esp + 4]
lea ecx, [0x5be280]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00409140
mov eax, dword [esp + 8]
lea ecx, [0x5beac0]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.00409140
mov eax, dword [esp + 8]
lea ecx, [0x5beac0]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x55db5b
mov eax, dword [eax + 4]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x5c], eax
lea eax, [0x5f852c]
mov dword [esp], eax
mov dword [esp + 4], 0x26
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], 4
call fcn.004c09b0
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [eax + 0x18]
mov esi, dword [esp + 0x18]
lea edi, [ecx + 1]
cmp ebp, edi
jb 0x55dbda
lea ebp, [ecx + 1]
mov dword [eax + 0x14], ebp
lea ebp, [edx + ecx*8 + 4]
mov dword [ebp], esi
mov ebp, dword [0x770e60]
lea edi, [edx + ecx*8]
test ebp, ebp
jne 0x55dbd1
mov dword [edi], ebx
add esp, 0x60
ret
mov eax, ebx
call fcn.0045df70
jmp 0x55dbcd
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], esi
lea eax, [0x5beac0]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edi
call fcn.004450a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x64]
mov dword [ebx + 0x18], edx
mov edx, dword [0x770e60]
test edx, edx
jne 0x55dc2e
mov dword [ebx + 0x10], eax
mov esi, dword [esp + 0x2c]
mov edx, eax
mov eax, ebx
mov ebx, dword [esp + 0x38]
jmp 0x55dbb1
lea edi, [ebx + 0x10]
call fcn.0045df70
jmp 0x55dc20
mov ebx, edx
mov ebp, dword [esp + 0x6c]
jmp 0x55daa3
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
lea ecx, [0x5efed2]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x12
call fcn.00402890
movzx ebx, byte [esp + 0xc]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x70]
jmp 0x55da51
mov dword [esp], 0
lea eax, [0x5eb2e7]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
lea eax, [0x5eb2d2]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 1
call fcn.00448460
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
jmp 0x55da3a
mov ecx, edi
mov eax, esi
jmp 0x55da3a
mov dword [esp], ebp
lea eax, [0x5f1628]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.00402890
movzx eax, byte [esp + 0xc]
xor eax, 1
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x28]
jmp 0x55d9e5
xor eax, eax
jmp 0x55d9e5
mov dword [esp], ebp
lea eax, [0x5f163d]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.00402890
movzx eax, byte [esp + 0xc]
xor eax, 1
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x28]
jmp 0x55d9cf
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x6c]
jmp 0x55d9ab
mov eax, 0x12
mov ecx, edx
call fcn.0045e050
nop
call fcn.0045ca10
jmp fcn.0055d980