Function at 0x10052957
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10074287
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x2f4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
and dword [ebp - 0x18], 0
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10053e8a
lea eax, [ebp + 8]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x1c4]
movzx eax, byte [eax]
test eax, eax
je 0x10053e3a
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x100529e8
jmp 0x10053eb7
mov eax, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0x4550
je 0x10052a07
jmp 0x10053eb7
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
lea eax, [ecx + eax + 0x78]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
cmp dword [eax + 4], 0
jne 0x10052a25
jmp 0x10053eb7
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x44]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x44]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x4c], eax
and dword [ebp - 0xf0], 0
jmp 0x10052a59
mov eax, dword [ebp - 0xf0]
inc eax
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x4c]
add eax, 0x28
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
movzx eax, word [eax + 6]
cmp dword [ebp - 0xf0], eax
jge 0x10052ad2
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x118]
jb 0x10052acd
mov eax, dword [ebp - 0x44]
push dword [eax + 0x38]
mov eax, dword [ebp - 0x4c]
push dword [eax + 8]
call fcn.10050308
pop ecx
pop ecx
add eax, dword [ebp - 0x118]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x194]
jae 0x10052acd
push 0x7de6
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x7a79
push 1
push 0
call fcn.10052957
add esp, 0x18
jmp 0x10052ad2
jmp 0x10052a43
cmp dword [ebp - 0x28], 0
jne 0x10052add
jmp 0x10053eb7
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
add ecx, dword [eax]
add ecx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], ecx
xor ecx, ecx
call fcn.1004ee32
push eax
call fcn.1005b4b0
pop ecx
mov dword [ebp - 0x120], 0x1f0b
mov dword [ebp - 0x1a4], 0x10009188
cmp dword [ebp - 0x120], 0x2291
jle 0x10052c2e
and dword [ebp - 0xe4], 0
jmp 0x10052b33
mov eax, dword [ebp - 0xe4]
inc eax
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0x3951
jge 0x10052c2e
and dword [ebp - 0xec], 0
jmp 0x10052b59
mov eax, dword [ebp - 0xec]
inc eax
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0x3749
jge 0x10052c29
and dword [ebp - 0xa4], 0
jmp 0x10052b7f
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0x1259
jge 0x10052c24
and dword [ebp - 0xdc], 0
jmp 0x10052ba5
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0x79eb
jge 0x10052c1f
mov eax, dword [ebp - 0xa4]
cdq
idiv dword [ebp - 0xdc]
mov ecx, edx
mov eax, dword [ebp - 0xe4]
cdq
idiv dword [ebp - 0xec]
and edx, ecx
mov eax, edx
cdq
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x164], edx
push dword [ebp - 0x164]
push dword [ebp - 0x168]
lea ecx, [ebp - 0x2ec]
call fcn.1000a91f
pop ecx
pop ecx
mov dword [ebp - 0x19c], eax
mov ecx, dword [ebp - 0x19c]
call fcn.10020122
push eax
call fcn.1005a68f
pop ecx
lea ecx, [ebp - 0x2ec]
call fcn.10020118
jmp 0x10052b98
jmp 0x10052b72
jmp 0x10052b4c
jmp 0x10052b26
mov byte [ebp - 0x64], 1
mov byte [ebp - 0x63], 0x21
mov byte [ebp - 0x62], 7
mov byte [ebp - 0x61], 3
mov byte [ebp - 0x60], 3
mov byte [ebp - 0x5f], 0x5f
mov byte [ebp - 0x5e], 0x45
mov byte [ebp - 0x5d], 0x66
mov byte [ebp - 0x5c], 4
mov byte [ebp - 0x5b], 0xe
mov byte [ebp - 0x5a], 9
mov byte [ebp - 0x59], 8
mov byte [ebp - 0x58], 2
mov byte [ebp - 0x57], 7
mov byte [ebp - 0x56], 8
mov byte [ebp - 0x55], 7
mov byte [ebp - 0x54], 3
mov byte [ebp - 0x53], 7
mov byte [ebp - 0x52], 0
mov byte [ebp - 0x51], 6
mov byte [ebp - 0x50], 6
mov byte [ebp - 0x4f], 0
mov byte [ebp - 0x4e], 5
mov byte [ebp - 0x4d], 0
and dword [ebp - 4], 0
cmp dword [ebp - 0x120], 0x1c26
jge 0x10052caa
push dword [ebp - 0x1a4]
call fcn.1005a68f
pop ecx
jmp 0x10052cc6
or dword [ebp - 4], 0xffffffff
jmp 0x10052cd0
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x64]
and eax, 0x14
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x64]
or ecx, 0x14
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x64]
mov byte [ebp + eax - 0x13c], cl
mov dword [ebp - 0x20], 2
and dword [ebp - 0x70], 0
jmp 0x10052d15
mov eax, dword [ebp - 0x20]
inc eax
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x18
jae 0x10052f29
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x64]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x20], eax
jne 0x10052d53
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x64]
inc eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x64]
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x20], eax
jmp 0x10052d0d
mov dword [ebp - 0x12c], 0x53c5
mov dword [ebp - 0x1b8], 0x100091f0
cmp dword [ebp - 0x12c], 0x5612
jle 0x10052e4c
and dword [ebp - 0x98], 0
jmp 0x10052d8d
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0x53bd
jge 0x10052e4c
and dword [ebp - 0xe8], 0
jmp 0x10052db3
mov eax, dword [ebp - 0xe8]
inc eax
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0x7cc4
jge 0x10052e47
and dword [ebp - 0xd4], 0
jmp 0x10052dd9
mov eax, dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0x5c6d
jge 0x10052e42
mov eax, dword [ebp - 0xe8]
add eax, dword [ebp - 0xd4]
or eax, dword [ebp - 0x98]
cdq
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x170], edx
push dword [ebp - 0x170]
push dword [ebp - 0x174]
lea ecx, [ebp - 0x304]
call fcn.1000a91f
pop ecx
pop ecx
mov dword [ebp - 0x1ac], eax
mov ecx, dword [ebp - 0x1ac]
call fcn.10020122
push eax
call fcn.1005a68f
pop ecx
lea ecx, [ebp - 0x304]
call fcn.10020118
jmp 0x10052dcc
jmp 0x10052da6
jmp 0x10052d80
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x70]
movzx eax, byte [ebp + eax - 0x66]
movsx eax, byte [ebp + eax - 0x13c]
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x63]
and ecx, eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x70]
movzx eax, byte [ebp + eax - 0x66]
movsx eax, byte [ebp + eax - 0x13c]
mov edx, dword [ebp - 0x20]
movzx edx, byte [ebp + edx - 0x63]
and edx, eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x70]
movzx eax, byte [ebp + eax - 0x66]
movsx eax, byte [ebp + eax - 0x13c]
mov esi, dword [ebp - 0x20]
movzx ebx, byte [ebp + esi - 0x63]
add ebx, eax
sub ebx, edx
sub ebx, ecx
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x64]
mov byte [ebp + eax - 0x13c], bl
mov dword [ebp - 4], 2
cmp dword [ebp - 0x12c], 0x516d
jge 0x10052ed5
push dword [ebp - 0x1b8]
call fcn.1005a68f
pop ecx
jmp 0x10052ef1
or dword [ebp - 4], 0xffffffff
jmp 0x10052efb
push 0
push 0x5e85
push 1
push 0x199
push 0x3e44
push 0x528d
push 0x4969
lea eax, [ebp - 0x70]
push eax
call fcn.10051666
add esp, 0x20
jmp 0x10052d0d
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x13c], 0
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x2bc]
call fcn.100202eb
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x158], eax
mov dword [ebp - 4], 4
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x158]
call fcn.1004edf7
pop ecx
mov dword [ebp - 0x16c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2bc]
call fcn.1002030e
and dword [ebp - 0xd0], 0
jmp 0x10052f9d
mov eax, dword [ebp - 0xd0]
inc eax
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0xb
jae 0x10052fb6
mov eax, dword [ebp - 0xd0]
mov byte [ebp + eax - 0x13c], 0
jmp 0x10052f90
mov byte [ebp - 0x8c], 7
mov byte [ebp - 0x8b], 0x7c
mov byte [ebp - 0x8a], 5
mov byte [ebp - 0x89], 7
mov byte [ebp - 0x88], 9
mov byte [ebp - 0x87], 1
mov byte [ebp - 0x86], 4
mov byte [ebp - 0x85], 4
mov byte [ebp - 0x84], 6
mov byte [ebp - 0x83], 0xd
mov byte [ebp - 0x82], 0
mov byte [ebp - 0x81], 8
mov byte [ebp - 0x80], 8
mov byte [ebp - 0x7f], 1
mov byte [ebp - 0x7e], 1
mov byte [ebp - 0x7d], 6
mov byte [ebp - 0x7c], 4
mov byte [ebp - 0x7b], 0xbe
mov byte [ebp - 0x7a], 0xec
mov byte [ebp - 0x79], 0xf0
mov byte [ebp - 0x78], 0x7b
mov byte [ebp - 0x77], 2
mov byte [ebp - 0x76], 1
mov byte [ebp - 0x75], 3
mov byte [ebp - 0x74], 5
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x8c]
and eax, 0x4a
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x8c]
or ecx, 0x4a
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x8c]
mov byte [ebp + eax - 0x148], cl
mov dword [ebp - 0x30], 2
and dword [ebp - 0xac], 0
jmp 0x1005308f
mov eax, dword [ebp - 0x30]
inc eax
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x19
jae 0x10053145
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x8c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x30], eax
jne 0x100530d9
mov eax, dword [ebp - 0x30]
movzx eax, byte [ebp + eax - 0x8c]
inc eax
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [ebp + eax - 0x8c]
mov ecx, dword [ebp - 0x30]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x30], eax
jmp 0x10053087
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0xac]
movzx eax, byte [ebp + eax - 0x8e]
movsx eax, byte [ebp + eax - 0x148]
mov ecx, dword [ebp - 0x30]
movzx ecx, byte [ebp + ecx - 0x8b]
and ecx, eax
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0xac]
movzx eax, byte [ebp + eax - 0x8e]
movsx eax, byte [ebp + eax - 0x148]
mov edx, dword [ebp - 0x30]
movzx edx, byte [ebp + edx - 0x8b]
or edx, eax
sub edx, ecx
mov eax, dword [ebp - 0x30]
movzx eax, byte [ebp + eax - 0x8c]
mov byte [ebp + eax - 0x148], dl
and dword [ebp - 0xac], 0
jmp 0x10053087
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x148], 0
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x28c]
call fcn.100202eb
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x160], eax
mov dword [ebp - 4], 5
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x160]
call fcn.1004edf7
pop ecx
mov dword [ebp - 0x1e0], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28c]
call fcn.1002030e
and dword [ebp - 0xe0], 0
jmp 0x100531b9
mov eax, dword [ebp - 0xe0]
inc eax
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0xb
jae 0x100531d2
mov eax, dword [ebp - 0xe0]
mov byte [ebp + eax - 0x148], 0
jmp 0x100531ac
push dword [ebp - 0x1e0]
push dword [ebp - 0x16c]
call fcn.1005012b
pop ecx
pop ecx
mov dword [ebp - 0x104], eax
push 1
push 0x42e
push 0x1f61
push 1
push 0x3305
lea eax, [ebp - 0x44]
push eax
push 0x11b5
push 0
lea eax, [ebp - 0x104]
push eax
call fcn.100523b7
add esp, 0x24
lea eax, [ebp - 0x104]
push eax
push 0x23fc
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x7ea9
push 0x3388
push 0
push 0x6c91
push 0x2f29
push 0x3c76
call fcn.10050f21
add esp, 0x28
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x18], 0
jbe 0x10053291
push 0x6b7d
push 0x2e5f
push 0x31ea
push 0x1d0
push 1
push 0x698e
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x79c
push 0x4b74
push 1
call fcn.10051294
add esp, 0x2c
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x6c]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x110], 0x7a04
mov dword [ebp - 0x178], 0x1000925c
cmp dword [ebp - 0x110], 0x7a5d
jle 0x100533a9
and dword [ebp - 0xc8], 0
jmp 0x100532e0
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0x4b22
jge 0x100533a9
and dword [ebp - 0xb4], 0
jmp 0x10053306
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0x439c
jge 0x100533a4
and dword [ebp - 0xd8], 0
jmp 0x1005332c
mov eax, dword [ebp - 0xd8]
inc eax
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0xbdc
jge 0x1005339f
and dword [ebp - 0xbc], 0
jmp 0x1005334e
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0x467f
jge 0x1005339d
mov eax, dword [ebp - 0xb4]
imul eax, dword [ebp - 0xd8]
imul eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xc8]
sub ecx, eax
mov eax, ecx
cdq
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x17c], edx
push dword [ebp - 0x17c]
push dword [ebp - 0x180]
mov ecx, 0x1061b298
call fcn.10020142
jmp 0x10053341
jmp 0x1005331f
jmp 0x100532f9
jmp 0x100532d3
and dword [ebp - 0xc4], 0
jmp 0x100533bf
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
cmp eax, dword [ebp - 0x48]
jge 0x10053461
push 0x353a
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
push 1
lea eax, [ebp - 0x4c]
push eax
push 0x3b95
push 0x7dc
lea eax, [ebp - 0xc4]
push eax
push 0x79b8
push 0x7c55
lea eax, [ebp - 0x1c8]
push eax
push 1
push 0x2d8d
lea eax, [ebp - 0x28]
push eax
push 0x2da
call fcn.100513d2
add esp, 0x3c
push 0x2d7f
push 0x450c
lea eax, [ebp - 0x1c8]
push eax
lea eax, [ebp - 0x24]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
push 0x75ad
push 0x5d91
lea eax, [ebp - 0x28]
push eax
push 0x4f68
push 0
call fcn.10051294
add esp, 0x2c
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x14], eax
jmp 0x100533b2
mov dword [ebp - 4], 6
cmp dword [ebp - 0x110], 0x789f
jge 0x10053484
mov edx, dword [ebp - 0x178]
mov ecx, 0x1061b298
call fcn.10022fc2
jmp 0x100534a0
or dword [ebp - 4], 0xffffffff
jmp 0x100534aa
push 0x5243
push 0x45c4
push 0x672b
push 1
push 0x4f0
push 0x61c0
push 0x24d5
push 0x699e
push 0x1e7b
lea eax, [ebp - 0x6c]
push eax
push 0x71c2
push 0
push 0x463
push 0x2ab7
lea eax, [ebp - 0x1c]
push eax
call fcn.100513d2
add esp, 0x3c
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x18]
sub eax, dword [ebp - 0x6c]
mov dword [ebp - 0x48], eax
and dword [ebp - 0xf4], 0
jmp 0x10053517
mov eax, dword [ebp - 0xf4]
inc eax
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
cmp eax, dword [ebp - 0x48]
jge 0x10053568
push 0x863
lea eax, [ebp - 0x14]
push eax
push 0x6696
push 0x3014
push 0x7ef9
push 0x4947
push 1
lea eax, [ebp - 0x24]
push eax
push 0x454
push 0
push 0x2e5d
lea eax, [ebp - 0x28]
push eax
call fcn.10051eb6
add esp, 0x30
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x14], eax
jmp 0x1005350a
push 1
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0xb0a
push 0x4ffb
push 0x71d0
call fcn.10051666
add esp, 0x20
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x5778
push 1
push 0x5a05
call fcn.10050353
add esp, 0x14
lea eax, [ebp - 0x24]
push eax
push 0x75e2
push 0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x2f50
push 0x45b7
push 1
push 0x58fe
lea eax, [ebp - 0x14]
push eax
push 1
push 0xed3
push 0x3857
lea eax, [ebp - 0x1c]
push eax
call fcn.10052121
add esp, 0x38
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x9a8
push 0xba8
push 0x5ef8
push 0x7031
push 0x70c7
push 0x177c
lea eax, [ebp - 0x48]
push eax
push 0x23e4
call fcn.10051158
add esp, 0x30
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x22c]
call fcn.100202eb
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x22c]
call fcn.1002035a
mov dword [ebp - 0x130], eax
push dword [ebp - 0x130]
mov eax, dword [ebp - 0x130]
shr eax, 1
push eax
call fcn.1005012b
pop ecx
pop ecx
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x40], 3
mov byte [ebp - 0x3f], 0xaa
mov byte [ebp - 0x3e], 0
mov byte [ebp - 0x3d], 0x42
mov byte [ebp - 0x3c], 1
mov byte [ebp - 0x3b], 0x4a
mov byte [ebp - 0x3a], 2
mov byte [ebp - 0x39], 8
mov byte [ebp - 0x38], 1
mov byte [ebp - 0x37], 0x44
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x40]
and eax, 0xc6
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x40]
or ecx, 0xc6
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x40]
mov byte [ebp + eax - 0x94], cl
mov dword [ebp - 0x2c], 2
and dword [ebp - 0xcc], 0
jmp 0x100536e4
mov eax, dword [ebp - 0x2c]
inc eax
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xa
jae 0x100537c2
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x40]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x2c], eax
jne 0x10053725
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x40]
inc eax
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x40]
mov ecx, dword [ebp - 0x2c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x2c], eax
jmp 0x100536dc
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0xcc]
movzx eax, byte [ebp + eax - 0x42]
movsx eax, byte [ebp + eax - 0x94]
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0x3f]
and ecx, eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0xcc]
movzx eax, byte [ebp + eax - 0x42]
movsx eax, byte [ebp + eax - 0x94]
mov edx, dword [ebp - 0x2c]
movzx edx, byte [ebp + edx - 0x3f]
or edx, eax
sub edx, ecx
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x40]
mov byte [ebp + eax - 0x94], dl
push 0x2d9d
push 0x6032
push 0
push 0x7500
push 0x7770
lea eax, [ebp - 0xcc]
push eax
push 0x5bcf
push 1
push 0x7dc5
push 0x4ce5
push 0
push 0x7d9b
push 0x468f
push 0x49e6
call fcn.10052121
add esp, 0x38
jmp 0x100536dc
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x94], 0
cmp dword [ebp - 0x68], 4
jle 0x1005388a
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x2a4]
call fcn.100202eb
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x1b4], eax
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x68]
sub eax, 4
push eax
lea eax, [ebp - 0x274]
push eax
call fcn.100501b5
pop ecx
pop ecx
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x190], eax
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0x18]
or eax, 2
mov dword [ebp - 0x18], eax
push dword [ebp - 0x1b4]
mov edx, dword [ebp - 0x190]
lea ecx, [ebp - 0x25c]
call fcn.100544b6
pop ecx
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x198], eax
mov dword [ebp - 4], 0xb
mov eax, dword [ebp - 0x18]
or eax, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x10c], eax
jmp 0x100538b6
push dword [ebp - 0x68]
lea eax, [ebp - 0x244]
push eax
call fcn.100501b5
pop ecx
pop ecx
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x18]
or eax, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x1a0], eax
push dword [ebp - 0x1a0]
lea ecx, [ebp - 0x214]
call fcn.10054068
mov dword [ebp - 4], 0xc
mov eax, dword [ebp - 0x18]
and eax, 8
je 0x100538f1
and dword [ebp - 0x18], 0xfffffff7
lea ecx, [ebp - 0x244]
call fcn.1002030e
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x18]
and eax, 4
je 0x1005390c
and dword [ebp - 0x18], 0xfffffffb
lea ecx, [ebp - 0x25c]
call fcn.1002030e
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x18]
and eax, 2
je 0x10053927
and dword [ebp - 0x18], 0xfffffffd
lea ecx, [ebp - 0x274]
call fcn.1002030e
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x18]
and eax, 1
je 0x10053942
and dword [ebp - 0x18], 0xfffffffe
lea ecx, [ebp - 0x2a4]
call fcn.1002030e
and dword [ebp - 0x9c], 0
jmp 0x10053958
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 5
jae 0x10053971
mov eax, dword [ebp - 0x9c]
mov byte [ebp + eax - 0x94], 0
jmp 0x1005394b
push 1
lea eax, [ebp - 0x14]
push eax
push 0x320a
lea eax, [ebp - 0x1c]
push eax
push 0x3f79
push 0x7bc3
push 0
call fcn.100522e7
add esp, 0x1c
lea eax, [ebp - 0x214]
push eax
push 0xa51
lea eax, [ebp - 0x28]
push eax
push 0x1b0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
push 0
push 0xc17
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x5369
push 0xa1f
call fcn.10051eb6
add esp, 0x30
push 0
push 0x331f
lea eax, [ebp - 0x68]
push eax
push 0x3124
lea eax, [ebp - 0x14]
push eax
push 0x167e
push 0
call fcn.100522e7
add esp, 0x1c
mov dword [ebp - 0x124], 0x281
mov dword [ebp - 0x1a8], 0x100092c8
cmp dword [ebp - 0x124], 0x464
jle 0x10053b21
and dword [ebp - 0xa0], 0
jmp 0x10053a2d
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0x6c88
jge 0x10053b21
and dword [ebp - 0xa8], 0
jmp 0x10053a53
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0x2873
jge 0x10053b1c
and dword [ebp - 0xb0], 0
jmp 0x10053a79
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0x1a7c
jge 0x10053b17
and dword [ebp - 0xb8], 0
jmp 0x10053a9f
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0x1a70
jge 0x10053b12
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xa8]
shl eax, cl
mov ecx, dword [ebp - 0xb0]
shl eax, cl
xor eax, dword [ebp - 0xb8]
cdq
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x188], edx
push dword [ebp - 0x188]
push dword [ebp - 0x18c]
lea ecx, [ebp - 0x2d4]
call fcn.1000a91f
pop ecx
pop ecx
mov dword [ebp - 0x1cc], eax
mov ecx, dword [ebp - 0x1cc]
call fcn.10020122
push eax
call fcn.1005a68f
pop ecx
lea ecx, [ebp - 0x2d4]
call fcn.10020118
jmp 0x10053a92
jmp 0x10053a6c
jmp 0x10053a46
jmp 0x10053a20
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x124], 0xffffff5f
jge 0x10053b3d
push dword [ebp - 0x1a8]
call fcn.1005a68f
pop ecx
jmp 0x10053b59
mov dword [ebp - 4], 0xf
jmp 0x10053b69
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov byte [ecx + eax], 0
push 0x3e35
push 0x3527
push 0xec6
push 1
push 0x7535
push 0x52e6
push 0
push 0x72b8
push 0x473
lea eax, [ebp - 0x14]
push eax
call fcn.10050f21
add esp, 0x28
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x18], 0
jbe 0x10053c07
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
xor edx, edx
div dword [ecx + 0x18]
cmp eax, 0xc
jbe 0x10053bdb
mov dword [ebp - 0x114], 0xc
jmp 0x10053bf9
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
xor edx, edx
div dword [ecx + 0x18]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x128], eax
jmp 0x10053c0e
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x11c], eax
and dword [ebp - 0xc0], 0
jmp 0x10053c30
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc0]
cmp ecx, dword [eax + 0x18]
jae 0x10053daa
push dword [ebp - 0x11c]
mov eax, dword [ebp - 0x11c]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.1005012b
pop ecx
pop ecx
mov dword [ebp - 0xf8], eax
push dword [ebp - 0xf8]
lea eax, [ebp - 0x1fc]
push eax
call fcn.100501b5
pop ecx
pop ecx
mov byte [ebp - 4], 0x12
push 0
push 0x6445
push 0x4cc0
push 1
push 0xd91
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x6d52
push 0x7bfb
lea eax, [ebp - 0x28]
push eax
call fcn.10051158
add esp, 0x30
push 0x3436
lea eax, [ebp - 0xf8]
push eax
push 0
push 0x584a
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x7504
push 0x47b6
push 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1fc]
push eax
call fcn.1005104b
add esp, 0x2c
push 0xb88
push 0x7a2a
push 1
push 0x2d0f
push 0x45e6
push 0x793d
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0x14]
push eax
push 1
push 0x6d65
push 0x574e
call fcn.1005104b
add esp, 0x2c
push 0x2930
lea eax, [ebp - 0x28]
push eax
push 1
push 0x5a45
push 0x2ff2
push 0x6f44
push 0x5832
push 1
lea eax, [ebp - 0x24]
push eax
push 0x28f3
push 1
lea eax, [ebp - 0x14]
push eax
push 0x6514
push 0x6603
call fcn.10052121
add esp, 0x38
push 1
push 0x3b3f
push 0x4665
push 1
lea eax, [ebp - 0x14]
push eax
push 0x38f9
push 0x6bf3
push 1
push 0x2af2
call fcn.100523b7
add esp, 0x24
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1fc]
call fcn.1002030e
jmp 0x10053c23
and dword [ebp - 0x100], 0
push 0x6981
push 0xfbb
push 1
push 1
push 0xf2b
push 0x2967
lea eax, [ebp - 0x34]
push eax
push 0x235e
push 0x171d
push 1
lea eax, [ebp - 0x24]
push eax
push 0x342d
lea eax, [ebp - 0x28]
push eax
push 0x74e9
lea eax, [ebp - 0x100]
push eax
push 0x3a14
push 0x4b81
lea eax, [ebp - 0x14]
push eax
call fcn.100524f7
add esp, 0x48
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
sub eax, dword [ebp - 0x100]
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 4], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x214]
call fcn.1002030e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.1002030e
jmp 0x10053e88
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xfc]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x14]
sub ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0x150]
mov dword [eax], ecx
jmp 0x10053eb7
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x154], eax
push 0x2f77
push 0x5f79
push 0x136c
push dword [ebp - 0x154]
push 0
push 0x6a9f
call fcn.10050160
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret