Function at 0x74003a5b
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x7404aef4]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x208], 0
lea eax, [ebp - 0xfc]
push ebx
push esi
push edi
mov ebx, pe_nt_image_headers32
mov edi, ecx
push ebx
push 0
push eax
mov dword [ebp - 0x204], edi
call sub.msvcrt.dll_memset
push ebx
lea esi, [ebx + 4]
xor ebx, ebx
lea eax, [ebp - 0x1f8]
mov dword [ebp - 0x100], esi
push ebx
push eax
call sub.msvcrt.dll_memset
mov eax, dword [edi]
add esp, 0x18
mov dword [ebp - 0x1fc], esi
mov esi, dword [eax + 0x58]
lea eax, [ebp - 0x1fc]
push eax
lea eax, [ebp - 0x100]
mov ecx, esi
push eax
call dword [0x74051130]
mov ecx, edi
call esi
test eax, eax
js 0x740045c1
xor esi, esi
inc esi
cmp dword [edi + 4], 2
jae 0x74003b10
test byte [edi + 0xf1c], 8
jne 0x74003b0a
mov edx, 0x74002658
mov ecx, ebx
mov eax, dword [edi + ecx*4 + 0xfa4]
cmp eax, dword [edx + ecx*4]
jne 0x74003b10
inc ecx
cmp ecx, 4
jne 0x74003af8
mov dword [ebp - 0x208], esi
push 0x400
push 0xff
push dword [edi + 0x15d0]
call sub.msvcrt.dll_memset
mov eax, dword [edi + 0x15d0]
add esp, 0xc
mov dword [eax + 0x34], ebx
mov eax, dword [edi + 0x15d0]
push 0
push esi
mov dword [eax + 0xe8], ebx
mov eax, dword [edi + 0x15d0]
mov dword [eax + 0xec], ebx
mov eax, dword [edi + 0x15d0]
mov dword [eax + 0x34], ebx
lea ebx, [edi + 8]
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 2
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov esi, dword [ebx]
push 1
push 3
push ebx
mov ecx, dword [esi + 0x5c]
call dword [0x74051130]
call dword [esi + 0x5c]
cmp dword [edi + 4], 2
lea esi, [edi + 8]
mov eax, dword [esi]
mov eax, dword [eax + 0x5c]
mov ecx, eax
mov dword [ebp - 0x200], eax
ja 0x74003bba
push 0
push 4
push ebx
call dword [0x74051130]
call dword [ebp - 0x200]
push 1
jmp 0x74003bcd
push 1
push 4
push ebx
call dword [0x74051130]
call dword [ebp - 0x200]
push 0
mov eax, dword [esi]
push 0x1d
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov esi, dword [ebx]
push 0
push 5
push ebx
mov ecx, dword [esi + 0x5c]
call dword [0x74051130]
call dword [esi + 0x5c]
mov esi, dword [ebx]
push 0
push 6
push ebx
mov ecx, dword [esi + 0x5c]
call dword [0x74051130]
call dword [esi + 0x5c]
push dword [ebp + 8]
mov esi, dword [ebx]
push 7
push ebx
mov ecx, dword [esi + 0x5c]
call dword [0x74051130]
call dword [esi + 0x5c]
mov esi, dword [ebx]
push 3
push 8
push ebx
mov ecx, dword [esi + 0x5c]
call dword [0x74051130]
call dword [esi + 0x5c]
mov esi, dword [ebx]
push 2
push 9
push ebx
mov ecx, dword [esi + 0x5c]
call dword [0x74051130]
call dword [esi + 0x5c]
mov esi, dword [ebx]
xor eax, eax
push eax
push 0xa
push ebx
mov ecx, dword [esi + 0x5c]
mov dword [ebp - 0x200], eax
call dword [0x74051130]
call dword [esi + 0x5c]
mov esi, dword [ebx]
push 0xd
push 0xc
push ebx
mov ecx, dword [esi + 0x5c]
call dword [0x74051130]
call dword [esi + 0x5c]
mov esi, dword [ebx]
push 0xffffffffffffffff
push 0xd
push ebx
mov ecx, dword [esi + 0x5c]
call dword [0x74051130]
call dword [esi + 0x5c]
mov esi, dword [ebx]
push 1
push 0xe
push ebx
mov ecx, dword [esi + 0x5c]
call dword [0x74051130]
call dword [esi + 0x5c]
mov esi, dword [ebx]
push 0
push 0xf
push ebx
mov ecx, dword [esi + 0x5c]
call dword [0x74051130]
call dword [esi + 0x5c]
mov esi, dword [ebx]
push 1
mov ecx, dword [esi + 0x5c]
push 0x10
push ebx
call dword [0x74051130]
call dword [esi + 0x5c]
mov esi, dword [ebx]
push 2
push 0x13
push ebx
mov ecx, dword [esi + 0x5c]
call dword [0x74051130]
call dword [esi + 0x5c]
mov esi, dword [ebx]
push 1
push 0x14
push ebx
mov ecx, dword [esi + 0x5c]
call dword [0x74051130]
call dword [esi + 0x5c]
mov esi, dword [ebx]
push 3
push 0x16
push ebx
mov ecx, dword [esi + 0x5c]
call dword [0x74051130]
call dword [esi + 0x5c]
mov esi, dword [ebx]
push 4
push 0x17
push ebx
mov ecx, dword [esi + 0x5c]
call dword [0x74051130]
call dword [esi + 0x5c]
mov eax, dword [ebx]
push 0
push 0x18
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 8
push 0x19
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x1a
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov esi, dword [ebx]
push 0
push 0x1b
push ebx
mov ecx, dword [esi + 0x5c]
call dword [0x74051130]
call dword [esi + 0x5c]
mov eax, dword [ebx]
push 0
push 0x1c
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x1e
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
mov esi, dword [eax + 0x5c]
mov ecx, esi
push 0
push 0x1f
push ebx
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x20
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x21
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x22
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x23
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
fldz
mov eax, dword [ebx]
fstp dword [ebp - 0x200]
push dword [ebp - 0x200]
mov esi, dword [eax + 0x5c]
mov ecx, esi
push 0x24
push ebx
call dword [0x74051130]
call esi
fld1
mov esi, dword [ebx]
fstp dword [ebp - 0x200]
push dword [ebp - 0x200]
mov ecx, dword [esi + 0x5c]
push 0x25
push ebx
call dword [0x74051130]
call dword [esi + 0x5c]
mov eax, dword [ebx]
push dword [ebp - 0x200]
push 0x26
mov esi, dword [eax + 0x5c]
mov ecx, esi
push ebx
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x27
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x28
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push dword [ebp - 0x208]
push 0x29
mov esi, dword [eax + 0x5c]
mov ecx, esi
push ebx
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x1b
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x2b
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 1
push 0x2c
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 1
push 0x2d
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x2e
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x2f
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x30
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 1
push 0x31
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x40
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x41
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x42
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x43
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x44
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x45
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x46
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x47
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x48
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x49
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x4a
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
mov esi, dword [eax + 0x5c]
mov ecx, esi
push 0
push 0x4b
push ebx
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x4c
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x4d
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x4e
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x4f
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x50
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x51
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x52
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x53
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x54
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
mov esi, dword [eax + 0x5c]
mov ecx, esi
push 0x55
push ebx
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x56
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x57
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x58
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x59
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x5a
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x5b
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x5c
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x5d
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x5e
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x5f
mov esi, dword [eax + 0x5c]
mov ecx, esi
push ebx
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x34
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 1
push 0x35
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 1
push 0x36
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 1
push 0x37
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 8
push 0x38
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0
push 0x39
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0xffffffffffffffff
push 0x3a
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0xffffffffffffffff
push 0x3b
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [ebx]
push 0xffffffffffffffff
push 0x3c
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
test byte [ebp - 0xfc], 1
je 0x74004268
test byte [ebp - 0xf8], 2
lea ecx, [edi + 8]
mov eax, dword [ecx]
mov esi, dword [eax + 0x5c]
je 0x7400427e
push 0
jmp 0x74004280
test byte [ebp - 0x1f8], 1
je 0x740045bc
test byte [ebp - 0x1f4], 2
jmp 0x7400425a
push 1
push 0xb
push ecx
mov ecx, esi
call dword [0x74051130]
call esi
xor edi, edi
mov esi, dword [ebx]
lea eax, [edi + 0x80]
push 0
push eax
push ebx
mov ecx, dword [esi + 0x5c]
call dword [0x74051130]
call dword [esi + 0x5c]
inc edi
cmp edi, 8
jb 0x7400428f
mov edi, dword [ebp - 0x204]
push 8
pop ecx
lea eax, [edi + 0x1528]
and dword [eax - 0x20], 0
and dword [eax], 0
lea eax, [eax + 4]
sub ecx, 1
jne 0x740042bc
mov eax, dword [ebx]
push 1
push 8
push ebx
mov esi, dword [eax + 0x64]
mov ecx, esi
call dword [0x74051130]
call esi
push 0x800
lea eax, [edi + 0x15d4]
push 0xff
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
xor ebx, ebx
add edi, 0xc
mov eax, dword [edi]
push 0
push ebx
push edi
mov esi, dword [eax + 0x98]
mov ecx, esi
call dword [0x74051130]
call esi
mov ecx, dword [ebp - 0x204]
mov eax, dword [ecx + 0xc]
mov esi, dword [eax + 0xa0]
mov ecx, esi
test ebx, ebx
jne 0x7400432f
push 4
push 1
push ebx
jmp 0x74004334
push 1
push 1
push ebx
push edi
call dword [0x74051130]
call esi
mov esi, dword [edi]
push 2
push 2
push ebx
mov esi, dword [esi + 0xa0]
mov ecx, esi
push edi
call dword [0x74051130]
call esi
mov esi, dword [edi]
push 1
push 3
push ebx
mov esi, dword [esi + 0xa0]
mov ecx, esi
push edi
call dword [0x74051130]
call esi
mov ecx, dword [ebp - 0x204]
mov eax, dword [ecx + 0xc]
mov esi, dword [eax + 0xa0]
mov ecx, esi
test ebx, ebx
jne 0x74004389
push 2
push 4
push ebx
jmp 0x7400438e
push 1
push 4
push ebx
push edi
call dword [0x74051130]
call esi
mov esi, dword [edi]
push 2
push 5
push ebx
mov esi, dword [esi + 0xa0]
mov ecx, esi
push edi
call dword [0x74051130]
call esi
mov esi, dword [edi]
push 1
push 6
push ebx
mov esi, dword [esi + 0xa0]
mov ecx, esi
push edi
call dword [0x74051130]
call esi
mov esi, dword [edi]
push 0
push 7
push ebx
mov esi, dword [esi + 0xa0]
mov ecx, esi
push edi
call dword [0x74051130]
call esi
mov esi, dword [edi]
push 0
push 8
push ebx
mov esi, dword [esi + 0xa0]
mov ecx, esi
push edi
call dword [0x74051130]
call esi
mov esi, dword [edi]
push 0
push 9
push ebx
mov esi, dword [esi + 0xa0]
mov ecx, esi
push edi
call dword [0x74051130]
call esi
mov esi, dword [edi]
push 0
push 0xa
push ebx
mov esi, dword [esi + 0xa0]
mov ecx, esi
push edi
call dword [0x74051130]
call esi
mov esi, dword [edi]
push 0
push 0xb
push ebx
mov esi, dword [esi + 0xa0]
mov ecx, esi
push edi
call dword [0x74051130]
call esi
mov esi, dword [edi]
push 1
push 0xc
push ebx
mov esi, dword [esi + 0xa0]
mov ecx, esi
push edi
call dword [0x74051130]
call esi
mov esi, dword [edi]
push 1
push 0xd
push ebx
mov esi, dword [esi + 0xa0]
push edi
mov ecx, esi
call dword [0x74051130]
call esi
mov esi, dword [edi]
push 1
push 0xe
push ebx
mov esi, dword [esi + 0xa0]
mov ecx, esi
push edi
call dword [0x74051130]
call esi
mov esi, dword [edi]
push 0
push 0xf
push ebx
mov esi, dword [esi + 0xa0]
mov ecx, esi
push edi
call dword [0x74051130]
call esi
mov esi, dword [edi]
push 1
push 0x10
push ebx
mov esi, dword [esi + 0xa0]
mov ecx, esi
push edi
call dword [0x74051130]
call esi
mov esi, dword [edi]
push 1
push 0x11
push ebx
mov esi, dword [esi + 0xa0]
mov ecx, esi
push edi
call dword [0x74051130]
call esi
mov esi, dword [edi]
push 1
push 0x12
push ebx
mov esi, dword [esi + 0xa0]
mov ecx, esi
push edi
call dword [0x74051130]
call esi
mov esi, dword [edi]
push 0
push 0x13
push ebx
mov esi, dword [esi + 0xa0]
mov ecx, esi
push edi
call dword [0x74051130]
call esi
mov esi, dword [edi]
push 0
push 0x14
push ebx
mov esi, dword [esi + 0xa0]
mov ecx, esi
push edi
call dword [0x74051130]
call esi
mov esi, dword [edi]
push 1
push 0x15
push ebx
mov esi, dword [esi + 0xa0]
mov ecx, esi
push edi
call dword [0x74051130]
call esi
mov esi, dword [edi]
push 0
push 0x16
push ebx
mov esi, dword [esi + 0xa0]
push edi
mov ecx, esi
call dword [0x74051130]
call esi
mov esi, dword [edi]
push 0
push 0x17
push ebx
mov esi, dword [esi + 0xa0]
mov ecx, esi
push edi
call dword [0x74051130]
call esi
inc ebx
cmp ebx, 8
jb 0x740042fd
mov ebx, dword [ebp - 0x204]
push 1
push 0x11
lea edi, [ebx + 8]
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [edi]
push 1
push 0x12
push edi
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
mov eax, dword [edi]
push 2
push 0x15
push edi
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x74051130]
call esi
and dword [ebx + 0xf1c], 0xfeffffff
xor eax, eax
jmp 0x740045c1
mov eax, 0x80004005
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.740409a0
leave
ret 4