Function at 0x1003ea5e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005fcfb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x1dc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov eax, dword [0x10609800]
and eax, 1
jne 0x1003eab7
mov eax, dword [0x10609800]
or eax, 1
mov dword [0x10609800], eax
and dword [ebp - 4], 0
mov ecx, 0x10609860
call fcn.10041eb5
push 0x1006014e
call fcn.10049b5c
pop ecx
or dword [ebp - 4], 0xffffffff
push dword [ebp + 8]
lea ecx, [ebp - 0x174]
call fcn.10041ded
mov dword [ebp - 4], 1
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x174]
call fcn.10041e44
push dword [eax]
lea eax, [ebp - 0x194]
push eax
lea ecx, [ebp - 0x174]
call fcn.10041e58
push dword [eax]
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x174]
call fcn.10041e44
push dword [eax]
mov edx, 0x1003ddcc
lea ecx, [ebp - 0x1a0]
call fcn.100425a5
add esp, 0xc
lea ecx, [ebp - 0x174]
call fcn.1003dcbc
mov dword [ebp - 0x12c], eax
movzx eax, byte [0x10609744]
test eax, eax
je 0x1003ecee
mov ecx, 0x10609860
call fcn.10041f7a
movzx eax, al
test eax, eax
jne 0x1003ecee
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x120]
push eax
mov ecx, 0x10609860
call fcn.10041f83
lea eax, [ebp - 0x198]
push eax
mov ecx, 0x10609860
call fcn.10041f6c
push eax
lea ecx, [ebp - 0x120]
call fcn.10041f9e
movzx eax, al
test eax, eax
je 0x1003ecee
mov dword [ebp - 0x124], 0x3e6e
mov dword [ebp - 0x140], 0x1000bc50
cmp dword [ebp - 0x124], 0x40e6
jle 0x1003ec78
and dword [ebp - 0x30], 0
jmp 0x1003ebc1
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x1e2e
jge 0x1003ec78
and dword [ebp - 0x2c], 0
jmp 0x1003ebdb
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x2105
jge 0x1003ec73
and dword [ebp - 0x38], 0
jmp 0x1003ebf5
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x78dc
jge 0x1003ec6e
and dword [ebp - 0x28], 0
jmp 0x1003ec0b
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x5531
jge 0x1003ec6c
mov eax, dword [ebp - 0x2c]
imul eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], edx
push dword [ebp - 0x144]
push dword [ebp - 0x148]
lea ecx, [ebp - 0x1d4]
call fcn.1000d6fa
pop ecx
pop ecx
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0x15c]
call fcn.1001a8bc
push eax
call fcn.10049b86
pop ecx
lea ecx, [ebp - 0x1d4]
call fcn.1001a8b2
jmp 0x1003ec04
jmp 0x1003ebee
jmp 0x1003ebd4
jmp 0x1003ebba
lea ecx, [ebp - 0x120]
call fcn.10041f98
mov eax, dword [eax + 4]
mov dword [ebp - 0x14c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x174]
call fcn.10041e3a
mov eax, dword [ebp - 0x14c]
jmp 0x1003f654
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x174]
push eax
call fcn.1003e53f
pop ecx
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x1003f5bd
cmp dword [0x10609740], 0
jne 0x1003f5a2
mov byte [ebp - 0x11c], 6
mov byte [ebp - 0x11b], 0x94
mov byte [ebp - 0x11a], 4
mov byte [ebp - 0x119], 0x56
mov byte [ebp - 0x118], 9
mov byte [ebp - 0x117], 1
mov byte [ebp - 0x116], 0xb
mov byte [ebp - 0x115], 8
mov byte [ebp - 0x114], 1
mov byte [ebp - 0x113], 9
mov byte [ebp - 0x112], 0
mov byte [ebp - 0x111], 0x2e
mov byte [ebp - 0x110], 7
mov byte [ebp - 0x10f], 0x79
mov byte [ebp - 0x10e], 0x5f
mov byte [ebp - 0x10d], 0xea
mov byte [ebp - 0x10c], 0x59
mov byte [ebp - 0x10b], 0x74
mov byte [ebp - 0x10a], 0x7c
mov byte [ebp - 0x109], 0x64
mov byte [ebp - 0x108], 0xc1
mov byte [ebp - 0x107], 0x79
mov byte [ebp - 0x106], 5
mov byte [ebp - 0x105], 0x2b
mov byte [ebp - 0x104], 0xf1
mov byte [ebp - 0x103], 0x6a
mov byte [ebp - 0x102], 0xfa
mov byte [ebp - 0x101], 0xfe
mov byte [ebp - 0x100], 0xa0
mov byte [ebp - 0xff], 0xb
mov byte [ebp - 0xfe], 0xa6
mov byte [ebp - 0xfd], 0x98
mov byte [ebp - 0xfc], 0x2d
mov byte [ebp - 0xfb], 0x4a
mov byte [ebp - 0xfa], 0xd1
mov byte [ebp - 0xf9], 0x17
mov byte [ebp - 0xf8], 0x7c
mov byte [ebp - 0xf7], 0xfd
mov byte [ebp - 0xf6], 0xa1
mov byte [ebp - 0xf5], 0x53
mov byte [ebp - 0xf4], 0x82
mov byte [ebp - 0xf3], 0xa4
mov byte [ebp - 0xf2], 0x6f
mov byte [ebp - 0xf1], 0xd
mov byte [ebp - 0xf0], 0xc1
mov byte [ebp - 0xef], 0x15
mov byte [ebp - 0xee], 0xb2
mov byte [ebp - 0xed], 0x94
mov byte [ebp - 0xec], 0x6f
mov byte [ebp - 0xeb], 0x85
mov byte [ebp - 0xea], 0x97
mov byte [ebp - 0xe9], 0xcc
mov byte [ebp - 0xe8], 0x74
mov byte [ebp - 0xe7], 0xc9
mov byte [ebp - 0xe6], 0x40
mov byte [ebp - 0xe5], 0xb2
mov byte [ebp - 0xe4], 0xea
mov byte [ebp - 0xe3], 0x23
mov byte [ebp - 0xe2], 0x6a
mov byte [ebp - 0xe1], 0x43
mov byte [ebp - 0xe0], 0x73
mov byte [ebp - 0xdf], 0xa0
mov byte [ebp - 0xde], 0x62
mov byte [ebp - 0xdd], 0x73
mov byte [ebp - 0xdc], 0x66
mov byte [ebp - 0xdb], 0xcf
mov byte [ebp - 0xda], 0xfa
mov byte [ebp - 0xd9], 0x13
mov byte [ebp - 0xd8], 0x40
mov byte [ebp - 0xd7], 0xc5
mov byte [ebp - 0xd6], 5
mov byte [ebp - 0xd5], 0x38
mov byte [ebp - 0xd4], 0xdd
mov byte [ebp - 0xd3], 0x46
mov byte [ebp - 0xd2], 0xf0
mov byte [ebp - 0xd1], 0x2b
mov byte [ebp - 0xd0], 0xd4
mov byte [ebp - 0xcf], 3
mov byte [ebp - 0xce], 0x16
mov byte [ebp - 0xcd], 0x67
mov byte [ebp - 0xcc], 2
mov byte [ebp - 0xcb], 0x45
mov byte [ebp - 0xca], 0xc7
mov byte [ebp - 0xc9], 0x98
mov byte [ebp - 0xc8], 0x19
mov byte [ebp - 0xc7], 0x79
mov byte [ebp - 0xc6], 0xc3
mov byte [ebp - 0xc5], 0xb9
mov byte [ebp - 0xc4], 0xe1
mov byte [ebp - 0xc3], 0x6d
mov byte [ebp - 0xc2], 0x8d
mov byte [ebp - 0xc1], 0xb9
mov byte [ebp - 0xc0], 0x50
mov byte [ebp - 0xbf], 0xb5
mov byte [ebp - 0xbe], 0x4a
mov byte [ebp - 0xbd], 0x4a
mov byte [ebp - 0xbc], 0xb3
mov byte [ebp - 0xbb], 7
mov byte [ebp - 0xba], 0x3c
mov byte [ebp - 0xb9], 0x39
mov byte [ebp - 0xb8], 0xad
mov byte [ebp - 0xb7], 0x10
mov byte [ebp - 0xb6], 0x55
mov byte [ebp - 0xb5], 0x7d
mov byte [ebp - 0xb4], 0x24
mov byte [ebp - 0xb3], 2
mov byte [ebp - 0xb2], 0xa0
mov byte [ebp - 0xb1], 0xd9
mov byte [ebp - 0xb0], 0xe8
mov byte [ebp - 0xaf], 0xdf
mov byte [ebp - 0xae], 3
mov byte [ebp - 0xad], 0x5c
mov byte [ebp - 0xac], 0xa
mov byte [ebp - 0xab], 2
mov byte [ebp - 0xaa], 5
mov byte [ebp - 0xa9], 0
mov byte [ebp - 0xa8], 8
mov byte [ebp - 0xa7], 0x42
mov byte [ebp - 0xa6], 2
mov byte [ebp - 0xa5], 0x5c
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x11c]
or eax, 0xa7
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x11c]
and ecx, 0xa7
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x11c]
mov word [ebp + ecx*2 - 0x190], ax
mov dword [ebp - 0x18], 2
and dword [ebp - 0x24], 0
jmp 0x1003f0b5
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x78
jae 0x1003f166
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x11c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x1003f0fc
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x11c]
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x11c]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x1003f0ad
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x11b]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x24]
movzx ecx, byte [ebp + ecx - 0x11e]
movzx ecx, word [ebp + ecx*2 - 0x190]
or eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x11b]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x24]
movzx edx, byte [ebp + edx - 0x11e]
movzx edx, word [ebp + edx*2 - 0x190]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x11c]
mov word [ebp + ecx*2 - 0x190], ax
lea eax, [ebp - 0x24]
push eax
call fcn.1003ea4a
pop ecx
jmp 0x1003f0ad
push 2
pop eax
imul eax, eax, 0xc
xor ecx, ecx
mov word [ebp + eax - 0x190], cx
lea eax, [ebp - 0x190]
push eax
lea ecx, [ebp - 0x1ec]
call fcn.10041e15
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x154], eax
mov byte [ebp - 4], 4
push dword [ebp - 0x154]
call fcn.1003e53f
pop ecx
mov dword [ebp - 0x128], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1ec]
call fcn.10041e3a
and dword [ebp - 0x34], 0
jmp 0x1003f1cc
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xd
jae 0x1003f1e1
xor eax, eax
mov ecx, dword [ebp - 0x34]
mov word [ebp + ecx*2 - 0x190], ax
jmp 0x1003f1c5
cmp dword [ebp - 0x128], 0
je 0x1003f5a2
mov byte [ebp - 0xa4], 5
mov byte [ebp - 0xa3], 0x93
mov byte [ebp - 0xa2], 9
mov byte [ebp - 0xa1], 0x1b
mov byte [ebp - 0xa0], 8
mov byte [ebp - 0x9f], 0x13
mov byte [ebp - 0x9e], 6
mov byte [ebp - 0x9d], 3
mov byte [ebp - 0x9c], 1
mov byte [ebp - 0x9b], 0xd
mov byte [ebp - 0x9a], 0xa
mov byte [ebp - 0x99], 0x16
mov byte [ebp - 0x98], 0x4e
mov byte [ebp - 0x97], 0x4c
mov byte [ebp - 0x96], 0xb8
mov byte [ebp - 0x95], 0xce
mov byte [ebp - 0x94], 0xb6
mov byte [ebp - 0x93], 0x7a
mov byte [ebp - 0x92], 0x96
mov byte [ebp - 0x91], 0x4b
mov byte [ebp - 0x90], 0x18
mov byte [ebp - 0x8f], 0x1e
mov byte [ebp - 0x8e], 0xf7
mov byte [ebp - 0x8d], 0x51
mov byte [ebp - 0x8c], 0xc9
mov byte [ebp - 0x8b], 0x66
mov byte [ebp - 0x8a], 0x81
mov byte [ebp - 0x89], 0x2c
mov byte [ebp - 0x88], 0x8f
mov byte [ebp - 0x87], 0x66
mov byte [ebp - 0x86], 0x19
mov byte [ebp - 0x85], 0xf3
mov byte [ebp - 0x84], 2
mov byte [ebp - 0x83], 0xed
mov byte [ebp - 0x82], 0x48
mov byte [ebp - 0x81], 0xf4
mov byte [ebp - 0x80], 0xa8
mov byte [ebp - 0x7f], 0x4d
mov byte [ebp - 0x7e], 0x22
mov byte [ebp - 0x7d], 0xa2
mov byte [ebp - 0x7c], 0x86
mov byte [ebp - 0x7b], 0x41
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x2e
mov byte [ebp - 0x78], 0x85
mov byte [ebp - 0x77], 0xbd
mov byte [ebp - 0x76], 0x5e
mov byte [ebp - 0x75], 0x5a
mov byte [ebp - 0x74], 0xe5
mov byte [ebp - 0x73], 0x32
mov byte [ebp - 0x72], 0xf5
mov byte [ebp - 0x71], 0x23
mov byte [ebp - 0x70], 0xd
mov byte [ebp - 0x6f], 0x25
mov byte [ebp - 0x6e], 0xa3
mov byte [ebp - 0x6d], 0x36
mov byte [ebp - 0x6c], 0x66
mov byte [ebp - 0x6b], 0x32
mov byte [ebp - 0x6a], 0x4e
mov byte [ebp - 0x69], 0xf9
mov byte [ebp - 0x68], 0x27
mov byte [ebp - 0x67], 0xba
mov byte [ebp - 0x66], 0xfe
mov byte [ebp - 0x65], 8
mov byte [ebp - 0x64], 0xad
mov byte [ebp - 0x63], 0xe9
mov byte [ebp - 0x62], 0xa9
mov byte [ebp - 0x61], 0xd8
mov byte [ebp - 0x60], 0x4b
mov byte [ebp - 0x5f], 0x58
mov byte [ebp - 0x5e], 0x9c
mov byte [ebp - 0x5d], 0x10
mov byte [ebp - 0x5c], 0x33
mov byte [ebp - 0x5b], 0xda
mov byte [ebp - 0x5a], 0xcb
mov byte [ebp - 0x59], 0x1e
mov byte [ebp - 0x58], 0xda
mov byte [ebp - 0x57], 0x68
mov byte [ebp - 0x56], 0x8a
mov byte [ebp - 0x55], 0xb2
mov byte [ebp - 0x54], 0x86
mov byte [ebp - 0x53], 0x8f
mov byte [ebp - 0x52], 0x6a
mov byte [ebp - 0x51], 0x24
mov byte [ebp - 0x50], 0x51
mov byte [ebp - 0x4f], 0x61
mov byte [ebp - 0x4e], 0x4d
mov byte [ebp - 0x4d], 0x4e
mov byte [ebp - 0x4c], 0x63
mov byte [ebp - 0x4b], 0xdf
mov byte [ebp - 0x4a], 0xe5
mov byte [ebp - 0x49], 2
mov byte [ebp - 0x48], 0x18
mov byte [ebp - 0x47], 4
mov byte [ebp - 0x46], 0x2d
mov byte [ebp - 0x45], 0
mov byte [ebp - 0x44], 0
mov byte [ebp - 0x43], 0xb
mov byte [ebp - 0x42], 0x1b
mov byte [ebp - 0x41], 3
mov byte [ebp - 0x40], 0x33
mov byte [ebp - 0x3f], 7
mov byte [ebp - 0x3e], 0x16
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xa4]
or eax, 0xfa
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xa4]
and ecx, 0xfa
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xa4]
mov byte [ebp + ecx - 0x13c], al
mov dword [ebp - 0x14], 2
and dword [ebp - 0x20], 0
jmp 0x1003f449
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x67
jae 0x1003f531
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xa4]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x1003f490
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xa4]
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xa4]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x1003f441
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xa3]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0xa6]
movsx ecx, byte [ebp + ecx - 0x13c]
add eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xa3]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x20]
movzx edx, byte [ebp + edx - 0xa6]
movsx edx, byte [ebp + edx - 0x13c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xa3]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x20]
movzx edx, byte [ebp + edx - 0xa6]
movsx edx, byte [ebp + edx - 0x13c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xa4]
mov byte [ebp + ecx - 0x13c], al
push 0x2448
push 0
lea eax, [ebp - 0x20]
push eax
push 0x5da1
push 0x98
call fcn.1003f665
add esp, 0x14
jmp 0x1003f441
xor eax, eax
inc eax
imul eax, eax, 0xc
mov byte [ebp + eax - 0x13c], 0
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x1bc]
call fcn.1001a9f1
mov byte [ebp - 4], 5
and dword [ebp - 0x3c], 0
jmp 0x1003f562
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xd
jae 0x1003f575
mov eax, dword [ebp - 0x3c]
mov byte [ebp + eax - 0x13c], 0
jmp 0x1003f55b
push 0
push 0
lea eax, [ebp - 0x1bc]
push eax
push dword [ebp - 0x128]
call fcn.10040386
add esp, 0x10
mov dword [0x10609740], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1bc]
call fcn.1001aa79
cmp dword [0x10609740], 0
je 0x1003f5bd
mov ecx, dword [ebp + 8]
call fcn.10041e76
push eax
call dword [0x10609740]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x1003f636
movzx eax, byte [0x10609744]
test eax, eax
je 0x1003f5df
mov ecx, 0x10609860
call fcn.10041f7a
movzx eax, al
test eax, eax
jne 0x1003f636
push 1
lea eax, [ebp - 0x1c]
push eax
push 0x6c8c
push 0x8f4
push 1
push 0x55d6
push 0x2956
push 0x20bd
lea eax, [ebp - 0x12c]
push eax
push 0x10609860
push 0
push 0x43c2
call fcn.10041931
add esp, 0x30
push 0x651
push 1
push 0x10609744
push 1
push 0x33c8
call fcn.1003e860
add esp, 0x14
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x150], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x174]
call fcn.10041e3a
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret