Function at 0x10052080
Capabilities:
Enumerate pe sections
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100736a1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x240
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
and dword [ebp - 0x1c], 0
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10053126
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x168], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x120]
movzx eax, byte [eax]
test eax, eax
je 0x100530e1
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x10052111
jmp 0x10053149
mov eax, dword [ebp - 0xf0]
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 0x10052212
mov dword [ebp - 0xd4], 0x2ce3
mov dword [ebp - 0x134], 0x10008df0
cmp dword [ebp - 0xd4], 0x2f3d
jle 0x100521c7
and dword [ebp - 0xa8], 0
jmp 0x10052165
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0x3f2f
jge 0x100521c7
and dword [ebp - 0xb8], 0
jmp 0x10052187
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0x5ea1
jge 0x100521c5
mov eax, dword [ebp - 0xa8]
imul eax, dword [ebp - 0xb8]
cdq
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], edx
push dword [ebp - 0x128]
push dword [ebp - 0x12c]
mov ecx, 0x1061af58
call fcn.10021543
jmp 0x1005217a
jmp 0x10052158
jmp 0x10053149
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 0x10052230
jmp 0x10053149
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 - 0x48], eax
and dword [ebp - 0xc8], 0
jmp 0x10052264
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x48]
add eax, 0x28
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
movzx eax, word [eax + 6]
cmp dword [ebp - 0xc8], eax
jge 0x10052319
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xdc]
jb 0x10052314
mov eax, dword [ebp - 0x44]
push dword [eax + 0x38]
mov eax, dword [ebp - 0x48]
push dword [eax + 8]
call fcn.10050db2
pop ecx
pop ecx
add eax, dword [ebp - 0xdc]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x13c]
jae 0x10052314
push 1
push 0
push 0xa05
push 0x1ea9
push 0x597c
lea eax, [ebp - 0x48]
push eax
push 0x4f71
push 0x23ca
push 0x1e89
push 0x368a
push 1
lea eax, [ebp - 0x28]
push eax
push 0x4b04
push 0x2318
push 0x2ef7
push 0x18f3
push 0x5a0
call fcn.10051b6e
add esp, 0x44
jmp 0x10052319
jmp 0x1005224e
cmp dword [ebp - 0x28], 0
jne 0x10052324
jmp 0x10053149
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
add ecx, dword [eax]
add ecx, dword [ebp - 0x24]
mov dword [ebp - 0x18], ecx
xor ecx, ecx
call fcn.1004f1da
push eax
call fcn.1005bead
pop ecx
mov byte [ebp - 0x98], 0
mov byte [ebp - 0x97], 0x4b
mov byte [ebp - 0x96], 4
mov byte [ebp - 0x95], 0x73
mov byte [ebp - 0x94], 0x58
mov byte [ebp - 0x93], 0x3c
mov byte [ebp - 0x92], 0xab
mov byte [ebp - 0x91], 3
mov byte [ebp - 0x90], 6
mov byte [ebp - 0x8f], 4
mov byte [ebp - 0x8e], 0xf
mov byte [ebp - 0x8d], 9
mov byte [ebp - 0x8c], 8
mov byte [ebp - 0x8b], 7
mov byte [ebp - 0x8a], 6
mov byte [ebp - 0x89], 2
mov byte [ebp - 0x88], 1
mov byte [ebp - 0x87], 8
mov byte [ebp - 0x86], 7
mov byte [ebp - 0x85], 5
mov byte [ebp - 0x84], 1
mov byte [ebp - 0x83], 6
mov byte [ebp - 0x82], 0
mov byte [ebp - 0x81], 1
mov byte [ebp - 0x80], 4
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x98]
and eax, 0x7a
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x98]
or ecx, 0x7a
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x98]
mov byte [ebp + eax - 0x10c], cl
mov dword [ebp - 0x30], 2
and dword [ebp - 0xc0], 0
jmp 0x1005243d
mov eax, dword [ebp - 0x30]
inc eax
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x19
jae 0x10052518
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x98]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x30], eax
jne 0x10052487
mov eax, dword [ebp - 0x30]
movzx eax, byte [ebp + eax - 0x98]
inc eax
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [ebp + eax - 0x98]
mov ecx, dword [ebp - 0x30]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x30], eax
jmp 0x10052435
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0xc0]
movzx eax, byte [ebp + eax - 0x9a]
movsx eax, byte [ebp + eax - 0x10c]
mov ecx, dword [ebp - 0x30]
movzx ecx, byte [ebp + ecx - 0x97]
and ecx, eax
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0xc0]
movzx eax, byte [ebp + eax - 0x9a]
movsx eax, byte [ebp + eax - 0x10c]
mov edx, dword [ebp - 0x30]
movzx edx, byte [ebp + edx - 0x97]
or edx, eax
sub edx, ecx
mov eax, dword [ebp - 0x30]
movzx eax, byte [ebp + eax - 0x98]
mov byte [ebp + eax - 0x10c], dl
push 0x4bb2
push 0
push 0x12bd
push 0
push 0x2c11
push 0x5fef
push 0x16a3
lea eax, [ebp - 0xc0]
push eax
call fcn.1005188c
add esp, 0x20
jmp 0x10052435
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x10c], 0
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x208]
call fcn.100216ec
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x178], eax
mov dword [ebp - 4], 2
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x178]
call fcn.1004f19f
pop ecx
mov dword [ebp - 0x16c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x208]
call fcn.1002170f
and dword [ebp - 0xac], 0
jmp 0x1005258c
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0xb
jae 0x100525a5
mov eax, dword [ebp - 0xac]
mov byte [ebp + eax - 0x10c], 0
jmp 0x1005257f
mov byte [ebp - 0x68], 0
mov byte [ebp - 0x67], 0x84
mov byte [ebp - 0x66], 4
mov byte [ebp - 0x65], 0xdc
mov byte [ebp - 0x64], 0x92
mov byte [ebp - 0x63], 0xd6
mov byte [ebp - 0x62], 0xdf
mov byte [ebp - 0x61], 5
mov byte [ebp - 0x60], 0
mov byte [ebp - 0x5f], 1
mov byte [ebp - 0x5e], 7
mov byte [ebp - 0x5d], 6
mov byte [ebp - 0x5c], 0xf
mov byte [ebp - 0x5b], 9
mov byte [ebp - 0x5a], 9
mov byte [ebp - 0x59], 2
mov byte [ebp - 0x58], 7
mov byte [ebp - 0x57], 4
mov byte [ebp - 0x56], 3
mov byte [ebp - 0x55], 7
mov byte [ebp - 0x54], 2
mov byte [ebp - 0x53], 8
mov byte [ebp - 0x52], 6
mov byte [ebp - 0x51], 3
mov byte [ebp - 0x50], 2
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x68]
and eax, 0xb5
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x68]
or ecx, 0xb5
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x68]
mov byte [ebp + eax - 0x100], cl
mov dword [ebp - 0x20], 2
and dword [ebp - 0x70], 0
jmp 0x10052653
mov eax, dword [ebp - 0x20]
inc eax
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x19
jae 0x10052744
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x68]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x20], eax
jne 0x10052691
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x68]
inc eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x68]
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x20], eax
jmp 0x1005264b
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x70]
movzx eax, byte [ebp + eax - 0x6a]
movsx eax, byte [ebp + eax - 0x100]
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x67]
and ecx, eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x70]
movzx eax, byte [ebp + eax - 0x6a]
movsx eax, byte [ebp + eax - 0x100]
mov edx, dword [ebp - 0x20]
movzx edx, byte [ebp + edx - 0x67]
and edx, eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x70]
movzx eax, byte [ebp + eax - 0x6a]
movsx eax, byte [ebp + eax - 0x100]
mov esi, dword [ebp - 0x20]
movzx ebx, byte [ebp + esi - 0x67]
add ebx, eax
sub ebx, edx
sub ebx, ecx
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x68]
mov byte [ebp + eax - 0x100], bl
push 0x5c28
push 0x1380
lea eax, [ebp - 0x70]
push eax
push 1
push 0xb26
push 0x27bf
push 0xe77
push 0x354f
push 0x40c2
push 0
push 0
push 0x3c4d
push 0x2717
push 0x505
call fcn.100512c7
add esp, 0x38
jmp 0x1005264b
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x100], 0
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0x220]
call fcn.100216ec
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x15c], eax
mov dword [ebp - 4], 3
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x15c]
call fcn.1004f19f
pop ecx
mov dword [ebp - 0x11c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.1002170f
and dword [ebp - 0xa4], 0
jmp 0x100527b8
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0xb
jae 0x100527d1
mov eax, dword [ebp - 0xa4]
mov byte [ebp + eax - 0x100], 0
jmp 0x100527ab
push dword [ebp - 0x11c]
push dword [ebp - 0x16c]
call fcn.10050b43
pop ecx
pop ecx
mov dword [ebp - 0xe4], eax
push 0x2398
lea eax, [ebp - 0x44]
push eax
push 0
push 0x1670
push 0
push 0x4e7c
lea eax, [ebp - 0xe4]
push eax
push 0x7823
call fcn.100516e5
add esp, 0x20
push 0x58d8
lea eax, [ebp - 0xe4]
push eax
push 0x2c2
lea eax, [ebp - 0x18]
push eax
push 0x55a9
push 1
push 1
call fcn.10051a5f
add esp, 0x1c
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x18], 0
jbe 0x1005286b
push 0x406
lea eax, [ebp - 0x18]
push eax
push 0x2ec7
push 0
lea eax, [ebp - 0x78]
push eax
push 0x1d25
push 1
call fcn.10051fa7
add esp, 0x1c
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x78]
mov dword [ebp - 0x4c], eax
and dword [ebp - 0x7c], 0
jmp 0x1005288d
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x4c]
jge 0x10052970
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0x18]
cmp dword [ebp - 0x7c], eax
jae 0x100528c4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
add ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x7c]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0xd0], eax
jmp 0x100528f4
push 0x2f0a
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0xd0]
push eax
push 0x100d
push 0xeed
push 0x750f
push 0
push 1
push 0x815
call fcn.10051945
add esp, 0x24
push 1
push 0
push 0x304e
push 0x5e86
push 0x7017
push 0x3786
push 0x45b
push 0x5097
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x2987
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x5312
push 0x2969
push 0x5e25
call fcn.10051b6e
add esp, 0x44
push 0
lea eax, [ebp - 0x14]
push eax
push 0x58a2
push 1
push 0x2f5
push 0x3c6a
push 0x49b7
call fcn.10051214
add esp, 0x1c
jmp 0x10052886
push 0xb31
lea eax, [ebp - 0x18]
push eax
push 0x3873
push 1
push 0x3f98
lea eax, [ebp - 0x78]
push eax
push 0x2cbf
push 0x335b
push 0x23de
push 1
push 0
push 0x7f9e
push 0x2cb0
push 0x5ab4
call fcn.100512c7
add esp, 0x38
push 0x59d4
lea eax, [ebp - 0x4c]
push eax
push 0x5803
push 0x43c8
push 1
push 0x6ff1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x78]
push eax
push 0
call fcn.100517d7
add esp, 0x24
and dword [ebp - 0xc4], 0
jmp 0x100529f5
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
cmp eax, dword [ebp - 0x4c]
jge 0x10052a33
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
and dword [ecx + eax], 0
push 0x136a
push 0x5fe4
lea eax, [ebp - 0x14]
push eax
push 0x242a
push 0x1001
push 1
push 0
call fcn.10051a5f
add esp, 0x1c
jmp 0x100529e8
push 1
push 0x1fab
lea eax, [ebp - 0x4c]
push eax
push 1
push 0x5601
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10051214
add esp, 0x1c
lea eax, [ebp - 0x78]
push eax
push 0x6927
lea eax, [ebp - 0x18]
push eax
push 0
push 0xad7
push 0x7e98
push 0
call fcn.10051fa7
add esp, 0x1c
lea eax, [ebp - 0x28]
push eax
push 0x1215
push 0x560d
push 1
lea eax, [ebp - 0x4c]
push eax
push 0x5f96
lea eax, [ebp - 0x18]
push eax
push 0x6763
push 0x24e6
push 1
push 1
push 0x33cb
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.100512c7
add esp, 0x38
push 1
push 0x21f6
lea eax, [ebp - 0x14]
push eax
push 0x58d1
push 1
push 0xe41
lea eax, [ebp - 0x4c]
push eax
push 0x4a8a
lea eax, [ebp - 0x18]
push eax
call fcn.1005149f
add esp, 0x24
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x1a8]
call fcn.100216ec
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x1a8]
call fcn.1002175b
mov dword [ebp - 0xd8], eax
push dword [ebp - 0xd8]
mov eax, dword [ebp - 0xd8]
shr eax, 1
push eax
call fcn.10050b43
pop ecx
pop ecx
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x40], 0
mov byte [ebp - 0x3f], 0x5a
mov byte [ebp - 0x3e], 1
mov byte [ebp - 0x3d], 0x37
mov byte [ebp - 0x3c], 2
mov byte [ebp - 0x3b], 0x42
mov byte [ebp - 0x3a], 3
mov byte [ebp - 0x39], 0
mov byte [ebp - 0x38], 1
mov byte [ebp - 0x37], 8
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x40]
and eax, 0x74
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x40]
or ecx, 0x74
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x40]
mov byte [ebp + eax - 0xa0], cl
mov dword [ebp - 0x2c], 2
and dword [ebp - 0xb0], 0
jmp 0x10052b9d
mov eax, dword [ebp - 0x2c]
inc eax
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xa
jae 0x10052c3b
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 0x10052bde
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x40]
inc eax
mov dword [ebp - 0xb0], 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 0x10052b95
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0xb0]
movzx eax, byte [ebp + eax - 0x42]
movsx eax, byte [ebp + eax - 0xa0]
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0x3f]
and ecx, eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0xb0]
movzx eax, byte [ebp + eax - 0x42]
movsx eax, byte [ebp + eax - 0xa0]
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 - 0xa0], dl
and dword [ebp - 0xb0], 0
jmp 0x10052b95
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0xa0], 0
cmp dword [ebp - 0x74], 4
jle 0x10052d03
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x1f0]
call fcn.100216ec
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x130], eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1c]
or eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x74]
sub eax, 4
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.10050cab
pop ecx
pop ecx
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x150], eax
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
or eax, 2
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x130]
mov edx, dword [ebp - 0x150]
lea ecx, [ebp - 0x1d8]
call fcn.10053725
pop ecx
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x158], eax
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x1c]
or eax, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0xec], eax
jmp 0x10052d2f
push dword [ebp - 0x74]
lea eax, [ebp - 0x250]
push eax
call fcn.10050cab
pop ecx
pop ecx
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x1c]
or eax, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x160], eax
push dword [ebp - 0x160]
lea ecx, [ebp - 0x1c0]
call fcn.10021219
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x1c]
and eax, 8
je 0x10052d6a
and dword [ebp - 0x1c], 0xfffffff7
lea ecx, [ebp - 0x250]
call fcn.1002170f
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x1c]
and eax, 4
je 0x10052d85
and dword [ebp - 0x1c], 0xfffffffb
lea ecx, [ebp - 0x1d8]
call fcn.1002170f
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x1c]
and eax, 2
je 0x10052da0
and dword [ebp - 0x1c], 0xfffffffd
lea ecx, [ebp - 0x238]
call fcn.1002170f
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x1c]
and eax, 1
je 0x10052dbb
and dword [ebp - 0x1c], 0xfffffffe
lea ecx, [ebp - 0x1f0]
call fcn.1002170f
and dword [ebp - 0xbc], 0
jmp 0x10052dd1
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 5
jae 0x10052dea
mov eax, dword [ebp - 0xbc]
mov byte [ebp + eax - 0xa0], 0
jmp 0x10052dc4
push 0x50ee
push 0x415b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 1
push 0
call fcn.10052080
add esp, 0x18
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c0]
push eax
push 0x46c2
push 0
lea eax, [ebp - 0x28]
push eax
push 0x44e4
push 1
push 0x127a
push 0x2fa2
push 0x1741
call fcn.10051e90
add esp, 0x30
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x74]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x24]
push eax
push 0x2c53
push 0
push 0x60d5
push 1
lea eax, [ebp - 0x28]
push eax
push 0x69e1
lea eax, [ebp - 0x14]
push eax
call fcn.100516e5
add esp, 0x20
push 0x4485
push 1
push 0x67e9
push 0
lea eax, [ebp - 0x14]
push eax
push 0x1de9
push 0x251e
push 0xfab
call fcn.1005188c
add esp, 0x20
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x18], 0
jbe 0x10052efb
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 - 0x18]
xor edx, edx
div dword [ecx + 0x18]
cmp eax, 0xc
jbe 0x10052ecf
mov dword [ebp - 0xe0], 0xc
jmp 0x10052eed
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 - 0x18]
xor edx, edx
div dword [ecx + 0x18]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xf4], eax
jmp 0x10052f02
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xe8], eax
and dword [ebp - 0xb4], 0
jmp 0x10052f24
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xb4]
cmp ecx, dword [eax + 0x18]
jae 0x10053063
push dword [ebp - 0xe8]
mov eax, dword [ebp - 0xe8]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.10050b43
pop ecx
pop ecx
mov dword [ebp - 0xcc], eax
push dword [ebp - 0xcc]
lea eax, [ebp - 0x190]
push eax
call fcn.10050cab
pop ecx
pop ecx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
add ecx, dword [eax + 0x20]
add ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xb4]
mov edx, dword [ebp - 0x14]
mov dword [ecx + eax*4], edx
push 1
push 1
push 0x438e
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x1f1f
lea eax, [ebp - 0xcc]
push eax
push 0x6264
push 0x4912
push 0x80c
push 1
push 0x15d3
push 0x7c34
push 0x1baa
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x2da5
call fcn.10051b6e
add esp, 0x44
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xcc]
mov dword [ebp - 0x14], eax
push 0x52db
push 0x36b8
push 0x32fb
push 0x229d
lea eax, [ebp - 0x14]
push eax
push 1
push 0x5dd5
push 0x4f84
push 1
lea eax, [ebp - 0x28]
push eax
push 0x107d
lea eax, [ebp - 0x24]
push eax
call fcn.10051e90
add esp, 0x30
push 0x6631
push 0x2112
lea eax, [ebp - 0x14]
push eax
push 0x4676
push 1
push 0x7c85
push 0x677f
push 0x361c
push 1
call fcn.100517d7
add esp, 0x24
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x190]
call fcn.1002170f
jmp 0x10052f17
and dword [ebp - 0x6c], 0
jmp 0x10053070
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
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
cmp dword [ebp - 0x6c], eax
jae 0x100530b2
lea eax, [ebp - 0x28]
push eax
push 0x624f
push 0x950
push 0x19e
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x24]
push eax
push 1
push 1
lea eax, [ebp - 0x14]
push eax
call fcn.10051945
add esp, 0x24
jmp 0x10053069
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
sub eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 4], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c0]
call fcn.1002170f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a8]
call fcn.1002170f
jmp 0x10053124
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x174]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x114]
mov ecx, dword [ecx]
mov dword [eax + 0xc], ecx
jmp 0x10053149
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x118], eax
push 0x2448
push dword [ebp - 0x118]
push 0x42ac
push 0
call fcn.10051a3a
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret