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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x44]
cmp eax, dword [ecx + 8]
jbe 0x515efe
sub esp, 0xc4
mov eax, dword [esp + 0xe0]
test eax, eax
jne 0x51565e
mov eax, dword [0x783160]
mov ecx, dword [0x783164]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
lea edx, [0x5f9e60]
mov dword [esp], edx
call fcn.0040b8d0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x40]
mov dword [edi + 4], eax
mov eax, dword [0x7a0970]
test eax, eax
jne 0x51564d
mov ecx, dword [esp + 0x88]
mov dword [edi], ecx
mov ecx, dword [esp + 0xe0]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x7a0970]
test ecx, ecx
jne 0x515634
mov eax, dword [esp + 0xdc]
mov dword [edi + 8], eax
mov byte [edi + 0x1a], 1
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
lea eax, [0x65ea14]
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], edi
add esp, 0xc4
ret
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0xdc]
call fcn.0045de10
mov edi, edx
jmp 0x5155f4
mov eax, dword [esp + 0x88]
call fcn.0045de10
jmp 0x5155d6
mov ecx, dword [esp + 0xdc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00512170
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
test eax, eax
je 0x51574d
mov dword [esp + 0x88], ebx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x38], ecx
lea eax, [0x5d6700]
mov dword [esp], eax
call fcn.0040b8d0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x38]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 8], eax
mov eax, dword [0x7a0970]
test eax, eax
jne 0x515742
mov ecx, dword [esp + 0x64]
mov dword [edi], ecx
mov ecx, dword [esp + 0x40]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x7a0970]
test ecx, ecx
jne 0x515729
mov eax, dword [esp + 0x88]
mov dword [edi + 0xc], eax
mov dword [esp + 0xe4], edi
mov dword [esp + 0xe8], 1
mov dword [esp + 0xec], 1
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
add esp, 0xc4
ret
lea ecx, [edi + 0xc]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x88]
call fcn.0045de10
mov edi, edx
jmp 0x5156ef
mov eax, dword [esp + 0x64]
call fcn.0045de10
jmp 0x5156d4
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0xd0]
mov dword [esp], edx
lea ebx, [0x5de180]
mov dword [esp + 4], ebx
lea ebx, [0x7a0788]
mov dword [esp + 8], ebx
call ecx
mov eax, dword [esp + 0x10]
lea ecx, [0x5cc8e0]
cmp dword [esp + 0xc], ecx
jne 0x515ee0
mov dword [esp + 0x54], eax
test eax, eax
je 0x51579d
mov edx, dword [eax]
test edx, edx
jne 0x515ec2
lea eax, [0x5e2340]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov dword [esp + 0x84], eax
lea ecx, [0x51fef0]
mov dword [eax], ecx
mov ecx, dword [0x7a0970]
test ecx, ecx
jne 0x515eae
mov ecx, dword [esp + 0xc8]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0xd0]
mov dword [esp], edx
lea ebx, [0x5de140]
mov dword [esp + 4], ebx
lea ebx, [0x7a0788]
mov dword [esp + 8], ebx
call ecx
mov eax, dword [esp + 0x10]
lea ecx, [0x5dc260]
cmp dword [esp + 0xc], ecx
jne 0x515ea7
test eax, eax
je 0x515e9b
mov dword [esp + 0x58], eax
mov ecx, dword [0x78297c]
mov dword [esp + 0x80], ecx
lea edx, [0x5f9f00]
mov dword [esp], edx
call fcn.0040b8d0
mov eax, dword [esp + 4]
lea ecx, [0x6606ac]
mov dword [eax], ecx
mov ecx, dword [0x7a0970]
test ecx, ecx
jne 0x515e83
mov ecx, dword [esp + 0x80]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xcc]
mov dword [eax + 8], ecx
mov ecx, dword [0x7a0970]
test ecx, ecx
jne 0x515e6b
mov ecx, dword [esp + 0xd0]
mov dword [eax + 0xc], ecx
lea ecx, [0x66076c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b8620
mov eax, dword [esp + 0x10]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x88], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x7c], edx
mov dword [esp], 0
mov ebx, dword [esp + 0xd4]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0xd8]
mov dword [esp + 8], ebp
lea esi, [0x65bee8]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 1
mov esi, dword [esp + 0xdc]
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0xe0]
mov dword [esp + 0x18], edi
call fcn.00448510
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
lea edx, [0x7a0890]
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.00471f00
mov eax, dword [esp + 0xc8]
test eax, eax
je 0x515e5b
lea ecx, [eax + 8]
mov dword [esp + 0x50], ecx
lea eax, [0x5f3220]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
lea ecx, [0x51e540]
mov dword [eax], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
mov ecx, dword [0x7a0970]
test ecx, ecx
jne 0x515e37
mov ecx, dword [esp + 0x88]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0xd8]
mov dword [eax + 0x14], ecx
mov ecx, dword [0x7a0970]
test ecx, ecx
jne 0x515e1f
mov ecx, dword [esp + 0xd4]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0xe0]
mov dword [eax + 0x1c], ecx
mov ecx, dword [0x7a0970]
test ecx, ecx
jne 0x515e07
mov ecx, dword [esp + 0xdc]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.00509b10
mov eax, dword [esp + 0x10]
mov dword [esp + 0x6c], eax
movzx ecx, byte [esp + 0x14]
test cl, cl
je 0x515dec
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0xd0]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x78], eax
lea edi, [esp + 0xb0]
xor eax, eax
call fcn.0045e0ab
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov eax, dword [esp + 0x78]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x8c], eax
lea ecx, [esp + 0xb0]
mov dword [esp + 0x90], ecx
lea edx, [esp + 0x8c]
mov dword [esp], edx
lea edx, [esp + 0x44]
mov dword [esp + 4], edx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 2
mov byte [esp + 0x14], 1
call fcn.00441d30
mov eax, dword [esp + 0x18]
test eax, eax
je 0x515c89
cmp eax, 1
jne 0x515ee7
mov eax, dword [esp + 0xc8]
test eax, eax
je 0x515c79
add eax, 8
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
call fcn.00509f20
movzx eax, byte [esp + 0xc]
test al, al
je 0x515c4e
mov edx, dword [esp + 0x60]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xcc]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0xd0]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 4]
mov ebx, dword [esp + 8]
mov ebp, dword [0x782f14]
cmp dword [0x782f10], edx
je 0x515c01
mov ebp, dword [0x77d2f4]
cmp dword [0x77d2f0], edx
je 0x515bbe
mov ebx, dword [esp + 0x54]
test ebx, ebx
je 0x515b4e
mov edx, dword [ebx + 4]
test edx, edx
jne 0x515b84
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], ecx
add esp, 0xc4
ret
mov dword [esp + 0x68], ecx
mov dword [esp + 0x2c], eax
mov ebx, dword [edx]
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov byte [esp + 0xc], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
call ebx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x68]
jmp 0x515b4e
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.004037c0
movzx eax, byte [esp + 0xc]
test al, al
je 0x515bee
mov eax, dword [0x77d340]
mov ecx, dword [0x77d344]
mov ebx, dword [esp + 0x54]
test ebx, ebx
jmp 0x515b45
mov ebx, dword [esp + 0x54]
test ebx, ebx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x4c]
jmp 0x515b45
mov dword [esp + 0x74], ebx
mov dword [esp + 0x70], edx
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.004037c0
movzx eax, byte [esp + 0xc]
test al, al
je 0x515c39
mov eax, dword [0x783130]
mov ecx, dword [0x783134]
mov ebx, dword [esp + 0x54]
test ebx, ebx
jmp 0x515b45
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
jmp 0x515b31
mov dword [esp], 8
lea eax, [0x626fc0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc], eax
call fcn.0043c0d0
jmp 0x515af1
mov ecx, dword [0x77cef4]
test byte [ecx], al
lea eax, [ecx + 8]
jmp 0x515ac4
lea edi, [esp + 0x9c]
lea esi, [esp + 0xb0]
call fcn.0045e58e
mov edx, dword [esp + 0x60]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0x54]
test eax, eax
je 0x515d3b
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x515d3b
mov ecx, dword [esp + 0xa0]
lea edx, [0x5d28e0]
cmp dword [esp + 0x9c], edx
jne 0x515de1
mov ebx, dword [ecx]
mov ebp, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
call fcn.00515f10
mov eax, dword [esp + 0x54]
mov edx, dword [eax + 4]
mov eax, dword [edx]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
movzx esi, byte [esp + 0xac]
mov edi, dword [esp + 0xa4]
mov eax, dword [esp + 0xa8]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
xchg esi, eax
mov byte [esp + 0xc], al
xchg esi, eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x34]
call eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0xa8]
movzx ebp, byte [esp + 0xac]
test edx, edx
je 0x515d93
xor eax, eax
xor ecx, ecx
xor ebp, ebp
mov dword [esp + 0xe4], ebp
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], edx
mov dword [esp + 0xf4], ebx
add esp, 0xc4
ret
lea edx, [0x5d28e0]
cmp ecx, edx
jne 0x515ee7
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [eax + 8]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x515db7
xor ebx, ebx
mov ebp, edx
xor edx, edx
jmp 0x515d69
mov dword [esp + 0x30], ecx
lea eax, [0x5ea5c0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.00444f50
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
mov eax, ecx
jmp 0x515daf
xor ecx, ecx
xor ebp, ebp
xor ebx, ebx
jmp 0x515cdd
lea eax, [0x7a0890]
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call fcn.00471f00
jmp 0x5159ed
lea edi, [eax + 0x18]
mov ecx, eax
mov eax, dword [esp + 0xdc]
call fcn.0045de10
mov eax, ecx
jmp 0x5159b8
lea edi, [eax + 0x10]
mov ecx, eax
mov eax, dword [esp + 0xd4]
call fcn.0045de10
mov eax, ecx
jmp 0x515996
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x88]
call fcn.0045de10
lea edi, [ecx + 0xc]
mov eax, dword [esp + 0x58]
call fcn.0045de10
mov eax, ecx
jmp 0x515974
mov edx, dword [0x77cef4]
test byte [edx], al
lea ecx, [edx + 8]
jmp 0x515930
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0xd0]
call fcn.0045de10
mov eax, ecx
jmp 0x515881
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x80]
call fcn.0045de10
mov eax, ecx
jmp 0x51585f
mov eax, dword [esp + 0x84]
jmp 0x51581c
xor eax, eax
jmp 0x515814
lea edi, [eax + 4]
mov eax, dword [esp + 0xc8]
call fcn.0045de10
jmp 0x5157d6
mov eax, dword [edx]
mov ecx, dword [esp + 0xdc]
mov dword [esp], ecx
mov ebx, dword [esp + 0xe0]
mov dword [esp + 4], ebx
call eax
jmp 0x51579d
xor eax, eax
jmp 0x51578b
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x5daa80]
mov dword [esp + 8], eax
call fcn.00408de0
nop
call fcn.0045c8b0
jmp fcn.00515550