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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x134]
cmp eax, dword [ecx + 8]
jbe 0x514d30
sub esp, 0x1b4
mov eax, dword [esp + 0x1bc]
mov dword [esp], eax
mov ecx, dword [esp + 0x1c0]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x1c4]
mov dword [esp + 8], edx
mov byte [esp + 0xc], 0
call fcn.00511eb0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
test eax, eax
jne 0x513411
test edx, edx
je 0x512f08
mov eax, dword [esp + 0x1c4]
test eax, eax
je 0x512e06
test eax, 0x200
jne 0x512e06
mov ecx, dword [esp + 0x1bc]
lea eax, [0x676140]
jmp 0x512e2c
mov ecx, dword [esp + 0x1bc]
mov dword [esp], ecx
mov ecx, dword [esp + 0x1c0]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004c53c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x114], ecx
mov dword [esp + 0x34], eax
lea edx, [0x606e00]
mov dword [esp], edx
call fcn.0040bdb0
mov eax, dword [esp + 4]
mov dword [eax + 4], 6
lea ecx, [0x61c47d]
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov ecx, dword [0x7e34c0]
test ecx, ecx
jne 0x512e75
mov ecx, dword [esp + 0x114]
mov dword [eax + 0xc], ecx
jmp 0x512e88
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x114]
call fcn.00463860
mov eax, ecx
mov ecx, dword [esp + 0x1b8]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x10], edx
sar edx, 0x1f
mov dword [eax + 0x14], edx
mov edx, dword [ecx + 0x3c]
test edx, edx
jne 0x512ee3
mov dword [esp], ecx
lea edx, [0x6749a0]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.005117e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x1b8]
mov dword [edx + 0x3c], ecx
mov ecx, dword [0x7e34c0]
test ecx, ecx
jne 0x512ed9
mov dword [edx + 0x40], eax
jmp 0x512ee1
lea edi, [edx + 0x40]
call fcn.00463860
mov ecx, edx
mov dword [esp], ecx
call fcn.005118e0
mov dword [esp + 0x1c8], 0
mov dword [esp + 0x1cc], 0
add esp, 0x1b4
ret
mov dword [esp + 0xa8], ebx
mov dword [esp + 0x174], ebp
mov dword [esp + 0x170], esi
test ebx, ebx
je 0x512f33
test ebx, 0x200
jne 0x512f33
mov eax, esi
lea ecx, [0x676140]
jmp 0x512f62
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.004c53c0
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0xa8]
mov ebp, dword [esp + 0x174]
mov ecx, eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x110], esi
nop
mov edx, ebx
and ebx, 0x1f
mov dword [esp + 0xa4], ebx
cmp ebx, 0x14
je 0x512f83
xor edi, edi
jmp 0x512fc5
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
call fcn.004c40b0
mov eax, dword [esp + 0xc]
test eax, eax
sete al
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0xa4]
mov ebp, dword [esp + 0x174]
mov esi, dword [esp + 0x110]
mov edi, eax
mov eax, dword [esp + 0x170]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x51333d
cmp ebx, 0x15
je 0x5130df
cmp ebx, 0x19
jne 0x51300e
mov dword [esp], ecx
mov dword [esp + 4], esi
call fcn.0051f940
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov ebx, eax
mov ebp, edx
mov edx, dword [esp + 0x174]
mov eax, ecx
mov ecx, dword [esp + 0xa8]
jmp 0x5131fc
lea eax, [0x606e00]
mov dword [esp], eax
call fcn.0040bdb0
mov eax, dword [esp + 4]
mov dword [eax + 4], 6
lea ecx, [0x61c47d]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov ecx, dword [0x7e34c0]
test ecx, ecx
jne 0x51304c
mov ecx, dword [esp + 0x110]
mov dword [eax + 0xc], ecx
jmp 0x51305f
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x110]
call fcn.00463860
mov eax, ecx
mov ecx, dword [esp + 0x1b8]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x10], edx
sar edx, 0x1f
mov dword [eax + 0x14], edx
mov edx, dword [ecx + 0x3c]
test edx, edx
jne 0x5130ba
mov dword [esp], ecx
lea edx, [0x6749a0]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.005117e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x1b8]
mov dword [edx + 0x3c], ecx
mov ecx, dword [0x7e34c0]
test ecx, ecx
jne 0x5130b0
mov dword [edx + 0x40], eax
jmp 0x5130b8
lea edi, [edx + 0x40]
call fcn.00463860
mov ecx, edx
mov dword [esp], ecx
call fcn.005118e0
mov dword [esp + 0x1c8], 0
mov dword [esp + 0x1cc], 0
add esp, 0x1b4
ret
mov eax, dword [ecx + 0x4c]
mov dword [esp], esi
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov eax, dword [eax + 0x50]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
lea ecx, [eax - 2]
cmp ecx, 0xa
jbe 0x51316c
cmp eax, 0x18
je 0x51316c
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x4c]
mov edx, dword [esp + 0x110]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [0x676144]
lea ebx, [0x676140]
cmp eax, ebx
jne 0x514d19
mov dword [esp], ecx
call fcn.004bcf70
mov eax, dword [0x7bca58]
mov ecx, dword [0x7bca5c]
mov edx, dword [esp + 4]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004bd230
movzx eax, byte [esp + 0xc]
test al, al
je 0x51326c
mov ecx, dword [esp + 0xa8]
test ecx, 0x200
je 0x513184
mov edx, dword [esp + 0x174]
jmp 0x5131f6
test ecx, 0x80
je 0x513197
mov edx, dword [esp + 0x174]
mov ebp, dword [edx]
jmp 0x5131a0
mov edx, dword [esp + 0x174]
mov ebp, edx
test ebp, ebp
jne 0x5131f6
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x110]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
call fcn.004c6070
mov eax, dword [esp + 0x170]
mov dword [esp], eax
mov ecx, dword [esp + 0x174]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xa8]
mov dword [esp + 8], edx
call fcn.004c43a0
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x174]
xor eax, eax
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x78], eax
lea edi, [esp + 0x1a0]
mov esi, eax
xor eax, eax
call fcn.00463a8b
mov ecx, dword [esp + 0x1b8]
mov eax, edx
mov edx, dword [ecx + 0x38]
test edx, edx
je 0x513239
lea edi, [esp + 0x1a0]
mov esi, edx
call fcn.00463f6e
mov ecx, dword [esp + 0x1b8]
mov esi, dword [esp + 0x78]
mov dword [esp + 0x148], ebx
mov dword [esp + 0x144], ebp
lea edx, [ecx + 0x38]
mov dword [esp + 0x16c], edx
xor edi, edi
xor edi, edi
mov dword [esp + 0x130], edi
xor edi, edi
mov dword [esp + 0x134], edi
xor edi, edi
jmp 0x5134ba
lea eax, [0x606e00]
mov dword [esp], eax
call fcn.0040bdb0
mov eax, dword [esp + 4]
mov dword [eax + 4], 6
lea ecx, [0x61c47d]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov ecx, dword [0x7e34c0]
test ecx, ecx
jne 0x5132aa
mov ecx, dword [esp + 0x110]
mov dword [eax + 0xc], ecx
jmp 0x5132bd
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x110]
call fcn.00463860
mov eax, ecx
mov ecx, dword [esp + 0x1b8]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x10], edx
sar edx, 0x1f
mov dword [eax + 0x14], edx
mov edx, dword [ecx + 0x3c]
test edx, edx
jne 0x513318
mov dword [esp], ecx
lea edx, [0x6749a0]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.005117e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x1b8]
mov dword [edx + 0x3c], ecx
mov ecx, dword [0x7e34c0]
test ecx, ecx
jne 0x51330e
mov dword [edx + 0x40], eax
jmp 0x513316
lea edi, [edx + 0x40]
call fcn.00463860
mov ecx, edx
mov dword [esp], ecx
call fcn.005118e0
mov dword [esp + 0x1c8], 0
mov dword [esp + 0x1cc], 0
add esp, 0x1b4
ret
mov eax, dword [esp + 0x1b8]
mov dword [esp], eax
call fcn.00517b30
mov eax, dword [esp + 4]
nop
movzx ecx, byte [0x7bd150]
test cl, cl
je 0x513387
lea ecx, [0x5f2460]
mov dword [0x7bd154], ecx
mov edx, dword [0x7e34c0]
test edx, edx
jne 0x51337a
mov dword [0x7bd158], eax
jmp 0x51338d
lea edi, [0x7bd158]
call fcn.00463860
jmp 0x51338d
lea ecx, [0x5f2460]
mov dword [esp + 0x190], ecx
mov dword [esp + 0x194], eax
mov ecx, dword [esp + 0x190]
test ecx, ecx
je 0x5133bd
nop
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x5133c3
or edx, 0x80
jmp 0x5133c3
xor edx, edx
xor ecx, ecx
xor eax, eax
mov ebx, dword [esp + 0x170]
mov dword [esp], ebx
mov ebx, dword [esp + 0x174]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
call fcn.004c43a0
mov dword [esp + 0x1c8], 0
mov dword [esp + 0x1cc], 0
add esp, 0x1b4
ret
mov dword [esp + 0x38], eax
mov dword [esp + 0x118], ecx
nop
mov eax, dword [esp + 0x1b8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0xa0], ecx
mov dword [esp], eax
call fcn.005118e0
mov eax, dword [esp + 0x1b8]
mov edx, dword [eax + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 0xc]
cmp edx, eax
jb 0x5134ad
mov ebx, dword [esp + 0xa0]
lea ebp, [ebx - 1]
cmp eax, ebp
jb 0x5134a4
mov esi, dword [esp + 0x38]
mov esi, dword [esi + 0x10]
mov edi, dword [esp + 0x118]
mov dword [esp], edi
sub edx, ebx
inc edx
mov edi, edx
neg edx
sar edx, 0x1f
and ebp, edx
add ecx, ebp
mov dword [esp + 4], ecx
sub eax, ebx
inc eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
call esi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c8], eax
mov dword [esp + 0x1cc], ecx
add esp, 0x1b4
ret
mov ecx, eax
mov eax, ebp
call fcn.00463940
mov ecx, eax
call fcn.00463920
mov ecx, edx
mov edi, dword [esp + 0x58]
mov dword [esp + 0x58], edi
mov dword [esp], ecx
mov dword [esp + 4], 9
call fcn.00511a10
mov eax, dword [esp + 0x1b8]
mov ecx, dword [eax + 0x10]
cmp ecx, 5
je 0x514602
cmp ecx, 1
jne 0x514d01
nop
mov ecx, dword [eax + 0xc]
mov dword [esp + 0xa0], ecx
mov dword [esp], eax
call fcn.00511ad0
mov eax, dword [esp + 0x1b8]
mov edx, dword [eax + 8]
mov ecx, dword [eax]
mov ebx, dword [eax + 0xc]
lea ebp, [ebx - 1]
cmp edx, ebp
jb 0x514cfa
mov esi, dword [esp + 0xa0]
lea edi, [esi - 1]
cmp ebp, edi
jb 0x514cf1
sub edx, esi
lea eax, [edx + 1]
mov dword [esp + 0x6c], eax
mov edx, eax
neg eax
sar eax, 0x1f
and edi, eax
lea eax, [ecx + edi]
mov dword [esp + 0x140], eax
mov dword [esp], eax
sub ebx, esi
mov dword [esp + 0x68], ebx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.00518070
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
test cl, cl
je 0x514cd9
mov dword [esp + 0x64], edx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x13c], eax
mov ecx, dword [esp + 0xa4]
cmp ecx, 0x15
jne 0x513651
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x28]
mov edx, dword [esp + 0x110]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x58]
test edx, edx
je 0x513610
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004c6120
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x130]
mov dword [esp], ebx
mov ebp, dword [esp + 0x134]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x58]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004c43a0
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x130]
mov ecx, dword [esp + 0x134]
jmp 0x513644
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004c6200
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004c2b50
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
xor edx, edx
mov ebx, edi
mov ebp, eax
mov esi, ecx
jmp 0x5138ab
lea ecx, [0x5f2420]
mov dword [esp], ecx
mov edx, dword [esp + 0x144]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.0040faf0
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
movzx ecx, byte [esp + 0x14]
test cl, cl
je 0x5136ad
mov ecx, dword [esp + 0x78]
cmp ecx, eax
jbe 0x514cd4
lea edx, [eax + eax*8]
mov ebx, dword [esp + 0x148]
lea edx, [ebx + edx*8]
mov eax, ebx
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x13c]
jmp 0x5136f3
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x13c]
mov eax, dword [esp + 0x148]
mov ecx, dword [esp + 0x78]
xor edx, edx
jmp 0x514640
mov eax, dword [esp + 0x148]
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x13c]
mov edx, dword [esp + 0x14c]
jmp 0x5136f3
xor edx, edx
test edx, edx
je 0x51377c
mov dword [esp + 0x14c], edx
mov edi, ecx
movzx ecx, byte [edx + 0x41]
mov byte [esp + 0x2f], cl
mov ecx, dword [edx + 0x2c]
mov dword [esp + 0x164], ecx
mov edx, dword [edx + 0x30]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xc4], eax
xor eax, eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x3c], eax
mov dword [esp + 0xbc], ecx
mov ecx, dword [esp + 0x174]
mov dword [esp + 0x120], ecx
mov dword [esp + 0xb4], edx
mov edx, dword [esp + 0x170]
mov dword [esp + 0x11c], edx
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xb4]
jmp 0x514862
mov edx, dword [esp + 0x1b8]
movzx edi, byte [edx + 0x45]
xchg edi, eax
test al, al
xchg edi, eax
je 0x513869
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.00409770
mov eax, dword [esp + 0xc]
lea ecx, [0x5eab60]
mov dword [esp + 0x198], ecx
mov dword [esp + 0x19c], eax
lea eax, [0x622c72]
mov dword [esp], eax
mov dword [esp + 4], 0x16
lea edx, [esp + 0x198]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cb520
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1b8]
mov ebx, dword [edx + 0x3c]
test ebx, ebx
jne 0x51384f
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.005117e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x1b8]
mov dword [edx + 0x3c], ecx
mov ecx, dword [0x7e34c0]
test ecx, ecx
jne 0x513847
mov dword [edx + 0x40], eax
jmp 0x51384f
lea edi, [edx + 0x40]
call fcn.00463860
mov eax, dword [esp + 0x148]
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x13c]
xor edi, edi
xor edi, edi
mov dword [esp + 0x3c], edi
xor edi, edi
mov dword [esp + 0x11c], edi
xor edi, edi
mov dword [esp + 0x120], edi
xor edi, edi
mov eax, dword [esp + 0x130]
mov ecx, dword [esp + 0x134]
mov edx, edi
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x11c]
mov esi, dword [esp + 0x120]
mov edi, dword [esp + 0x58]
mov dword [esp + 0x58], edi
mov dword [esp + 0x134], ecx
mov dword [esp + 0x130], eax
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2f], dl
mov dword [esp + 0x120], esi
mov dword [esp + 0x11c], ebp
mov eax, dword [esp + 0x1b8]
cmp dword [eax + 0x10], 9
jne 0x513919
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.00511a10
mov eax, dword [esp + 0x1b8]
mov ecx, dword [esp + 0x134]
movzx edx, byte [esp + 0x2f]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x11c]
mov esi, dword [esp + 0x120]
mov edi, dword [esp + 0x58]
cmp dword [eax + 0x10], 3
jne 0x5147d9
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.00511a10
movzx eax, byte [esp + 0x2f]
test al, al
je 0x513baf
mov eax, dword [esp + 0x1b8]
mov dword [esp], eax
call fcn.00511df0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
je 0x513b38
cmp dword [eax + 8], 0x778cdb8
jne 0x513a0b
lea eax, [0x5f0dc0]
cmp ecx, eax
jne 0x513a11
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0044e1b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1b8]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x120]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x18], edx
mov byte [esp + 0x1c], 1
call fcn.00514f10
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
test eax, eax
jne 0x5146b0
mov ebx, dword [esp + 0xa4]
cmp ebx, 0x15
mov edx, dword [esp + 0x1b8]
jmp 0x513c01
lea eax, [0x5f0dc0]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x513a30
test ecx, 0x200
jne 0x513a30
lea edx, [0x676140]
mov ebp, dword [esp + 0x11c]
jmp 0x513a62
mov eax, dword [esp + 0x11c]
mov dword [esp], eax
mov edx, dword [esp + 0x120]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004c53c0
mov eax, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
mov edx, eax
lea eax, [0x5f0dc0]
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
test edx, edx
je 0x513a7f
mov edx, dword [edx + 4]
mov dword [esp + 0x198], edx
mov dword [esp + 0x19c], ebp
lea eax, [0x62ebf9]
mov dword [esp], eax
mov dword [esp + 4], 0x53
lea ecx, [esp + 0x198]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cb520
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1b8]
mov ebx, dword [edx + 0x3c]
test ebx, ebx
je 0x513ae3
mov ebx, dword [esp + 0xa4]
cmp ebx, 0x15
jmp 0x513c01
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.005117e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x1b8]
mov dword [edx + 0x3c], ecx
mov ecx, dword [0x7e34c0]
test ecx, ecx
jne 0x513b21
mov dword [edx + 0x40], eax
mov ebx, dword [esp + 0xa4]
cmp ebx, 0x15
jmp 0x513c01
lea edi, [edx + 0x40]
call fcn.00463860
mov ebx, dword [esp + 0xa4]
cmp ebx, 0x15
jmp 0x513c01
mov eax, dword [str.null]
mov ecx, dword [0x7b758c]
mov edx, dword [0x7b7590]
mov ebx, dword [esp + 0x1b8]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x120]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x18], edx
mov byte [esp + 0x1c], 0
call fcn.00514f10
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
test eax, eax
jne 0x5146c5
mov ebx, dword [esp + 0xa4]
cmp ebx, 0x15
mov edx, dword [esp + 0x1b8]
jmp 0x513c01
mov eax, dword [esp + 0x1b8]
mov dword [esp], eax
mov ecx, dword [esp + 0x11c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x120]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0xc], ebx
call fcn.00511c20
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x5146ef
mov ebx, dword [esp + 0xa4]
cmp ebx, 0x15
mov edx, dword [esp + 0x1b8]
jne 0x514582
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x4c]
mov edx, dword [esp + 0x110]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 8]
mov ebp, dword [0x676144]
lea esi, [0x676140]
cmp edx, esi
jne 0x5147c3
mov dword [esp + 0x138], eax
mov dword [esp + 0x160], edx
mov dword [esp + 0x5c], ecx
mov dword [esp], ebx
call fcn.004bcf70
mov eax, dword [0x7bca58]
mov ecx, dword [0x7bca5c]
mov edx, dword [esp + 4]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004bd230
movzx eax, byte [esp + 0xc]
test al, al
jne 0x51445d
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x50]
mov edx, dword [esp + 0x138]
mov dword [esp], edx
call ecx
cmp dword [esp + 4], 0x18
jne 0x513d79
mov eax, dword [esp + 0x13c]
mov dword [esp], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
call fcn.00409770
mov eax, dword [esp + 0xc]
nop
movzx ecx, byte [0x7bd150]
test cl, cl
je 0x513cfd
lea ecx, [0x5eab60]
mov dword [0x7bd154], ecx
mov edx, dword [0x7e34c0]
test edx, edx
jne 0x513cf0
mov dword [0x7bd158], eax
jmp 0x513d03
lea edi, [0x7bd158]
call fcn.00463860
jmp 0x513d03
lea ecx, [0x5eab60]
mov dword [esp + 0x188], ecx
mov dword [esp + 0x18c], eax
mov edx, dword [esp + 0x188]
test edx, edx
je 0x513d35
nop
movzx ebx, byte [edx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x513d3b
or ebx, 0x80
jmp 0x513d3b
xor ebx, ebx
xor edx, edx
xor eax, eax
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x160]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x138]
mov dword [esp + 0x10], eax
call fcn.004c6580
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x1b8]
jmp 0x51451f
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x50]
mov ecx, dword [esp + 0x138]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
lea ecx, [eax - 2]
cmp ecx, 4
jbe 0x5140e1
add eax, 0xfffffff9
cmp eax, 5
ja 0x5147ab
lea eax, [esp + 0xcc]
mov dword [esp], eax
mov eax, dword [esp + 0x13c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
call fcn.0044dff0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x124], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0x40
call fcn.004afc50
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
test ecx, ecx
je 0x513e13
mov ebp, 1
jmp 0x513f06
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], edx
mov eax, dword [esp + 0x160]
mov dword [esp], eax
mov ecx, dword [esp + 0x138]
mov dword [esp + 4], ecx
call fcn.004c6120
mov eax, dword [esp + 0x10]
and eax, 0x1f
lea ecx, [eax - 7]
mov edx, dword [esp + 8]
cmp ecx, 5
ja 0x514767
mov eax, dword [edx]
shl eax, 3
add eax, 0xffffffc0
neg eax
cmp eax, 0x20
sbb edx, edx
lea ecx, [eax - 0x20]
mov dword [esp + 0x98], ecx
cmp ecx, 0x20
sbb ebx, ebx
mov dword [esp + 0x94], ebx
mov ebp, ecx
neg ecx
cmp ecx, 0x20
sbb esi, esi
mov dword [esp + 0x90], esi
mov edi, ecx
mov ecx, ebp
mov esi, dword [esp + 0x48]
shl esi, cl
and esi, ebx
mov ecx, eax
mov ebx, dword [esp + 0x54]
shl ebx, cl
and ebx, edx
mov ecx, edi
mov ebp, dword [esp + 0x48]
shr ebp, cl
mov edi, dword [esp + 0x90]
and ebp, edi
or ebp, ebx
or esi, ebp
mov dword [esp + 0x90], esi
mov ebx, ecx
mov ecx, eax
mov ebp, dword [esp + 0x48]
shl ebp, cl
and ebp, edx
shr ebp, cl
mov ecx, ebx
mov ebx, esi
shl esi, cl
mov ecx, dword [esp + 0x98]
shr ebx, cl
mov ecx, eax
mov eax, dword [esp + 0x94]
and ebx, eax
and esi, edi
and ebp, edx
or ebp, esi
or ebp, ebx
mov eax, dword [esp + 0x48]
cmp eax, ebp
setne bl
mov ebp, dword [esp + 0x90]
shr ebp, cl
and ebp, edx
mov edx, dword [esp + 0x54]
cmp edx, ebp
xchg ebp, ebx
setne bl
xchg ebp, ebx
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x51401e
lea eax, [0x606e00]
mov dword [esp], eax
call fcn.0040bdb0
mov eax, dword [esp + 4]
mov dword [esp + 0x15c], eax
mov dword [esp], 0
lea ecx, [0x61c889]
mov dword [esp + 4], ecx
mov dword [esp + 8], 7
mov edx, dword [esp + 0x124]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x10], edx
call fcn.0044dd40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x15c]
mov dword [edi + 4], ecx
mov ecx, dword [0x7e34c0]
test ecx, ecx
jne 0x513f7a
mov dword [edi], eax
jmp 0x513f7f
call fcn.00463860
mov ebx, dword [esp + 0x160]
mov dword [edi + 8], ebx
mov ebx, dword [0x7e34c0]
test ebx, ebx
jne 0x513f9f
mov ebx, dword [esp + 0x138]
mov dword [edi + 0xc], ebx
jmp 0x513fb4
lea ebx, [edi + 0xc]
mov eax, dword [esp + 0x138]
mov ecx, edi
mov edi, ebx
call fcn.00463860
mov edi, ecx
mov ebx, dword [esp + 0xa0]
mov dword [edi + 0x10], ebx
sar ebx, 0x1f
mov dword [edi + 0x14], ebx
mov ebx, dword [esp + 0x1b8]
mov ebp, dword [ebx + 0x3c]
test ebp, ebp
jne 0x514013
mov dword [esp], ebx
lea eax, [0x6749a0]
mov dword [esp + 4], eax
mov dword [esp + 8], edi
call fcn.005117e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x1b8]
mov dword [edx + 0x3c], ecx
mov ecx, dword [0x7e34c0]
test ecx, ecx
jne 0x514009
mov dword [edx + 0x40], eax
jmp 0x514011
lea edi, [edx + 0x40]
call fcn.00463860
mov ebx, edx
xor edx, edx
xor eax, eax
xor ecx, ecx
jmp 0x51451f
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00409640
mov eax, dword [esp + 8]
nop
movzx ecx, byte [0x7bd150]
test cl, cl
je 0x514065
lea ecx, [0x5f0f40]
mov dword [0x7bd154], ecx
mov edx, dword [0x7e34c0]
test edx, edx
jne 0x514058
mov dword [0x7bd158], eax
jmp 0x51406b
lea edi, [0x7bd158]
call fcn.00463860
jmp 0x51406b
lea ecx, [0x5f0f40]
mov dword [esp + 0x178], ecx
mov dword [esp + 0x17c], eax
mov edx, dword [esp + 0x178]
test edx, edx
je 0x51409d
nop
movzx ebx, byte [edx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x5140a3
or ebx, 0x80
jmp 0x5140a3
xor ebx, ebx
xor edx, edx
xor eax, eax
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x160]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x138]
mov dword [esp + 0x10], eax
call fcn.004c6580
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x1b8]
jmp 0x51451f
lea eax, [esp + 0xec]
mov dword [esp], eax
mov eax, dword [esp + 0x13c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
call fcn.0044dff0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x128], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x44], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0x40
call fcn.004b06f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
test edx, edx
je 0x51414c
mov edx, 1
jmp 0x514284
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x160]
mov dword [esp], eax
mov ecx, dword [esp + 0x138]
mov dword [esp + 4], ecx
call fcn.004c6120
mov eax, dword [esp + 0x10]
and eax, 0x1f
lea ecx, [eax - 2]
mov edx, dword [esp + 8]
cmp ecx, 4
ja 0x514723
mov eax, dword [edx]
shl eax, 3
lea ecx, [eax - 0x40]
neg ecx
mov dword [esp + 0x8c], ecx
cmp ecx, 0x20
sbb eax, eax
mov dword [esp + 0x98], eax
lea edx, [ecx - 0x20]
cmp edx, 0x20
sbb ebx, ebx
mov ebp, edx
neg edx
mov dword [esp + 0x94], edx
cmp edx, 0x20
sbb esi, esi
mov dword [esp + 0x90], esi
mov edi, ecx
shr ecx, 5
cmp ecx, 1
sbb eax, eax
mov dword [esp + 0x88], eax
cmp edi, 0x20
sbb eax, eax
mov dword [esp + 0x84], eax
mov ecx, edi
mov eax, dword [esp + 0x50]
shl eax, cl
mov ecx, edx
mov edi, dword [esp + 0x4c]
shr edi, cl
and edi, esi
mov ecx, ebp
mov esi, dword [esp + 0x4c]
shl esi, cl
and esi, ebx
mov edx, dword [esp + 0x98]
and eax, edx
or edi, eax
or esi, edi
mov dword [esp + 0x98], esi
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x4c]
mov edi, eax
shl eax, cl
and eax, edx
shr eax, cl
not ebx
or ebx, ebp
mov ecx, dword [esp + 0x94]
shl esi, cl
mov ebp, dword [esp + 0x90]
and esi, ebp
mov ecx, ebx
mov ebp, dword [esp + 0x98]
mov ebx, ebp
sar ebp, cl
mov ecx, ebx
mov ebx, dword [esp + 0x88]
xor ebx, 0xffffffff
and ebx, ebp
and eax, edx
or eax, esi
or ebx, eax
cmp edi, ebx
setne al
mov edx, dword [esp + 0x84]
not edx
mov ebx, dword [esp + 0x8c]
or ebx, edx
mov edx, ecx
mov ecx, ebx
sar edx, cl
mov ebx, dword [esp + 0x50]
cmp ebx, edx
setne dl
or edx, eax
mov eax, ebx
mov ecx, edi
test dl, dl
je 0x51439a
lea eax, [0x606e00]
mov dword [esp], eax
call fcn.0040bdb0
mov eax, dword [esp + 4]
mov dword [esp + 0x15c], eax
mov dword [esp], 0
lea ecx, [0x61c889]
mov dword [esp + 4], ecx
mov dword [esp + 8], 7
mov edx, dword [esp + 0x128]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x10], edx
call fcn.0044dd40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x15c]
mov dword [edi + 4], ecx
mov ecx, dword [0x7e34c0]
test ecx, ecx
jne 0x5142f6
mov dword [edi], eax
jmp 0x5142fb
call fcn.00463860
mov ebx, dword [esp + 0x160]
mov dword [edi + 8], ebx
mov ebx, dword [0x7e34c0]
test ebx, ebx
jne 0x51431b
mov ebx, dword [esp + 0x138]
mov dword [edi + 0xc], ebx
jmp 0x514330
lea ebx, [edi + 0xc]
mov eax, dword [esp + 0x138]
mov ecx, edi
mov edi, ebx
call fcn.00463860
mov edi, ecx
mov ebx, dword [esp + 0xa0]
mov dword [edi + 0x10], ebx
sar ebx, 0x1f
mov dword [edi + 0x14], ebx
mov ebx, dword [esp + 0x1b8]
mov ebp, dword [ebx + 0x3c]
test ebp, ebp
jne 0x51438f
mov dword [esp], ebx
lea eax, [0x6749a0]
mov dword [esp + 4], eax
mov dword [esp + 8], edi
call fcn.005117e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x1b8]
mov dword [edx + 0x3c], ecx
mov ecx, dword [0x7e34c0]
test ecx, ecx
jne 0x514385
mov dword [edx + 0x40], eax
jmp 0x51438d
lea edi, [edx + 0x40]
call fcn.00463860
mov ebx, edx
xor edx, edx
xor eax, eax
xor ecx, ecx
jmp 0x51451f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00409640
mov eax, dword [esp + 8]
nop
movzx ecx, byte [0x7bd150]
test cl, cl
je 0x5143e1
lea ecx, [0x5f0680]
mov dword [0x7bd154], ecx
mov edx, dword [0x7e34c0]
test edx, edx
jne 0x5143d4
mov dword [0x7bd158], eax
jmp 0x5143e7
lea edi, [0x7bd158]
call fcn.00463860
jmp 0x5143e7
lea ecx, [0x5f0680]
mov dword [esp + 0x180], ecx
mov dword [esp + 0x184], eax
mov edx, dword [esp + 0x180]
test edx, edx
je 0x514419
nop
movzx ebx, byte [edx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x51441f
or ebx, 0x80
jmp 0x51441f
xor ebx, ebx
xor edx, edx
xor eax, eax
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x160]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x138]
mov dword [esp + 0x10], eax
call fcn.004c6580
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x1b8]
jmp 0x51451f
mov eax, dword [esp + 0x160]
mov dword [esp], eax
mov eax, dword [esp + 0x138]
mov dword [esp + 4], eax
call fcn.004c6200
mov eax, dword [esp + 8]
mov dword [esp + 0x158], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x154], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x80], edx
mov ebx, dword [esp + 0x1b8]
mov dword [esp], ebx
mov ebp, dword [esp + 0x140]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x68]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov byte [esp + 0x1c], 1
call fcn.00514f10
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
test eax, eax
jne 0x5146da
mov eax, dword [esp + 0x158]
mov dword [esp], eax
mov eax, dword [esp + 0x154]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 8], eax
call fcn.004c2b50
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1b8]
test edx, edx
je 0x514579
mov ebx, dword [esp + 0x170]
mov dword [esp], ebx
mov ebp, dword [esp + 0x174]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0xa8]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x120]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
call fcn.004c4a40
mov ebx, dword [esp + 0x1b8]
mov edx, ebx
mov ebx, dword [esp + 0xa4]
cmp dword [edx + 0x10], 9
jne 0x5145a6
mov dword [esp], edx
mov dword [esp + 4], 9
call fcn.00511a10
mov edx, dword [esp + 0x1b8]
mov ebx, dword [esp + 0xa4]
mov ebp, dword [edx + 0x38]
test ebp, ebp
je 0x5145ec
mov esi, dword [ebp + 0x10]
mov ecx, dword [esp + 0x1ac]
cmp ecx, esi
ja 0x51471c
mov dword [ebp + 0xc], ecx
mov ecx, dword [edx + 0x38]
mov eax, dword [esp + 0x1a4]
mov ebp, dword [esp + 0x1a0]
mov dword [ecx], ebp
mov ebp, dword [0x7e34c0]
test ebp, ebp
jne 0x5145e4
mov dword [ecx + 4], eax
jmp 0x5145ec
lea edi, [ecx + 4]
call fcn.00463860
mov eax, dword [edx + 0x10]
cmp eax, 5
je 0x514602
cmp eax, 4
je 0x5134b4
jmp 0x514704
mov dword [esp + 0x1c8], 0
mov dword [esp + 0x1cc], 0
add esp, 0x1b4
ret
mov eax, dword [esp + 0x74]
lea edx, [eax + 1]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x13c]
mov eax, dword [esp + 0x148]
mov ecx, dword [esp + 0x78]
cmp edx, ecx
jge 0x5136f1
jae 0x514ccd
mov dword [esp + 0x74], edx
lea ecx, [edx + edx*8]
lea edi, [eax + ecx*8]
mov dword [esp + 0x14c], edi
lea ebx, [eax + ecx*8 + 0x14]
mov ebx, dword [ebx]
mov dword [esp + 0x168], ebx
mov ebx, dword [ebx]
lea ecx, [eax + ecx*8 + 8]
mov ecx, dword [ecx]
mov eax, dword [edi + 0xc]
mov edi, dword [edi + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x168]
call ebx
movzx eax, byte [esp + 0x18]
test al, al
je 0x51461f
jmp 0x5136ce
mov dword [esp + 0x1c8], ecx
mov dword [esp + 0x1cc], edx
add esp, 0x1b4
ret
mov dword [esp + 0x1c8], ecx
mov dword [esp + 0x1cc], edx
add esp, 0x1b4
ret
mov dword [esp + 0x1c8], ecx
mov dword [esp + 0x1cc], edx
add esp, 0x1b4
ret
mov dword [esp + 0x1c8], ecx
mov dword [esp + 0x1cc], edx
add esp, 0x1b4
ret
lea eax, [0x5f0dc0]
mov dword [esp], eax
lea eax, [0x6742c8]
mov dword [esp + 4], eax
call fcn.00435790
mov edx, esi
call fcn.00463920
mov dword [esp + 0xa8], eax
lea eax, [0x5fc1a0]
mov dword [esp], eax
call fcn.0040bdb0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x19
lea ecx, [0x624893]
mov dword [eax], ecx
mov ecx, dword [esp + 0xa8]
mov dword [eax + 8], ecx
lea ecx, [0x5f5160]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435790
mov dword [esp + 0xa8], eax
lea eax, [0x5fc1a0]
mov dword [esp], eax
call fcn.0040bdb0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1a
lea ecx, [0x625188]
mov dword [eax], ecx
mov ecx, dword [esp + 0xa8]
mov dword [eax + 8], ecx
lea ecx, [0x5f5160]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435790
lea eax, [0x5f0dc0]
mov dword [esp], eax
lea eax, [0x6742e0]
mov dword [esp + 4], eax
call fcn.00435790
mov dword [esp], edx
mov dword [esp + 4], ebp
lea eax, [0x612ce0]
mov dword [esp + 8], eax
call fcn.004093e0
lea eax, [0x5f0dc0]
mov dword [esp], eax
lea eax, [0x6742c8]
mov dword [esp + 4], eax
call fcn.00435790
mov ecx, dword [esp + 0x11c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x120]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
call fcn.004c2d00
mov eax, dword [esp + 0x7c]
inc eax
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x164]
mov edx, dword [esp + 0x9c]
mov edi, dword [esp + 0x78]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x120], ebp
mov dword [esp + 0x11c], esi
mov eax, dword [esp + 0x148]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x13c]
mov ebx, dword [esp + 0x7c]
cmp ebx, edx
jge 0x514afc
mov eax, dword [ecx + ebx*4]
nop
mov ebp, dword [esp + 0x3c]
and ebp, 0x1f
cmp ebp, 0x16
jne 0x5149f1
mov dword [esp + 0x70], eax
mov ebp, dword [esp + 0x3c]
test ebp, 0x200
jne 0x5149ae
test ebp, 0x80
je 0x5148bb
mov esi, dword [esp + 0x120]
mov edi, dword [esi]
mov esi, dword [esp + 0x13c]
mov dword [esp + 0x12c], edi
mov edi, dword [esp + 0x78]
jmp 0x5148d7
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x120]
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0xac]
mov esi, dword [esp + 0x12c]
test esi, esi
jne 0x5149ae
mov esi, ebp
and ebp, 0x160
cmp ebp, 0x100
jne 0x5149fa
test esi, 0x200
jne 0x51491e
lea ebp, [0x676140]
mov ebp, dword [esp + 0x11c]
mov dword [esp + 0x10c], ebp
lea ebp, [0x676140]
jmp 0x51494d
mov eax, dword [esp + 0x11c]
mov dword [esp], eax
mov ecx, dword [esp + 0x120]
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
call fcn.004c53c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebp, eax
mov dword [esp + 0x10c], ecx
mov eax, dword [ebp + 0x28]
mov ecx, dword [esp + 0x10c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004c6200
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x11c]
mov dword [esp], ebx
mov ebp, dword [esp + 0x120]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x3c]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004c43a0
mov ebp, dword [esp + 0x3c]
mov eax, dword [esp + 0x11c]
mov dword [esp], eax
mov eax, dword [esp + 0x120]
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.004c2b50
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebp, edx
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
mov eax, dword [esp + 0x70]
jmp 0x5147f1
mov ebp, dword [esp + 0x3c]
jmp 0x5147f1
test esi, 0x200
jne 0x514a11
lea eax, [0x676140]
mov ecx, dword [esp + 0x11c]
jmp 0x514a37
mov eax, dword [esp + 0x11c]
mov dword [esp], eax
mov eax, dword [esp + 0x120]
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.004c53c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x28]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
test eax, eax
je 0x514a64
mov eax, dword [eax + 4]
mov dword [esp + 0x198], eax
mov dword [esp + 0x19c], ecx
lea eax, [0x62ded0]
mov dword [esp], eax
mov dword [esp + 4], 0x3a
lea ecx, [esp + 0x198]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cb520
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1b8]
mov ebx, dword [edx + 0x3c]
test ebx, ebx
jne 0x514af2
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.005117e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x1b8]
mov dword [edx + 0x3c], ecx
mov ecx, dword [0x7e34c0]
test ecx, ecx
jne 0x514aea
mov dword [edx + 0x40], eax
jmp 0x514af2
lea edi, [edx + 0x40]
call fcn.00463860
xor eax, eax
xor ecx, ecx
xor ebx, ebx
xor ebp, ebp
jmp 0x514b1a
mov edx, dword [esp + 0x1b8]
movzx eax, byte [esp + 0x2f]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x11c]
mov ebp, dword [esp + 0x120]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x120], ebp
mov dword [esp + 0x11c], ebx
mov byte [esp + 0x2f], al
mov esi, dword [edx + 0x38]
test esi, esi
jne 0x514b8b
lea eax, [0x5fb3c0]
mov dword [esp], eax
call fcn.0040bdb0
mov eax, dword [0x7e34c0]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x514b5f
mov edx, dword [esp + 0x1b8]
mov dword [edx + 0x38], ecx
jmp 0x514b74
mov edi, dword [esp + 0x16c]
mov eax, ecx
call fcn.00463860
mov edx, dword [esp + 0x1b8]
movzx eax, byte [esp + 0x2f]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x11c]
mov ebp, dword [esp + 0x120]
mov esi, dword [edx + 0x38]
mov dword [esp + 0x150], esi
mov edi, ecx
mov ecx, dword [esi + 0x10]
mov ebx, dword [esi + 0xc]
inc ebx
mov ebp, dword [esi + 8]
mov edx, dword [esp + 0x14c]
mov esi, dword [edx]
mov edx, dword [edx + 4]
cmp ecx, ebx
jae 0x514c29
mov dword [esp + 0x9c], edx
mov dword [esp + 0x160], esi
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x5f0dc0]
mov dword [esp + 0x10], eax
call fcn.0044a320
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x150]
mov dword [ebx + 0x10], edx
mov edx, dword [0x7e34c0]
test edx, edx
jne 0x514c06
mov dword [ebx + 8], eax
jmp 0x514c0e
lea edi, [ebx + 8]
call fcn.00463860
mov edx, dword [esp + 0x9c]
mov esi, dword [esp + 0x160]
mov edi, dword [esp + 0x3c]
mov ebx, ecx
mov ebp, eax
movzx eax, byte [esp + 0x2f]
mov ecx, dword [esp + 0x150]
mov dword [ecx + 0xc], ebx
lea ecx, [ebp + ebx*8 - 4]
mov dword [ecx], edx
lea ecx, [ebp + ebx*8 - 8]
mov edx, dword [0x7e34c0]
test edx, edx
jne 0x514c4b
mov dword [ecx], esi
jmp 0x514c5c
mov edx, edi
mov edi, ecx
mov ebx, eax
mov eax, esi
call fcn.00463860
mov eax, ebx
mov edi, edx
mov ecx, dword [esp + 0x1b8]
mov edx, dword [ecx + 0x38]
mov ebx, dword [esp + 0x30]
mov dword [edx], ebx
mov ebp, dword [0x7e34c0]
test ebp, ebp
jne 0x514c82
mov ebp, dword [esp + 0x110]
mov dword [edx + 4], ebp
jmp 0x514ca2
add edx, 4
mov edi, edx
mov esi, eax
mov eax, dword [esp + 0x110]
call fcn.00463860
mov eax, esi
mov ebp, dword [esp + 0x110]
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x148]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x1b8]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x13c]
movzx edi, byte [esp + 0x2f]
jmp 0x513885
mov eax, edx
call fcn.004638e0
call fcn.004638e0
lea eax, [0x5f0dc0]
mov dword [esp], eax
lea eax, [0x6742c8]
mov dword [esp + 4], eax
call fcn.00435790
mov eax, edi
mov ecx, ebp
call fcn.00463940
mov ecx, ebp
call fcn.00463920
lea eax, [0x5f0dc0]
mov dword [esp], eax
lea eax, [0x6742c8]
mov dword [esp + 4], eax
call fcn.00435790
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [0x612ce0]
mov dword [esp + 8], eax
call fcn.004093e0
nop
call fcn.00462450
jmp fcn.00512d70