Function at 0x1034b84
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1fc
mov eax, dword [0x10a49bc]
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xac], edx
mov edx, dword [ebp + 0x10]
xor ebx, ebx
cmp esi, ebx
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x94], 0xc00000e5
jne 0x1034bf8
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], 1
mov dword [ebp - 0x98], ebx
call fcn.0101d751
mov eax, dword [ebp - 0x94]
jmp 0x1035073
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov eax, dword [esi]
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x6c]
push ecx
push ebx
push ebx
push 0x40
pop edx
mov ecx, esi
mov dword [ebp - 0x70], ebx
call dword [eax]
cmp eax, ebx
jl 0x1035073
cmp dword [ebp - 0x70], 0x40
jne 0x1034c2e
cmp word [ebp - 0x6c], 0x5a4d
je 0x1034c44
mov esi, 0xc0000102
push esi
push 1
push ebx
push ebx
call fcn.0103d1ca
mov eax, esi
jmp 0x1035073
mov eax, dword [ebp - 0x30]
push edi
mov edi, dword [esi]
lea ecx, [ebp - 0x70]
push ecx
cdq
lea ecx, [ebp - 0x90]
push ecx
push edx
push eax
push 4
pop edx
mov ecx, esi
mov dword [ebp - 0x90], ebx
call dword [edi]
cmp eax, ebx
jl 0x1035072
cmp dword [ebp - 0x70], 4
je 0x1034c89
mov esi, 0xc0000102
push esi
push 1
push ebx
push ebx
call fcn.0103d1ca
mov eax, esi
jmp 0x1035072
cmp dword [ebp - 0x90], 0x4550
jne 0x1034c73
mov eax, dword [ebp - 0x30]
mov edi, dword [esi]
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0xfc]
push ecx
push ebx
add eax, 4
push eax
push 0x14
pop edx
mov ecx, esi
call dword [edi]
cmp eax, ebx
jl 0x1035072
cmp dword [ebp - 0x70], 0x14
jne 0x1034c73
mov eax, dword [ebp - 0x30]
mov ecx, dword [esi]
lea edi, [ebp - 0x70]
push edi
add eax, 0x18
cdq
lea edi, [ebp - 0x1fc]
push edi
push edx
push eax
mov eax, ecx
mov edi, pe_nt_image_headers32
mov edx, edi
mov ecx, esi
call dword [eax]
cmp eax, ebx
jl 0x1035072
cmp dword [ebp - 0x70], edi
jne 0x1034c73
cmp word [ebp - 0x1fc], 0x20b
sete byte [ebp - 0x7d]
cmp byte [ebp - 0x7d], bl
je 0x1034d38
mov eax, dword [ebp - 0x30]
mov ecx, dword [esi]
lea edi, [ebp - 0x74]
push edi
add eax, 0x18
cdq
lea edi, [ebp - 0x1fc]
push edi
push edx
push eax
mov eax, ecx
mov edi, 0xf0
mov edx, edi
mov ecx, esi
mov dword [ebp - 0x74], ebx
call dword [eax]
cmp eax, ebx
jl 0x1035072
cmp dword [ebp - 0x74], edi
jne 0x1034c73
cmp byte [ebp - 0x7d], bl
mov edi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x8c]
lea eax, [edi + 0x58]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
je 0x1034d63
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x178]
jmp 0x1034d75
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x188]
cmp eax, ebx
jbe 0x1034de9
cmp word [ebp - 0xfa], bx
movzx eax, word [ebp - 0xec]
lea eax, [eax + edi + 0x18]
cdq
mov edi, eax
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x74], ebx
jbe 0x1034de9
mov eax, dword [esi]
lea ecx, [ebp - 0x8c]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push dword [ebp - 0x78]
mov ecx, esi
push edi
push 0x28
pop edx
mov dword [ebp - 0x8c], ebx
call dword [eax]
cmp eax, ebx
jl 0x1035072
cmp dword [ebp - 0x8c], 0x28
jne 0x1034c73
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x84]
je 0x1034df3
movzx eax, word [ebp - 0xfa]
add edi, 0x28
adc dword [ebp - 0x78], ebx
inc dword [ebp - 0x74]
cmp dword [ebp - 0x74], eax
jb 0x1034d96
mov esi, 0xc0000089
jmp 0x1034c78
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0xc0]
push ecx
push ebx
push edi
sub eax, edi
push 0x10
mov dword [ebp - 0x8c], eax
mov eax, dword [esi]
pop edx
mov ecx, esi
mov dword [ebp - 0x78], ebx
call dword [eax]
cmp eax, ebx
jl 0x1035072
cmp dword [ebp - 0x70], 0x10
jne 0x1034c73
movzx eax, word [ebp - 0xb4]
lea eax, [eax*8 + 0x10]
add edi, eax
adc dword [ebp - 0x78], ebx
cmp word [ebp - 0xb2], bx
mov dword [ebp - 0x74], ebx
jbe 0x1034e9f
mov eax, dword [esi]
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x98]
push ecx
push dword [ebp - 0x78]
mov ecx, esi
push edi
push 8
pop edx
mov dword [ebp - 0x84], ebx
call dword [eax]
cmp eax, ebx
jl 0x1035072
cmp dword [ebp - 0x84], 8
jne 0x1034c73
mov eax, dword [ebp - 0x98]
cmp ax, 0x18
je 0x1034ea9
movzx eax, word [ebp - 0xb2]
add edi, 8
adc dword [ebp - 0x78], ebx
inc dword [ebp - 0x74]
cmp dword [ebp - 0x74], eax
jb 0x1034e48
mov esi, 0xc000008a
jmp 0x1034c78
mov ecx, dword [esi]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x70]
push edx
mov edi, SysReAllocString
and eax, edi
add eax, dword [ebp - 0x18]
lea edx, [ebp - 0xe0]
push edx
push ebx
push eax
push 0x10
mov dword [ebp - 0x7c], eax
mov eax, ecx
pop edx
mov ecx, esi
mov dword [ebp - 0x78], ebx
call dword [eax]
cmp eax, ebx
jl 0x1035072
cmp dword [ebp - 0x70], 0x10
jne 0x1034c73
movzx eax, word [ebp - 0xd4]
lea eax, [eax*8 + 0x10]
add dword [ebp - 0x7c], eax
mov dword [ebp - 0x74], ebx
adc dword [ebp - 0x78], ebx
cmp word [ebp - 0xd2], bx
jbe 0x1034f6e
mov eax, dword [esi]
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x98]
push ecx
push dword [ebp - 0x78]
mov ecx, esi
push dword [ebp - 0x7c]
mov dword [ebp - 0x84], ebx
push 8
pop edx
call dword [eax]
cmp eax, ebx
jl 0x1035072
cmp dword [ebp - 0x84], 8
jne 0x1034c73
mov eax, dword [ebp - 0x98]
movzx ecx, ax
cmp ecx, dword [ebp - 0xac]
je 0x1034f78
add dword [ebp - 0x7c], 8
movzx eax, word [ebp - 0xd2]
adc dword [ebp - 0x78], ebx
inc dword [ebp - 0x74]
cmp dword [ebp - 0x74], eax
jb 0x1034f0f
mov esi, 0xc000008b
jmp 0x1034c78
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x94]
and eax, edi
add eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0xd0]
push ecx
push ebx
mov edi, eax
mov eax, dword [esi]
push edi
push 0x10
pop edx
mov ecx, esi
mov dword [ebp - 0x78], ebx
call dword [eax]
cmp eax, ebx
jl 0x1035072
cmp dword [ebp - 0x70], 0x10
jne 0x1034c73
movzx eax, word [ebp - 0xc4]
lea eax, [eax*8 + 0x10]
add edi, eax
adc dword [ebp - 0x78], ebx
cmp word [ebp - 0xc2], bx
ja 0x1034fdc
mov esi, 0xc0000204
jmp 0x1034c78
cmp word [ebp - 0xc2], 1
je 0x1034ff0
mov esi, 0xc000000d
jmp 0x1034c78
mov eax, dword [esi]
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0xe8]
push ecx
push dword [ebp - 0x78]
mov ecx, esi
push edi
push 8
pop edx
mov dword [ebp - 0x70], ebx
call dword [eax]
cmp eax, ebx
jl 0x1035072
cmp dword [ebp - 0x70], 8
jne 0x1034c73
mov eax, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0x18]
mov edi, dword [esi]
add eax, ecx
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x10c]
push ecx
push ebx
push eax
push 0x10
pop edx
mov ecx, esi
call dword [edi]
cmp eax, ebx
jl 0x1035072
cmp dword [ebp - 0x70], 0x10
jne 0x1034c73
mov ecx, dword [ebp - 0x10c]
sub ecx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0xa8]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x108]
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0xa4]
mov dword [eax], ecx
mov dword [eax + 4], ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0103c667
leave
ret 0xc