Function at 0x5097d0
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 0x50ac6b
sub esp, 0x1d0
lea eax, [0x61aaa0]
mov dword [esp], eax
call fcn.0040b5f0
mov eax, dword [esp + 4]
mov dword [esp + 0xdc], eax
lea ecx, [0x61aaa0]
mov dword [esp], ecx
call fcn.0040b5f0
mov eax, dword [esp + 4]
mov dword [esp + 0xd8], eax
lea ecx, [0x61aaa0]
mov dword [esp], ecx
call fcn.0040b5f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x1e0]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x509849
xor edx, edx
jmp 0x50985c
movzx edx, byte [ecx]
test dl, dl
je 0x509857
mov edx, 0xffffffff
jmp 0x50985c
mov edx, 1
mov dword [esp + 0xac], eax
test edx, edx
jne 0x509c95
nop
mov ecx, dword [esp + 0x1e4]
mov edx, dword [esp + 0xdc]
cmp ecx, edx
je 0x5099c2
mov ebx, dword [edx + 0xc]
mov ebp, dword [edx + 4]
mov esi, dword [ecx + 8]
mov dword [esp + 0x98], esi
mov edi, ecx
mov ecx, dword [ecx + 4]
cmp esi, ebx
jle 0x50993d
mov dword [esp + 0xec], ecx
cmp esi, 1
jne 0x5098f5
lea eax, [0x60d280]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00447550
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xec]
mov edx, dword [esp + 0xdc]
mov edi, dword [esp + 0x1e4]
mov esi, 1
mov ebx, 1
jmp 0x50993d
lea eax, [0x60d280]
mov dword [esp], eax
mov dword [esp + 4], esi
lea ecx, [esi + 4]
mov dword [esp + 0x40], ecx
mov dword [esp + 8], ecx
call fcn.00447550
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xec]
mov edx, dword [esp + 0xdc]
mov edi, dword [esp + 0x1e4]
mov esi, dword [esp + 0x98]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x6c], ebx
mov ebx, dword [esp + 0x98]
cmp esi, ebx
jg 0x50994e
mov ebx, esi
cmp ebp, ecx
je 0x509990
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.0045ef80
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 + 0x6c]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x5099a9
mov dword [edx + 4], ebp
jmp 0x5099bd
lea ecx, [edx + 4]
mov ebx, edi
mov edi, ecx
mov esi, eax
mov eax, ebp
call fcn.0045e5d0
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 0x509b22
mov ebp, dword [ebx + 0xc]
mov esi, dword [ebx + 4]
mov edi, edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x90], edx
mov ecx, dword [ecx + 4]
cmp ebp, edx
jge 0x509a94
mov dword [esp + 0xf8], ecx
cmp edx, 1
jne 0x509a4c
lea eax, [0x60d280]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00447550
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 0x509a94
lea eax, [0x60d280]
mov dword [esp], eax
mov dword [esp + 4], edx
lea ecx, [edx + 4]
mov dword [esp + 0x2c], ecx
mov dword [esp + 8], ecx
call fcn.00447550
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 + 0x90]
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x74], ebp
mov ebp, dword [esp + 0x90]
cmp edx, ebp
jg 0x509aa5
mov ebp, edx
cmp esi, ecx
je 0x509ae7
mov dword [esp + 0x5c], edx
mov dword [esp + 0xc4], esi
mov dword [esp], esi
mov dword [esp + 4], ecx
shl ebp, 2
mov dword [esp + 8], ebp
call fcn.0045ef80
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0xd8]
mov esi, dword [esp + 0xc4]
mov edi, dword [esp + 0xdc]
mov dword [ebx + 8], edx
mov ecx, dword [esp + 0x74]
mov dword [ebx + 0xc], ecx
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x509b00
mov dword [ebx + 4], esi
jmp 0x509b14
lea ecx, [ebx + 4]
mov edx, edi
mov edi, ecx
mov ebp, eax
mov eax, esi
call fcn.0045e5d0
mov eax, ebp
mov edi, edx
mov ecx, dword [esp + 0x1e8]
movzx ecx, byte [ecx]
mov byte [ebx], cl
jmp 0x509b24
mov edi, edx
nop
mov ecx, dword [esp + 0x1ec]
cmp ecx, eax
je 0x509c79
mov edx, dword [eax + 0xc]
mov ebp, dword [eax + 4]
mov esi, dword [ecx + 8]
mov dword [esp + 0x8c], esi
mov ebx, dword [ecx + 4]
cmp edx, esi
jge 0x509bed
mov dword [esp + 0xe0], ebx
cmp esi, 1
jne 0x509ba5
lea eax, [0x60d280]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00447550
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x1ec]
mov ebx, dword [esp + 0xe0]
mov edi, dword [esp + 0xdc]
mov esi, 1
mov edx, 1
jmp 0x509bed
lea eax, [0x60d280]
mov dword [esp], eax
mov dword [esp + 4], esi
lea eax, [esi + 4]
mov dword [esp + 0x38], eax
mov dword [esp + 8], eax
call fcn.00447550
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x1ec]
mov ebx, dword [esp + 0xe0]
mov edi, dword [esp + 0xdc]
mov esi, dword [esp + 0x8c]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x8c]
cmp esi, ecx
jg 0x509bfa
mov ecx, esi
cmp ebp, ebx
je 0x509c3d
mov dword [esp + 0x7c], edx
mov dword [esp + 0x64], esi
mov dword [esp + 0xb8], ebp
mov dword [esp], ebp
mov dword [esp + 4], ebx
shl ecx, 2
mov dword [esp + 8], ecx
call fcn.0045ef80
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0x7c]
mov ebp, dword [esp + 0xb8]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0xdc]
mov dword [eax + 8], esi
mov dword [eax + 0xc], edx
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x509c52
mov dword [eax + 4], ebp
jmp 0x509c66
lea ecx, [eax + 4]
mov edx, edi
mov edi, ecx
mov ebx, eax
mov eax, ebp
call fcn.0045e5d0
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 0x509ca7
xor ebx, ebx
jmp 0x509cba
movzx ebx, byte [edx]
test bl, bl
je 0x509cb5
mov ebx, 0xffffffff
jmp 0x509cba
mov ebx, 1
test ebx, ebx
jne 0x50a0fd
nop
mov edx, dword [esp + 0x1d8]
mov ebx, dword [esp + 0xdc]
cmp edx, ebx
je 0x509e28
mov ebp, dword [ebx + 0xc]
mov esi, dword [ebx + 4]
mov edi, ecx
mov ecx, dword [edx + 8]
mov dword [esp + 0xa8], ecx
mov edx, dword [edx + 4]
cmp ebp, ecx
jge 0x509d94
mov dword [esp + 0xe8], edx
cmp ecx, 1
jne 0x509d4c
lea eax, [0x60d280]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00447550
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0xe8]
mov ebx, dword [esp + 0xdc]
mov edi, dword [esp + 0x1e0]
mov ecx, 1
mov ebp, 1
jmp 0x509d94
lea eax, [0x60d280]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [ecx + 4]
mov dword [esp + 0x28], edx
mov dword [esp + 8], edx
call fcn.00447550
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0xe8]
mov ebx, dword [esp + 0xdc]
mov edi, dword [esp + 0x1e0]
mov ecx, dword [esp + 0xa8]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x80], ebp
mov ebp, dword [esp + 0xa8]
cmp ecx, ebp
jg 0x509da8
mov ebp, ecx
cmp esi, edx
je 0x509dea
mov dword [esp + 0x4c], ecx
mov dword [esp + 0xd0], esi
mov dword [esp], esi
mov dword [esp + 4], edx
shl ebp, 2
mov dword [esp + 8], ebp
call fcn.0045ef80
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0xdc]
mov esi, dword [esp + 0xd0]
mov edi, dword [esp + 0x1e0]
mov dword [ebx + 8], ecx
mov ecx, dword [esp + 0x80]
mov dword [ebx + 0xc], ecx
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x509e06
mov dword [ebx + 4], esi
jmp 0x509e1a
lea ecx, [ebx + 4]
mov edx, edi
mov edi, ecx
mov ebp, eax
mov eax, esi
call fcn.0045e5d0
mov eax, ebp
mov edi, edx
mov ecx, dword [esp + 0x1d8]
movzx ecx, byte [ecx]
mov byte [ebx], cl
jmp 0x509e2a
mov edi, ecx
nop
mov ecx, dword [esp + 0x1dc]
mov edx, dword [esp + 0xd8]
cmp ecx, edx
je 0x509f8d
mov ebp, dword [edx + 0xc]
mov esi, dword [edx + 4]
mov ebx, dword [ecx + 8]
mov dword [esp + 0xa4], ebx
mov ecx, dword [ecx + 4]
cmp ebp, ebx
jge 0x509efa
mov dword [esp + 0xf0], ecx
cmp ebx, 1
jne 0x509eb2
lea eax, [0x60d280]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00447550
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xf0]
mov edx, dword [esp + 0xd8]
mov edi, dword [esp + 0x1e0]
mov ebx, 1
mov ebp, 1
jmp 0x509efa
lea eax, [0x60d280]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea ecx, [ebx + 4]
mov dword [esp + 0x3c], ecx
mov dword [esp + 8], ecx
call fcn.00447550
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xf0]
mov edx, dword [esp + 0xd8]
mov edi, dword [esp + 0x1e0]
mov ebx, dword [esp + 0xa4]
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x78], ebp
mov ebp, dword [esp + 0xa4]
cmp ebx, ebp
jg 0x509f0b
mov ebp, ebx
cmp esi, ecx
je 0x509f4d
mov dword [esp + 0x60], ebx
mov dword [esp + 0xbc], esi
mov dword [esp], esi
mov dword [esp + 4], ecx
shl ebp, 2
mov dword [esp + 8], ebp
call fcn.0045ef80
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0xd8]
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + 0xbc]
mov edi, dword [esp + 0x1e0]
mov dword [edx + 8], ebx
mov ecx, dword [esp + 0x78]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x509f66
mov dword [edx + 4], esi
jmp 0x509f7a
lea ecx, [edx + 4]
mov ebx, edi
mov edi, ecx
mov ebp, eax
mov eax, esi
call fcn.0045e5d0
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 0x50a0e1
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 0x50a04f
mov dword [esp + 0xf4], edx
cmp esi, 1
jne 0x50a007
lea eax, [0x60d280]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00447550
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0xf4]
mov ebx, dword [esp + 0xdc]
mov edi, dword [esp + 0x1e0]
mov esi, 1
mov ecx, 1
jmp 0x50a04f
lea eax, [0x60d280]
mov dword [esp], eax
mov dword [esp + 4], esi
lea eax, [esi + 4]
mov dword [esp + 0x34], eax
mov dword [esp + 8], eax
call fcn.00447550
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0xf4]
mov ebx, dword [esp + 0xdc]
mov edi, dword [esp + 0x1e0]
mov esi, dword [esp + 0x94]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x94]
cmp esi, ebx
jg 0x50a05c
mov ebx, esi
cmp ebp, edx
je 0x50a0a5
mov dword [esp + 0x84], ecx
mov dword [esp + 0x54], esi
mov dword [esp + 0xcc], ebp
mov dword [esp], ebp
mov dword [esp + 4], edx
shl ebx, 2
mov dword [esp + 8], ebx
call fcn.0045ef80
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x84]
mov ebp, dword [esp + 0xcc]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x1e0]
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x50a0ba
mov dword [eax + 4], ebp
jmp 0x50a0ce
lea ecx, [eax + 4]
mov edx, edi
mov edi, ecx
mov ebx, eax
mov eax, ebp
call fcn.0045e5d0
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.004f1d20
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.004f20a0
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.004f1d20
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.004f20a0
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.004f1d20
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.004f20a0
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.004f1d20
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.004f20a0
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.004f1ae0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x50a310
mov ecx, 0
jmp 0x50a327
movzx edx, byte [eax]
test dl, dl
je 0x50a320
test ecx, ecx
mov ecx, 0xffffffff
jmp 0x50a327
test ecx, ecx
mov ecx, 1
jne 0x50a32d
xor edx, edx
jmp 0x50a340
movzx edx, byte [eax]
test dl, dl
je 0x50a33b
mov edx, 0xffffffff
jmp 0x50a340
mov edx, 1
mov dword [esp + 0x100], eax
mov dword [esp + 0x48], ecx
cmp edx, 0xffffffff
jne 0x50a370
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.004f18a0
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.004f83a0
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.004f1d20
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.004f1d20
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.004f1d20
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.004f1d20
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.004f20a0
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.004f1d20
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.004f1d20
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.004f20a0
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.004f1ae0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x50a5f1
xor ecx, ecx
jmp 0x50a604
movzx ecx, byte [eax]
test cl, cl
je 0x50a5ff
mov ecx, 0xffffffff
jmp 0x50a604
mov ecx, 1
mov dword [esp + 0x118], eax
cmp ecx, 0xffffffff
jne 0x50a630
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.004f18a0
mov eax, dword [esp + 0x118]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 0xc]
test ecx, ecx
jne 0x50a641
xor ebp, ebp
jmp 0x50a656
movzx ebp, byte [eax]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x50a651
mov ebp, 0xffffffff
jmp 0x50a656
mov ebp, 1
mov esi, dword [esp + 0x48]
test esi, esi
jne 0x50a6ba
test ebp, ebp
jne 0x50a6ba
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.0050ac80
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.004f83a0
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 [0x816df0]
test ecx, ecx
jne 0x50a707
mov dword [ebx + 4], eax
jmp 0x50a70f
lea edi, [ebx + 4]
call fcn.0045e5d0
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.004f1d20
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 0x50a8bf
mov ebx, dword [edx + 0xc]
mov ebp, dword [edx + 4]
mov esi, dword [ecx + 8]
mov dword [esp + 0xa0], esi
mov edi, ecx
mov ecx, dword [ecx + 4]
cmp ebx, esi
jge 0x50a83a
mov dword [esp + 0xe4], ecx
cmp esi, 1
jne 0x50a7f2
lea eax, [0x60d280]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00447550
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 0x50a83a
lea eax, [0x60d280]
mov dword [esp], eax
mov dword [esp + 4], esi
lea ecx, [esi + 4]
mov dword [esp + 0x30], ecx
mov dword [esp + 8], ecx
call fcn.00447550
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 + 0xa0]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x70], ebx
mov ebx, dword [esp + 0xa0]
cmp esi, ebx
jg 0x50a84b
mov ebx, esi
cmp ebp, ecx
je 0x50a88d
mov dword [esp + 0x50], esi
mov dword [esp + 0xc8], ebp
mov dword [esp], ebp
mov dword [esp + 4], ecx
shl ebx, 2
mov dword [esp + 8], ebx
call fcn.0045ef80
mov eax, dword [esp + 0x104]
mov edx, dword [esp + 0xdc]
mov ebp, dword [esp + 0xc8]
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 [0x816df0]
test ecx, ecx
jne 0x50a8a6
mov dword [edx + 4], ebp
jmp 0x50a8ba
lea ecx, [edx + 4]
mov ebx, edi
mov edi, ecx
mov esi, eax
mov eax, ebp
call fcn.0045e5d0
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.004f1d20
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.004f1ae0
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.004f1ae0
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.004f1ae0
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.004f20a0
nop
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0xd8]
cmp eax, ecx
je 0x50aa8e
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 4]
mov ebp, dword [eax + 8]
mov esi, dword [eax + 4]
cmp edx, ebp
jl 0x50a977
mov edi, ebp
jmp 0x50aa17
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xfc], esi
cmp ebp, 1
jne 0x50a9d4
lea eax, [0x60d280]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00447550
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0xd8]
mov esi, dword [esp + 0xfc]
mov edi, dword [esp + 0x9c]
mov ebp, 1
mov edx, 1
jmp 0x50aa17
lea eax, [0x60d280]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [ebp + 4]
mov dword [esp + 0x44], eax
mov dword [esp + 8], eax
call fcn.00447550
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0xd8]
mov esi, dword [esp + 0xfc]
mov edi, dword [esp + 0x9c]
mov ebp, edi
mov edx, dword [esp + 0x44]
cmp ebp, edi
jg 0x50aa1d
mov edi, ebp
cmp ebx, esi
je 0x50aa66
mov dword [esp + 0x88], edx
mov dword [esp + 0x58], ebp
mov dword [esp + 0xc0], ebx
mov dword [esp], ebx
mov dword [esp + 4], esi
shl edi, 2
mov dword [esp + 8], edi
call fcn.0045ef80
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0xc0]
mov ebp, dword [esp + 0x58]
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], edx
mov edx, dword [0x816df0]
test edx, edx
jne 0x50aa7b
mov dword [ecx + 4], ebx
jmp 0x50aa89
lea edi, [ecx + 4]
mov edx, eax
mov eax, ebx
call fcn.0045e5d0
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.004f1ae0
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.004f1d20
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.004f1d20
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.004f83a0
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 [0x816df0]
test ecx, ecx
jne 0x50ab45
mov dword [ebx + 4], eax
jmp 0x50ab4d
lea edi, [ebx + 4]
call fcn.0045e5d0
mov eax, dword [esp + 0xd8]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004f1ae0
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.004f20a0
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.004f18a0
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004f1d20
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.004f1ae0
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.004f1ae0
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.004f1d20
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.004f20a0
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.0045d190
jmp fcn.005097d0