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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x150]
cmp eax, dword [ecx + 8]
jbe 0x5181db
sub esp, 0x1d0
lea eax, [0x641a20]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [esp + 0xdc], eax
lea ecx, [0x641a20]
mov dword [esp], ecx
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [esp + 0xd8], eax
lea ecx, [0x641a20]
mov dword [esp], ecx
call fcn.0040b470
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x1e0]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x516db9
xor edx, edx
jmp 0x516dcc
movzx edx, byte [ecx]
test dl, dl
je 0x516dc7
mov edx, 0xffffffff
jmp 0x516dcc
mov edx, 1
mov dword [esp + 0xac], eax
test edx, edx
jne 0x517217
nop
mov ecx, dword [esp + 0x1e4]
mov edx, dword [esp + 0xdc]
cmp ecx, edx
je 0x516f38
mov ebx, dword [edx + 0xc]
mov ebp, dword [edx + 4]
mov esi, dword [ecx + 8]
mov dword [esp + 0xa8], esi
mov edi, ecx
mov ecx, dword [ecx + 4]
cmp esi, ebx
jle 0x516ead
mov dword [esp + 0xfc], ecx
cmp esi, 1
jne 0x516e65
lea eax, [0x633e80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004483e0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xfc]
mov edx, dword [esp + 0xdc]
mov edi, dword [esp + 0x1e4]
mov esi, 1
mov ebx, 1
jmp 0x516ead
lea eax, [0x633e80]
mov dword [esp], eax
mov dword [esp + 4], esi
lea ecx, [esi + 4]
mov dword [esp + 0x44], ecx
mov dword [esp + 8], ecx
call fcn.004483e0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xfc]
mov edx, dword [esp + 0xdc]
mov edi, dword [esp + 0x1e4]
mov esi, dword [esp + 0xa8]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x88], ebx
mov ebx, dword [esp + 0xa8]
cmp esi, ebx
jg 0x516ec1
mov ebx, esi
cmp ebp, ecx
je 0x516f03
mov dword [esp + 0x68], esi
mov dword [esp + 0xd4], ebp
mov dword [esp], ebp
mov dword [esp + 4], ecx
shl ebx, 2
mov dword [esp + 8], ebx
call fcn.0045fd30
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0xdc]
mov ebp, dword [esp + 0xd4]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x1e4]
mov dword [edx + 8], esi
mov ecx, dword [esp + 0x88]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x84e4b0]
test ecx, ecx
jne 0x516f1f
mov dword [edx + 4], ebp
jmp 0x516f33
lea ecx, [edx + 4]
mov ebx, edi
mov edi, ecx
mov esi, eax
mov eax, ebp
call fcn.0045f3a0
mov eax, esi
mov edi, ebx
movzx ecx, byte [edi]
mov byte [edx], cl
nop
mov ecx, dword [esp + 0x1e8]
mov ebx, dword [esp + 0xd8]
cmp ecx, ebx
je 0x51709e
mov ebp, dword [ebx + 0xc]
mov esi, dword [ebx + 4]
mov edi, edx
mov edx, dword [ecx + 8]
mov dword [esp + 0xa4], edx
mov ecx, dword [ecx + 4]
cmp ebp, edx
jge 0x51700a
mov dword [esp + 0xf8], ecx
cmp edx, 1
jne 0x516fc2
lea eax, [0x633e80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004483e0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xf8]
mov ebx, dword [esp + 0xd8]
mov edi, dword [esp + 0xdc]
mov edx, 1
mov ebp, 1
jmp 0x51700a
lea eax, [0x633e80]
mov dword [esp], eax
mov dword [esp + 4], edx
lea ecx, [edx + 4]
mov dword [esp + 0x40], ecx
mov dword [esp + 8], ecx
call fcn.004483e0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xf8]
mov ebx, dword [esp + 0xd8]
mov edi, dword [esp + 0xdc]
mov edx, dword [esp + 0xa4]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x84], ebp
mov ebp, dword [esp + 0xa4]
cmp edx, ebp
jg 0x51701e
mov ebp, edx
cmp esi, ecx
je 0x517060
mov dword [esp + 0x64], edx
mov dword [esp + 0xd0], esi
mov dword [esp], esi
mov dword [esp + 4], ecx
shl ebp, 2
mov dword [esp + 8], ebp
call fcn.0045fd30
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0xd8]
mov esi, dword [esp + 0xd0]
mov edi, dword [esp + 0xdc]
mov dword [ebx + 8], edx
mov ecx, dword [esp + 0x84]
mov dword [ebx + 0xc], ecx
mov ecx, dword [0x84e4b0]
test ecx, ecx
jne 0x51707c
mov dword [ebx + 4], esi
jmp 0x517090
lea ecx, [ebx + 4]
mov edx, edi
mov edi, ecx
mov ebp, eax
mov eax, esi
call fcn.0045f3a0
mov eax, ebp
mov edi, edx
mov ecx, dword [esp + 0x1e8]
movzx ecx, byte [ecx]
mov byte [ebx], cl
jmp 0x5170a0
mov edi, edx
nop
mov ecx, dword [esp + 0x1ec]
cmp ecx, eax
je 0x5171fb
mov edx, dword [eax + 0xc]
mov ebp, dword [eax + 4]
mov esi, dword [ecx + 8]
mov dword [esp + 0xa0], esi
mov ebx, dword [ecx + 4]
cmp edx, esi
jge 0x517169
mov dword [esp + 0xf4], ebx
cmp esi, 1
jne 0x517121
lea eax, [0x633e80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004483e0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x1ec]
mov ebx, dword [esp + 0xf4]
mov edi, dword [esp + 0xdc]
mov esi, 1
mov edx, 1
jmp 0x517169
lea eax, [0x633e80]
mov dword [esp], eax
mov dword [esp + 4], esi
lea eax, [esi + 4]
mov dword [esp + 0x3c], eax
mov dword [esp + 8], eax
call fcn.004483e0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x1ec]
mov ebx, dword [esp + 0xf4]
mov edi, dword [esp + 0xdc]
mov esi, dword [esp + 0xa0]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0xa0]
cmp esi, ecx
jg 0x517176
mov ecx, esi
cmp ebp, ebx
je 0x5171bf
mov dword [esp + 0x80], edx
mov dword [esp + 0x60], esi
mov dword [esp + 0xcc], ebp
mov dword [esp], ebp
mov dword [esp + 4], ebx
shl ecx, 2
mov dword [esp + 8], ecx
call fcn.0045fd30
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0x80]
mov ebp, dword [esp + 0xcc]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0xdc]
mov dword [eax + 8], esi
mov dword [eax + 0xc], edx
mov ecx, dword [0x84e4b0]
test ecx, ecx
jne 0x5171d4
mov dword [eax + 4], ebp
jmp 0x5171e8
lea ecx, [eax + 4]
mov edx, edi
mov edi, ecx
mov ebx, eax
mov eax, ebp
call fcn.0045f3a0
mov eax, ebx
mov edi, edx
mov ecx, dword [esp + 0x1ec]
movzx ecx, byte [ecx]
mov byte [eax], cl
mov ebx, dword [esp + 0xd8]
mov dword [esp + 0x1f0], edi
mov dword [esp + 0x1f4], ebx
mov dword [esp + 0x1f8], eax
add esp, 0x1d0
ret
mov edx, dword [esp + 0x1ec]
mov ebx, dword [edx + 8]
test ebx, ebx
jne 0x517229
xor ebx, ebx
jmp 0x51723c
movzx ebx, byte [edx]
test bl, bl
je 0x517237
mov ebx, 0xffffffff
jmp 0x51723c
mov ebx, 1
test ebx, ebx
jne 0x517673
nop
mov edx, dword [esp + 0x1d8]
mov ebx, dword [esp + 0xdc]
cmp edx, ebx
je 0x5173a4
mov ebp, dword [ebx + 0xc]
mov esi, dword [ebx + 4]
mov edi, ecx
mov ecx, dword [edx + 8]
mov dword [esp + 0x9c], ecx
mov edx, dword [edx + 4]
cmp ebp, ecx
jge 0x517316
mov dword [esp + 0xf0], edx
cmp ecx, 1
jne 0x5172ce
lea eax, [0x633e80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004483e0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0xf0]
mov ebx, dword [esp + 0xdc]
mov edi, dword [esp + 0x1e0]
mov ecx, 1
mov ebp, 1
jmp 0x517316
lea eax, [0x633e80]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [ecx + 4]
mov dword [esp + 0x38], edx
mov dword [esp + 8], edx
call fcn.004483e0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0xf0]
mov ebx, dword [esp + 0xdc]
mov edi, dword [esp + 0x1e0]
mov ecx, dword [esp + 0x9c]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x7c], ebp
mov ebp, dword [esp + 0x9c]
cmp ecx, ebp
jg 0x517327
mov ebp, ecx
cmp esi, edx
je 0x517369
mov dword [esp + 0x5c], ecx
mov dword [esp + 0xc8], esi
mov dword [esp], esi
mov dword [esp + 4], edx
shl ebp, 2
mov dword [esp + 8], ebp
call fcn.0045fd30
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0xdc]
mov esi, dword [esp + 0xc8]
mov edi, dword [esp + 0x1e0]
mov dword [ebx + 8], ecx
mov ecx, dword [esp + 0x7c]
mov dword [ebx + 0xc], ecx
mov ecx, dword [0x84e4b0]
test ecx, ecx
jne 0x517382
mov dword [ebx + 4], esi
jmp 0x517396
lea ecx, [ebx + 4]
mov edx, edi
mov edi, ecx
mov ebp, eax
mov eax, esi
call fcn.0045f3a0
mov eax, ebp
mov edi, edx
mov ecx, dword [esp + 0x1d8]
movzx ecx, byte [ecx]
mov byte [ebx], cl
jmp 0x5173a6
mov edi, ecx
nop
mov ecx, dword [esp + 0x1dc]
mov edx, dword [esp + 0xd8]
cmp ecx, edx
je 0x517509
mov ebp, dword [edx + 0xc]
mov esi, dword [edx + 4]
mov ebx, dword [ecx + 8]
mov dword [esp + 0x98], ebx
mov ecx, dword [ecx + 4]
cmp ebp, ebx
jge 0x517476
mov dword [esp + 0xec], ecx
cmp ebx, 1
jne 0x51742e
lea eax, [0x633e80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004483e0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xec]
mov edx, dword [esp + 0xd8]
mov edi, dword [esp + 0x1e0]
mov ebx, 1
mov ebp, 1
jmp 0x517476
lea eax, [0x633e80]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea ecx, [ebx + 4]
mov dword [esp + 0x34], ecx
mov dword [esp + 8], ecx
call fcn.004483e0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xec]
mov edx, dword [esp + 0xd8]
mov edi, dword [esp + 0x1e0]
mov ebx, dword [esp + 0x98]
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x78], ebp
mov ebp, dword [esp + 0x98]
cmp ebx, ebp
jg 0x517487
mov ebp, ebx
cmp esi, ecx
je 0x5174c9
mov dword [esp + 0x58], ebx
mov dword [esp + 0xc4], esi
mov dword [esp], esi
mov dword [esp + 4], ecx
shl ebp, 2
mov dword [esp + 8], ebp
call fcn.0045fd30
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0xd8]
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0xc4]
mov edi, dword [esp + 0x1e0]
mov dword [edx + 8], ebx
mov ecx, dword [esp + 0x78]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x84e4b0]
test ecx, ecx
jne 0x5174e2
mov dword [edx + 4], esi
jmp 0x5174f6
lea ecx, [edx + 4]
mov ebx, edi
mov edi, ecx
mov ebp, eax
mov eax, esi
call fcn.0045f3a0
mov eax, ebp
mov edi, ebx
mov ecx, dword [esp + 0x1dc]
movzx ecx, byte [ecx]
mov byte [edx], cl
mov ebx, dword [esp + 0xdc]
nop
cmp edi, eax
je 0x517657
mov ecx, dword [eax + 0xc]
mov ebp, dword [eax + 4]
mov esi, dword [edi + 8]
mov dword [esp + 0x94], esi
mov edx, dword [edi + 4]
cmp ecx, esi
jge 0x5175cb
mov dword [esp + 0xe8], edx
cmp esi, 1
jne 0x517583
lea eax, [0x633e80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004483e0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0xe8]
mov ebx, dword [esp + 0xdc]
mov edi, dword [esp + 0x1e0]
mov esi, 1
mov ecx, 1
jmp 0x5175cb
lea eax, [0x633e80]
mov dword [esp], eax
mov dword [esp + 4], esi
lea eax, [esi + 4]
mov dword [esp + 0x30], eax
mov dword [esp + 8], eax
call fcn.004483e0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0xe8]
mov ebx, dword [esp + 0xdc]
mov edi, dword [esp + 0x1e0]
mov esi, dword [esp + 0x94]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x94]
cmp esi, ebx
jg 0x5175d8
mov ebx, esi
cmp ebp, edx
je 0x51761b
mov dword [esp + 0x74], ecx
mov dword [esp + 0x54], esi
mov dword [esp + 0xc0], ebp
mov dword [esp], ebp
mov dword [esp + 4], edx
shl ebx, 2
mov dword [esp + 8], ebx
call fcn.0045fd30
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x74]
mov ebp, dword [esp + 0xc0]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x1e0]
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
mov ecx, dword [0x84e4b0]
test ecx, ecx
jne 0x517630
mov dword [eax + 4], ebp
jmp 0x517644
lea ecx, [eax + 4]
mov edx, edi
mov edi, ecx
mov ebx, eax
mov eax, ebp
call fcn.0045f3a0
mov eax, ebx
mov edi, edx
movzx ecx, byte [edi]
mov byte [eax], cl
mov edx, dword [esp + 0xd8]
mov ebx, dword [esp + 0xdc]
mov dword [esp + 0x1f0], ebx
mov dword [esp + 0x1f4], edx
mov dword [esp + 0x1f8], eax
add esp, 0x1d0
ret
mov byte [esp + 0x1c0], 0
mov dword [esp + 0x1c4], 0
mov dword [esp + 0x1c8], 0
mov dword [esp + 0x1cc], 0
lea eax, [esp + 0x1c0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.004c1b90
mov eax, dword [esp + 0xc]
mov dword [esp + 0xb4], eax
mov ecx, dword [esp + 0x1d4]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004c1f10
mov byte [esp + 0x1b0], 0
mov dword [esp + 0x1b4], 0
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 0
lea eax, [esp + 0x1b0]
mov dword [esp], eax
mov eax, dword [esp + 0x1ec]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004c1b90
mov eax, dword [esp + 0xc]
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 0x1d4]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004c1f10
mov byte [esp + 0x1a0], 0
mov dword [esp + 0x1a4], 0
mov dword [esp + 0x1a8], 0
mov dword [esp + 0x1ac], 0
lea eax, [esp + 0x1a0]
mov dword [esp], eax
mov eax, dword [esp + 0x1d8]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0xb0]
mov dword [esp + 8], ecx
call fcn.004c1b90
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10c], eax
mov ecx, dword [esp + 0x1d4]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004c1f10
mov byte [esp + 0x190], 0
mov dword [esp + 0x194], 0
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
lea eax, [esp + 0x190]
mov dword [esp], eax
mov eax, dword [esp + 0x1e4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 8], eax
call fcn.004c1b90
mov eax, dword [esp + 0xc]
mov dword [esp + 0x108], eax
mov ecx, dword [esp + 0x1d4]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004c1f10
mov byte [esp + 0x180], 0
mov dword [esp + 0x184], 0
mov dword [esp + 0x188], 0
mov dword [esp + 0x18c], 0
lea eax, [esp + 0x180]
mov dword [esp], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 8], eax
call fcn.004c1950
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x517886
mov ecx, 0
jmp 0x51789d
movzx edx, byte [eax]
test dl, dl
je 0x517896
test ecx, ecx
mov ecx, 0xffffffff
jmp 0x51789d
test ecx, ecx
mov ecx, 1
jne 0x5178a3
xor edx, edx
jmp 0x5178b6
movzx edx, byte [eax]
test dl, dl
je 0x5178b1
mov edx, 0xffffffff
jmp 0x5178b6
mov edx, 1
mov dword [esp + 0x100], eax
mov dword [esp + 0x48], ecx
cmp edx, 0xffffffff
jne 0x5178e6
mov ecx, dword [esp + 0x1d4]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004c1710
mov eax, dword [esp + 0x100]
mov byte [esp + 0x170], 0
mov dword [esp + 0x174], 0
mov dword [esp + 0x178], 0
mov dword [esp + 0x17c], 0
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 1
call fcn.004c8410
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x174], eax
mov dword [esp + 0x178], ecx
mov dword [esp + 0x17c], edx
mov eax, dword [esp + 0x100]
movzx ecx, byte [eax]
mov byte [esp + 0x170], cl
lea ecx, [esp + 0x170]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.004c1b90
mov byte [esp + 0x160], 0
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
lea eax, [esp + 0x160]
mov dword [esp], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 4], eax
lea ecx, [esp + 0x170]
mov dword [esp + 8], ecx
call fcn.004c1b90
mov eax, dword [esp + 0xc]
mov dword [esp + 0x11c], eax
mov byte [esp + 0x150], 0
mov dword [esp + 0x154], 0
mov dword [esp + 0x158], 0
mov dword [esp + 0x15c], 0
lea ecx, [esp + 0x150]
mov dword [esp], ecx
mov ecx, dword [esp + 0x1dc]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x1ec]
mov dword [esp + 8], edx
call fcn.004c1b90
mov eax, dword [esp + 0xc]
mov dword [esp + 0x114], eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0xb0]
mov dword [esp + 8], ecx
call fcn.004c1b90
mov eax, dword [esp + 0x1d4]
mov ecx, dword [eax]
mov edx, dword [esp + 0x114]
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004c1f10
mov byte [esp + 0x140], 0
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], 0
lea eax, [esp + 0x140]
mov dword [esp], eax
mov eax, dword [esp + 0x1e8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1e0]
mov dword [esp + 8], eax
call fcn.004c1b90
mov eax, dword [esp + 0xc]
mov dword [esp + 0x110], eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0xb4]
mov dword [esp + 8], ecx
call fcn.004c1b90
mov eax, dword [esp + 0x1d4]
mov ecx, dword [eax]
mov edx, dword [esp + 0x110]
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004c1f10
mov byte [esp + 0x130], 0
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0
lea eax, [esp + 0x130]
mov dword [esp], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 8], eax
call fcn.004c1950
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x517b67
xor ecx, ecx
jmp 0x517b7a
movzx ecx, byte [eax]
test cl, cl
je 0x517b75
mov ecx, 0xffffffff
jmp 0x517b7a
mov ecx, 1
mov dword [esp + 0x118], eax
cmp ecx, 0xffffffff
jne 0x517ba6
mov ecx, dword [esp + 0x1d4]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004c1710
mov eax, dword [esp + 0x118]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 0xc]
test ecx, ecx
jne 0x517bb7
xor ebp, ebp
jmp 0x517bcc
movzx ebp, byte [eax]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x517bc7
mov ebp, 0xffffffff
jmp 0x517bcc
mov ebp, 1
mov esi, dword [esp + 0x48]
test esi, esi
jne 0x517c30
test ebp, ebp
jne 0x517c30
mov eax, dword [esp + 0x1d4]
mov dword [esp], eax
mov eax, dword [esp + 0x1d8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1dc]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1e0]
mov dword [esp + 0xc], eax
call fcn.005181f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1f0], eax
mov dword [esp + 0x1f4], ecx
mov dword [esp + 0x1f8], edx
add esp, 0x1d0
ret
nop
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 1
call fcn.004c8410
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x118]
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov ecx, dword [0x84e4b0]
test ecx, ecx
jne 0x517c7d
mov dword [ebx + 4], eax
jmp 0x517c85
lea edi, [ebx + 4]
call fcn.0045f3a0
mov byte [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
lea eax, [esp + 0x120]
mov dword [esp], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 4], eax
lea eax, [esp + 0x170]
mov dword [esp + 8], eax
call fcn.004c1b90
mov eax, dword [esp + 0xc]
mov dword [esp + 0x104], eax
nop
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0xdc]
cmp ecx, edx
je 0x517e35
mov ebx, dword [edx + 0xc]
mov ebp, dword [edx + 4]
mov esi, dword [ecx + 8]
mov dword [esp + 0x90], esi
mov edi, ecx
mov ecx, dword [ecx + 4]
cmp ebx, esi
jge 0x517db0
mov dword [esp + 0xe4], ecx
cmp esi, 1
jne 0x517d68
lea eax, [0x633e80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004483e0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x104]
mov ecx, dword [esp + 0xe4]
mov edx, dword [esp + 0xdc]
mov edi, dword [esp + 0x118]
mov esi, 1
mov ebx, 1
jmp 0x517db0
lea eax, [0x633e80]
mov dword [esp], eax
mov dword [esp + 4], esi
lea ecx, [esi + 4]
mov dword [esp + 0x2c], ecx
mov dword [esp + 8], ecx
call fcn.004483e0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x104]
mov ecx, dword [esp + 0xe4]
mov edx, dword [esp + 0xdc]
mov edi, dword [esp + 0x118]
mov esi, dword [esp + 0x90]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x70], ebx
mov ebx, dword [esp + 0x90]
cmp esi, ebx
jg 0x517dc1
mov ebx, esi
cmp ebp, ecx
je 0x517e03
mov dword [esp + 0x50], esi
mov dword [esp + 0xbc], ebp
mov dword [esp], ebp
mov dword [esp + 4], ecx
shl ebx, 2
mov dword [esp + 8], ebx
call fcn.0045fd30
mov eax, dword [esp + 0x104]
mov edx, dword [esp + 0xdc]
mov ebp, dword [esp + 0xbc]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x118]
mov dword [edx + 8], esi
mov ecx, dword [esp + 0x70]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x84e4b0]
test ecx, ecx
jne 0x517e1c
mov dword [edx + 4], ebp
jmp 0x517e30
lea ecx, [edx + 4]
mov ebx, edi
mov edi, ecx
mov esi, eax
mov eax, ebp
call fcn.0045f3a0
mov eax, esi
mov edi, ebx
movzx ecx, byte [edi]
mov byte [edx], cl
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.004c1b90
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x11c]
mov dword [esp + 8], ecx
call fcn.004c1950
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x104]
mov dword [esp + 8], ecx
call fcn.004c1950
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x104]
mov dword [esp + 8], ecx
call fcn.004c1950
mov eax, dword [esp + 0x1d4]
mov ecx, dword [eax]
mov edx, dword [esp + 0xdc]
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004c1f10
nop
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0xd8]
cmp eax, ecx
je 0x517ffe
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 4]
mov ebp, dword [eax + 8]
mov esi, dword [eax + 4]
cmp edx, ebp
jl 0x517eed
mov edi, ebp
jmp 0x517f8d
mov dword [esp + 0x8c], ebp
mov dword [esp + 0xe0], esi
cmp ebp, 1
jne 0x517f4a
lea eax, [0x633e80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004483e0
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0xd8]
mov esi, dword [esp + 0xe0]
mov edi, dword [esp + 0x8c]
mov ebp, 1
mov edx, 1
jmp 0x517f8d
lea eax, [0x633e80]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [ebp + 4]
mov dword [esp + 0x28], eax
mov dword [esp + 8], eax
call fcn.004483e0
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0xd8]
mov esi, dword [esp + 0xe0]
mov edi, dword [esp + 0x8c]
mov ebp, edi
mov edx, dword [esp + 0x28]
cmp ebp, edi
jg 0x517f93
mov edi, ebp
cmp ebx, esi
je 0x517fd6
mov dword [esp + 0x6c], edx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0xb8], ebx
mov dword [esp], ebx
mov dword [esp + 4], esi
shl edi, 2
mov dword [esp + 8], edi
call fcn.0045fd30
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0x4c]
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], edx
mov edx, dword [0x84e4b0]
test edx, edx
jne 0x517feb
mov dword [ecx + 4], ebx
jmp 0x517ff9
lea edi, [ecx + 4]
mov edx, eax
mov eax, ebx
call fcn.0045f3a0
mov eax, edx
movzx eax, byte [eax]
mov byte [ecx], al
mov eax, dword [esp + 0x104]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0xdc]
mov dword [esp + 8], ecx
call fcn.004c1950
mov eax, dword [esp + 0xd8]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x104]
mov dword [esp + 8], ecx
call fcn.004c1b90
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x11c]
mov dword [esp + 8], ecx
call fcn.004c1b90
nop
mov eax, dword [esp + 0x114]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 1
call fcn.004c8410
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x114]
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov ecx, dword [0x84e4b0]
test ecx, ecx
jne 0x5180b5
mov dword [ebx + 4], eax
jmp 0x5180bd
lea edi, [ebx + 4]
call fcn.0045f3a0
mov eax, dword [esp + 0xd8]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004c1950
mov eax, dword [esp + 0x1d4]
mov ecx, dword [eax]
mov edx, dword [esp + 0xd8]
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004c1f10
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov ecx, dword [esp + 0x1e0]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x1ec]
mov dword [esp + 8], ecx
call fcn.004c1710
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004c1b90
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0xb4]
mov dword [esp + 8], ecx
call fcn.004c1950
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0xb0]
mov dword [esp + 8], ecx
call fcn.004c1950
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x100]
mov dword [esp + 8], ecx
call fcn.004c1b90
mov eax, dword [esp + 0x1d4]
mov eax, dword [eax]
mov ecx, dword [esp + 0xac]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004c1f10
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x1f0], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x1f4], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x1f8], eax
add esp, 0x1d0
ret
call fcn.0045df90
jmp fcn.00516d40