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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100665b4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x2cc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
cmp dword [ebp + 0x10], 0
jbe 0x1004a661
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1004a661
mov dword [ebp - 0x18c], 0x46d8
mov dword [ebp - 0x1b4], 0x1000be6c
cmp dword [ebp - 0x18c], 0x488e
jle 0x1004a60b
and dword [ebp - 0x7c], 0
jmp 0x1004a534
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x7d81
jge 0x1004a60b
and dword [ebp - 0xa8], 0
jmp 0x1004a557
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0x5944
jge 0x1004a606
and dword [ebp - 0xa4], 0
jmp 0x1004a57d
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0x3563
jge 0x1004a601
and dword [ebp - 0x70], 0
jmp 0x1004a596
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x77ff
jge 0x1004a5fc
mov eax, dword [ebp - 0xa8]
add eax, dword [ebp - 0xa4]
and eax, dword [ebp - 0x70]
xor eax, dword [ebp - 0x7c]
cdq
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x1bc], edx
push dword [ebp - 0x1bc]
push dword [ebp - 0x1c0]
lea ecx, [ebp - 0x2ac]
call fcn.1000d910
pop ecx
pop ecx
mov dword [ebp - 0x1c4], eax
mov ecx, dword [ebp - 0x1c4]
call fcn.10031260
push eax
call fcn.10050146
pop ecx
lea ecx, [ebp - 0x2ac]
call fcn.10031256
jmp 0x1004a58f
jmp 0x1004a570
jmp 0x1004a54a
jmp 0x1004a52d
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.10049eb5
pop ecx
pop ecx
jmp 0x1004b7c3
cmp dword [ebp + 0x10], 0
jne 0x1004b08e
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.10046c92
mov dword [ebp - 0x74], eax
cmp dword [0x106108a0], 0
jne 0x1004b062
mov dword [ebp - 0x1e0], 0x3f37
lea eax, [ebp - 0x1e0]
push eax
call fcn.10049d7b
pop ecx
mov dword [ebp - 0x178], eax
mov byte [ebp - 0x168], 9
mov byte [ebp - 0x167], 0x16
mov byte [ebp - 0x166], 7
mov byte [ebp - 0x165], 7
mov byte [ebp - 0x164], 3
mov byte [ebp - 0x163], 0x3f
mov byte [ebp - 0x162], 5
mov byte [ebp - 0x161], 0x24
mov byte [ebp - 0x160], 1
mov byte [ebp - 0x15f], 0x17
mov byte [ebp - 0x15e], 0xc
mov byte [ebp - 0x15d], 0x32
mov byte [ebp - 0x15c], 8
mov byte [ebp - 0x15b], 0x38
mov byte [ebp - 0x15a], 4
mov byte [ebp - 0x159], 0xa
mov byte [ebp - 0x158], 0
mov byte [ebp - 0x157], 0x22
mov byte [ebp - 0x156], 2
mov byte [ebp - 0x155], 0x33
mov byte [ebp - 0x154], 0x50
mov byte [ebp - 0x153], 0x16
mov byte [ebp - 0x152], 0x1e
mov byte [ebp - 0x151], 0xf5
mov byte [ebp - 0x150], 0x9d
mov byte [ebp - 0x14f], 0xd3
mov byte [ebp - 0x14e], 0x2a
mov byte [ebp - 0x14d], 6
mov byte [ebp - 0x14c], 0x41
mov byte [ebp - 0x14b], 0xb3
mov byte [ebp - 0x14a], 0x88
mov byte [ebp - 0x149], 0x6e
mov byte [ebp - 0x148], 0x8b
mov byte [ebp - 0x147], 0x8c
mov byte [ebp - 0x146], 0x6b
mov byte [ebp - 0x145], 0x2a
mov byte [ebp - 0x144], 0x9f
mov byte [ebp - 0x143], 0x1c
mov byte [ebp - 0x142], 0xfa
mov byte [ebp - 0x141], 0xe4
mov byte [ebp - 0x140], 0xcf
mov byte [ebp - 0x13f], 0x22
mov byte [ebp - 0x13e], 9
mov byte [ebp - 0x13d], 0xa8
mov byte [ebp - 0x13c], 0x30
mov byte [ebp - 0x13b], 4
mov byte [ebp - 0x13a], 0x43
mov byte [ebp - 0x139], 0x27
mov byte [ebp - 0x138], 0xce
mov byte [ebp - 0x137], 0xf1
mov byte [ebp - 0x136], 0xc4
mov byte [ebp - 0x135], 0x41
mov byte [ebp - 0x134], 0x29
mov byte [ebp - 0x133], 0xda
mov byte [ebp - 0x132], 0xd0
mov byte [ebp - 0x131], 0xb6
mov byte [ebp - 0x130], 0x2c
mov byte [ebp - 0x12f], 0xb3
mov byte [ebp - 0x12e], 0x97
mov byte [ebp - 0x12d], 0x1a
mov byte [ebp - 0x12c], 0x61
mov byte [ebp - 0x12b], 0xc3
mov byte [ebp - 0x12a], 0xc7
mov byte [ebp - 0x129], 0xfd
mov byte [ebp - 0x128], 0x8e
mov byte [ebp - 0x127], 0x9d
mov byte [ebp - 0x126], 0xd2
mov byte [ebp - 0x125], 0x63
mov byte [ebp - 0x124], 0xe1
mov byte [ebp - 0x123], 0xdd
mov byte [ebp - 0x122], 0xa7
mov byte [ebp - 0x121], 0x67
mov byte [ebp - 0x120], 0
mov byte [ebp - 0x11f], 0xd5
mov byte [ebp - 0x11e], 0xcb
mov byte [ebp - 0x11d], 0xcb
mov byte [ebp - 0x11c], 0x85
mov byte [ebp - 0x11b], 0xd9
mov byte [ebp - 0x11a], 6
mov byte [ebp - 0x119], 0xb1
mov byte [ebp - 0x118], 0x52
mov byte [ebp - 0x117], 0x2f
mov byte [ebp - 0x116], 0x9d
mov byte [ebp - 0x115], 0xc4
mov byte [ebp - 0x114], 0xae
mov byte [ebp - 0x113], 0x6a
mov byte [ebp - 0x112], 0x4f
mov byte [ebp - 0x111], 0x9e
mov byte [ebp - 0x110], 0xa0
mov byte [ebp - 0x10f], 0xbb
mov byte [ebp - 0x10e], 0x77
mov byte [ebp - 0x10d], 0x99
mov byte [ebp - 0x10c], 9
mov byte [ebp - 0x10b], 0x71
mov byte [ebp - 0x10a], 0xa1
mov byte [ebp - 0x109], 0xf0
mov byte [ebp - 0x108], 0xd3
mov byte [ebp - 0x107], 0x2c
mov byte [ebp - 0x106], 0x75
mov byte [ebp - 0x105], 0xce
mov byte [ebp - 0x104], 0xd9
mov byte [ebp - 0x103], 0xb
mov byte [ebp - 0x102], 0xc
mov byte [ebp - 0x101], 0xa
mov byte [ebp - 0x100], 0x3d
mov byte [ebp - 0xff], 6
mov byte [ebp - 0xfe], 0x36
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x168]
or eax, 0x78
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x168]
and ecx, 0x78
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x168]
mov byte [ebp + ecx - 0x19c], al
mov dword [ebp - 0x18], 2
and dword [ebp - 0x40], 0
jmp 0x1004a9de
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x6b
jae 0x1004aaad
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x168]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x1004aa25
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x168]
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x168]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x1004a9d6
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x167]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x40]
movzx ecx, byte [ebp + ecx - 0x16a]
movsx ecx, byte [ebp + ecx - 0x19c]
add eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x167]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x40]
movzx edx, byte [ebp + edx - 0x16a]
movsx edx, byte [ebp + edx - 0x19c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x167]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x40]
movzx edx, byte [ebp + edx - 0x16a]
movsx edx, byte [ebp + edx - 0x19c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x168]
mov byte [ebp + ecx - 0x19c], al
and dword [ebp - 0x40], 0
jmp 0x1004a9d6
mov dword [ebp - 0x188], 0x14ff
mov dword [ebp - 0x1f0], 0x1000bed4
cmp dword [ebp - 0x188], 0x15d8
jle 0x1004ab9a
and dword [ebp - 0x80], 0
jmp 0x1004aade
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0x71db
jge 0x1004ab9a
and dword [ebp - 0x98], 0
jmp 0x1004ab01
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0x710
jge 0x1004ab95
and dword [ebp - 0x88], 0
jmp 0x1004ab27
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0x4ec6
jge 0x1004ab90
mov eax, dword [ebp - 0x80]
cdq
idiv dword [ebp - 0x98]
or edx, dword [ebp - 0x88]
mov eax, edx
cdq
mov dword [ebp - 0x1cc], eax
mov dword [ebp - 0x1c8], edx
push dword [ebp - 0x1c8]
push dword [ebp - 0x1cc]
lea ecx, [ebp - 0x294]
call fcn.1000d910
pop ecx
pop ecx
mov dword [ebp - 0x1e8], eax
mov ecx, dword [ebp - 0x1e8]
call fcn.10031260
push eax
call fcn.10050146
pop ecx
lea ecx, [ebp - 0x294]
call fcn.10031256
jmp 0x1004ab1a
jmp 0x1004aaf4
jmp 0x1004aad7
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x19c], 0
mov dword [ebp - 4], 2
cmp dword [ebp - 0x188], 0x12eb
jge 0x1004abc7
push dword [ebp - 0x1f0]
call fcn.10050146
pop ecx
jmp 0x1004abe3
or dword [ebp - 4], 0xffffffff
jmp 0x1004abed
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x27c]
call fcn.1004656a
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0x178]
mov ecx, dword [ebp - 0x1b8]
call fcn.10046c92
mov dword [0x106108a0], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x27c]
call fcn.10037d8b
and dword [ebp - 0xa0], 0
jmp 0x1004ac53
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0xe
jae 0x1004ac6c
mov eax, dword [ebp - 0xa0]
mov byte [ebp + eax - 0x19c], 0
jmp 0x1004ac46
mov byte [ebp - 0xfc], 4
mov byte [ebp - 0xfb], 0x3a
mov byte [ebp - 0xfa], 1
mov byte [ebp - 0xf9], 6
mov byte [ebp - 0xf8], 0
mov byte [ebp - 0xf7], 0x31
mov byte [ebp - 0xf6], 0xb
mov byte [ebp - 0xf5], 0x30
mov byte [ebp - 0xf4], 0xd
mov byte [ebp - 0xf3], 0x24
mov byte [ebp - 0xf2], 0x37
mov byte [ebp - 0xf1], 0x4d
mov byte [ebp - 0xf0], 0xd5
mov byte [ebp - 0xef], 0x8f
mov byte [ebp - 0xee], 0xc
mov byte [ebp - 0xed], 0x70
mov byte [ebp - 0xec], 0x68
mov byte [ebp - 0xeb], 0x43
mov byte [ebp - 0xea], 0x8e
mov byte [ebp - 0xe9], 0xe1
mov byte [ebp - 0xe8], 0x30
mov byte [ebp - 0xe7], 0xe2
mov byte [ebp - 0xe6], 0x55
mov byte [ebp - 0xe5], 0x7e
mov byte [ebp - 0xe4], 0x5d
mov byte [ebp - 0xe3], 0xd8
mov byte [ebp - 0xe2], 0xe4
mov byte [ebp - 0xe1], 0xb3
mov byte [ebp - 0xe0], 0xeb
mov byte [ebp - 0xdf], 0x28
mov byte [ebp - 0xde], 0x21
mov byte [ebp - 0xdd], 0x4e
mov byte [ebp - 0xdc], 0xc8
mov byte [ebp - 0xdb], 0xb2
mov byte [ebp - 0xda], 0x8d
mov byte [ebp - 0xd9], 4
mov byte [ebp - 0xd8], 0x58
mov byte [ebp - 0xd7], 0x93
mov byte [ebp - 0xd6], 0x52
mov byte [ebp - 0xd5], 0xb3
mov byte [ebp - 0xd4], 0xb0
mov byte [ebp - 0xd3], 0x2f
mov byte [ebp - 0xd2], 0x94
mov byte [ebp - 0xd1], 0xb1
mov byte [ebp - 0xd0], 0xca
mov byte [ebp - 0xcf], 0xe6
mov byte [ebp - 0xce], 0xf5
mov byte [ebp - 0xcd], 0x17
mov byte [ebp - 0xcc], 0x2d
mov byte [ebp - 0xcb], 6
mov byte [ebp - 0xca], 0x4e
mov byte [ebp - 0xc9], 0xdd
mov byte [ebp - 0xc8], 0x1e
mov byte [ebp - 0xc7], 0xdb
mov byte [ebp - 0xc6], 0x7b
mov byte [ebp - 0xc5], 0xc8
mov byte [ebp - 0xc4], 0xf9
mov byte [ebp - 0xc3], 0x9b
mov byte [ebp - 0xc2], 0xd0
mov byte [ebp - 0xc1], 0xe3
mov byte [ebp - 0xc0], 0xc8
mov byte [ebp - 0xbf], 0xe4
mov byte [ebp - 0xbe], 1
mov byte [ebp - 0xbd], 0x99
mov byte [ebp - 0xbc], 0xf
mov byte [ebp - 0xbb], 0x28
mov byte [ebp - 0xba], 3
mov byte [ebp - 0xb9], 0x36
mov byte [ebp - 0xb8], 0xa
mov byte [ebp - 0xb7], 4
mov byte [ebp - 0xb6], 5
mov byte [ebp - 0xb5], 0
mov byte [ebp - 0xb4], 2
mov byte [ebp - 0xb3], 0
mov byte [ebp - 0xb2], 0xc
mov byte [ebp - 0xb1], 0x16
mov byte [ebp - 0xb0], 9
mov byte [ebp - 0xaf], 0x10
mov byte [ebp - 0xae], 6
mov byte [ebp - 0xad], 0x33
mov byte [ebp - 0xac], 7
mov byte [ebp - 0xab], 0x22
mov byte [ebp - 0xaa], 8
mov byte [ebp - 0xa9], 0x1d
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xfc]
or eax, 0x4e
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xfc]
and ecx, 0x4e
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xfc]
mov byte [ebp + ecx - 0x1ac], al
mov dword [ebp - 0x14], 2
and dword [ebp - 0x48], 0
jmp 0x1004af06
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x54
jae 0x1004afd5
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xfc]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x1004af4d
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xfc]
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xfc]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x1004aefe
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xfb]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x48]
movzx ecx, byte [ebp + ecx - 0xfe]
movsx ecx, byte [ebp + ecx - 0x1ac]
add eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xfb]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x48]
movzx edx, byte [ebp + edx - 0xfe]
movsx edx, byte [ebp + edx - 0x1ac]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xfb]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x48]
movzx edx, byte [ebp + edx - 0xfe]
movsx edx, byte [ebp + edx - 0x1ac]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xfc]
mov byte [ebp + ecx - 0x1ac], al
and dword [ebp - 0x48], 0
jmp 0x1004aefe
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x1ac], 0
lea eax, [ebp - 0x1ac]
push eax
lea ecx, [ebp - 0x2dc]
call fcn.1004656a
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 4], 5
mov edx, dword [ebp - 0x178]
mov ecx, dword [ebp - 0x1b0]
call fcn.10046c92
mov dword [0x10610a40], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2dc]
call fcn.10037d8b
and dword [ebp - 0x90], 0
jmp 0x1004b049
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0xf
jae 0x1004b062
mov eax, dword [ebp - 0x90]
mov byte [ebp + eax - 0x1ac], 0
jmp 0x1004b03c
mov eax, dword [0x106108a0]
cmp eax, dword [ebp - 0x74]
je 0x1004b076
mov eax, dword [0x10610a40]
cmp eax, dword [ebp - 0x74]
jne 0x1004b08e
mov ecx, dword [ebp + 0xc]
call fcn.10031260
push eax
push dword [ebp + 8]
call fcn.10049eb5
pop ecx
pop ecx
jmp 0x1004b7c3
mov eax, dword [ebp + 8]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x1004b7c1
mov eax, dword [ebp - 0x78]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x1004b7c1
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x78]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0x4550
jne 0x1004b7c1
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x74], 0
jbe 0x1004b7c1
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + eax + 0x78], 0
je 0x1004b7c1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x34]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x24], edx
mov eax, 0xffff
mov word [ebp - 0x20], ax
or dword [ebp - 0x38], 0xffffffff
cmp dword [ebp + 0x10], 0
jbe 0x1004b12f
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x1004b12a
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x20], ax
jmp 0x1004b2c5
mov eax, dword [0x10610a00]
and eax, 1
jne 0x1004b166
mov eax, dword [0x10610a00]
or eax, 1
mov dword [0x10610a00], eax
mov dword [ebp - 4], 6
mov ecx, 0x106109b8
call fcn.10037f0b
push 0x10066839
call fcn.1005011c
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x106108b2]
test eax, eax
je 0x1004b1cc
mov ecx, 0x106109b8
call fcn.1004c0b3
movzx eax, al
test eax, eax
jne 0x1004b1cc
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x174]
push eax
mov ecx, 0x106109b8
call fcn.10037ee3
lea eax, [ebp - 0x204]
push eax
mov ecx, 0x106109b8
call fcn.10037ed5
push eax
lea ecx, [ebp - 0x174]
call fcn.10037ef8
movzx eax, al
test eax, eax
je 0x1004b1cc
lea ecx, [ebp - 0x174]
call fcn.1004c0bc
mov eax, dword [eax + 4]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jne 0x1004b2c5
mov ecx, 0x106109b8
call fcn.1004c100
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0x106109b8
call fcn.1004c104
and dword [ebp - 0x30], 0
jmp 0x1004b1fe
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [eax + 0x18]
jae 0x1004b2c5
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x30]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x17c], 0
je 0x1004b2c0
mov eax, dword [ebp - 0x17c]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x264]
call fcn.1004656a
mov dword [ebp - 4], 7
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x264]
call fcn.10046c92
mov dword [ebp - 0x170], eax
movzx eax, byte [0x106108b2]
test eax, eax
je 0x1004b27d
mov ecx, 0x106109b8
call fcn.1004c0b3
movzx eax, al
test eax, eax
jne 0x1004b29a
lea eax, [ebp - 0x170]
push eax
mov ecx, 0x106109b8
call fcn.1004c0c2
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov byte [0x106108b2], 1
cmp dword [ebp - 0x38], 0xffffffff
jne 0x1004b2b1
mov eax, dword [ebp - 0x170]
cmp eax, dword [ebp - 0x74]
jne 0x1004b2b1
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
call fcn.10037d8b
jmp 0x1004b1f7
cmp dword [ebp + 0x10], 0
jne 0x1004b2e5
cmp dword [ebp - 0x38], 0xffffffff
je 0x1004b2e5
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax + 0x24]
mov eax, dword [ebp - 0x38]
mov ax, word [ecx + eax*2]
mov word [ebp - 0x20], ax
movzx eax, word [ebp - 0x20]
cmp eax, 0xffff
je 0x1004b7c1
mov dword [ebp - 0x180], 0x6dff
mov dword [ebp - 0x1d0], 0x1000bf10
cmp dword [ebp - 0x180], 0x71bc
jle 0x1004b3b8
and dword [ebp - 0x84], 0
jmp 0x1004b32e
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0x146a
jge 0x1004b3b8
and dword [ebp - 0x8c], 0
jmp 0x1004b350
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0x6ad5
jge 0x1004b3b3
mov eax, dword [ebp - 0x84]
or eax, dword [ebp - 0x8c]
cdq
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x1d4], edx
push dword [ebp - 0x1d4]
push dword [ebp - 0x1d8]
lea ecx, [ebp - 0x2c4]
call fcn.1000d910
pop ecx
pop ecx
mov dword [ebp - 0x1e4], eax
mov ecx, dword [ebp - 0x1e4]
call fcn.10031260
push eax
call fcn.10050146
pop ecx
lea ecx, [ebp - 0x2c4]
call fcn.10031256
jmp 0x1004b343
jmp 0x1004b321
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax + 0x1c]
movzx eax, word [ebp - 0x20]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x1f4], eax
mov dword [ebp - 4], 8
cmp dword [ebp - 0x180], 0x6a65
jge 0x1004b3ed
push dword [ebp - 0x1d0]
call fcn.10050146
pop ecx
jmp 0x1004b409
or dword [ebp - 4], 0xffffffff
jmp 0x1004b413
mov eax, dword [ebp - 0x1f4]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x24]
jbe 0x1004b7bc
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x24]
add edx, dword [ecx + eax + 0x7c]
cmp dword [ebp - 0x28], edx
jae 0x1004b7bc
mov eax, dword [0x10610a00]
and eax, 2
jne 0x1004b478
mov eax, dword [0x10610a00]
or eax, 2
mov dword [0x10610a00], eax
mov dword [ebp - 4], 0xa
push 0x2ebd
call fcn.100370a9
pop ecx
mov byte [0x10610a04], al
or dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x6c], 1
mov byte [ebp - 0x6b], 0xbe
mov byte [ebp - 0x6a], 2
mov byte [ebp - 0x69], 0
mov byte [ebp - 0x68], 0x1c
mov byte [ebp - 0x67], 0xd3
mov byte [ebp - 0x66], 0x3d
mov byte [ebp - 0x65], 0x4a
mov byte [ebp - 0x64], 0x5c
mov byte [ebp - 0x63], 0x82
mov byte [ebp - 0x62], 0xb3
mov byte [ebp - 0x61], 0xc4
mov byte [ebp - 0x60], 0xad
mov byte [ebp - 0x5f], 0xb8
mov byte [ebp - 0x5e], 0x31
mov byte [ebp - 0x5d], 0xfe
mov byte [ebp - 0x5c], 0xa2
mov byte [ebp - 0x5b], 0x39
mov byte [ebp - 0x5a], 0x39
mov byte [ebp - 0x59], 0xd5
mov byte [ebp - 0x58], 0x33
mov byte [ebp - 0x57], 0xa6
mov byte [ebp - 0x56], 0x7f
mov byte [ebp - 0x55], 0x91
mov byte [ebp - 0x54], 0x14
mov byte [ebp - 0x53], 0x75
mov byte [ebp - 0x52], 0x2e
mov byte [ebp - 0x51], 0x6f
mov byte [ebp - 0x50], 0x2a
mov byte [ebp - 0x4f], 0x66
mov byte [ebp - 0x4e], 0x74
mov byte [ebp - 0x4d], 0xb6
mov byte [ebp - 0x4c], 0xda
mov byte [ebp - 0x4b], 0
mov byte [ebp - 0x4a], 8
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x6c]
or eax, 0xd2
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x6c]
and ecx, 0xd2
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x6c]
mov byte [ebp + ecx - 0x3c], al
mov dword [ebp - 0x1c], 2
and dword [ebp - 0x94], 0
jmp 0x1004b54e
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x23
jae 0x1004b5e3
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x6c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x1c], eax
jne 0x1004b58f
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x6c]
inc eax
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x6c]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x1c], eax
jmp 0x1004b546
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x6b]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x94]
movzx ecx, byte [ebp + ecx - 0x6e]
movsx ecx, byte [ebp + ecx - 0x3c]
or eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x6b]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x94]
movzx edx, byte [ebp + edx - 0x6e]
movsx edx, byte [ebp + edx - 0x3c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x6c]
mov byte [ebp + ecx - 0x3c], al
and dword [ebp - 0x94], 0
jmp 0x1004b546
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x3c], 0
mov eax, dword [0x10610a00]
and eax, 4
jne 0x1004b629
mov eax, dword [0x10610a00]
or eax, 4
mov dword [0x10610a00], eax
mov dword [ebp - 4], 0xb
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x10610a08
call fcn.1004656a
push 0x1006682a
call fcn.1005011c
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0x9c], 0
jmp 0x1004b63f
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 4
jae 0x1004b655
mov eax, dword [ebp - 0x9c]
mov byte [ebp + eax - 0x3c], 0
jmp 0x1004b632
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movsx eax, byte [eax]
movsx ecx, byte [0x10610a04]
cmp eax, ecx
je 0x1004b675
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
jmp 0x1004b65b
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
lea ecx, [ebp - 0x21c]
call fcn.1004c379
mov dword [ebp - 4], 0xc
push 0x10610a08
lea ecx, [ebp - 0x21c]
call fcn.10046599
lea eax, [ebp - 0x1fc]
push eax
lea ecx, [ebp - 0x21c]
call fcn.100383ef
push dword [eax]
lea eax, [ebp - 0x200]
push eax
lea ecx, [ebp - 0x21c]
call fcn.100383db
push dword [eax]
lea ecx, [ebp - 0x24c]
call fcn.1004c3a2
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x24c]
push eax
call fcn.10047f70
pop ecx
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x16c], 0
je 0x1004b76b
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x234]
call fcn.1004656a
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x1dc]
lea ecx, [ebp - 0x234]
call fcn.10047a13
movzx eax, al
test eax, eax
je 0x1004b73e
push 0
push dword [ebp - 0x1dc]
push 0
push dword [ebp - 0x16c]
call fcn.1004a4c8
add esp, 0x10
mov dword [ebp - 0x28], eax
jmp 0x1004b75a
push 1
push 0
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0x16c]
call fcn.1004a4c8
add esp, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x234]
call fcn.10037d8b
jmp 0x1004b79e
cmp dword [ebp + 0x10], 0
jne 0x1004b781
mov ecx, dword [ebp + 0xc]
call fcn.10031260
mov dword [ebp - 0x184], eax
jmp 0x1004b78b
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x184], eax
push dword [ebp - 0x184]
push dword [ebp + 8]
call fcn.10049eb5
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x24c]
call fcn.10037c63
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.10037d8b
mov eax, dword [ebp - 0x28]
jmp 0x1004b7c3
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret