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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10077999
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
and dword [ebp - 0x18], 0
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x10048be7
lea eax, [ebp + 0x10]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x114]
movzx eax, byte [eax]
test eax, eax
je 0x10048b4b
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x10047cb7
jmp 0x10048c14
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0x28]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
cmp dword [eax], 0x4550
je 0x10047cd6
jmp 0x10048c14
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x40]
lea eax, [ecx + eax + 0x78]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp dword [eax + 4], 0
jne 0x10047cf4
jmp 0x10048c14
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x40]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x40]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x44], eax
and dword [ebp - 0xbc], 0
jmp 0x10047d28
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x44]
add eax, 0x28
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
movzx eax, word [eax + 6]
cmp dword [ebp - 0xbc], eax
jge 0x10047db5
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc8]
jb 0x10047db0
mov eax, dword [ebp - 0x40]
push dword [eax + 0x38]
mov eax, dword [ebp - 0x44]
push dword [eax + 8]
call fcn.10045e87
pop ecx
pop ecx
add eax, dword [ebp - 0xc8]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x11c]
jae 0x10047db0
push 0
push 0
push 0x7f2f
push 0x5f84
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x2173
push 0x605
push 0xfc4
push 0x7b9d
call fcn.1004774d
add esp, 0x28
jmp 0x10047db5
jmp 0x10047d12
cmp dword [ebp - 0x24], 0
jne 0x10047dc0
jmp 0x10048c14
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax]
add ecx, dword [ebp - 0x28]
mov dword [ebp - 0x14], ecx
xor ecx, ecx
call fcn.1004445c
push eax
call fcn.100608a6
pop ecx
mov byte [ebp - 0x94], 3
mov byte [ebp - 0x93], 0x5e
mov byte [ebp - 0x92], 1
mov byte [ebp - 0x91], 2
mov byte [ebp - 0x90], 5
mov byte [ebp - 0x8f], 4
mov byte [ebp - 0x8e], 4
mov byte [ebp - 0x8d], 9
mov byte [ebp - 0x8c], 3
mov byte [ebp - 0x8b], 0xd8
mov byte [ebp - 0x8a], 0xc9
mov byte [ebp - 0x89], 0x24
mov byte [ebp - 0x88], 7
mov byte [ebp - 0x87], 0xe
mov byte [ebp - 0x86], 2
mov byte [ebp - 0x85], 1
mov byte [ebp - 0x84], 0
mov byte [ebp - 0x83], 6
mov byte [ebp - 0x82], 9
mov byte [ebp - 0x81], 1
mov byte [ebp - 0x80], 8
mov byte [ebp - 0x7f], 0
mov byte [ebp - 0x7e], 6
mov byte [ebp - 0x7d], 1
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x94]
or eax, 0x69
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x94]
and ecx, 0x69
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x94]
mov byte [ebp + ecx - 0xfc], al
mov dword [ebp - 0x2c], 2
and dword [ebp - 0x9c], 0
jmp 0x10047ec9
mov eax, dword [ebp - 0x2c]
inc eax
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x18
jae 0x10047f9f
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x94]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x2c], eax
jne 0x10047f13
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x94]
inc eax
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x94]
mov ecx, dword [ebp - 0x2c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x2c], eax
jmp 0x10047ec1
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x93]
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x9c]
movzx ecx, byte [ebp + ecx - 0x96]
movsx ecx, byte [ebp + ecx - 0xfc]
or eax, ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0x93]
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x9c]
movzx edx, byte [ebp + edx - 0x96]
movsx edx, byte [ebp + edx - 0xfc]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0x94]
mov byte [ebp + ecx - 0xfc], al
push 1
push 1
push 0x44db
push 0x1204
push 0x20c4
lea eax, [ebp - 0x9c]
push eax
push 0x59a9
call fcn.100469a3
add esp, 0x1c
jmp 0x10047ec1
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0xfc], 0
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x1f0]
call fcn.10021410
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x12c], eax
and dword [ebp - 4], 0
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x12c]
call fcn.10044421
pop ecx
mov dword [ebp - 0x154], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f0]
call fcn.10021433
and dword [ebp - 0xac], 0
jmp 0x10048010
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0xb
jae 0x10048029
mov eax, dword [ebp - 0xac]
mov byte [ebp + eax - 0xfc], 0
jmp 0x10048003
mov byte [ebp - 0x68], 8
mov byte [ebp - 0x67], 0xec
mov byte [ebp - 0x66], 7
mov byte [ebp - 0x65], 6
mov byte [ebp - 0x64], 4
mov byte [ebp - 0x63], 2
mov byte [ebp - 0x62], 3
mov byte [ebp - 0x61], 6
mov byte [ebp - 0x60], 2
mov byte [ebp - 0x5f], 5
mov byte [ebp - 0x5e], 5
mov byte [ebp - 0x5d], 6
mov byte [ebp - 0x5c], 6
mov byte [ebp - 0x5b], 8
mov byte [ebp - 0x5a], 9
mov byte [ebp - 0x59], 9
mov byte [ebp - 0x58], 0
mov byte [ebp - 0x57], 1
mov byte [ebp - 0x56], 2
mov byte [ebp - 0x55], 0xf7
mov byte [ebp - 0x54], 0x90
mov byte [ebp - 0x53], 1
mov byte [ebp - 0x52], 7
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x68]
or eax, 0xdc
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x68]
and ecx, 0xdc
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x68]
mov byte [ebp + ecx - 0xf0], al
mov dword [ebp - 0x1c], 2
and dword [ebp - 0x74], 0
jmp 0x100480cf
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x17
jae 0x100481a0
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x68]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x1c], eax
jne 0x1004810d
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x68]
inc eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x68]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x1c], eax
jmp 0x100480c7
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x67]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x74]
movzx ecx, byte [ebp + ecx - 0x6a]
movsx ecx, byte [ebp + ecx - 0xf0]
add eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x67]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x74]
movzx edx, byte [ebp + edx - 0x6a]
movsx edx, byte [ebp + edx - 0xf0]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x67]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x74]
movzx edx, byte [ebp + edx - 0x6a]
movsx edx, byte [ebp + edx - 0xf0]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x68]
mov byte [ebp + ecx - 0xf0], al
lea eax, [ebp - 0x74]
push eax
push 0x472f
push 1
push 0x582
push 0xc70
push 0x1c77
push 1
call fcn.10046b86
add esp, 0x1c
jmp 0x100480c7
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0xf0], 0
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.10021410
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x13c], eax
mov dword [ebp - 4], 1
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x13c]
call fcn.10044421
pop ecx
mov dword [ebp - 0x108], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c0]
call fcn.10021433
and dword [ebp - 0xb4], 0
jmp 0x10048214
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0xb
jae 0x1004822d
mov eax, dword [ebp - 0xb4]
mov byte [ebp + eax - 0xf0], 0
jmp 0x10048207
push dword [ebp - 0x108]
push dword [ebp - 0x154]
call fcn.10045ceb
pop ecx
pop ecx
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xcc]
mov dword [eax + 8], ecx
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x14]
push eax
push 1
push 0x6137
push 0x5604
push 0
call fcn.10047a14
add esp, 0x18
and dword [ebp - 0x70], 0
push 0x655a
push 0
push 0x5e35
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x70]
push eax
push 0x570
push 1
call fcn.10046a3d
add esp, 0x1c
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x70]
mov dword [ebp - 0x48], eax
and dword [ebp - 0xa0], 0
jmp 0x100482c5
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0x48]
jge 0x10048368
push 0x7130
push 0x396a
push 1
lea eax, [ebp - 0x14]
push eax
push 0x1a99
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x110]
push eax
push 0x7ba2
push 0x3d0d
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x28]
push eax
push 1
call fcn.10046e68
add esp, 0x34
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x110]
mov dword [ecx + eax], edx
push 0xf94
lea eax, [ebp - 0x10]
push eax
push 0x488e
push 1
push 0x2513
push 0x13c3
push 0x23a8
push 0x2287
push 0x3e41
push 1
push 1
push 0x38a0
call fcn.10045fea
add esp, 0x30
jmp 0x100482b8
push 0x572e
lea eax, [ebp - 0x70]
push eax
push 0x1ce4
push 0x472d
push 0x3c6c
push 0x63c8
push 0x1e8a
push 0x6200
push 1
push 1
lea eax, [ebp - 0x14]
push eax
call fcn.1004718c
add esp, 0x2c
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x18]
sub eax, dword [ebp - 0x70]
mov dword [ebp - 0x48], eax
and dword [ebp - 0xb8], 0
jmp 0x100483c1
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
cmp eax, dword [ebp - 0x48]
jge 0x1004843f
push 0x52d8
lea eax, [ebp - 0x24]
push eax
push 0x2154
push 0xb08
push 1
push 0
push 0x1123
lea eax, [ebp - 0x28]
push eax
push 0x1ad5
push 0x2907
lea eax, [ebp - 0x10]
push eax
push 0x5ac9
call fcn.10047ae4
add esp, 0x30
push 0x555e
push 0
push 0x2259
push 0x241d
push 0x1873
push 0x411b
push 0xc58
push 1
push 0x1f1c
lea eax, [ebp - 0x10]
push eax
call fcn.10046c6c
add esp, 0x28
jmp 0x100483b4
push 0x6881
lea eax, [ebp - 0x48]
push eax
push 0x215c
push 0xaa2
push 0x9b6
push 0x751e
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x49c6
push 0x4a0d
push 1
push 1
push 0x546c
call fcn.1004620a
add esp, 0x34
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x18]
sub eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x18], eax
and dword [ebp - 0x98], 0
jmp 0x100484a4
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
cmp eax, dword [ebp - 0x48]
jge 0x1004850e
push 1
push 0
push 0x3cbf
lea eax, [ebp - 0x98]
push eax
push 0x1c8b
push 0xcd2
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1004774d
add esp, 0x28
push 0x2bc5
push 1
push 0x6c25
lea eax, [ebp - 0x10]
push eax
push 0x691b
push 0x3df5
push 0
push 0
push 0x6585
call fcn.10046896
add esp, 0x24
jmp 0x10048497
push 0x27b6
push 0xff2
push 0x2b8f
push 1
push 0x52d9
push 0x376
lea eax, [ebp - 0x10]
push eax
push 1
push 1
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x7f3d
call fcn.100464a5
add esp, 0x30
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x1a8]
call fcn.10021410
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x1a8]
call fcn.10020d87
mov dword [ebp - 0xe4], eax
push dword [ebp - 0xe4]
mov eax, dword [ebp - 0xe4]
shr eax, 1
push eax
call fcn.10045ceb
pop ecx
pop ecx
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x3c], 0
mov byte [ebp - 0x3b], 0x1c
mov byte [ebp - 0x3a], 3
mov byte [ebp - 0x39], 0x18
mov byte [ebp - 0x38], 0x7b
mov byte [ebp - 0x37], 0x55
mov byte [ebp - 0x36], 1
mov byte [ebp - 0x35], 0x4a
mov byte [ebp - 0x34], 2
mov byte [ebp - 0x33], 8
mov byte [ebp - 0x32], 3
mov byte [ebp - 0x31], 0
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x3c]
or eax, 0x32
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x3c]
and ecx, 0x32
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x3c]
mov byte [ebp + ecx - 0x50], al
mov dword [ebp - 0x20], 2
and dword [ebp - 0x78], 0
jmp 0x10048601
mov eax, dword [ebp - 0x20]
inc eax
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xc
jae 0x100486d5
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x3c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x20], eax
jne 0x1004863f
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x3c]
inc eax
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x3c]
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x20], eax
jmp 0x100485f9
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x3b]
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x78]
movzx ecx, byte [ebp + ecx - 0x3e]
movsx ecx, byte [ebp + ecx - 0x50]
add eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x3b]
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x78]
movzx edx, byte [ebp + edx - 0x3e]
movsx edx, byte [ebp + edx - 0x50]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x3b]
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x78]
movzx edx, byte [ebp + edx - 0x3e]
movsx edx, byte [ebp + edx - 0x50]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x3c]
mov byte [ebp + ecx - 0x50], al
push 0x6ce6
push 0x4085
push 1
lea eax, [ebp - 0x78]
push eax
push 0x638c
push 0x7627
push 0x717a
push 0x7ab5
push 1
push 0x24ea
call fcn.10047890
add esp, 0x28
jmp 0x100485f9
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x50], 0
cmp dword [ebp - 0x7c], 4
jle 0x10048797
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x238]
call fcn.10021410
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x15c], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x7c]
sub eax, 4
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.10045d5d
pop ecx
pop ecx
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x120], eax
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x18]
or eax, 2
mov dword [ebp - 0x18], eax
push dword [ebp - 0x15c]
mov edx, dword [ebp - 0x120]
lea ecx, [ebp - 0x1d8]
call fcn.10049236
pop ecx
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x128], eax
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x18]
or eax, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0xc4], eax
jmp 0x100487c3
push dword [ebp - 0x7c]
lea eax, [ebp - 0x220]
push eax
call fcn.10045d5d
pop ecx
pop ecx
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x18]
or eax, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x130], eax
push dword [ebp - 0x130]
lea ecx, [ebp - 0x190]
call fcn.10020d05
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x18]
and eax, 8
je 0x100487fe
and dword [ebp - 0x18], 0xfffffff7
lea ecx, [ebp - 0x220]
call fcn.10021433
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
and eax, 4
je 0x10048819
and dword [ebp - 0x18], 0xfffffffb
lea ecx, [ebp - 0x1d8]
call fcn.10021433
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x18]
and eax, 2
je 0x10048834
and dword [ebp - 0x18], 0xfffffffd
lea ecx, [ebp - 0x208]
call fcn.10021433
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x18]
and eax, 1
je 0x1004884f
and dword [ebp - 0x18], 0xfffffffe
lea ecx, [ebp - 0x238]
call fcn.10021433
and dword [ebp - 0xa4], 0
jmp 0x10048865
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 5
jae 0x1004887b
mov eax, dword [ebp - 0xa4]
mov byte [ebp + eax - 0x50], 0
jmp 0x10048858
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
push 0x6e3f
push 0x27ee
push 0x312e
push 0
push 1
push 0x1718
call fcn.10046896
add esp, 0x24
push 0
push dword [ebp - 0x7c]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x190]
call fcn.10048e30
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x7c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x24]
push eax
push 0x4fe9
push 0x197c
push 1
push 0x295e
push 0x1fb7
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
push 1
call fcn.1004663a
add esp, 0x24
push 0x71b
push 0x6117
push 1
push 0x70da
lea eax, [ebp - 0x10]
push eax
push 1
call fcn.10047a14
add esp, 0x18
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0
jbe 0x10048974
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x14]
xor edx, edx
div dword [ecx + 0x18]
cmp eax, 0xc
jbe 0x10048948
mov dword [ebp - 0xe0], 0xc
jmp 0x10048966
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x14]
xor edx, edx
div dword [ecx + 0x18]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xd0], eax
jmp 0x1004897b
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], eax
and dword [ebp - 0xb0], 0
jmp 0x1004899d
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xb0]
cmp ecx, dword [eax + 0x18]
jae 0x10048ac0
push dword [ebp - 0xd4]
mov eax, dword [ebp - 0xd4]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.10045ceb
pop ecx
pop ecx
mov dword [ebp - 0xc0], eax
push dword [ebp - 0xc0]
lea eax, [ebp - 0x178]
push eax
call fcn.10045d5d
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0xb0]
push eax
push 0x5a4f
push 0x7748
push 0x721
push 1
push 1
lea eax, [ebp - 0x24]
push eax
push 0x22db
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x39fc
lea eax, [ebp - 0x14]
push eax
call fcn.10047ae4
add esp, 0x30
push 0
push dword [ebp - 0xc0]
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x178]
call fcn.10048e30
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0xc0]
mov dword [ebp - 0x10], eax
push 1
lea eax, [ebp - 0x28]
push eax
push 0x240d
lea eax, [ebp - 0x24]
push eax
push 0x15ed
lea eax, [ebp - 0x10]
push eax
push 1
push 0x3bfe
push 0x5681
push 0x882
push 0x5dd6
call fcn.1004675e
add esp, 0x2c
push 0x1005
push 1
push 0x756f
push 0x6649
lea eax, [ebp - 0x10]
push eax
push 0x20e1
push 1
push 1
push 0x5ac9
call fcn.10046896
add esp, 0x24
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x178]
call fcn.10021433
jmp 0x10048990
and dword [ebp - 0x6c], 0
jmp 0x10048acd
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, ecx
cmp dword [ebp - 0x6c], eax
jae 0x10048b19
lea eax, [ebp - 0x6c]
push eax
push 0x7c82
push 0x38cd
lea eax, [ebp - 0x10]
push eax
push 0x1a5
push 0x13d9
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0
push 0x5b59
call fcn.1004718c
add esp, 0x2c
jmp 0x10048ac6
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 4], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x190]
call fcn.10021433
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a8]
call fcn.10021433
jmp 0x10048be5
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x160], eax
push 1
mov ecx, dword [ebp - 0xa8]
call fcn.10021541
and dword [eax], 0
jmp 0x10048bb1
push 1
mov ecx, dword [ebp - 0xa8]
call fcn.10021541
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xdc]
mov dword [ecx], eax
push 1
mov ecx, dword [ebp - 0xa8]
call fcn.10021541
cmp dword [eax], 4
jge 0x10048be5
push 1
mov ecx, dword [ebp - 0xa8]
call fcn.10021541
push dword [eax]
mov ecx, dword [ebp - 0x160]
call fcn.10021541
mov dword [eax], 0xfff9
jmp 0x10048b8d
jmp 0x10048c14
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x104], eax
push 0
push dword [ebp - 0x104]
push dword [ebp - 0x10c]
push 0x2239
call fcn.100479f4
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret