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

Disassembly:
mov ecx, dword [0x6816e0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x150]
cmp eax, dword [ecx + 8]
jbe 0x522c46
sub esp, 0x1d0
lea eax, [0x54af80]
mov dword [esp], eax
call fcn.0040ce80
mov eax, dword [esp + 4]
mov dword [esp + 0xdc], eax
lea ecx, [0x54af80]
mov dword [esp], ecx
call fcn.0040ce80
mov eax, dword [esp + 4]
mov dword [esp + 0xd8], eax
lea ecx, [0x54af80]
mov dword [esp], ecx
call fcn.0040ce80
mov eax, dword [esp + 0x1e0]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x521873
xor ecx, ecx
jmp 0x521886
movzx ecx, byte [eax]
test cl, cl
je 0x521881
mov ecx, 0xffffffff
jmp 0x521886
mov ecx, 1
mov edx, dword [esp + 4]
mov dword [esp + 0xac], edx
test ecx, ecx
jne 0x521cb9
nop
mov eax, dword [esp + 0x1e4]
mov ecx, dword [esp + 0xdc]
cmp eax, ecx
je 0x5219f0
mov ebx, dword [ecx + 0xc]
mov ebp, dword [eax + 8]
mov dword [esp + 0xa8], ebp
mov esi, dword [eax + 4]
cmp ebx, ebp
jl 0x5218cc
mov edi, dword [ecx + 4]
jmp 0x52196a
mov dword [esp + 0xfc], esi
cmp ebp, 1
jne 0x521922
lea eax, [0x544e00]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044eef0
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x1e4]
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0xac]
mov esi, dword [esp + 0xfc]
mov ebp, 1
mov ebx, 1
jmp 0x52196a
lea eax, [0x544e00]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea ecx, [ebp + 4]
mov dword [esp + 0x44], ecx
mov dword [esp + 8], ecx
call fcn.0044eef0
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x1e4]
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0xac]
mov esi, dword [esp + 0xfc]
mov ebp, dword [esp + 0xa8]
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0xa8]
cmp ebp, edx
jg 0x521977
mov edx, ebp
cmp edi, esi
je 0x5219c0
mov dword [esp + 0x88], ebx
mov dword [esp + 0x68], ebp
mov dword [esp + 0xd4], edi
mov dword [esp], edi
mov dword [esp + 4], esi
shl edx, 2
mov dword [esp + 8], edx
call fcn.00469cc0
mov eax, dword [esp + 0x1e4]
mov ecx, dword [esp + 0xdc]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x68]
mov edi, dword [esp + 0xd4]
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], ebx
mov edx, dword [0x681788]
test edx, edx
je 0x5219e1
mov edx, edi
call fcn.00469390
mov dword [edi], edx
mov ebx, dword [ecx + 4]
mov dword [edi + 4], ebx
mov edi, edx
mov dword [ecx + 4], edi
movzx eax, byte [eax]
mov byte [ecx], al
mov edx, dword [esp + 0xac]
nop
mov eax, dword [esp + 0x1e8]
mov ebx, dword [esp + 0xd8]
cmp eax, ebx
je 0x521b4a
mov ebp, dword [ebx + 0xc]
mov esi, dword [eax + 8]
mov dword [esp + 0xa4], esi
mov edi, dword [eax + 4]
cmp ebp, esi
jl 0x521a23
mov ecx, dword [ebx + 4]
jmp 0x521ac1
mov dword [esp + 0xf8], edi
cmp esi, 1
jne 0x521a79
lea eax, [0x544e00]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044eef0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x1e8]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0xd8]
mov edi, dword [esp + 0xf8]
mov esi, 1
mov ebp, 1
jmp 0x521ac1
lea eax, [0x544e00]
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.0044eef0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x1e8]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0xd8]
mov edi, dword [esp + 0xf8]
mov esi, dword [esp + 0xa4]
mov ebp, dword [esp + 0x40]
mov edx, dword [esp + 0xa4]
cmp esi, edx
jg 0x521ace
mov edx, esi
cmp ecx, edi
je 0x521b17
mov dword [esp + 0x84], ebp
mov dword [esp + 0x64], esi
mov dword [esp + 0xd0], ecx
mov dword [esp], ecx
mov dword [esp + 4], edi
shl edx, 2
mov dword [esp + 8], edx
call fcn.00469cc0
mov eax, dword [esp + 0x1e8]
mov ecx, dword [esp + 0xd0]
mov ebx, dword [esp + 0xd8]
mov ebp, dword [esp + 0x84]
mov esi, dword [esp + 0x64]
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], ebp
mov edx, dword [0x681788]
test edx, edx
je 0x521b34
call fcn.00469390
mov dword [edi], ecx
mov edx, dword [ebx + 4]
mov dword [edi + 4], edx
mov dword [ebx + 4], ecx
movzx eax, byte [eax]
mov byte [ebx], al
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0xac]
nop
mov eax, dword [esp + 0x1ec]
cmp eax, edx
je 0x521c9d
mov ebp, dword [edx + 0xc]
mov esi, dword [eax + 8]
mov dword [esp + 0xa0], esi
mov edi, dword [eax + 4]
cmp ebp, esi
jl 0x521b76
mov ebx, dword [edx + 4]
jmp 0x521c14
mov dword [esp + 0xf4], edi
cmp esi, 1
jne 0x521bcc
lea eax, [0x544e00]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044eef0
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x1ec]
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0xac]
mov edi, dword [esp + 0xf4]
mov esi, 1
mov ebp, 1
jmp 0x521c14
lea eax, [0x544e00]
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.0044eef0
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x1ec]
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0xac]
mov edi, dword [esp + 0xf4]
mov esi, dword [esp + 0xa0]
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0xa0]
cmp esi, ecx
jg 0x521c21
mov ecx, esi
cmp ebx, edi
je 0x521c6a
mov dword [esp + 0x80], ebp
mov dword [esp + 0x60], esi
mov dword [esp + 0xcc], ebx
mov dword [esp], ebx
mov dword [esp + 4], edi
shl ecx, 2
mov dword [esp + 8], ecx
call fcn.00469cc0
mov eax, dword [esp + 0x1ec]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0xcc]
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0x60]
mov dword [edx + 8], esi
mov dword [edx + 0xc], ebp
mov ecx, dword [0x681788]
test ecx, ecx
je 0x521c87
call fcn.00469390
mov dword [edi], ebx
mov ecx, dword [edx + 4]
mov dword [edi + 4], ecx
mov dword [edx + 4], ebx
movzx eax, byte [eax]
mov byte [edx], al
mov ecx, dword [esp + 0xdc]
mov ebx, dword [esp + 0xd8]
mov dword [esp + 0x1f0], ecx
mov dword [esp + 0x1f4], ebx
mov dword [esp + 0x1f8], edx
add esp, 0x1d0
ret
mov ecx, dword [esp + 0x1ec]
mov ebx, dword [ecx + 8]
test ebx, ebx
jne 0x521ccb
xor ebx, ebx
jmp 0x521cde
movzx ebx, byte [ecx]
test bl, bl
je 0x521cd9
mov ebx, 0xffffffff
jmp 0x521cde
mov ebx, 1
test ebx, ebx
jne 0x5220f8
nop
mov ecx, dword [esp + 0x1d8]
mov ebx, dword [esp + 0xdc]
cmp ecx, ebx
je 0x521e3a
mov ebp, dword [ebx + 0xc]
mov esi, dword [ecx + 8]
mov dword [esp + 0x9c], esi
mov edi, dword [ecx + 4]
cmp ebp, esi
jl 0x521d19
mov eax, dword [ebx + 4]
jmp 0x521db7
mov dword [esp + 0xf0], edi
cmp esi, 1
jne 0x521d6f
lea eax, [0x544e00]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044eef0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x1d8]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0xdc]
mov edi, dword [esp + 0xf0]
mov esi, 1
mov ebp, 1
jmp 0x521db7
lea eax, [0x544e00]
mov dword [esp], eax
mov dword [esp + 4], esi
lea ecx, [esi + 4]
mov dword [esp + 0x38], ecx
mov dword [esp + 8], ecx
call fcn.0044eef0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x1d8]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0xdc]
mov edi, dword [esp + 0xf0]
mov esi, dword [esp + 0x9c]
mov ebp, dword [esp + 0x38]
mov edx, dword [esp + 0x9c]
cmp esi, edx
jg 0x521dc4
mov edx, esi
cmp eax, edi
je 0x521e07
mov dword [esp + 0xc8], eax
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x5c], esi
mov dword [esp], eax
mov dword [esp + 4], edi
shl edx, 2
mov dword [esp + 8], edx
call fcn.00469cc0
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0x1d8]
mov ebx, dword [esp + 0xdc]
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x5c]
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], ebp
mov edx, dword [0x681788]
test edx, edx
je 0x521e24
call fcn.00469390
mov dword [edi], eax
mov edx, dword [ebx + 4]
mov dword [edi + 4], edx
mov dword [ebx + 4], eax
movzx eax, byte [ecx]
mov byte [ebx], al
mov eax, dword [esp + 0x1e0]
mov edx, dword [esp + 0xac]
nop
mov ecx, dword [esp + 0x1dc]
mov ebp, dword [esp + 0xd8]
cmp ecx, ebp
je 0x521f96
mov esi, dword [ebp + 0xc]
mov edi, dword [ecx + 8]
mov dword [esp + 0x98], edi
mov ebx, dword [ecx + 4]
cmp edi, esi
jg 0x521e6d
mov eax, dword [ebp + 4]
jmp 0x521f0b
mov dword [esp + 0xec], ebx
cmp edi, 1
jne 0x521ec3
lea eax, [0x544e00]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044eef0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x1dc]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0xec]
mov ebp, dword [esp + 0xd8]
mov edi, 1
mov esi, 1
jmp 0x521f0b
lea eax, [0x544e00]
mov dword [esp], eax
mov dword [esp + 4], edi
lea ecx, [edi + 4]
mov dword [esp + 0x34], ecx
mov dword [esp + 8], ecx
call fcn.0044eef0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x1dc]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0xec]
mov ebp, dword [esp + 0xd8]
mov edi, dword [esp + 0x98]
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x98]
cmp edi, edx
jg 0x521f18
mov edx, edi
cmp eax, ebx
je 0x521f5b
mov dword [esp + 0x78], esi
mov dword [esp + 0x58], edi
mov dword [esp + 0xc4], eax
mov dword [esp], eax
mov dword [esp + 4], ebx
shl edx, 2
mov dword [esp + 8], edx
call fcn.00469cc0
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0x1dc]
mov ebp, dword [esp + 0xd8]
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x58]
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], esi
mov edx, dword [0x681788]
test edx, edx
je 0x521f78
call fcn.00469390
mov dword [edi], eax
mov edx, dword [ebp + 4]
mov dword [edi + 4], edx
mov dword [ebp + 4], eax
movzx eax, byte [ecx]
mov byte [ebp], al
mov eax, dword [esp + 0x1e0]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0xdc]
nop
cmp eax, edx
je 0x5220dc
mov ecx, dword [edx + 0xc]
mov esi, dword [eax + 8]
mov dword [esp + 0x94], esi
mov edi, dword [eax + 4]
cmp ecx, esi
jl 0x521fbb
mov ebp, dword [edx + 4]
jmp 0x522059
mov dword [esp + 0xe8], edi
cmp esi, 1
jne 0x522011
lea eax, [0x544e00]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044eef0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x1e0]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0xdc]
mov edi, dword [esp + 0xe8]
mov esi, 1
mov ecx, 1
jmp 0x522059
lea eax, [0x544e00]
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.0044eef0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x1e0]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0xdc]
mov edi, dword [esp + 0xe8]
mov esi, dword [esp + 0x94]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x94]
cmp esi, ebx
jg 0x522066
mov ebx, esi
cmp ebp, edi
je 0x5220a9
mov dword [esp + 0x54], esi
mov dword [esp + 0xc0], ebp
mov dword [esp + 0x74], ecx
mov dword [esp], ebp
mov dword [esp + 4], edi
shl ebx, 2
mov dword [esp + 8], ebx
call fcn.00469cc0
mov eax, dword [esp + 0x1e0]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0xac]
mov ebp, dword [esp + 0xc0]
mov esi, dword [esp + 0x54]
mov dword [edx + 8], esi
mov dword [edx + 0xc], ecx
mov ecx, dword [0x681788]
test ecx, ecx
je 0x5220c6
call fcn.00469390
mov dword [edi], ebp
mov ecx, dword [edx + 4]
mov dword [edi + 4], ecx
mov dword [edx + 4], ebp
movzx eax, byte [eax]
mov byte [edx], al
mov ebx, dword [esp + 0xdc]
mov ebp, dword [esp + 0xd8]
mov dword [esp + 0x1f0], ebx
mov dword [esp + 0x1f4], ebp
mov dword [esp + 0x1f8], edx
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 ecx, [esp + 0x1c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004b34e0
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.004b3840
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.004b34e0
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.004b3840
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.004b34e0
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.004b3840
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.004b34e0
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.004b3840
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.004b3290
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x52230b
mov ecx, 0
jmp 0x522322
movzx edx, byte [eax]
test dl, dl
je 0x52231b
test ecx, ecx
mov ecx, 0xffffffff
jmp 0x522322
test ecx, ecx
mov ecx, 1
jne 0x522328
xor edx, edx
jmp 0x52233b
movzx edx, byte [eax]
test dl, dl
je 0x522336
mov edx, 0xffffffff
jmp 0x52233b
mov edx, 1
mov dword [esp + 0x100], eax
mov dword [esp + 0x48], ecx
cmp edx, 0xffffffff
jne 0x52236b
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.004b3040
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.004bb480
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x178], ecx
mov dword [esp + 0x17c], edx
mov dword [esp + 0x174], eax
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.004b34e0
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.004b34e0
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.004b34e0
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.004b34e0
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.004b3840
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.004b34e0
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.004b34e0
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.004b3840
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.004b3290
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x5225ec
xor ecx, ecx
jmp 0x5225ff
movzx ecx, byte [eax]
test cl, cl
je 0x5225fa
mov ecx, 0xffffffff
jmp 0x5225ff
mov ecx, 1
mov dword [esp + 0x118], eax
cmp ecx, 0xffffffff
jne 0x52262b
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.004b3040
mov eax, dword [esp + 0x118]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x522636
xor edx, edx
jmp 0x522649
movzx edx, byte [eax]
test dl, dl
je 0x522644
mov edx, 0xffffffff
jmp 0x522649
mov edx, 1
mov ebx, dword [esp + 0x48]
test ebx, ebx
jne 0x5226ad
test edx, edx
jne 0x5226ad
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.00522c50
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
mov edx, dword [eax + 4]
mov ebx, dword [eax + 0xc]
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.004bb480
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x118]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
mov eax, dword [0x681788]
test eax, eax
je 0x522708
call fcn.00469390
mov dword [edi], edx
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov dword [ebx + 4], edx
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.004b34e0
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 0x5228a0
mov ebx, dword [edx + 0xc]
mov ebp, dword [ecx + 8]
mov dword [esp + 0x90], ebp
mov esi, dword [ecx + 4]
cmp ebp, ebx
jg 0x522797
mov edi, dword [edx + 4]
jmp 0x522827
mov dword [esp + 0xe4], esi
cmp ebp, 1
jne 0x5227e6
lea eax, [0x544e00]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044eef0
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0xdc]
mov esi, dword [esp + 0xe4]
mov ebp, 1
mov ebx, 1
jmp 0x522827
lea eax, [0x544e00]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea ecx, [ebp + 4]
mov dword [esp + 0x2c], ecx
mov dword [esp + 8], ecx
call fcn.0044eef0
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0xdc]
mov esi, dword [esp + 0xe4]
mov ebp, dword [esp + 0x90]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x90]
cmp ebp, eax
jg 0x522834
mov eax, ebp
cmp edi, esi
je 0x522877
mov dword [esp + 0x70], ebx
mov dword [esp + 0x50], ebp
mov dword [esp + 0xbc], edi
mov dword [esp], edi
mov dword [esp + 4], esi
shl eax, 2
mov dword [esp + 8], eax
call fcn.00469cc0
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0xdc]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0xbc]
mov dword [edx + 8], ebp
mov dword [edx + 0xc], ebx
mov eax, dword [0x681788]
test eax, eax
je 0x522898
mov eax, edi
call fcn.00469390
mov dword [edi], eax
mov ebx, dword [edx + 4]
mov dword [edi + 4], ebx
mov edi, eax
mov dword [edx + 4], edi
movzx eax, byte [ecx]
mov byte [edx], al
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.004b34e0
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.004b3290
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.004b3290
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.004b3290
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.004b3840
nop
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0xd8]
cmp eax, ecx
je 0x522a66
mov edx, dword [ecx + 0xc]
mov ebx, dword [eax + 8]
mov ebp, dword [eax + 4]
cmp edx, ebx
jl 0x522958
mov esi, dword [ecx + 4]
mov edi, ebx
jmp 0x5229f8
mov dword [esp + 0x8c], ebx
mov dword [esp + 0xe0], ebp
cmp ebx, 1
jne 0x5229b5
lea eax, [0x544e00]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044eef0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0xd8]
mov ebp, dword [esp + 0xe0]
mov edi, dword [esp + 0x8c]
mov ebx, 1
mov edx, 1
jmp 0x5229f8
lea eax, [0x544e00]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [ebx + 4]
mov dword [esp + 0x28], eax
mov dword [esp + 8], eax
call fcn.0044eef0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0xd8]
mov ebp, dword [esp + 0xe0]
mov edi, dword [esp + 0x8c]
mov ebx, edi
mov edx, dword [esp + 0x28]
cmp ebx, edi
jg 0x5229fe
mov edi, ebx
cmp esi, ebp
je 0x522a41
mov dword [esp + 0x6c], edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0xb8], esi
mov dword [esp], esi
mov dword [esp + 4], ebp
shl edi, 2
mov dword [esp + 8], edi
call fcn.00469cc0
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0xb8]
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], edx
mov edx, dword [0x681788]
test edx, edx
je 0x522a5e
call fcn.00469390
mov dword [edi], esi
mov edx, dword [ecx + 4]
mov dword [edi + 4], edx
mov dword [ecx + 4], esi
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.004b3290
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.004b34e0
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.004b34e0
mov eax, dword [esp + 0x114]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
nop
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.004bb480
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x114]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
mov eax, dword [0x681788]
test eax, eax
je 0x522b25
call fcn.00469390
mov dword [edi], edx
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov dword [ebx + 4], edx
mov eax, dword [esp + 0xd8]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004b3290
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.004b3840
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.004b3040
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004b34e0
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.004b3290
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.004b3290
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.004b34e0
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.004b3840
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.00467f80
jmp fcn.00521800