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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100728c5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x258
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
and dword [ebp - 0x18], 0
movzx eax, byte [ebp + 0x2c]
test eax, eax
je 0x10052c91
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x138], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x160]
movzx eax, byte [eax]
test eax, eax
je 0x10052be4
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x10051c30
jmp 0x10052cd2
mov eax, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0x28]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0x4550
je 0x10051c4f
jmp 0x10052cd2
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 0x10051c6d
jmp 0x10052cd2
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x44]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x44]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0xc8], eax
push 0x51fd
push 0
lea eax, [ebp - 0x2c]
push eax
push 0
lea eax, [ebp - 0xc8]
push eax
push 1
push 0x7335
push 0x529f
push 0x1bb1
push 0x16ab
push 0x477b
push 0x68cd
push 0x56a
push 0x6275
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.1005067e
add esp, 0x40
cmp dword [ebp - 0x2c], 0
jne 0x10051cde
jmp 0x10052cd2
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x2c]
add ecx, dword [eax]
add ecx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], ecx
xor ecx, ecx
call fcn.1004dece
push eax
call fcn.1005ba87
pop ecx
mov byte [ebp - 0x68], 0
mov byte [ebp - 0x67], 8
mov byte [ebp - 0x66], 1
mov byte [ebp - 0x65], 0x59
mov byte [ebp - 0x64], 2
mov byte [ebp - 0x63], 6
mov byte [ebp - 0x62], 6
mov byte [ebp - 0x61], 6
mov byte [ebp - 0x60], 3
mov byte [ebp - 0x5f], 6
mov byte [ebp - 0x5e], 9
mov byte [ebp - 0x5d], 7
mov byte [ebp - 0x5c], 4
mov byte [ebp - 0x5b], 8
mov byte [ebp - 0x5a], 1
mov byte [ebp - 0x59], 0xd
mov byte [ebp - 0x58], 5
mov byte [ebp - 0x57], 4
mov byte [ebp - 0x56], 8
mov byte [ebp - 0x55], 1
mov byte [ebp - 0x54], 7
mov byte [ebp - 0x53], 6
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x68]
and eax, 0x39
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x68]
or ecx, 0x39
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x68]
mov byte [ebp + eax - 0xec], cl
mov dword [ebp - 0x24], 2
and dword [ebp - 0x74], 0
jmp 0x10051d97
mov eax, dword [ebp - 0x24]
inc eax
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x16
jae 0x10051e48
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x68]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x24], eax
jne 0x10051dd5
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0x68]
inc eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0x68]
mov ecx, dword [ebp - 0x24]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x24], eax
jmp 0x10051d8f
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x74]
movzx eax, byte [ebp + eax - 0x6a]
movsx eax, byte [ebp + eax - 0xec]
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ebp + ecx - 0x67]
and ecx, eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x74]
movzx eax, byte [ebp + eax - 0x6a]
movsx eax, byte [ebp + eax - 0xec]
mov edx, dword [ebp - 0x24]
movzx edx, byte [ebp + edx - 0x67]
and edx, eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x74]
movzx eax, byte [ebp + eax - 0x6a]
movsx eax, byte [ebp + eax - 0xec]
mov esi, dword [ebp - 0x24]
movzx ebx, byte [ebp + esi - 0x67]
add ebx, eax
sub ebx, edx
sub ebx, ecx
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0x68]
mov byte [ebp + eax - 0xec], bl
and dword [ebp - 0x74], 0
jmp 0x10051d8f
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0xec], 0
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0x220]
call fcn.1003d418
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x154], eax
and dword [ebp - 4], 0
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x154]
call fcn.1004de93
pop ecx
mov dword [ebp - 0x104], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.1003d43b
and dword [ebp - 0xa0], 0
jmp 0x10051eb9
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0xb
jae 0x10051ed2
mov eax, dword [ebp - 0xa0]
mov byte [ebp + eax - 0xec], 0
jmp 0x10051eac
mov byte [ebp - 0x90], 0
mov byte [ebp - 0x8f], 0x5f
mov byte [ebp - 0x8e], 1
mov byte [ebp - 0x8d], 0xb6
mov byte [ebp - 0x8c], 8
mov byte [ebp - 0x8b], 1
mov byte [ebp - 0x8a], 7
mov byte [ebp - 0x89], 6
mov byte [ebp - 0x88], 3
mov byte [ebp - 0x87], 4
mov byte [ebp - 0x86], 2
mov byte [ebp - 0x85], 5
mov byte [ebp - 0x84], 4
mov byte [ebp - 0x83], 3
mov byte [ebp - 0x82], 6
mov byte [ebp - 0x81], 0xd
mov byte [ebp - 0x80], 9
mov byte [ebp - 0x7f], 9
mov byte [ebp - 0x7e], 5
mov byte [ebp - 0x7d], 1
mov byte [ebp - 0x7c], 1
mov byte [ebp - 0x7b], 7
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x90]
and eax, 0x6e
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x90]
or ecx, 0x6e
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x90]
mov byte [ebp + eax - 0xf8], cl
mov dword [ebp - 0x30], 2
and dword [ebp - 0xb0], 0
jmp 0x10051fab
mov eax, dword [ebp - 0x30]
inc eax
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x16
jae 0x10052092
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x90]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x30], eax
jne 0x10051ff5
mov eax, dword [ebp - 0x30]
movzx eax, byte [ebp + eax - 0x90]
inc eax
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [ebp + eax - 0x90]
mov ecx, dword [ebp - 0x30]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x30], eax
jmp 0x10051fa3
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0xb0]
movzx eax, byte [ebp + eax - 0x92]
movsx eax, byte [ebp + eax - 0xf8]
mov ecx, dword [ebp - 0x30]
movzx ecx, byte [ebp + ecx - 0x8f]
and ecx, eax
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0xb0]
movzx eax, byte [ebp + eax - 0x92]
movsx eax, byte [ebp + eax - 0xf8]
mov edx, dword [ebp - 0x30]
movzx edx, byte [ebp + edx - 0x8f]
or edx, eax
sub edx, ecx
mov eax, dword [ebp - 0x30]
movzx eax, byte [ebp + eax - 0x90]
mov byte [ebp + eax - 0xf8], dl
push 1
push 0x747e
push 1
push 0x398f
push 0x10ad
push 0x2bbe
push 0x24ed
push 1
push 0x1eaf
lea eax, [ebp - 0xb0]
push eax
push 0x2159
call fcn.1004fc8c
add esp, 0x2c
jmp 0x10051fa3
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0xf8], 0
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x1f0]
call fcn.1003d418
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x164], eax
mov dword [ebp - 4], 1
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x164]
call fcn.1004de93
pop ecx
mov dword [ebp - 0x16c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f0]
call fcn.1003d43b
and dword [ebp - 0xb8], 0
jmp 0x10052106
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0xb
jae 0x1005211f
mov eax, dword [ebp - 0xb8]
mov byte [ebp + eax - 0xf8], 0
jmp 0x100520f9
push dword [ebp - 0x16c]
push dword [ebp - 0x104]
call fcn.1004f457
pop ecx
pop ecx
mov dword [ebp - 0xc4], eax
push 0x2cc5
push 1
push 0
push 1
push 0x3afc
lea eax, [ebp - 0x44]
push eax
push 0x7350
lea eax, [ebp - 0xc4]
push eax
push 0x76b9
push 0x32f4
push 0x3de6
push 0x77e1
call fcn.1005006f
add esp, 0x30
push 1
lea eax, [ebp - 0x1c]
push eax
push 1
push 0x1ac3
lea eax, [ebp - 0xc4]
push eax
call fcn.1004ffa7
add esp, 0x14
and dword [ebp - 0x70], 0
push 0x16fe
push 1
push 0
push 0x7ae
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.10050424
add esp, 0x18
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 - 0x70]
mov dword [ebp - 0x48], eax
and dword [ebp - 0xac], 0
jmp 0x100521dd
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
cmp eax, dword [ebp - 0x48]
jge 0x100522a6
push 0x5a19
push 0x6c44
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x28]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xfc]
push eax
push 1
push 0x196a
call fcn.10051250
add esp, 0x30
push 0x1095
push 0
lea eax, [ebp - 0xfc]
push eax
push 0
push 0xf75
lea eax, [ebp - 0x2c]
push eax
push 0x27d2
lea eax, [ebp - 0x14]
push eax
push 0x1973
push 0x5839
lea eax, [ebp - 0x28]
push eax
push 0x1fc3
push 0x30c0
call fcn.1004fad3
add esp, 0x34
push 1
push 0xa63
push 1
push 0x47e4
push 0x3ccd
push 0x6e87
push 0x4366
push 0
lea eax, [ebp - 0x14]
push eax
push 0x753
push 0xa2f
call fcn.1004fc8c
add esp, 0x2c
jmp 0x100521d0
push 0x7fb3
push 1
push 1
push 1
lea eax, [ebp - 0x70]
push eax
push 0x29a8
push 0xdab
push 0x64a4
push 0x46f9
push 0x37ba
push 0x6771
lea eax, [ebp - 0x1c]
push eax
call fcn.1005006f
add esp, 0x30
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x18]
sub eax, dword [ebp - 0x70]
mov dword [ebp - 0x48], eax
push 0x559f
push 0x4e54
lea eax, [ebp - 0x2c]
push eax
push 0x2c7
push 1
lea eax, [ebp - 0x48]
push eax
push 1
push 0xdac
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42a3
call fcn.10050308
add esp, 0x2c
lea eax, [ebp - 0x14]
push eax
push 0x1f64
lea eax, [ebp - 0x1c]
push eax
push 0x4564
push 0
push 0x29ac
push 0x48f0
push 0x33e0
push 0x7e71
lea eax, [ebp - 0x48]
push eax
push 0x7ade
push 1
call fcn.100514b6
add esp, 0x30
lea eax, [ebp - 0x1c]
push eax
push 1
push 1
lea eax, [ebp - 0x70]
push eax
push 0x70c5
push 0x654
call fcn.10050424
add esp, 0x18
and dword [ebp - 0x98], 0
jmp 0x1005238f
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
cmp eax, dword [ebp - 0x48]
jge 0x10052409
push 0x4ceb
push 1
lea eax, [ebp - 0x28]
push eax
push 0x23cf
push 0x462b
lea eax, [ebp - 0x14]
push eax
push 0x3a5c
lea eax, [ebp - 0x98]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10050521
add esp, 0x2c
push 0x4913
push 0x6d15
push 1
push 0x713f
push 0x7faf
lea eax, [ebp - 0x14]
push eax
push 0x7ab9
push 0
push 0x75d6
push 0x4c6
call fcn.100519a8
add esp, 0x28
jmp 0x10052382
push 0x28b9
push 1
push 0x131e
push 1
push 0x32a0
push 1
push 0x599
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x48]
push eax
push 0x6f24
push 0x3a35
push 0x1485
lea eax, [ebp - 0x14]
push eax
push 0x4983
push 0x3bc4
push 0x2ba
call fcn.1005067e
add esp, 0x40
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x1d8]
call fcn.1003d418
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x1d8]
call fcn.10024e1d
mov dword [ebp - 0xd0], eax
push dword [ebp - 0xd0]
mov eax, dword [ebp - 0xd0]
shr eax, 1
push eax
call fcn.1004f457
pop ecx
pop ecx
mov dword [ebp - 0x94], eax
mov dword [ebp - 0xc0], 0x7451
mov dword [ebp - 0x10c], 0x1000a518
cmp dword [ebp - 0xc0], 0x76be
jle 0x1005253b
and dword [ebp - 0xa8], 0
jmp 0x100524d7
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0x2989
jge 0x1005253b
and dword [ebp - 0xa4], 0
jmp 0x100524f9
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0x16e6
jge 0x10052539
mov eax, dword [ebp - 0xa8]
cdq
idiv dword [ebp - 0xa4]
mov eax, edx
cdq
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], edx
push dword [ebp - 0x140]
push dword [ebp - 0x144]
mov ecx, 0x10619858
call fcn.10024898
jmp 0x100524ec
jmp 0x100524ca
mov byte [ebp - 0x40], 3
mov byte [ebp - 0x3f], 0xa
mov byte [ebp - 0x3e], 1
mov byte [ebp - 0x3d], 8
mov byte [ebp - 0x3c], 2
mov byte [ebp - 0x3b], 8
mov byte [ebp - 0x3a], 0
mov byte [ebp - 0x39], 0x42
mov byte [ebp - 0x38], 2
mov byte [ebp - 0x37], 0xd
mov byte [ebp - 0x36], 0xe0
mov byte [ebp - 4], 3
cmp dword [ebp - 0xc0], 0x7283
jge 0x10052587
mov edx, dword [ebp - 0x10c]
mov ecx, 0x10619858
call fcn.100265af
jmp 0x100525a3
mov dword [ebp - 4], 2
jmp 0x100525b3
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x40]
and eax, 0x66
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x40]
or ecx, 0x66
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x40]
mov byte [ebp + eax - 0x50], cl
mov dword [ebp - 0x20], 2
and dword [ebp - 0x78], 0
jmp 0x100525f5
mov eax, dword [ebp - 0x20]
inc eax
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xb
jae 0x100526ce
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x40]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x20], eax
jne 0x10052633
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x40]
inc eax
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x40]
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x20], eax
jmp 0x100525ed
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x78]
movzx eax, byte [ebp + eax - 0x42]
movsx eax, byte [ebp + eax - 0x50]
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x3f]
and ecx, eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x78]
movzx eax, byte [ebp + eax - 0x42]
movsx eax, byte [ebp + eax - 0x50]
mov edx, dword [ebp - 0x20]
movzx edx, byte [ebp + edx - 0x3f]
and edx, eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x78]
movzx eax, byte [ebp + eax - 0x42]
movsx eax, byte [ebp + eax - 0x50]
mov esi, dword [ebp - 0x20]
movzx ebx, byte [ebp + esi - 0x3f]
add ebx, eax
sub ebx, edx
sub ebx, ecx
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x40]
mov byte [ebp + eax - 0x50], bl
push 0x16d0
push 1
lea eax, [ebp - 0x78]
push eax
push 0x3424
push 0x577d
push 0x838
push 0x57f4
push 0x7d63
push 0x2479
push 1
push 0x41aa
call fcn.1004f87b
add esp, 0x2c
jmp 0x100525ed
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x50], 0
cmp dword [ebp - 0x94], 4
jle 0x10052796
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x268]
call fcn.1003d418
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x168], eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x94]
sub eax, 4
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.1004f482
pop ecx
pop ecx
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x18]
or eax, 2
mov dword [ebp - 0x18], eax
push dword [ebp - 0x168]
mov edx, dword [ebp - 0x11c]
lea ecx, [ebp - 0x208]
call fcn.10053330
pop ecx
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x124], eax
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x18]
or eax, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0xd8], eax
jmp 0x100527c5
push dword [ebp - 0x94]
lea eax, [ebp - 0x250]
push eax
call fcn.1004f482
pop ecx
pop ecx
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x18]
or eax, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x12c], eax
push dword [ebp - 0x12c]
lea ecx, [ebp - 0x1c0]
call fcn.1002484b
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x18]
and eax, 8
je 0x10052800
and dword [ebp - 0x18], 0xfffffff7
lea ecx, [ebp - 0x250]
call fcn.1003d43b
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x18]
and eax, 4
je 0x1005281b
and dword [ebp - 0x18], 0xfffffffb
lea ecx, [ebp - 0x208]
call fcn.1003d43b
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x18]
and eax, 2
je 0x10052836
and dword [ebp - 0x18], 0xfffffffd
lea ecx, [ebp - 0x238]
call fcn.1003d43b
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x18]
and eax, 1
je 0x10052851
and dword [ebp - 0x18], 0xfffffffe
lea ecx, [ebp - 0x268]
call fcn.1003d43b
and dword [ebp - 0xb4], 0
jmp 0x10052867
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 5
jae 0x1005287d
mov eax, dword [ebp - 0xb4]
mov byte [ebp + eax - 0x50], 0
jmp 0x1005285a
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x255b
push 0x281f
push 0x70b5
push 1
push 0x5b3
push 1
push 0x1b50
push 0x6b17
push 1
push 0x3fa
call fcn.10051250
add esp, 0x30
lea eax, [ebp - 0x28]
push eax
push 1
push 0x4227
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x1c0]
push eax
push 0x5d6f
lea eax, [ebp - 0x1c]
push eax
push 0x72a3
lea eax, [ebp - 0x2c]
push eax
push 0
push 0x2a94
call fcn.10051b84
add esp, 0x2c
push 1
push 0x2c34
lea eax, [ebp - 0x14]
push eax
push 0x31df
push 0x60a8
lea eax, [ebp - 0x94]
push eax
push 0x1cc0
push 0x2afc
push 0x7bef
push 1
call fcn.100513f7
add esp, 0x28
push 0x1968
push 0
push 0xc9f
push 1
lea eax, [ebp - 0x14]
push eax
push 0x7938
push 0x7389
push 0x230
push 0xd22
push 0x2315
push 0x2a8f
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1004fad3
add esp, 0x34
lea eax, [ebp - 0x14]
push eax
push 0xde5
push 1
push 1
push 0x1b7a
call fcn.1004f9f8
add esp, 0x14
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x18], 0
jbe 0x100529dd
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 0x100529b1
mov dword [ebp - 0xcc], 0xc
jmp 0x100529cf
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 - 0xcc], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xe0], eax
jmp 0x100529e4
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xd4], eax
and dword [ebp - 0x9c], 0
jmp 0x10052a06
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x9c]
cmp ecx, dword [eax + 0x18]
jae 0x10052b25
push dword [ebp - 0xd4]
mov eax, dword [ebp - 0xd4]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.1004f457
pop ecx
pop ecx
mov dword [ebp - 0xbc], eax
push dword [ebp - 0xbc]
lea eax, [ebp - 0x1a8]
push eax
call fcn.1004f482
pop ecx
pop ecx
mov byte [ebp - 4], 0xc
push 0x32a0
lea eax, [ebp - 0x14]
push eax
push 0x54ed
lea eax, [ebp - 0x9c]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x6a9b
push 0x1281
push 0x7e43
push 1
call fcn.100514b6
add esp, 0x30
push 0x1d6
lea eax, [ebp - 0x1a8]
push eax
push 1
push 0x2a6b
lea eax, [ebp - 0x14]
push eax
push 0x287
lea eax, [ebp - 0xbc]
push eax
push 1
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100519a8
add esp, 0x28
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xbc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov byte [ecx + eax], 0
push 0x2f60
push 0x2771
push 0
lea eax, [ebp - 0x14]
push eax
push 0x3d82
push 1
push 0x5d5e
push 0x2807
push 0x7040
push 0x1880
push 0x6317
call fcn.100515cf
add esp, 0x2c
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1a8]
call fcn.1003d43b
jmp 0x100529f9
and dword [ebp - 0x6c], 0
jmp 0x10052b32
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 0x10052b94
lea eax, [ebp - 0x2c]
push eax
push 0
push 0x6203
push 1
push 0xecf
push 1
lea eax, [ebp - 0x28]
push eax
push 0x621e
push 0x6d3e
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x7c0a
push 0x58a4
push 0x479a
push 0x1d2
push 0x11ee
call fcn.1005067e
add esp, 0x40
jmp 0x10052b2b
lea eax, [ebp - 0x6c]
push eax
push 0xa18
push 0xeef
push 0x5d27
push 0
push 0x1d83
push 1
push 0x7d2c
lea eax, [ebp - 0x34]
push eax
call fcn.1004feb0
add esp, 0x24
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c0]
call fcn.1003d43b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1d8]
call fcn.1003d43b
jmp 0x10052c8f
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x178], eax
push 0
mov eax, dword [ebp - 0x178]
push dword [eax]
mov eax, dword [ebp - 0x100]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x108]
mov ecx, dword [ecx]
add ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0x110]
mov eax, dword [eax]
add eax, ecx
push eax
mov ecx, dword [ebp - 0x118]
call fcn.10052f2a
jmp 0x10052cd2
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x130], eax
push 0x3f7
push 1
push dword [ebp - 0x120]
push dword [ebp - 0x128]
push 0x794d
push dword [ebp - 0x130]
call fcn.10050633
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