Function at 0x747e49
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100582aa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x104
mov dword [ebp - 0x104], ecx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
cmp dword [ebp + 8], 0xffffffff
jne 0x747e90
push 6
call dword [0x100590e8]
xor eax, eax
jmp 0x748a48
push 0
mov eax, dword [ebp + 8]
push eax
call dword [0x1005907c]
mov ecx, dword [ebp - 0x104]
mov dword [ecx + 0x3e8], eax
mov edx, dword [ebp - 0x104]
cmp dword [edx + 0x3e8], 0xffffffff
jne 0x747ebe
xor eax, eax
jmp 0x748a48
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp + 8]
push eax
call dword [0x10059104]
mov ecx, dword [ebp - 0x104]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x104]
cmp dword [edx + 8], 0
jne 0x747eee
xor eax, eax
jmp 0x748a48
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 0x104]
mov ecx, dword [eax + 8]
push ecx
call dword [0x10059108]
mov edx, dword [ebp - 0x104]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x104]
cmp dword [eax + 0xc], 0
jne 0x747f22
xor eax, eax
jmp 0x748a48
mov ecx, dword [ebp - 0x104]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0x5a4d
je 0x747f50
push 0xc1
call dword [0x100590e8]
xor eax, eax
jmp 0x748a48
mov edx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x3c]
mov dword [edx + 0x3dc], ecx
mov edx, dword [ebp - 0x104]
mov dword [edx + 0x3d0], 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x3c]
push ecx
call fcn.007476a6
add esp, 4
mov edx, dword [ebp - 0x104]
mov dword [edx + 0x3d4], eax
push 0x40
mov eax, dword [ebp - 0x104]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x104]
add ecx, dword [edx + 0x3d0]
push ecx
mov eax, dword [ebp - 0x104]
add eax, 0x18
push eax
call fcn.0074be66
add esp, 0xc
push 0xf8
mov ecx, dword [ebp - 0x104]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 0x104]
add edx, dword [eax + 0x3dc]
push edx
mov ecx, dword [ebp - 0x104]
add ecx, 0x58
push ecx
call fcn.0074be66
add esp, 0xc
mov edx, dword [ebp - 0x104]
cmp dword [edx + 0x58], 0x4550
je 0x748005
push 0xbf
call dword [0x100590e8]
xor eax, eax
jmp 0x748a48
mov eax, dword [ebp - 0x104]
xor ecx, ecx
mov cx, word [eax + 0x6c]
test ecx, ecx
jne 0x748027
push 0xc0
call dword [0x100590e8]
xor eax, eax
jmp 0x748a48
mov edx, dword [ebp - 0x104]
mov eax, dword [edx + 0x3dc]
mov ecx, dword [ebp - 0x104]
xor edx, edx
mov dx, word [ecx + 0x6c]
lea eax, [eax + edx + 0x18]
mov ecx, dword [ebp - 0x104]
mov dword [ecx + 0x3e0], eax
mov edx, dword [ebp - 0x104]
xor eax, eax
mov ax, word [edx + 0x5e]
cmp eax, 0x10
jbe 0x748072
push 0xc0
call dword [0x100590e8]
xor eax, eax
jmp 0x748a48
mov ecx, dword [ebp - 0x104]
xor edx, edx
mov dx, word [ecx + 0x5e]
imul edx, edx, 0x28
push edx
mov eax, dword [ebp - 0x104]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x104]
add ecx, dword [edx + 0x3e0]
push ecx
mov eax, dword [ebp - 0x104]
add eax, 0x150
push eax
call fcn.0074be66
add esp, 0xc
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x3c], 0
jmp 0x7480d3
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x104]
xor eax, eax
mov ax, word [edx + 0x5e]
cmp dword [ebp - 0x3c], eax
jae 0x7481ad
push 0x10060be8
mov ecx, dword [ebp - 0x3c]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x104]
lea eax, [edx + ecx + 0x150]
push eax
call fcn.0074bf32
add esp, 8
test eax, eax
jne 0x7481a8
push 0x40
mov ecx, dword [ebp - 0x3c]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x104]
mov eax, dword [edx + 0xc]
mov edx, dword [ebp - 0x104]
add eax, dword [edx + ecx + 0x164]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0074be66
add esp, 0xc
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x50], 0
je 0x748179
mov edx, dword [ebp - 0x3c]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x104]
mov ecx, dword [eax + edx + 0x164]
add ecx, 0x40
mov edx, dword [ebp - 0x104]
mov dword [edx + 0x3d0], ecx
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 0x50]
mov dword [eax + 0x3d4], ecx
mov edx, dword [ebp - 0x3c]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x104]
mov ecx, dword [eax + edx + 0x15c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x3c]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + edx + 0x160]
mov dword [ebp - 0x10], ecx
jmp 0x7480ca
mov edx, dword [ebp - 0x104]
mov eax, dword [edx + 0xd8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x104]
call fcn.00747b84
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x104]
call fcn.00747b84
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x7481ec
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x14], 0
je 0x7481f8
cmp dword [ebp - 0x34], 0
jne 0x74820a
push 0xc0
call dword [0x100590e8]
xor eax, eax
jmp 0x748a48
mov dword [ebp - 0x2c], 0
jmp 0x74821c
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
imul edx, edx, 0x14
mov eax, dword [ebp - 0x14]
cmp dword [eax + edx], 0
je 0x74822d
jmp 0x748213
mov ecx, dword [ebp - 0x104]
add ecx, 0x400
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x104]
mov dword [edx + 0x400], 0
mov dword [ebp - 0x3c], 0
jmp 0x748267
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x14
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ebp - 0x2c]
jae 0x7487a2
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 0x88]
push edx
mov ecx, dword [ebp - 0x104]
call fcn.00747b84
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jne 0x7482aa
push 0xc0
call dword [0x100590e8]
jmp 0x748a46
push 0x24
call fcn.0074bed2
add esp, 4
mov dword [ebp - 0xf0], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0xf0], 0
je 0x7482dd
mov ecx, dword [ebp - 0xf0]
call fcn.00746efc
mov dword [ebp - 0x108], eax
jmp 0x7482e7
mov dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0xec], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0x90], ecx
cmp dword [ebp - 0x90], 0
jne 0x74831c
push 0xe
call dword [0x100590e8]
jmp 0x748a46
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x90]
mov dword [edx], eax
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x104]
mov eax, dword [edx + 0x404]
add eax, 1
mov ecx, dword [ebp - 0x104]
mov dword [ecx + 0x404], eax
mov edx, dword [ebp - 0x80]
push edx
call fcn.00748a79
add esp, 4
mov ecx, dword [ebp - 0x90]
mov dword [ecx + 0x20], eax
mov edx, dword [ebp - 0x90]
cmp dword [edx + 0x20], 0
jne 0x748371
jmp 0x748a46
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 0x90]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x90]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x90]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
cmp ecx, dword [ebp - 0x20]
jb 0x7483f9
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
cmp eax, dword [ebp - 0x10]
jae 0x7483f9
mov ecx, dword [ebp - 0x90]
mov dword [ecx + 0x1c], 0
mov edx, dword [ebp - 0x90]
mov dword [edx + 4], 1
jmp 0x748255
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 0x88]
push edx
mov ecx, dword [ebp - 0x104]
call fcn.00747b84
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jne 0x748430
push 0xc0
call dword [0x100590e8]
jmp 0x748a46
mov eax, dword [ebp - 0x80]
push eax
call fcn.00748a79
add esp, 4
mov ecx, dword [ebp - 0x90]
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp - 0x90]
cmp dword [edx + 0x1c], 0
jne 0x748456
jmp 0x748a46
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov dword [ebp - 0x84], ecx
mov edx, dword [ebp - 0x84]
push edx
mov ecx, dword [ebp - 0x104]
call fcn.00747b84
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
mov dword [ebp - 0x84], ecx
mov edx, dword [ebp - 0x84]
push edx
mov ecx, dword [ebp - 0x104]
call fcn.00747b84
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], 0
cmp dword [ebp - 0x8c], 0
je 0x7484d4
jmp 0x7484c0
mov eax, dword [ebp - 0x94]
add eax, 1
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
mov edx, dword [ebp - 0x8c]
cmp dword [edx + ecx*4], 0
je 0x7484d4
jmp 0x7484b1
cmp dword [ebp - 0x8c], 0
je 0x748794
cmp dword [ebp - 0x94], 0
je 0x748794
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x94]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x9c]
imul eax, eax, 0x14
add eax, 4
push eax
call fcn.0074bed2
add esp, 4
mov dword [ebp - 0xf8], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0xf8], 0
je 0x748575
push 0x1002b735
push 0x1002b6f7
mov ecx, dword [ebp - 0xf8]
mov edx, dword [ebp - 0x9c]
mov dword [ecx], edx
mov eax, dword [ebp - 0x9c]
push eax
push 0x14
mov ecx, dword [ebp - 0xf8]
add ecx, 4
push ecx
call fcn.0074c246
mov edx, dword [ebp - 0xf8]
add edx, 4
mov dword [ebp - 0x10c], edx
jmp 0x74857f
mov dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0xf4], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x90]
mov edx, dword [ebp - 0xf4]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x90]
cmp dword [eax + 8], 0
jne 0x7485ba
push 0xe
call dword [0x100590e8]
jmp 0x748a46
mov ecx, dword [ebp - 0x90]
mov edx, dword [ecx + 8]
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0xa0], 0
jmp 0x7485f3
mov eax, dword [ebp - 0xa0]
add eax, 1
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa4]
add ecx, 0x14
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xa0]
cmp edx, dword [ebp - 0x94]
jae 0x748794
mov eax, dword [ebp - 0xa4]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 0xa4]
mov word [edx], 0
mov eax, dword [ebp - 0xa4]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 0x88]
and edx, 0x80000000
test edx, edx
je 0x748694
mov eax, dword [ebp - 0x88]
and eax, 0xffff
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax + 4]
mov dword [edx + 8], ecx
jmp 0x74878f
mov edx, dword [ebp - 0x88]
push edx
mov ecx, dword [ebp - 0x104]
call fcn.00747b84
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
je 0x7486f3
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xa8]
mov dx, word [ecx]
mov word [eax], dx
mov eax, dword [ebp - 0xa8]
add eax, 2
push eax
call fcn.00748a79
add esp, 4
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0xa4]
cmp dword [edx + 0x10], 0
jne 0x7486f3
jmp 0x748a46
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x98]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x88]
and eax, 0x80000000
test eax, eax
je 0x748742
mov ecx, dword [ebp - 0x88]
and ecx, 0xffff
mov edx, dword [ebp - 0xa4]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x88]
and eax, 0xffff
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + 8], eax
jmp 0x74878f
mov edx, dword [ebp - 0x88]
push edx
mov ecx, dword [ebp - 0x104]
call fcn.00747b84
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
je 0x74878f
mov eax, dword [ebp - 0xa8]
add eax, 2
push eax
call fcn.00748a79
add esp, 4
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0xa4]
cmp dword [edx + 0xc], 0
jne 0x74878f
jmp 0x748a46
jmp 0x7485d5
mov eax, dword [ebp - 0x34]
add eax, 0x14
mov dword [ebp - 0x34], eax
jmp 0x748255
mov ecx, dword [ebp - 0x104]
mov dword [ecx + 0x3e4], 0
mov dword [ebp - 0x3c], 0
jmp 0x7487c4
mov edx, dword [ebp - 0x3c]
add edx, 1
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x104]
xor ecx, ecx
mov cx, word [eax + 0x5e]
cmp dword [ebp - 0x3c], ecx
jae 0x7489c4
mov edx, dword [ebp - 0x104]
mov eax, dword [edx + 0x3e4]
push eax
mov ecx, dword [ebp - 0x3c]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x3c]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x104]
mov ecx, dword [eax + ecx + 0x164]
mov eax, dword [ebp - 0x104]
add ecx, dword [eax + edx + 0x160]
push ecx
call fcn.00748a58
add esp, 8
mov ecx, dword [ebp - 0x104]
mov dword [ecx + 0x3e4], eax
push 0x10060bf0
mov edx, dword [ebp - 0x3c]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x104]
lea ecx, [eax + edx + 0x150]
push ecx
call fcn.0074bf32
add esp, 8
test eax, eax
jne 0x7489bf
push 0x40
mov edx, dword [ebp - 0x3c]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x104]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0x104]
add ecx, dword [eax + edx + 0x164]
push ecx
lea ecx, [ebp - 0xe8]
push ecx
call fcn.0074be66
add esp, 0xc
cmp dword [ebp - 0xe0], 0
jne 0x74888d
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0xe0], edx
mov eax, dword [ebp - 0xdc]
sub eax, dword [ebp - 0xe0]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x3c]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x104]
mov eax, dword [edx + 0xc]
mov edx, dword [ebp - 0x104]
add eax, dword [edx + ecx + 0x164]
add eax, dword [ebp - 0xe0]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x104]
mov ecx, dword [eax + 0x3e4]
push ecx
mov edx, dword [ebp - 0x3c]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x3c]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x104]
mov edx, dword [ecx + edx + 0x164]
mov ecx, dword [ebp - 0x104]
add edx, dword [ecx + eax + 0x160]
push edx
call fcn.00748a58
add esp, 8
mov edx, dword [ebp - 0x104]
mov dword [edx + 0x3e4], eax
mov eax, dword [ebp - 0x104]
mov cx, word [eax + 0x5e]
sub cx, 1
mov edx, dword [ebp - 0x104]
mov word [edx + 0x5e], cx
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 0xd8]
mov dword [eax + 0xd8], ecx
mov edx, dword [ebp - 0x104]
mov eax, dword [ebp - 0xd4]
mov dword [edx + 0xdc], eax
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0xd0]
mov dword [ecx + 0x128], edx
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 0xcc]
mov dword [eax + 0x12c], ecx
mov edx, dword [ebp - 0x104]
mov eax, dword [ebp - 0xc8]
mov dword [edx + 0x130], eax
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0xc4]
mov dword [ecx + 0x134], edx
mov eax, dword [ebp - 0x104]
mov dword [eax + 0xb0], 0
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0xc0]
mov dword [ecx + 0xa8], edx
mov eax, dword [ebp - 0x104]
mov dword [eax + 0x408], 1
jmp 0x7487bb
push 0xc
call fcn.0074bed2
add esp, 4
mov dword [ebp - 0x100], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x100], 0
je 0x7489ff
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0x100]
call fcn.007470de
mov dword [ebp - 0x110], eax
jmp 0x748a09
mov dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0xfc]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x104]
cmp dword [eax + 4], 0
jne 0x748a3f
push 0xe
call dword [0x100590e8]
mov eax, 1
jmp 0x748a48
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4