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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x94]
cmp eax, dword [ecx + 8]
jbe 0x50128e
sub esp, 0x114
mov eax, dword [esp + 0x130]
test eax, eax
jne 0x500738
mov eax, dword [0x7c0850]
mov ecx, dword [0x7c0854]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
lea edx, [0x581140]
mov dword [esp], edx
call fcn.0040a390
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x50]
mov dword [edi + 4], eax
mov eax, dword [0x7e73a0]
test eax, eax
jne 0x5006b7
mov ecx, dword [esp + 0xb0]
mov dword [edi], ecx
jmp 0x5006c3
mov eax, dword [esp + 0xb0]
call fcn.004518b0
mov ecx, dword [esp + 0x130]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x7e73a0]
test ecx, ecx
jne 0x5006e3
mov eax, dword [esp + 0x12c]
mov dword [edi + 8], eax
jmp 0x5006f8
lea ecx, [edi + 8]
mov eax, dword [esp + 0x12c]
mov edx, edi
mov edi, ecx
call fcn.004518b0
mov edi, edx
mov byte [edi + 0x1a], 1
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0
lea eax, [0x71ef40]
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], edi
add esp, 0x114
ret
mov ecx, dword [esp + 0x12c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004fcef0
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
jne 0x501048
mov eax, dword [esp + 0x11c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x120]
mov dword [esp], edx
lea ebx, [0x574300]
mov dword [esp + 4], ebx
lea ebx, [0x7e722c]
mov dword [esp + 8], ebx
call ecx
mov eax, dword [esp + 0x10]
lea ecx, [0x56b800]
cmp dword [esp + 0xc], ecx
je 0x5007a3
xor eax, eax
mov dword [esp + 0x64], eax
test eax, eax
je 0x5007ca
mov edx, dword [eax]
test edx, edx
je 0x5007ca
mov eax, dword [edx]
mov ecx, dword [esp + 0x12c]
mov dword [esp], ecx
mov ebx, dword [esp + 0x130]
mov dword [esp + 4], ebx
call eax
lea eax, [0x576120]
mov dword [esp], eax
call fcn.0040a390
mov eax, dword [esp + 4]
mov dword [esp + 0xac], eax
lea ecx, [0x5094a0]
mov dword [eax], ecx
mov ecx, dword [0x7e73a0]
test ecx, ecx
jne 0x500801
mov ecx, dword [esp + 0x118]
mov dword [eax + 4], ecx
jmp 0x500810
lea edi, [eax + 4]
mov eax, dword [esp + 0x118]
call fcn.004518b0
mov eax, dword [esp + 0x11c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x120]
mov dword [esp], edx
lea ebx, [0x5742c0]
mov dword [esp + 4], ebx
lea ebx, [0x7e722c]
mov dword [esp + 8], ebx
call ecx
mov eax, dword [esp + 0x10]
lea ecx, [0x573500]
cmp dword [esp + 0xc], ecx
je 0x50084c
xor eax, eax
test eax, eax
jne 0x500857
mov eax, dword [esp + 0xac]
mov dword [esp + 0x68], eax
mov ecx, dword [0x7c006c]
mov dword [esp + 0xa8], ecx
lea edx, [0x5811e0]
mov dword [esp], edx
call fcn.0040a390
mov eax, dword [esp + 4]
lea ecx, [0x71f44c]
mov dword [eax], ecx
mov ecx, dword [0x7e73a0]
test ecx, ecx
jne 0x500898
mov ecx, dword [esp + 0xa8]
mov dword [eax + 4], ecx
jmp 0x5008ab
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0xa8]
call fcn.004518b0
mov eax, ecx
mov ecx, dword [esp + 0x11c]
mov dword [eax + 8], ecx
mov ecx, dword [0x7e73a0]
test ecx, ecx
jne 0x5008cb
mov ecx, dword [esp + 0x120]
mov dword [eax + 0xc], ecx
jmp 0x5008de
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x120]
call fcn.004518b0
mov eax, ecx
lea ecx, [0x71f4cc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004f1060
mov eax, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0xb0], edx
mov dword [esp], 0
mov ebx, dword [esp + 0x124]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x128]
mov dword [esp + 8], ebp
lea esi, [0x71eb68]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 1
mov esi, dword [esp + 0x12c]
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x130]
mov dword [esp + 0x18], edi
call fcn.00441b40
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x30], ecx
lea edx, [0x7e72e0]
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.00460390
mov eax, dword [esp + 0x118]
test eax, eax
je 0x50098b
lea ecx, [eax + 8]
jmp 0x500996
mov edx, dword [0x55e08c]
test byte [edx], al
lea ecx, [edx + 8]
mov dword [esp + 0x5c], ecx
lea eax, [0x57d940]
mov dword [esp], eax
call fcn.0040a390
mov eax, dword [esp + 4]
lea ecx, [0x5012f0]
mov dword [eax], ecx
mov ecx, dword [esp + 0xb0]
mov dword [eax + 4], ecx
mov ecx, dword [0x7e73a0]
test ecx, ecx
jne 0x5009d8
mov ecx, dword [esp + 0x70]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0xc], ecx
jmp 0x5009f4
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x70]
call fcn.004518b0
lea edi, [ecx + 0xc]
mov eax, dword [esp + 0x68]
call fcn.004518b0
mov eax, ecx
mov ecx, dword [esp + 0x128]
mov dword [eax + 0x14], ecx
mov ecx, dword [0x7e73a0]
test ecx, ecx
jne 0x500a14
mov ecx, dword [esp + 0x124]
mov dword [eax + 0x10], ecx
jmp 0x500a27
lea edi, [eax + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x124]
call fcn.004518b0
mov eax, ecx
mov ecx, dword [esp + 0x130]
mov dword [eax + 0x1c], ecx
mov edx, dword [0x7e73a0]
test edx, edx
jne 0x500a47
mov edx, dword [esp + 0x12c]
mov dword [eax + 0x18], edx
jmp 0x500a5a
lea edi, [eax + 0x18]
mov edx, eax
mov eax, dword [esp + 0x12c]
call fcn.004518b0
mov eax, edx
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.004f4f70
mov eax, dword [esp + 0x10]
mov dword [esp + 0x8c], eax
movzx ecx, byte [esp + 0x14]
test cl, cl
jne 0x500aa4
lea eax, [0x7e72e0]
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call fcn.00460390
mov eax, dword [esp + 0x11c]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x120]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0xa4], eax
lea edi, [esp + 0x100]
xor eax, eax
call fcn.00451aab
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xb4], eax
lea ecx, [esp + 0x100]
mov dword [esp + 0xb8], ecx
lea edx, [esp + 0xb4]
mov dword [esp], edx
lea edx, [esp + 0x54]
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.0043c5b0
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x500d61
lea edi, [esp + 0xd8]
lea esi, [esp + 0x100]
call fcn.00451f8e
mov edx, dword [esp + 0x74]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0xe4]
test eax, eax
je 0x500cd8
lea edx, [0x71ef40]
cmp eax, edx
jne 0x500baf
mov edx, dword [esp + 0x64]
test edx, edx
jmp 0x500cde
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x40], eax
mov edx, dword [0x55e50c]
cmp dword [0x55e508], eax
jne 0x500bed
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00403680
movzx eax, byte [esp + 0xc]
test al, al
je 0x500be5
mov eax, 1
jmp 0x500c20
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x7c]
lea edx, [0x576060]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00408290
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x500c13
xor eax, eax
jmp 0x500c20
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
movzx eax, byte [esp + 4]
mov byte [esp + 0x27], al
mov ecx, dword [esp + 0x40]
mov ecx, dword [ecx + 0x10]
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
lea edx, [0x581140]
mov dword [esp], edx
call fcn.0040a390
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x50]
mov dword [edi + 4], eax
mov eax, dword [0x7e73a0]
test eax, eax
jne 0x500c75
mov ecx, dword [esp + 0xb0]
mov dword [edi], ecx
jmp 0x500c81
mov eax, dword [esp + 0xb0]
call fcn.004518b0
mov ecx, dword [esp + 0x130]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x7e73a0]
test ecx, ecx
jne 0x500ca7
mov eax, dword [esp + 0x12c]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x64]
test eax, eax
jmp 0x500cc4
lea ecx, [edi + 8]
mov eax, dword [esp + 0x12c]
mov edx, edi
mov edi, ecx
call fcn.004518b0
mov ecx, dword [esp + 0x64]
test ecx, ecx
mov eax, ecx
mov edi, edx
movzx edx, byte [esp + 0x27]
mov byte [edi + 0x18], dl
mov edx, eax
lea eax, [0x71ef40]
mov ecx, edi
jmp 0x500cde
mov edx, dword [esp + 0x64]
test edx, edx
je 0x5010fd
mov ebx, dword [edx + 4]
test ebx, ebx
je 0x5010fd
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x4c], eax
mov ebx, dword [esp + 0xdc]
lea ebp, [0x56e420]
cmp dword [esp + 0xd8], ebp
jne 0x500d17
mov esi, dword [ebx]
mov ebx, dword [ebx + 4]
jmp 0x500d1b
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x90], esi
lea eax, [0x572860]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
call fcn.0043f260
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x5011a7
mov dword [esp + 0x9c], eax
xor edx, edx
mov ebx, dword [esp + 0x90]
jmp 0x5011fc
cmp eax, 1
jne 0x5010fd
mov eax, dword [esp + 0x118]
test eax, eax
je 0x500d7a
add eax, 8
jmp 0x500d85
mov ecx, dword [0x55e08c]
test byte [ecx], al
lea eax, [ecx + 8]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
call fcn.004f5410
movzx eax, byte [esp + 0xc]
test al, al
je 0x500db0
mov edx, dword [esp + 0x74]
mov eax, dword [edx]
call eax
jmp 0x500e0e
lea eax, [0x578700]
mov dword [esp], eax
call fcn.0040a390
mov eax, dword [esp + 4]
lea ecx, [0x5012a0]
mov dword [eax], ecx
mov ecx, dword [0x7e73a0]
test ecx, ecx
jne 0x500de7
mov ecx, dword [esp + 0x8c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
jmp 0x500e06
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x8c]
call fcn.004518b0
lea edi, [ecx + 8]
mov eax, dword [esp + 0x74]
call fcn.004518b0
mov eax, ecx
mov dword [esp], eax
call fcn.00437a50
mov eax, dword [esp + 0x11c]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x120]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x88], ecx
mov edx, dword [esp + 4]
mov dword [esp + 0x98], edx
mov ebx, dword [0x7c061c]
mov ebp, dword [esp + 8]
mov dword [esp + 0x84], ebp
cmp dword [0x7c0618], edx
jne 0x500e9b
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.00403680
movzx eax, byte [esp + 0xc]
test al, al
je 0x500e82
mov eax, dword [0x7c0828]
mov ecx, dword [0x7c082c]
jmp 0x500ee9
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x98]
mov ebp, dword [esp + 0x84]
mov ebx, dword [0x55e50c]
cmp dword [0x55e508], edx
jne 0x500ee9
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.00403680
movzx eax, byte [esp + 0xc]
test al, al
je 0x500ed0
mov eax, dword [0x55e548]
mov ecx, dword [0x55e54c]
jmp 0x500ee9
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x98]
mov ebp, dword [esp + 0x84]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
lea edx, [0x581140]
mov dword [esp], edx
call fcn.0040a390
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x50]
mov dword [edi + 4], eax
mov eax, dword [0x7e73a0]
test eax, eax
jne 0x500f32
mov ecx, dword [esp + 0xb0]
mov dword [edi], ecx
jmp 0x500f3e
mov eax, dword [esp + 0xb0]
call fcn.004518b0
mov ecx, dword [esp + 0x130]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x7e73a0]
test ecx, ecx
jne 0x500f5e
mov eax, dword [esp + 0x12c]
mov dword [edi + 8], eax
jmp 0x500f73
lea ecx, [edi + 8]
mov eax, dword [esp + 0x12c]
mov edx, edi
mov edi, ecx
call fcn.004518b0
mov edi, edx
mov dword [esp + 0x80], edi
mov eax, dword [0x55e50c]
mov ecx, dword [esp + 0x98]
cmp dword [0x55e508], ecx
je 0x500f9c
mov eax, dword [esp + 0x64]
test eax, eax
mov ecx, 0
jmp 0x500fcb
mov dword [esp], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00403680
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x64]
test ecx, ecx
mov edi, dword [esp + 0x80]
mov edx, eax
mov eax, ecx
mov ecx, edx
mov byte [edi + 0x18], cl
je 0x50100c
mov edx, dword [eax + 4]
test edx, edx
je 0x50100c
mov eax, dword [edx]
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov byte [esp + 0xc], 0
lea ecx, [0x71ef40]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edi
call eax
mov edi, dword [esp + 0x80]
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0
lea eax, [0x71ef40]
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], edi
add esp, 0x114
ret
mov dword [esp + 0x78], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x60], ebx
lea eax, [0x5706e0]
mov dword [esp], eax
call fcn.0040a390
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x34]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x38]
mov dword [edi + 8], eax
mov eax, dword [0x7e73a0]
test eax, eax
jne 0x50108e
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
jmp 0x501097
mov eax, dword [esp + 0x78]
call fcn.004518b0
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x7e73a0]
test ecx, ecx
jne 0x5010b1
mov eax, dword [esp + 0x60]
mov dword [edi + 0xc], eax
jmp 0x5010c3
lea ecx, [edi + 0xc]
mov eax, dword [esp + 0x60]
mov edx, edi
mov edi, ecx
call fcn.004518b0
mov edi, edx
mov dword [esp + 0x134], edi
mov dword [esp + 0x138], 1
mov dword [esp + 0x13c], 1
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
add esp, 0x114
ret
mov edx, dword [esp + 0xdc]
mov ebx, dword [esp + 0xd8]
movzx ebp, byte [esp + 0xe8]
test eax, eax
je 0x501123
xor edx, edx
mov ebx, eax
mov ebp, ecx
xor ecx, ecx
xor eax, eax
jmp 0x501167
lea eax, [0x56e420]
cmp ebx, eax
jne 0x501191
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov edx, dword [edx + 8]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x501163
mov dword [esp + 0x28], eax
lea edx, [0x578dc0]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.0043f110
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
mov edx, eax
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x134], ecx
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], edx
mov dword [esp + 0x140], ebx
mov dword [esp + 0x144], ebp
add esp, 0x114
ret
mov dword [esp], ebx
mov dword [esp + 4], eax
lea eax, [0x572860]
mov dword [esp + 8], eax
call fcn.00407ea0
mov ebx, dword [esp + 0x64]
mov edx, dword [ebx + 4]
mov ebx, dword [edx]
movzx ebp, byte [esp + 0xe8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
xchg ebp, eax
mov byte [esp + 0xc], al
xchg ebp, eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x14], ecx
call ebx
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0xa0]
jmp 0x5010fd
mov ecx, dword [esp + 0x94]
add ecx, 0x14
mov edx, eax
mov ebx, ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x94], ebx
lea edi, [esp + 0xc4]
mov esi, ebx
call fcn.00451f8e
lea edi, [esp + 0xec]
lea esi, [esp + 0xc4]
call fcn.00451f8e
lea eax, [0x578dc0]
mov dword [esp], eax
lea ecx, [esp + 0xec]
mov dword [esp + 4], ecx
call fcn.00408000
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x9c]
lea edx, [ecx + eax*8]
mov ebx, dword [esp + 8]
lea ebp, [0x578dc0]
mov dword [edx], ebp
mov edx, dword [0x7e73a0]
lea edi, [ecx + eax*8 + 4]
test edx, edx
jne 0x50126d
mov dword [edi], ebx
jmp 0x501278
mov edx, eax
mov eax, ebx
call fcn.004518b0
mov eax, edx
inc eax
mov ebx, dword [esp + 0x48]
cmp ebx, eax
jg 0x5011ee
mov eax, ecx
mov ecx, ebx
jmp 0x5011a7
call fcn.00450480
jmp fcn.00500630