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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10077caf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x294
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
and dword [ebp - 0x1c], 0
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x10048e37
lea eax, [ebp + 0x14]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x184]
movzx eax, byte [eax]
test eax, eax
je 0x10048dd1
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x10047e2d
jmp 0x10048ff7
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0x2c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x50]
cmp dword [eax], 0x4550
je 0x10047e4c
jmp 0x10048ff7
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x50]
lea eax, [ecx + eax + 0x78]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
cmp dword [eax + 4], 0
jne 0x10047e6a
jmp 0x10048ff7
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x50]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x50]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0xe8], eax
push 0xe19
lea eax, [ebp - 0x50]
push eax
push 0
push 0x2a1f
push 0x79d9
lea eax, [ebp - 0xe8]
push eax
push 0x75f5
push 1
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
push 1
call fcn.10047da5
add esp, 0x2c
cmp dword [ebp - 0x28], 0
jne 0x10047ec2
jmp 0x10048ff7
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
add ecx, dword [eax]
add ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], ecx
xor ecx, ecx
call fcn.10043d74
push eax
call fcn.1005f0c3
pop ecx
mov byte [ebp - 0x70], 7
mov byte [ebp - 0x6f], 0xcf
mov byte [ebp - 0x6e], 5
mov byte [ebp - 0x6d], 7
mov byte [ebp - 0x6c], 4
mov byte [ebp - 0x6b], 9
mov byte [ebp - 0x6a], 2
mov byte [ebp - 0x69], 0xf
mov byte [ebp - 0x68], 6
mov byte [ebp - 0x67], 6
mov byte [ebp - 0x66], 9
mov byte [ebp - 0x65], 1
mov byte [ebp - 0x64], 3
mov byte [ebp - 0x63], 7
mov byte [ebp - 0x62], 8
mov byte [ebp - 0x61], 7
mov byte [ebp - 0x60], 1
mov byte [ebp - 0x5f], 0x31
mov byte [ebp - 0x5e], 0
mov byte [ebp - 0x5d], 1
mov byte [ebp - 0x5c], 1
mov byte [ebp - 0x5b], 4
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x70]
or eax, 0xf9
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x70]
and ecx, 0xf9
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x70]
mov byte [ebp + ecx - 0x10c], al
mov dword [ebp - 0x24], 2
and dword [ebp - 0x80], 0
jmp 0x10047f80
mov eax, dword [ebp - 0x24]
inc eax
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x16
jae 0x10048042
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x70]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x24], eax
jne 0x10047fbe
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0x70]
inc eax
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0x70]
mov ecx, dword [ebp - 0x24]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x24], eax
jmp 0x10047f78
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0x6f]
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x80]
movzx ecx, byte [ebp + ecx - 0x72]
movsx ecx, byte [ebp + ecx - 0x10c]
add eax, ecx
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ebp + ecx - 0x6f]
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x80]
movzx edx, byte [ebp + edx - 0x72]
movsx edx, byte [ebp + edx - 0x10c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ebp + ecx - 0x6f]
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x80]
movzx edx, byte [ebp + edx - 0x72]
movsx edx, byte [ebp + edx - 0x10c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ebp + ecx - 0x70]
mov byte [ebp + ecx - 0x10c], al
lea eax, [ebp - 0x80]
push eax
push 1
push 1
push 0x5578
call fcn.10046742
add esp, 0x10
jmp 0x10047f78
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x10c], 0
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x25c]
call fcn.10024a75
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x174], eax
and dword [ebp - 4], 0
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x174]
call fcn.10043d39
pop ecx
mov dword [ebp - 0x124], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x25c]
call fcn.10024a98
and dword [ebp - 0xb8], 0
jmp 0x100480b3
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0xb
jae 0x100480cc
mov eax, dword [ebp - 0xb8]
mov byte [ebp + eax - 0x10c], 0
jmp 0x100480a6
mov byte [ebp - 0x98], 4
mov byte [ebp - 0x97], 0x40
mov byte [ebp - 0x96], 1
mov byte [ebp - 0x95], 2
mov byte [ebp - 0x94], 5
mov byte [ebp - 0x93], 7
mov byte [ebp - 0x92], 2
mov byte [ebp - 0x91], 6
mov byte [ebp - 0x90], 3
mov byte [ebp - 0x8f], 5
mov byte [ebp - 0x8e], 6
mov byte [ebp - 0x8d], 0xb
mov byte [ebp - 0x8c], 7
mov byte [ebp - 0x8b], 0xf
mov byte [ebp - 0x8a], 8
mov byte [ebp - 0x89], 6
mov byte [ebp - 0x88], 0
mov byte [ebp - 0x87], 1
mov byte [ebp - 0x86], 9
mov byte [ebp - 0x85], 1
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x98]
or eax, 0x74
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x98]
and ecx, 0x74
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x98]
mov byte [ebp + ecx - 0x118], al
mov dword [ebp - 0x30], 2
and dword [ebp - 0xcc], 0
jmp 0x100481a9
mov eax, dword [ebp - 0x30]
inc eax
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x14
jae 0x10048240
mov eax, dword [ebp - 0x30]
movzx eax, byte [ebp + eax - 0x97]
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0xcc]
movzx ecx, byte [ebp + ecx - 0x9a]
movsx ecx, byte [ebp + ecx - 0x118]
add eax, ecx
mov ecx, dword [ebp - 0x30]
movzx ecx, byte [ebp + ecx - 0x97]
mov edx, dword [ebp - 0x30]
sub edx, dword [ebp - 0xcc]
movzx edx, byte [ebp + edx - 0x9a]
movsx edx, byte [ebp + edx - 0x118]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x30]
movzx ecx, byte [ebp + ecx - 0x97]
mov edx, dword [ebp - 0x30]
sub edx, dword [ebp - 0xcc]
movzx edx, byte [ebp + edx - 0x9a]
movsx edx, byte [ebp + edx - 0x118]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x30]
movzx ecx, byte [ebp + ecx - 0x98]
mov byte [ebp + ecx - 0x118], al
jmp 0x100481a1
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x118], 0
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x28c]
call fcn.10024a75
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 4], 1
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x11c]
call fcn.10043d39
pop ecx
mov dword [ebp - 0x18c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28c]
call fcn.10024a98
and dword [ebp - 0xb4], 0
jmp 0x100482b4
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0xb
jae 0x100482cd
mov eax, dword [ebp - 0xb4]
mov byte [ebp + eax - 0x118], 0
jmp 0x100482a7
push dword [ebp - 0x18c]
push dword [ebp - 0x124]
call fcn.1004545a
pop ecx
pop ecx
mov dword [ebp - 0xe0], eax
push 0x542b
push 1
push 0x23f5
lea eax, [ebp - 0x50]
push eax
push 1
lea eax, [ebp - 0xe0]
push eax
call fcn.100467dc
add esp, 0x18
push 0x604b
lea eax, [ebp - 0x18]
push eax
push 1
push 0x5345
push 0x1da4
push 0x64c6
push 0x33a0
push 0x3799
push 0x3a3b
push 0x7741
push 0x5aed
push 1
push 0x3c18
lea eax, [ebp - 0xe0]
push eax
call fcn.10046879
add esp, 0x38
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x18], 0
jbe 0x10048375
mov eax, dword [ebp - 0x18]
push dword [eax + 0x18]
push 0
call fcn.1004545a
pop ecx
pop ecx
mov dword [ebp - 0x84], eax
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 - 0x84]
mov dword [ebp - 0x48], eax
and dword [ebp - 0xbc], 0
jmp 0x100483a3
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
cmp eax, dword [ebp - 0x48]
jge 0x1004840c
lea eax, [ebp - 0xe8]
push eax
push 0x7ef8
push 1
push 0x42dc
push 0x1ece
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1a4]
push eax
push 0
push 0x56c9
lea eax, [ebp - 0xbc]
push eax
call fcn.10046b8e
add esp, 0x30
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1a4]
mov dword [ecx + eax], edx
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x14], eax
jmp 0x10048396
push 0x465e
lea eax, [ebp - 0x18]
push eax
push 1
push 0x159f
push 0x3232
push 0x11ca
push 0x7690
push 0x207a
push 0x5780
push 1
lea eax, [ebp - 0x84]
push eax
push 0x7400
call fcn.10046b8e
add esp, 0x30
push 0x3749
lea eax, [ebp - 0x48]
push eax
push 0
push 0x4104
push 0x5eb2
push 0x1700
push 0x49a5
push 0x130b
push 0x7c5d
push 0x6f2b
push 1
lea eax, [ebp - 0x84]
push eax
push 0x701b
lea eax, [ebp - 0x18]
push eax
push 0
push 0x3ced
call fcn.100472b1
add esp, 0x40
and dword [ebp - 0xc0], 0
jmp 0x100484b0
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
cmp eax, dword [ebp - 0x48]
jge 0x1004852b
push 0x2c40
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x5e24
push 0x2660
push 0x760b
push 0
push 0
push 0x72c3
push 0x3057
lea eax, [ebp - 0x2c]
push eax
call fcn.10046dfc
add esp, 0x2c
push 0x12f
push 1
push 0x6cfb
push 0
push 1
push 0x926
push 0x429a
push 0x4891
push 0x6e1b
lea eax, [ebp - 0x14]
push eax
push 0x2e1d
call fcn.100475dc
add esp, 0x2c
jmp 0x100484a3
push 0x7a3b
push 1
lea eax, [ebp - 0x48]
push eax
push 1
push 0
push 0x1efe
lea eax, [ebp - 0x14]
push eax
push 0x5c02
lea eax, [ebp - 0x18]
push eax
push 0x146
push 0x6a3b
call fcn.100475dc
add esp, 0x2c
mov dword [ebp - 0x100], 0x4cf0
mov dword [ebp - 0x188], 0x1000c8f8
cmp dword [ebp - 0x100], 0x4dbc
jle 0x10048629
and dword [ebp - 0xb0], 0
jmp 0x10048598
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0x322d
jge 0x10048629
and dword [ebp - 0xa4], 0
jmp 0x100485be
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0x4086
jge 0x10048624
mov eax, dword [ebp - 0xb0]
cdq
idiv dword [ebp - 0xa4]
mov eax, edx
cdq
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x160], edx
push dword [ebp - 0x160]
push dword [ebp - 0x164]
lea ecx, [ebp - 0x214]
call fcn.1000e484
pop ecx
pop ecx
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x12c]
call fcn.100245a0
push eax
call fcn.1005e79f
pop ecx
lea ecx, [ebp - 0x214]
call fcn.10024596
jmp 0x100485b1
jmp 0x1004858b
mov dword [ebp - 4], 2
cmp dword [ebp - 0x100], 0x4c93
jge 0x10048648
push dword [ebp - 0x188]
call fcn.1005e79f
pop ecx
jmp 0x10048664
or dword [ebp - 4], 0xffffffff
jmp 0x1004866e
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x18]
sub eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x18], eax
and dword [ebp - 0xac], 0
jmp 0x10048696
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
cmp eax, dword [ebp - 0x48]
jge 0x10048737
push 0x4d69
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x684
push 0x3461
push 0x5f1b
push 0x93
push 1
push 0x5050
push 0x35fa
push 0x3043
lea eax, [ebp - 0xac]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0x4dbd
lea eax, [ebp - 0x2c]
push eax
push 0x5b27
call fcn.10046f22
add esp, 0x44
lea eax, [ebp - 0x14]
push eax
push 0x7e54
push 0x5347
push 0x48f8
push 0x1d16
push 0x2aea
push 1
push 0
push 0x4097
push 0x7455
push 0x4265
call fcn.10046dfc
add esp, 0x2c
jmp 0x10048689
push 0x2c40
push 1
lea eax, [ebp - 0x18]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
push 0x776e
lea eax, [ebp - 0x48]
push eax
call fcn.10046d54
add esp, 0x1c
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x1fc]
call fcn.10024a75
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x1fc]
call fcn.10024ae4
mov dword [ebp - 0xf4], eax
push dword [ebp - 0xf4]
mov eax, dword [ebp - 0xf4]
shr eax, 1
push eax
call fcn.1004545a
pop ecx
pop ecx
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x44], 0
mov byte [ebp - 0x43], 0x4b
mov byte [ebp - 0x42], 4
mov byte [ebp - 0x41], 0x54
mov byte [ebp - 0x40], 0x1a
mov byte [ebp - 0x3f], 3
mov byte [ebp - 0x3e], 0xf5
mov byte [ebp - 0x3d], 2
mov byte [ebp - 0x3c], 0x42
mov byte [ebp - 0x3b], 1
mov byte [ebp - 0x3a], 8
mov byte [ebp - 0x39], 3
mov byte [ebp - 0x38], 8
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x44]
or eax, 0x65
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x44]
and ecx, 0x65
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x44]
mov byte [ebp + ecx - 0x58], al
mov dword [ebp - 0x20], 2
and dword [ebp - 0x78], 0
jmp 0x10048818
mov eax, dword [ebp - 0x20]
inc eax
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xd
jae 0x100488bd
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x44]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x20], eax
jne 0x10048856
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x44]
inc eax
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x44]
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x20], eax
jmp 0x10048810
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x43]
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x78]
movzx ecx, byte [ebp + ecx - 0x46]
movsx ecx, byte [ebp + ecx - 0x58]
add eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x43]
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x78]
movzx edx, byte [ebp + edx - 0x46]
movsx edx, byte [ebp + edx - 0x58]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x43]
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x78]
movzx edx, byte [ebp + edx - 0x46]
movsx edx, byte [ebp + edx - 0x58]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x44]
mov byte [ebp + ecx - 0x58], al
and dword [ebp - 0x78], 0
jmp 0x10048810
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x58], 0
cmp dword [ebp - 0x74], 4
jle 0x1004897f
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x2a4]
call fcn.10024a75
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x13c], 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 - 0x274]
push eax
call fcn.10045745
pop ecx
pop ecx
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x190], eax
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
or eax, 2
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x13c]
mov edx, dword [ebp - 0x190]
lea ecx, [ebp - 0x244]
call fcn.10049650
pop ecx
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x1c]
or eax, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0xd0], eax
jmp 0x100489ab
push dword [ebp - 0x74]
lea eax, [ebp - 0x22c]
push eax
call fcn.10045745
pop ecx
pop ecx
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x1c]
or eax, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x198], eax
push dword [ebp - 0x198]
lea ecx, [ebp - 0x1e4]
call fcn.100491e4
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x1c]
and eax, 8
je 0x100489e6
and dword [ebp - 0x1c], 0xfffffff7
lea ecx, [ebp - 0x22c]
call fcn.10024a98
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x1c]
and eax, 4
je 0x10048a01
and dword [ebp - 0x1c], 0xfffffffb
lea ecx, [ebp - 0x244]
call fcn.10024a98
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x1c]
and eax, 2
je 0x10048a1c
and dword [ebp - 0x1c], 0xfffffffd
lea ecx, [ebp - 0x274]
call fcn.10024a98
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x1c]
and eax, 1
je 0x10048a37
and dword [ebp - 0x1c], 0xfffffffe
lea ecx, [ebp - 0x2a4]
call fcn.10024a98
and dword [ebp - 0xa8], 0
jmp 0x10048a4d
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 5
jae 0x10048a63
mov eax, dword [ebp - 0xa8]
mov byte [ebp + eax - 0x58], 0
jmp 0x10048a40
push 1
lea eax, [ebp - 0x18]
push eax
push 0x7cb3
push 1
push 0x5bf7
push 0x8b
push 0x2c38
push 0x666
lea eax, [ebp - 0x14]
push eax
call fcn.10045bee
add esp, 0x24
lea eax, [ebp - 0x18]
push eax
push 0x6b9a
push 0x48eb
push 0x2a2a
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1e4]
push eax
push 1
push 0x2150
lea eax, [ebp - 0x2c]
push eax
push 0x1b8b
push 0x3bec
push 1
push 0x2301
push 0x62e4
push 0x15e2
push 0x12f
call fcn.10046f22
add esp, 0x44
lea eax, [ebp - 0x14]
push eax
push 0x68b3
lea eax, [ebp - 0x74]
push eax
push 0x2ff3
push 0x777
push 1
push 0x6254
push 0x5bf2
push 1
call fcn.100470b8
add esp, 0x24
push 0x7875
push 0x5c0a
push 1
push 0xd31
push 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1004667d
add esp, 0x20
push 1
lea eax, [ebp - 0x14]
push eax
push 0x1cbe
push 0x675f
push 1
push 0x141b
call fcn.100471ad
add esp, 0x18
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x18], 0
jbe 0x10048bb6
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 0x10048b8a
mov dword [ebp - 0xdc], 0xc
jmp 0x10048ba8
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 - 0xdc], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xf8], eax
jmp 0x10048bbd
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xe4], eax
and dword [ebp - 0x9c], 0
jmp 0x10048bdf
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x9c]
cmp ecx, dword [eax + 0x18]
jae 0x10048d26
push dword [ebp - 0xe4]
mov eax, dword [ebp - 0xe4]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.1004545a
pop ecx
pop ecx
mov dword [ebp - 0xc8], eax
push dword [ebp - 0xc8]
lea eax, [ebp - 0x1cc]
push eax
call fcn.10045745
pop ecx
pop ecx
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x6ec4
push 0x208d
push 0x38fa
lea eax, [ebp - 0x2c]
push eax
push 0x725e
push 1
push 0
lea eax, [ebp - 0x9c]
push eax
call fcn.1004785f
add esp, 0x2c
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x3ecf
push 0x28bc
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x1cc]
push eax
push 0x589a
push 1
lea eax, [ebp - 0x28]
push eax
push 0
call fcn.100474c2
add esp, 0x28
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc8]
mov dword [ebp - 0x14], eax
push 0x63ea
push 0x67eb
push 0
push 0x2916
push 0x7f45
push 0x692b
push 0x18
lea eax, [ebp - 0x2c]
push eax
push 0x77c4
lea eax, [ebp - 0x14]
push eax
push 1
push 0x50bd
lea eax, [ebp - 0x28]
push eax
push 0x5f11
push 1
push 0x3c7
call fcn.100472b1
add esp, 0x40
push 0x455
lea eax, [ebp - 0x14]
push eax
push 1
push 0x410b
push 1
push 0x528b
push 0x1322
push 0x3ac7
call fcn.1004667d
add esp, 0x20
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1cc]
call fcn.10024a98
jmp 0x10048bd2
and dword [ebp - 0xfc], 0
push 0x3103
push 0x726d
push 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x5cff
push 0x4e66
lea eax, [ebp - 0xfc]
push eax
push 0x8cd
push 1
push 0x2178
push 0x2446
push 0x7452
push 1
lea eax, [ebp - 0x34]
push eax
call fcn.100472b1
add esp, 0x40
lea eax, [ebp - 0xfc]
push eax
push 1
push 0x1aac
push 1
push 1
push 0x3bbb
push 0x7c71
push 0x3c27
push 0x8bf
push 0x244c
lea eax, [ebp - 0x34]
push eax
call fcn.100475dc
add esp, 0x2c
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1e4]
call fcn.10024a98
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1fc]
call fcn.10024a98
jmp 0x10048e32
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov dword [eax], 3
jmp 0x10048e08
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xa0]
mov dword [ecx], eax
mov eax, dword [ebp - 0xa0]
cmp dword [eax], 0
jl 0x10048e32
push 0x62f4
push 0
push 0x57
push 0x68ad
push 1
push 0x2bc4
call fcn.100467dc
add esp, 0x18
jmp 0x10048df7
jmp 0x10048ff7
lea eax, [ebp + 8]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x15c]
movzx eax, byte [eax]
test eax, eax
je 0x10048f94
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x128], eax
and dword [ebp - 0xc4], 0
jmp 0x10048f07
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
add eax, 0x28
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], eax
mov eax, dword [ebp - 0xec]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0xc4], eax
jge 0x10048f92
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xd4]
jb 0x10048f8d
mov eax, dword [ebp - 0xec]
mov eax, dword [eax]
push dword [eax + 0x38]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
push dword [eax + 8]
call fcn.10045a6c
pop ecx
pop ecx
add eax, dword [ebp - 0xd4]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x120]
jae 0x10048f8d
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x128]
mov dword [ecx], eax
jmp 0x10048f92
jmp 0x10048eed
jmp 0x10048ff7
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x7c]
mov dword [eax], 0
jmp 0x10048fd7
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x7c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x7c]
cmp dword [eax], 1
jge 0x10048ff7
mov eax, dword [ebp - 0x7c]
push dword [eax]
mov ecx, dword [ebp - 0x150]
call fcn.10024b73
mov dword [eax], 0x1febaeef
jmp 0x10048fcc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret