Function at 0x10345c7
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1fc
mov eax, dword [0x10a09bc]
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 0x103463b
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], 1
mov dword [ebp - 0x98], ebx
call fcn.0101cd64
mov eax, dword [ebp - 0x94]
jmp 0x1034ab6
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 0x1034ab6
cmp dword [ebp - 0x70], 0x40
jne 0x1034671
cmp word [ebp - 0x6c], 0x5a4d
je 0x1034687
mov esi, 0xc0000102
push esi
push 1
push ebx
push ebx
call fcn.0103cbc6
mov eax, esi
jmp 0x1034ab6
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 0x1034ab5
cmp dword [ebp - 0x70], 4
je 0x10346cc
mov esi, 0xc0000102
push esi
push 1
push ebx
push ebx
call fcn.0103cbc6
mov eax, esi
jmp 0x1034ab5
cmp dword [ebp - 0x90], 0x4550
jne 0x10346b6
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 0x1034ab5
cmp dword [ebp - 0x70], 0x14
jne 0x10346b6
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, 0xe0
mov edx, edi
mov ecx, esi
call dword [eax]
cmp eax, ebx
jl 0x1034ab5
cmp dword [ebp - 0x70], edi
jne 0x10346b6
cmp word [ebp - 0x1fc], 0x20b
sete byte [ebp - 0x7d]
cmp byte [ebp - 0x7d], bl
je 0x103477b
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 0x1034ab5
cmp dword [ebp - 0x74], edi
jne 0x10346b6
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 0x10347a6
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x178]
jmp 0x10347b8
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x188]
cmp eax, ebx
jbe 0x103482c
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 0x103482c
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 0x1034ab5
cmp dword [ebp - 0x8c], 0x28
jne 0x10346b6
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x84]
je 0x1034836
movzx eax, word [ebp - 0xfa]
add edi, 0x28
adc dword [ebp - 0x78], ebx
inc dword [ebp - 0x74]
cmp dword [ebp - 0x74], eax
jb 0x10347d9
mov esi, 0xc0000089
jmp 0x10346bb
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 0x1034ab5
cmp dword [ebp - 0x70], 0x10
jne 0x10346b6
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 0x10348e2
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 0x1034ab5
cmp dword [ebp - 0x84], 8
jne 0x10346b6
mov eax, dword [ebp - 0x98]
cmp ax, 0x18
je 0x10348ec
movzx eax, word [ebp - 0xb2]
add edi, 8
adc dword [ebp - 0x78], ebx
inc dword [ebp - 0x74]
cmp dword [ebp - 0x74], eax
jb 0x103488b
mov esi, 0xc000008a
jmp 0x10346bb
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 0x1034ab5
cmp dword [ebp - 0x70], 0x10
jne 0x10346b6
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 0x10349b1
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 0x1034ab5
cmp dword [ebp - 0x84], 8
jne 0x10346b6
mov eax, dword [ebp - 0x98]
movzx ecx, ax
cmp ecx, dword [ebp - 0xac]
je 0x10349bb
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 0x1034952
mov esi, 0xc000008b
jmp 0x10346bb
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 0x1034ab5
cmp dword [ebp - 0x70], 0x10
jne 0x10346b6
movzx eax, word [ebp - 0xc4]
lea eax, [eax*8 + 0x10]
add edi, eax
adc dword [ebp - 0x78], ebx
cmp word [ebp - 0xc2], bx
ja 0x1034a1f
mov esi, 0xc0000204
jmp 0x10346bb
cmp word [ebp - 0xc2], 1
je 0x1034a33
mov esi, 0xc000000d
jmp 0x10346bb
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 0x1034ab5
cmp dword [ebp - 0x70], 8
jne 0x10346b6
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 0x1034ab5
cmp dword [ebp - 0x70], 0x10
jne 0x10346b6
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.0103c07d
leave
ret 0xc