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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061e91
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x328
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
and dword [ebp - 0x18], 0
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10041e23
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x1ec], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x224]
movzx eax, byte [eax]
test eax, eax
je 0x10041dd6
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x15c]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1004087e
jmp 0x10041f14
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x28]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0x4550
je 0x1004089d
jmp 0x10041f14
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x38]
lea eax, [ecx + eax + 0x78]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
cmp dword [eax + 4], 0
jne 0x100408bb
jmp 0x10041f14
mov dword [ebp - 0x16c], 0x461e
mov dword [ebp - 0x21c], 0x1000b950
cmp dword [ebp - 0x16c], 0x4866
jle 0x1004098d
and dword [ebp - 0xfc], 0
jmp 0x100408f5
mov eax, dword [ebp - 0xfc]
inc eax
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0x7e53
jge 0x1004098d
and dword [ebp - 0xf0], 0
jmp 0x1004091b
mov eax, dword [ebp - 0xf0]
inc eax
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0x674d
jge 0x10040988
and dword [ebp - 0xe0], 0
jmp 0x1004093d
mov eax, dword [ebp - 0xe0]
inc eax
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0x7b91
jge 0x10040986
mov eax, dword [ebp - 0xfc]
cdq
idiv dword [ebp - 0xf0]
mov eax, edx
cdq
idiv dword [ebp - 0xe0]
mov eax, edx
cdq
mov dword [ebp - 0x1fc], eax
mov dword [ebp - 0x1f8], edx
push dword [ebp - 0x1f8]
push dword [ebp - 0x1fc]
mov ecx, 0x10609898
call fcn.1000fe8e
jmp 0x10040930
jmp 0x1004090e
jmp 0x100408e8
and dword [ebp - 0x24], 0
and dword [ebp - 4], 0
cmp dword [ebp - 0x16c], 0x4507
jge 0x100409b1
mov edx, dword [ebp - 0x21c]
mov ecx, 0x10609898
call fcn.10011938
jmp 0x100409cd
or dword [ebp - 4], 0xffffffff
jmp 0x100409d7
mov eax, dword [ebp - 0x38]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x38]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x3c], eax
and dword [ebp - 0x150], 0
jmp 0x10040a07
mov eax, dword [ebp - 0x150]
inc eax
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x3c]
add eax, 0x28
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x150], eax
jge 0x10040a8c
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x174]
jb 0x10040a87
mov eax, dword [ebp - 0x38]
push dword [eax + 0x38]
mov eax, dword [ebp - 0x3c]
push dword [eax + 8]
call fcn.1003f380
pop ecx
pop ecx
add eax, dword [ebp - 0x174]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x1a8]
jae 0x10040a87
push 0x51d7
push 0x4cb1
lea eax, [ebp - 0x24]
push eax
push 0x5b
lea eax, [ebp - 0x3c]
push eax
push 0x6451
push 0x4369
push 0
push 0
call fcn.100403aa
add esp, 0x24
jmp 0x10040a8c
jmp 0x100409f1
cmp dword [ebp - 0x24], 0
jne 0x10040a97
jmp 0x10041f14
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax]
add ecx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], ecx
xor ecx, ecx
call fcn.10036d2e
push eax
call fcn.1004c267
pop ecx
mov byte [ebp - 0xb0], 1
mov byte [ebp - 0xaf], 0xbc
mov byte [ebp - 0xae], 4
mov byte [ebp - 0xad], 0xd
mov byte [ebp - 0xac], 0x1e
mov byte [ebp - 0xab], 0xb1
mov byte [ebp - 0xaa], 0xd9
mov byte [ebp - 0xa9], 0x2c
mov byte [ebp - 0xa8], 7
mov byte [ebp - 0xa7], 0x9d
mov byte [ebp - 0xa6], 0x47
mov byte [ebp - 0xa5], 0xd
mov byte [ebp - 0xa4], 0x9c
mov byte [ebp - 0xa3], 0x1c
mov byte [ebp - 0xa2], 0xe3
mov byte [ebp - 0xa1], 0xd
mov byte [ebp - 0xa0], 0x53
mov byte [ebp - 0x9f], 0x34
mov byte [ebp - 0x9e], 0x59
mov byte [ebp - 0x9d], 0x1e
mov byte [ebp - 0x9c], 0x42
mov byte [ebp - 0x9b], 0x8b
mov byte [ebp - 0x9a], 0xbb
mov byte [ebp - 0x99], 0xbe
mov byte [ebp - 0x98], 8
mov byte [ebp - 0x97], 0xc1
mov byte [ebp - 0x96], 0xf9
mov byte [ebp - 0x95], 0xf2
mov byte [ebp - 0x94], 0x66
mov byte [ebp - 0x93], 0x6c
mov byte [ebp - 0x92], 5
mov byte [ebp - 0x91], 0xa0
mov byte [ebp - 0x90], 0xb9
mov byte [ebp - 0x8f], 7
mov byte [ebp - 0x8e], 0xfb
mov byte [ebp - 0x8d], 2
mov byte [ebp - 0x8c], 0xf
mov byte [ebp - 0x8b], 5
mov byte [ebp - 0x8a], 6
mov byte [ebp - 0x89], 3
mov byte [ebp - 0x88], 6
mov byte [ebp - 0x87], 7
mov byte [ebp - 0x86], 1
mov byte [ebp - 0x85], 8
mov byte [ebp - 0x84], 6
mov byte [ebp - 0x83], 0
mov byte [ebp - 0x82], 1
mov byte [ebp - 0x81], 9
mov byte [ebp - 0x80], 1
mov byte [ebp - 0x7f], 6
mov byte [ebp - 0x7e], 1
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xb0]
and eax, 0x89
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xb0]
or ecx, 0x89
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xb0]
mov byte [ebp + eax - 0x198], cl
mov dword [ebp - 0x20], 2
and dword [ebp - 0x50], 0
jmp 0x10040c62
mov eax, dword [ebp - 0x20]
inc eax
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x33
jae 0x10040d4c
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xb0]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x20], eax
jne 0x10040ca9
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0xb0]
inc eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0xb0]
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x20], eax
jmp 0x10040c5a
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x50]
movzx eax, byte [ebp + eax - 0xb2]
movsx eax, byte [ebp + eax - 0x198]
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0xaf]
and ecx, eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x50]
movzx eax, byte [ebp + eax - 0xb2]
movsx eax, byte [ebp + eax - 0x198]
mov edx, dword [ebp - 0x20]
movzx edx, byte [ebp + edx - 0xaf]
and edx, eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x50]
movzx eax, byte [ebp + eax - 0xb2]
movsx eax, byte [ebp + eax - 0x198]
mov esi, dword [ebp - 0x20]
movzx ebx, byte [ebp + esi - 0xaf]
add ebx, eax
sub ebx, edx
sub ebx, ecx
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0xb0]
mov byte [ebp + eax - 0x198], bl
push 0x758a
lea eax, [ebp - 0x50]
push eax
push 1
push 0
push 0x2934
push 0x43a4
call fcn.1004032e
add esp, 0x18
jmp 0x10040c5a
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x198], 0
lea eax, [ebp - 0x198]
push eax
lea ecx, [ebp - 0x338]
call fcn.100357a2
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x260], eax
mov dword [ebp - 4], 2
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x260]
call fcn.10036cf3
pop ecx
mov dword [ebp - 0x1bc], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x338]
call fcn.100357d1
and dword [ebp - 0xe4], 0
jmp 0x10040dc0
mov eax, dword [ebp - 0xe4]
inc eax
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0xb
jae 0x10040dd9
mov eax, dword [ebp - 0xe4]
mov byte [ebp + eax - 0x198], 0
jmp 0x10040db3
mov byte [ebp - 0x7c], 0
mov byte [ebp - 0x7b], 0xe4
mov byte [ebp - 0x7a], 0xd
mov byte [ebp - 0x79], 0x72
mov byte [ebp - 0x78], 0x9b
mov byte [ebp - 0x77], 0x6b
mov byte [ebp - 0x76], 0x74
mov byte [ebp - 0x75], 0x31
mov byte [ebp - 0x74], 7
mov byte [ebp - 0x73], 0x5c
mov byte [ebp - 0x72], 0x16
mov byte [ebp - 0x71], 0xbe
mov byte [ebp - 0x70], 0x7a
mov byte [ebp - 0x6f], 0x47
mov byte [ebp - 0x6e], 0xb4
mov byte [ebp - 0x6d], 0xad
mov byte [ebp - 0x6c], 8
mov byte [ebp - 0x6b], 1
mov byte [ebp - 0x6a], 5
mov byte [ebp - 0x69], 1
mov byte [ebp - 0x68], 1
mov byte [ebp - 0x67], 7
mov byte [ebp - 0x66], 2
mov byte [ebp - 0x65], 1
mov byte [ebp - 0x64], 7
mov byte [ebp - 0x63], 1
mov byte [ebp - 0x62], 3
mov byte [ebp - 0x61], 4
mov byte [ebp - 0x60], 9
mov byte [ebp - 0x5f], 2
mov byte [ebp - 0x5e], 4
mov byte [ebp - 0x5d], 4
mov byte [ebp - 0x5c], 6
mov byte [ebp - 0x5b], 0xd
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x7c]
and eax, 0xd5
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x7c]
or ecx, 0xd5
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x7c]
mov byte [ebp + eax - 0x1a4], cl
mov dword [ebp - 0x2c], 2
and dword [ebp - 0xf4], 0
jmp 0x10040eae
mov eax, dword [ebp - 0x2c]
inc eax
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x22
jae 0x10040f4c
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x7c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x2c], eax
jne 0x10040eef
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x7c]
inc eax
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x7c]
mov ecx, dword [ebp - 0x2c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x2c], eax
jmp 0x10040ea6
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0xf4]
movzx eax, byte [ebp + eax - 0x7e]
movsx eax, byte [ebp + eax - 0x1a4]
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0x7b]
and ecx, eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0xf4]
movzx eax, byte [ebp + eax - 0x7e]
movsx eax, byte [ebp + eax - 0x1a4]
mov edx, dword [ebp - 0x2c]
movzx edx, byte [ebp + edx - 0x7b]
or edx, eax
sub edx, ecx
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x7c]
mov byte [ebp + eax - 0x1a4], dl
and dword [ebp - 0xf4], 0
jmp 0x10040ea6
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x1a4], 0
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x2f0]
call fcn.100357a2
mov dword [ebp - 0x254], eax
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x220], eax
mov dword [ebp - 4], 3
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x220]
call fcn.10036cf3
pop ecx
mov dword [ebp - 0x240], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2f0]
call fcn.100357d1
and dword [ebp - 0xd0], 0
jmp 0x10040fc0
mov eax, dword [ebp - 0xd0]
inc eax
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0xb
jae 0x10041129
mov dword [ebp - 0x18c], 0x278c
mov dword [ebp - 0x1b4], 0x1000b9a0
cmp dword [ebp - 0x18c], 0x27c1
jle 0x100410cd
and dword [ebp - 0xf8], 0
jmp 0x10041007
mov eax, dword [ebp - 0xf8]
inc eax
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0x44b4
jge 0x100410cd
and dword [ebp - 0xc8], 0
jmp 0x1004102d
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0x7339
jge 0x100410c8
and dword [ebp - 0xc0], 0
jmp 0x10041053
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0x317c
jge 0x100410c3
and dword [ebp - 0xe8], 0
jmp 0x10041075
mov eax, dword [ebp - 0xe8]
inc eax
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0x5bef
jge 0x100410c1
mov eax, dword [ebp - 0xc0]
cdq
idiv dword [ebp - 0xe8]
and edx, dword [ebp - 0xc8]
or edx, dword [ebp - 0xf8]
mov eax, edx
cdq
mov dword [ebp - 0x208], eax
mov dword [ebp - 0x204], edx
push dword [ebp - 0x204]
push dword [ebp - 0x208]
mov ecx, 0x10609898
call fcn.1000fe8e
jmp 0x10041068
jmp 0x10041046
jmp 0x10041020
jmp 0x10040ffa
mov eax, dword [ebp - 0xd0]
mov byte [ebp + eax - 0x1a4], 0
mov dword [ebp - 4], 4
cmp dword [ebp - 0x18c], 0x2526
jge 0x100410fe
mov edx, dword [ebp - 0x1b4]
mov ecx, 0x10609898
call fcn.10011938
jmp 0x1004111a
or dword [ebp - 4], 0xffffffff
jmp 0x10041124
jmp 0x10040fb3
push dword [ebp - 0x240]
push dword [ebp - 0x1bc]
call fcn.1003ddfc
pop ecx
pop ecx
mov dword [ebp - 0x180], eax
lea eax, [ebp - 0x180]
push eax
push 1
push 0x60b1
push 0x3704
push 1
lea eax, [ebp - 0x38]
push eax
call fcn.1003f3cf
add esp, 0x18
push 0xf
push 5
call fcn.1003ddfc
pop ecx
pop ecx
add eax, dword [ebp - 0x180]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 4], eax
and dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x4fea
push 0x554f
push 0x1a5a
push 0
push 0x7f47
push 0x3922
push 0x4b7c
call fcn.100406ae
add esp, 0x28
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 - 0x4c]
mov dword [ebp - 0x40], eax
and dword [ebp - 0xdc], 0
jmp 0x100411db
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
cmp eax, dword [ebp - 0x40]
jge 0x1004141d
lea eax, [ebp - 0x1c]
push eax
push 0x22f8
push 0
lea eax, [ebp - 0x28]
push eax
push 0x3971
push 0x5f92
push 0x75f2
lea eax, [ebp - 0x228]
push eax
push 0
lea eax, [ebp - 0x24]
push eax
push 0x227a
push 0x5c7
push 0x3fe2
push 0x3d39
lea eax, [ebp - 0xdc]
push eax
push 0x2660
push 1
lea eax, [ebp - 0x3c]
push eax
call fcn.1003fbd0
add esp, 0x48
push 0xb60
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x228]
push eax
push 0x6dc4
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
push 0
push 0x5936
push 0x350d
call fcn.100400e9
add esp, 0x28
mov dword [ebp - 0x17c], 0x7249
mov dword [ebp - 0x1c4], 0x1000ba10
cmp dword [ebp - 0x17c], 0x7463
jle 0x10041377
and dword [ebp - 0xec], 0
jmp 0x100412b0
mov eax, dword [ebp - 0xec]
inc eax
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0x496
jge 0x10041377
and dword [ebp - 0xb8], 0
jmp 0x100412d6
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0x5f62
jge 0x10041372
and dword [ebp - 0xd8], 0
jmp 0x100412fc
mov eax, dword [ebp - 0xd8]
inc eax
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0x77e1
jge 0x1004136d
and dword [ebp - 0xb4], 0
jmp 0x1004131e
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0x7d2a
jge 0x1004136b
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xb4]
shl eax, cl
mov ecx, dword [ebp - 0xec]
and ecx, dword [ebp - 0xb8]
xor eax, ecx
cdq
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], edx
push dword [ebp - 0x210]
push dword [ebp - 0x214]
mov ecx, 0x10609898
call fcn.1000fe8e
jmp 0x10041311
jmp 0x100412ef
jmp 0x100412c9
jmp 0x100412a3
mov dword [ebp - 4], 6
cmp dword [ebp - 0x17c], 0x713a
jge 0x1004139a
mov edx, dword [ebp - 0x1c4]
mov ecx, 0x10609898
call fcn.10011938
jmp 0x100413b6
or dword [ebp - 4], 0xffffffff
jmp 0x100413c0
push 0x3491
push 0x4caa
push 1
push 0xd7
push 0x770f
push 0x1ba0
push 0x323e
push 0xcdc
push 1
push 0x4d27
push 0x3898
push 0x1a11
push 0x1ca3
lea eax, [ebp - 0x14]
push eax
push 0x3e7f
push 0x53a2
push 0
push 0x5397
call fcn.1003fbd0
add esp, 0x48
jmp 0x100411ce
push 1
push 0x2c39
push 0x2cd5
push 0
lea eax, [ebp - 0x4c]
push eax
push 0x564d
lea eax, [ebp - 0x1c]
push eax
push 0xa23
push 0x1f9b
call fcn.100404a7
add esp, 0x24
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x40]
push eax
push 0x922
push 0xc3d
push 0x1bb1
push 0x1bff
lea eax, [ebp - 0x4c]
push eax
push 0
push 1
call fcn.100403aa
add esp, 0x24
and dword [ebp - 0x154], 0
jmp 0x1004148c
mov eax, dword [ebp - 0x154]
inc eax
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x154]
cmp eax, dword [ebp - 0x40]
jge 0x100414d5
push 0x2d19
lea eax, [ebp - 0x14]
push eax
push 0x245a
push 0x1906
push 0x319a
push 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push 0x120a
call fcn.100407ed
add esp, 0x2c
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x14], eax
jmp 0x1004147f
push 0x1ea5
push 0x3238
push 1
push 0x6eec
push 0x18e8
push 0x3041
lea eax, [ebp - 0x14]
push eax
push 0x58b3
push 0
push 0x69c8
push 0x39a6
lea eax, [ebp - 0x40]
push eax
push 0x6512
push 0x7813
push 0x4f53
lea eax, [ebp - 0x1c]
push eax
push 1
push 0x608d
call fcn.1003fbd0
add esp, 0x48
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x18]
sub eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x18], eax
and dword [ebp - 0xbc], 0
jmp 0x10041550
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
cmp eax, dword [ebp - 0x40]
jge 0x100415ab
push 1
push 0x4a00
push 0x6e96
push 0x439f
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x7ab3
push 0x2798
lea eax, [ebp - 0x24]
push eax
push 0x40c6
lea eax, [ebp - 0x28]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
push 0x17af
call fcn.1003f809
add esp, 0x38
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
jmp 0x10041543
mov eax, dword [ebp - 0x40]
shl eax, 1
mov ecx, dword [ebp - 0x14]
sub ecx, eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x24], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x290]
call fcn.100357a2
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x290]
call fcn.1003581d
mov dword [ebp - 0x168], eax
push dword [ebp - 0x168]
mov eax, dword [ebp - 0x168]
shr eax, 1
push eax
call fcn.1003ddfc
pop ecx
pop ecx
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x14c], 2
mov byte [ebp - 0x14b], 0x32
mov byte [ebp - 0x14a], 0
mov byte [ebp - 0x149], 0x42
mov byte [ebp - 0x148], 3
mov byte [ebp - 0x147], 0x42
mov byte [ebp - 0x146], 0x45
mov byte [ebp - 0x145], 0x49
mov byte [ebp - 0x144], 0x18
mov byte [ebp - 0x143], 0x34
mov byte [ebp - 0x142], 0xd2
mov byte [ebp - 0x141], 0x36
mov byte [ebp - 0x140], 0x53
mov byte [ebp - 0x13f], 0xdf
mov byte [ebp - 0x13e], 0x9c
mov byte [ebp - 0x13d], 0xcf
mov byte [ebp - 0x13c], 0x19
mov byte [ebp - 0x13b], 0xfc
mov byte [ebp - 0x13a], 0x1a
mov byte [ebp - 0x139], 0x1d
mov byte [ebp - 0x138], 0xa7
mov byte [ebp - 0x137], 0x95
mov byte [ebp - 0x136], 0x8b
mov byte [ebp - 0x135], 0x6d
mov byte [ebp - 0x134], 0x1a
mov byte [ebp - 0x133], 0x75
mov byte [ebp - 0x132], 0xf9
mov byte [ebp - 0x131], 0xbb
mov byte [ebp - 0x130], 0x1b
mov byte [ebp - 0x12f], 0x27
mov byte [ebp - 0x12e], 0x7c
mov byte [ebp - 0x12d], 0xd8
mov byte [ebp - 0x12c], 0x9c
mov byte [ebp - 0x12b], 0x49
mov byte [ebp - 0x12a], 0xf
mov byte [ebp - 0x129], 9
mov byte [ebp - 0x128], 0xed
mov byte [ebp - 0x127], 0xe6
mov byte [ebp - 0x126], 0x54
mov byte [ebp - 0x125], 0x49
mov byte [ebp - 0x124], 0x27
mov byte [ebp - 0x123], 0xd0
mov byte [ebp - 0x122], 0x68
mov byte [ebp - 0x121], 0xea
mov byte [ebp - 0x120], 0xa6
mov byte [ebp - 0x11f], 0x9d
mov byte [ebp - 0x11e], 0x24
mov byte [ebp - 0x11d], 0x50
mov byte [ebp - 0x11c], 0xbb
mov byte [ebp - 0x11b], 0x4b
mov byte [ebp - 0x11a], 0x83
mov byte [ebp - 0x119], 0x56
mov byte [ebp - 0x118], 0xab
mov byte [ebp - 0x117], 0xc1
mov byte [ebp - 0x116], 0x7d
mov byte [ebp - 0x115], 0x4c
mov byte [ebp - 0x114], 0x99
mov byte [ebp - 0x113], 0x94
mov byte [ebp - 0x112], 0x89
mov byte [ebp - 0x111], 0x83
mov byte [ebp - 0x110], 0xab
mov byte [ebp - 0x10f], 0x44
mov byte [ebp - 0x10e], 0x21
mov byte [ebp - 0x10d], 0xd7
mov byte [ebp - 0x10c], 0x48
mov byte [ebp - 0x10b], 0x78
mov byte [ebp - 0x10a], 0xeb
mov byte [ebp - 0x109], 0x2f
mov byte [ebp - 0x108], 0xd8
mov byte [ebp - 0x107], 0x5b
mov byte [ebp - 0x106], 0xfc
mov byte [ebp - 0x105], 0xdc
mov byte [ebp - 0x104], 0x7a
mov byte [ebp - 0x103], 0x10
mov byte [ebp - 0x102], 0x3e
mov byte [ebp - 0x101], 0xeb
mov byte [ebp - 0x100], 1
mov byte [ebp - 0xff], 8
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x14c]
and eax, 0x5e
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x14c]
or ecx, 0x5e
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x14c]
mov byte [ebp + eax - 0x58], cl
mov dword [ebp - 0x30], 2
and dword [ebp - 0xc4], 0
jmp 0x10041874
mov eax, dword [ebp - 0x30]
inc eax
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x4e
jae 0x10041921
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x14c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x30], eax
jne 0x100418be
mov eax, dword [ebp - 0x30]
movzx eax, byte [ebp + eax - 0x14c]
inc eax
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [ebp + eax - 0x14c]
mov ecx, dword [ebp - 0x30]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x30], eax
jmp 0x1004186c
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0xc4]
movzx eax, byte [ebp + eax - 0x14e]
movsx eax, byte [ebp + eax - 0x58]
mov ecx, dword [ebp - 0x30]
movzx ecx, byte [ebp + ecx - 0x14b]
and ecx, eax
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0xc4]
movzx eax, byte [ebp + eax - 0x14e]
movsx eax, byte [ebp + eax - 0x58]
mov edx, dword [ebp - 0x30]
movzx edx, byte [ebp + edx - 0x14b]
or edx, eax
sub edx, ecx
mov eax, dword [ebp - 0x30]
movzx eax, byte [ebp + eax - 0x14c]
mov byte [ebp + eax - 0x58], dl
and dword [ebp - 0xc4], 0
jmp 0x1004186c
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x58], 0
cmp dword [ebp - 0x44], 4
jle 0x100419e3
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x320]
call fcn.100357a2
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x44]
sub eax, 4
push eax
lea eax, [ebp - 0x2c0]
push eax
call fcn.1003e473
pop ecx
pop ecx
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0x18]
or eax, 2
mov dword [ebp - 0x18], eax
push dword [ebp - 0x250]
mov edx, dword [ebp - 0x1d4]
lea ecx, [ebp - 0x308]
call fcn.1004372d
pop ecx
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 4], 0xb
mov eax, dword [ebp - 0x18]
or eax, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x184], eax
jmp 0x10041a0f
push dword [ebp - 0x44]
lea eax, [ebp - 0x2d8]
push eax
call fcn.1003e473
pop ecx
pop ecx
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x18]
or eax, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x1e4], eax
push dword [ebp - 0x1e4]
lea ecx, [ebp - 0x2a8]
call fcn.100433a8
mov dword [ebp - 4], 0xc
mov eax, dword [ebp - 0x18]
and eax, 8
je 0x10041a4a
and dword [ebp - 0x18], 0xfffffff7
lea ecx, [ebp - 0x2d8]
call fcn.100357d1
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x18]
and eax, 4
je 0x10041a65
and dword [ebp - 0x18], 0xfffffffb
lea ecx, [ebp - 0x308]
call fcn.100357d1
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x18]
and eax, 2
je 0x10041a80
and dword [ebp - 0x18], 0xfffffffd
lea ecx, [ebp - 0x2c0]
call fcn.100357d1
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x18]
and eax, 1
je 0x10041a9b
and dword [ebp - 0x18], 0xfffffffe
lea ecx, [ebp - 0x320]
call fcn.100357d1
and dword [ebp - 0xcc], 0
jmp 0x10041ab1
mov eax, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 5
jae 0x10041ac7
mov eax, dword [ebp - 0xcc]
mov byte [ebp + eax - 0x58], 0
jmp 0x10041aa4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0xc], ecx
push 1
push 0x276c
push 0x62f8
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x6a2b
lea eax, [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100406ae
add esp, 0x28
lea eax, [ebp - 0x44]
push eax
push 0x223f
push 0x3b31
lea eax, [ebp - 0x14]
push eax
push 0x557d
push 0
push 0x6be1
push 0x4515
push 1
push 1
push 0x30e1
call fcn.100407ed
add esp, 0x2c
lea eax, [ebp - 0x24]
push eax
push 0x31f6
push 0x12bc
lea eax, [ebp - 0x14]
push eax
push 0
push 0x1a36
push 0x70b1
push 1
push 0x2942
lea eax, [ebp - 0x28]
push eax
call fcn.100400e9
add esp, 0x28
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x18], 0
jbe 0x10041bcc
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 0x10041ba0
mov dword [ebp - 0x170], 0xc
jmp 0x10041bbe
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 - 0x170], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x188], eax
jmp 0x10041bd3
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x178], eax
and dword [ebp - 0xd4], 0
jmp 0x10041bf5
mov eax, dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xd4]
cmp ecx, dword [eax + 0x18]
jae 0x10041d55
push dword [ebp - 0x178]
mov eax, dword [ebp - 0x178]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.1003ddfc
pop ecx
pop ecx
mov dword [ebp - 0x158], eax
push dword [ebp - 0x158]
lea eax, [ebp - 0x278]
push eax
call fcn.1003e473
pop ecx
pop ecx
mov byte [ebp - 4], 0x10
push 1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x1891
push 0x3dd8
push 0x55d2
lea eax, [ebp - 0x14]
push eax
push 0x5cbe
lea eax, [ebp - 0xd4]
push eax
push 0x62c3
push 1
push 0x71b
push 0x3194
call fcn.1003f809
add esp, 0x38
push 0x5a1a
lea eax, [ebp - 0x24]
push eax
push 1
push 0x1a0d
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x158]
push eax
push 0x522f
push 0x6448
push 1
push 0xc74
lea eax, [ebp - 0x278]
push eax
push 0x46c2
lea eax, [ebp - 0x28]
push eax
push 0x438d
push 0x7c64
push 0x44b2
push 1
push 0x3bf8
call fcn.1003fbd0
add esp, 0x48
push 0x2ee7
push 0x738b
lea eax, [ebp - 0x14]
push eax
push 0x6b3a
lea eax, [ebp - 0x158]
push eax
push 1
push 0x3157
push 0x237a
push 0
push 1
push 0x9e4
call fcn.100407ed
add esp, 0x2c
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov byte [ecx + eax], 0
push 0x924
push 0x7eea
push 1
push 1
lea eax, [ebp - 0x14]
push eax
push 0x4c2f
call fcn.1004032e
add esp, 0x18
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x278]
call fcn.100357d1
jmp 0x10041be8
and dword [ebp - 0x48], 0
jmp 0x10041d62
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], 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 - 0x48], eax
jae 0x10041d89
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x28]
mov byte [ecx + eax], 0
jmp 0x10041d5b
push 1
lea eax, [ebp - 0x34]
push eax
push 0x3e16
push 1
push 0x55b
lea eax, [ebp - 0x48]
push eax
push 0x3d17
push 0xfe2
push 0x2bcf
call fcn.100404a7
add esp, 0x24
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2a8]
call fcn.100357d1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x290]
call fcn.100357d1
jmp 0x10041e1e
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x160]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x244]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x160]
mov dword [ecx], eax
jmp 0x10041f14
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x22c], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x200], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x200]
movzx eax, byte [eax]
test eax, eax
je 0x10041eb0
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x164]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x238]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x164]
mov dword [ecx], eax
jmp 0x10041f14
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x1d8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1e0]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x1e8]
mov ecx, dword [ecx]
and dword [ecx + eax], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret