Function at 0x1002d953
Capabilities:
Parse pe header

Disassembly:
push ebp
lea ebp, [esp - 0xc8c]
sub esp, 0xc8c
push 0xffffffffffffffff
push 0x10089a26
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x1009700c]
xor eax, ebp
mov dword [ebp + 0xc88], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0x40], 0
push 0x100904a8
lea ecx, [ebp - 0x20]
call fcn.100023d2
and dword [ebp - 4], 0
call fcn.10001619
mov dword [ebp - 0x50], eax
push 2
pop eax
shl eax, 5
push 0x72
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 0x14
push 0x69
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 0xa
push 0x69
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 0x1f
push 0x75
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 5
push 0x41
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
shl eax, 3
push 0x5c
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 0
push 0x53
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 0xe
push 0x73
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
shl eax, 4
push 0x66
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 0xb
push 0x63
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 0x27
push 0x72
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 3
push 0x54
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 0x1a
push 0x20
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 0x13
push 0x57
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 0x23
push 0x6e
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 0x29
push 0x69
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 0x22
push 0x65
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 0x1b
push 0x4e
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 7
push 0x45
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 0x12
push 0x5c
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 0x1c
push 0x54
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 0x25
push 0x56
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
shl eax, 0
push 0x4f
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 0xd
push 0x6f
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 0x2a
push 0x6f
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 0x19
push 0x73
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 0x28
push 0x73
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 0x1e
push 0x43
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 0x16
push 0x64
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
shl eax, 2
push 0x57
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
shl eax, 1
push 0x46
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 0x21
push 0x72
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 0x15
push 0x6e
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 0xf
push 0x6f
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 0x18
push 0x77
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 0xc
push 0x72
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 0x2b
push 0x6e
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 0x2c
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x5a
jae 0x1002dc2b
jmp 0x1002dc30
call fcn.1000814a
xor eax, eax
mov ecx, dword [ebp - 0x24]
mov word [ebp + ecx + 0xc00], ax
push 2
pop eax
imul eax, eax, 0x24
push 0x74
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 6
push 0x52
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 9
push 0x4d
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 0x11
push 0x74
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 0x17
push 0x6f
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 0x26
push 0x65
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 0x1d
push 0x5c
pop ecx
mov word [ebp + eax + 0xc00], cx
push 2
pop eax
imul eax, eax, 9
push 0x6f
pop ecx
mov word [ebp + eax + 0xc5c], cx
push 2
pop eax
imul eax, eax, 0xc
push 0x63
pop ecx
mov word [ebp + eax + 0xc5c], cx
push 2
pop eax
imul eax, eax, 7
push 0x50
pop ecx
mov word [ebp + eax + 0xc5c], cx
push 2
pop eax
imul eax, eax, 5
push 0x61
pop ecx
mov word [ebp + eax + 0xc5c], cx
push 2
pop eax
imul eax, eax, 0xb
push 0x75
pop ecx
mov word [ebp + eax + 0xc5c], cx
push 2
pop eax
imul eax, eax, 0xe
push 0x49
pop ecx
mov word [ebp + eax + 0xc5c], cx
push 2
pop eax
shl eax, 1
push 0x67
pop ecx
mov word [ebp + eax + 0xc5c], cx
push 2
pop eax
shl eax, 4
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x22
jae 0x1002dd3b
jmp 0x1002dd40
call fcn.1000814a
xor eax, eax
mov ecx, dword [ebp - 0x28]
mov word [ebp + ecx + 0xc5c], ax
push 2
pop eax
imul eax, eax, 3
push 0x69
pop ecx
mov word [ebp + eax + 0xc5c], cx
push 2
pop eax
imul eax, eax, 0xa
push 0x64
pop ecx
mov word [ebp + eax + 0xc5c], cx
push 2
pop eax
imul eax, eax, 0xd
push 0x74
pop ecx
mov word [ebp + eax + 0xc5c], cx
push 2
pop eax
shl eax, 0
push 0x69
pop ecx
mov word [ebp + eax + 0xc5c], cx
push 2
pop eax
imul eax, eax, 0
push 0x44
pop ecx
mov word [ebp + eax + 0xc5c], cx
push 2
pop eax
imul eax, eax, 0xf
push 0x64
pop ecx
mov word [ebp + eax + 0xc5c], cx
push 2
pop eax
imul eax, eax, 6
push 0x6c
pop ecx
mov word [ebp + eax + 0xc5c], cx
push 2
pop eax
shl eax, 2
push 0x74
pop ecx
mov word [ebp + eax + 0xc5c], cx
push 2
pop eax
shl eax, 3
push 0x72
pop ecx
mov word [ebp + eax + 0xc5c], cx
push 0x800
push 0
lea eax, [ebp]
push eax
call fcn.10009f50
add esp, 0xc
mov dword [ebp - 0x2c], 0x800
lea eax, [ebp - 0x3c]
push eax
push 0x101
push 0
lea eax, [ebp + 0xc00]
push eax
push 0x80000002
call fcn.10030313
add esp, 0x14
test eax, eax
jne 0x1002df5a
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp]
push eax
push 0
push 0
lea eax, [ebp + 0xc5c]
push eax
push dword [ebp - 0x3c]
call fcn.100311f0
add esp, 0x18
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x1002df51
push 0x400
push 0
lea eax, [ebp + 0x800]
push eax
call fcn.10009f50
add esp, 0xc
push dword [ebp - 0x2c]
lea eax, [ebp + 0x800]
push eax
lea eax, [ebp]
push eax
call fcn.1002dfa7
add esp, 0xc
push 2
pop eax
shl eax, 1
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 6
jae 0x1002de8e
jmp 0x1002de93
call fcn.1000814a
xor eax, eax
mov ecx, dword [ebp - 0x30]
mov word [ebp + ecx + 0xc80], ax
push 2
pop eax
imul eax, eax, 0
push 0x25
pop ecx
mov word [ebp + eax + 0xc80], cx
push 2
pop eax
shl eax, 0
push 0x73
pop ecx
mov word [ebp + eax + 0xc80], cx
lea eax, [ebp + 0x800]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x1002ded7
and dword [ebp - 0x38], 0
jmp 0x1002df3b
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
mov byte [ebp - 0xd], al
inc dword [ebp - 0x14]
cmp byte [ebp - 0xd], 0
jne 0x1002dee4
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x3fffffff
jle 0x1002df14
and dword [ebp - 0x34], 0
jmp 0x1002df35
mov eax, dword [ebp - 0x18]
shl eax, 1
call fcn.100250c0
mov dword [ebp - 0x54], esp
push dword [ebp - 0x50]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x54]
call fcn.10001621
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
push dword [ebp - 0x38]
lea eax, [ebp + 0xc80]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.100049d2
add esp, 0xc
push dword [ebp - 0x3c]
call fcn.1003132c
pop ecx
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 0xc94]
call fcn.100024a8
mov eax, dword [ebp - 0x40]
or eax, 1
mov dword [ebp - 0x40], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.100023c1
mov eax, dword [ebp + 0xc94]
lea esp, [ebp - 0x58]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp + 0xc88]
xor ecx, ebp
call fcn.10007e30
add ebp, 0xc8c
leave
ret