Function at 0xc31360
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xc90dad
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0xca80c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x34], edi
xorps xmm0, xmm0
mov dword [ebp - 0x34], edi
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edx
mov dword [ebp - 4], 0
call dword [0xc93180]
mov esi, eax
mov dword [ebp - 0x34], esi
cmp esi, 0xffffffff
je 0xc313f1
push 0
push 0
push 0
push 2
push 0
push esi
call dword [0xc93194]
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0xc31453
push esi
call dword [0xc93198]
mov ecx, dword [ebp - 0x14]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
cmp ecx, 0xf
jbe 0xc31688
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0xc31444
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xc316a5
push ecx
push edx
call fcn.00c6a836
add esp, 8
jmp 0xc31688
push 0
push 0
push 0
push 4
push eax
call dword [0xc93190]
mov dword [ebp - 0x38], eax
test eax, eax
jne 0xc314cf
push esi
mov esi, dword [0xc93198]
call esi
push dword [ebp - 0x3c]
call esi
mov ecx, dword [ebp - 0x14]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
cmp ecx, 0xf
jbe 0xc31688
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0xc31444
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xc316a5
jmp 0xc31444
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0xc3164c
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
jne 0xc3164c
mov edx, dword [ecx + eax + 0x98]
mov ecx, dword [ecx + eax + 0x9c]
mov dword [ebp - 0x44], edx
test edx, edx
je 0xc3164c
test ecx, ecx
je 0xc3164c
lea esi, [edx + eax]
mov edx, 0x200
mov dword [ebp - 0x40], esi
cmp word [esi + 4], dx
jne 0xc3164c
cmp word [esi + 6], 2
jne 0xc3164c
mov edx, dword [esi]
cmp edx, ecx
jae 0xc3164c
mov esi, dword [ebp - 0x18]
sub ecx, edx
mov dword [ebp - 0x2c], ecx
cmp ecx, esi
ja 0xc31558
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmova eax, dword [ebp - 0x28]
mov byte [eax + ecx], 0
jmp 0xc3159c
mov eax, dword [ebp - 0x14]
mov edx, ecx
sub edx, esi
sub eax, esi
mov dword [ebp - 0x30], edx
cmp edx, eax
ja 0xc3158d
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push edx
cmova eax, dword [ebp - 0x28]
add esi, eax
mov dword [ebp - 0x18], ecx
push 0
push esi
call fcn.00c6bf20
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov byte [eax + esi], 0
jmp 0xc3159c
push 0
push edx
push dword [ebp - 0x34]
lea ecx, [ebp - 0x28]
push edx
call fcn.00c31ad0
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0xf
push dword [ebp - 0x2c]
cmova ecx, dword [ebp - 0x28]
mov eax, dword [eax]
add eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x38]
push eax
push ecx
call fcn.00c6c080
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
add esp, 0xc
mov dword [ebp - 0x30], ecx
cmp esi, 0xf
cmova eax, dword [ebp - 0x28]
add eax, ecx
cmp esi, 0xf
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
add eax, ecx
cmp esi, 0xf
cmova edx, dword [ebp - 0x28]
cmp eax, edx
je 0xc315fc
cmp byte [eax - 1], 0
jne 0xc315fc
dec eax
cmp eax, edx
jne 0xc315f1
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
cmp esi, 0xf
mov esi, eax
cmova ecx, dword [ebp - 0x28]
sub edx, eax
sub esi, ecx
mov ecx, dword [ebp - 0x30]
mov eax, ecx
sub eax, esi
cmp eax, edx
cmovb edx, eax
cmp dword [ebp - 0x14], 0xf
mov dword [ebp - 0x2c], edx
lea edx, [ebp - 0x28]
cmova edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
add edx, esi
sub ecx, eax
add eax, edx
mov dword [ebp - 0x30], ecx
sub ecx, esi
inc ecx
push ecx
push eax
push edx
call fcn.00c6c080
mov ecx, dword [ebp - 0x30]
add esp, 0xc
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], ecx
push eax
call dword [0xc9319c]
push dword [ebp - 0x3c]
mov esi, dword [0xc93198]
call esi
push dword [ebp - 0x34]
call esi
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
movups xmm0, xmmword [ebp - 0x28]
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [edi + 0x10], xmm0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00c6a7f3
mov esp, ebp
pop ebp
ret
call fcn.00c6fb2f
int3