Function at 0x10007364
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001274e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x134
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 9
mov eax, dword [ebp + 0xc]
push eax
call dword [0x1001306c]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x100073d7
mov ecx, dword [ebp - 0x2c]
and ecx, 1
test ecx, ecx
je 0x100073d7
push 0x80
mov edx, dword [ebp + 0xc]
push edx
call dword [0x10013068]
test eax, eax
jne 0x100073d7
mov eax, 0x10d
jmp 0x10007b35
mov dword [ebp - 4], 0
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 0xc]
push eax
call dword [0x100130d8]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0xffffffff
jne 0x10007424
mov dword [ebp - 0x11c], 0x100
push 0x10013978
lea ecx, [ebp - 0x11c]
push ecx
call fcn.1000ce4a
lea edx, [ebp - 0x94]
push edx
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x110]
push edx
call dword [0x10013064]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp + 8]
mov esi, dword [eax]
push 0
mov ecx, dword [ebp - 0x110]
push ecx
call dword [0x1001303c]
mov dword [esi + 0x28], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx]
cmp dword [eax + 0x28], 0
jne 0x10007486
mov dword [ebp - 0x120], 0x101
push 0x10013978
lea ecx, [ebp - 0x120]
push ecx
call fcn.1000ce4a
mov byte [ebp - 0x68], 0
push 2
push 0xffffffffffffff80
mov edx, dword [ebp - 0x110]
push edx
call fcn.1000c2de
push 0x60
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0x110]
push ecx
call fcn.1000c27f
push 0x20
lea edx, [ebp - 0x88]
push edx
mov eax, dword [ebp - 0x110]
push eax
call fcn.1000c27f
push 0xc
push 0x100165e4
lea ecx, [ebp - 0xa8]
push ecx
call fcn.1000c520
add esp, 0xc
lea edx, [ebp - 0x28]
push edx
push 0x6c
lea eax, [ebp - 0x108]
push eax
call fcn.10006625
add esp, 0xc
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.100065d7
add esp, 8
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x5c]
push ecx
call fcn.1000c8f0
add esp, 8
test eax, eax
jne 0x10007531
mov dword [ebp - 0x124], 0x106
push 0x10013978
lea edx, [ebp - 0x124]
push edx
call fcn.1000ce4a
push 0
push 0
mov eax, dword [ebp - 0x110]
push eax
call fcn.1000c2de
push 0x40
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x134]
push edx
mov eax, dword [ebp - 0x110]
push eax
call fcn.1000c27f
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x134]
mov eax, dword [edx + 0x3c]
push eax
mov ecx, dword [ebp - 0x110]
push ecx
call fcn.1000c2de
push 0xf8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x138]
push eax
mov ecx, dword [ebp - 0x110]
push ecx
call fcn.1000c27f
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x134]
mov ecx, dword [eax + 0x3c]
add ecx, 0xf8
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x134]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0x5a4d
je 0x100075d5
mov dword [ebp - 0x128], 0x102
push 0x10013978
lea edx, [ebp - 0x128]
push edx
call fcn.1000ce4a
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x138]
cmp dword [ecx], 0x4550
je 0x10007601
mov dword [ebp - 0x12c], 0x103
push 0x10013978
lea edx, [ebp - 0x12c]
push edx
call fcn.1000ce4a
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x138]
xor edx, edx
mov dx, word [ecx + 6]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x64], 0
jmp 0x10007625
mov eax, dword [ebp - 0x64]
add eax, 1
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
cmp ecx, dword [ebp - 0x14]
jge 0x10007665
push 0
mov edx, dword [ebp - 0x64]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x38]
add eax, edx
push eax
mov ecx, dword [ebp - 0x110]
push ecx
call fcn.1000c2de
push 0x28
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + edx*4 + 0x13c]
push ecx
mov edx, dword [ebp - 0x110]
push edx
call fcn.1000c27f
jmp 0x1000761c
mov dword [ebp - 0x64], 0
jmp 0x10007677
mov eax, dword [ebp - 0x64]
add eax, 1
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0xd
jge 0x1000768f
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x64]
mov dword [edx + eax*4 + 0x2c], 0
jmp 0x1000766e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x138]
mov eax, dword [edx + 0x80]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x64], 0
jmp 0x100076b3
mov ecx, dword [ebp - 0x64]
add ecx, 1
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
cmp edx, dword [ebp - 0x14]
jge 0x10007766
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax*4 + 0x13c]
mov eax, dword [ebp - 0x18]
sub eax, dword [edx + 0xc]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jl 0x10007761
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx*4 + 0x13c]
mov ecx, dword [ebp - 0x60]
cmp ecx, dword [eax + 8]
jae 0x10007761
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + edx*4 + 0x13c]
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp + 8]
mov edx, dword [eax + edx*4 + 0x13c]
mov eax, dword [edx + 0x14]
sub eax, dword [ecx + 0xc]
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x110]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10007b48
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0
jne 0x1000775f
mov dword [ebp - 0x130], 0x104
push 0x10013978
lea edx, [ebp - 0x130]
push edx
call fcn.1000ce4a
jmp 0x10007766
jmp 0x100076aa
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
mov dword [ecx + 0x1c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 0x14], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x138]
mov edx, dword [eax + 0x34]
mov dword [ecx + 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x138]
mov edx, dword [eax + 0x28]
mov dword [ecx + 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x128]
mov dword [ecx + 0x14], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 4]
mov dword [edx], eax
mov dword [ebp - 0x64], 0
jmp 0x100077d9
mov ecx, dword [ebp - 0x64]
add ecx, 1
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
cmp edx, dword [ebp - 0x14]
jge 0x100078d8
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax*4 + 0x13c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 4]
sub eax, dword [edx + 0xc]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jl 0x100078d3
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx*4 + 0x13c]
mov ecx, dword [ebp - 0x60]
cmp ecx, dword [eax + 8]
jae 0x100078d3
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + edx*4 + 0x13c]
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp + 8]
mov edx, dword [eax + edx*4 + 0x13c]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
sub eax, dword [edx + 0xc]
mov edx, dword [ebp + 8]
add eax, dword [edx + 0x128]
cmp dword [ecx + 0x10], eax
jae 0x10007871
mov dword [ebp - 0x134], 0x107
push 0x10013978
lea eax, [ebp - 0x134]
push eax
call fcn.1000ce4a
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax*4 + 0x13c]
mov ecx, dword [eax + 0xc]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + ecx*4 + 0x13c]
mov edx, dword [ecx + 8]
mov dword [eax + 0x10], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp + 8]
mov edx, dword [eax + edx*4 + 0x13c]
mov eax, dword [ebp - 0x64]
mov esi, dword [ebp + 8]
mov eax, dword [esi + eax*4 + 0x13c]
mov esi, dword [ebp + 8]
mov esi, dword [esi]
mov esi, dword [esi + 4]
sub esi, dword [eax + 0xc]
add esi, dword [edx + 0x14]
mov dword [ecx + 8], esi
jmp 0x100078d8
jmp 0x100077d0
cmp dword [ebp + 0x10], 0
jne 0x10007945
push 2
push 0
mov ecx, dword [ebp - 0x110]
push ecx
call fcn.1000c2de
mov dword [ebp - 0x140], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [ebp - 0x140]
mov dword [eax], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x110]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10006b6b
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 9
je 0x10007945
mov dword [ebp - 0x138], 0x105
push 0x10013978
lea ecx, [ebp - 0x138]
push ecx
call fcn.1000ce4a
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0x110]
push edx
call fcn.1000c2de
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x128]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x118]
push eax
mov ecx, dword [ebp - 0x110]
push ecx
call fcn.1000c27f
mov edx, dword [ebp + 8]
mov esi, dword [edx]
push 2
push 0
push 0
mov eax, dword [ebp - 0x110]
push eax
call dword [0x100130cc]
mov dword [esi + 0x18], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x128]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x118]
push ecx
mov edx, dword [ebp - 0x110]
push edx
call fcn.1000c220
mov eax, dword [ebp + 8]
mov esi, dword [eax + 4]
push 2
push 0
push 0
mov ecx, dword [ebp - 0x110]
push ecx
call dword [0x100130cc]
mov dword [esi + 8], eax
push 0x60
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x110]
push ecx
call fcn.1000c220
push 0x60
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.1000c520
add esp, 0xc
push 0xc
push 0x100165f0
lea edx, [ebp - 0xa8]
push edx
call fcn.1000c520
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
push 0x6c
lea ecx, [ebp - 0x108]
push ecx
call fcn.10006625
add esp, 0xc
lea edx, [ebp - 0x88]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.100065d7
add esp, 8
push 0x20
lea ecx, [ebp - 0x88]
push ecx
mov edx, dword [ebp - 0x110]
push edx
call fcn.1000c220
push 0x18
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x11c]
push eax
call fcn.1000c520
add esp, 0xc
push 0x40
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x11c]
add ecx, 0x18
push ecx
call fcn.1000c520
add esp, 0xc
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0x110]
push edx
call fcn.1000c2de
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x128]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x114]
push eax
mov ecx, dword [ebp - 0x110]
push ecx
call fcn.1000c220
jmp 0x10007ad5
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x114], 0
je 0x10007b04
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x9c]
push ecx
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x110]
push eax
call dword [0x10013060]
mov ecx, dword [ebp - 0x110]
push ecx
call dword [0x100130c8]
cmp dword [ebp - 0x2c], 0xffffffff
je 0x10007b2f
mov edx, dword [ebp - 0x2c]
and edx, 1
test edx, edx
je 0x10007b2f
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [0x10013068]
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc