Function at 0x38412c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x168
push ebx
push esi
mov esi, dword [0x55d3c4]
mov ebx, ecx
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 0x24], 0
mov dword [0x10d352c], 0
mov dword [ebp - 4], esi
call esi
movups xmm0, xmmword [ebx + 0x10]
sub eax, dword [0x10d3394]
mov ecx, 0x5a4d
add dword [0x10d352c], eax
mov eax, dword [ebx]
movups xmmword [ebp - 0x60], xmm0
movups xmm0, xmmword [ebx + 0x20]
movups xmmword [ebp - 0x50], xmm0
movups xmm0, xmmword [ebx + 0x30]
movups xmmword [ebp - 0x40], xmm0
cmp ax, cx
jne 0x3841707
mov dword [0x10d352c], 0
call esi
mov esi, dword [ebp - 0x34]
lea edi, [ebp - 0x168]
sub eax, dword [0x10d3394]
add esi, ebx
add dword [0x10d352c], eax
mov ecx, 0x3e
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x168], 0x4550
jne 0x3841707
mov esi, dword [ebp - 0x118]
mov edi, dword [0x55d3dc]
push 0x40
push 0x2000
push esi
push dword [ebp - 0x134]
mov dword [ebp - 0x28], esi
call edi
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x384139b
push 0x40
push 0x2000
push esi
push eax
call edi
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
je 0x3841707
mov dword [0x10d352c], 0
call dword [ebp - 4]
sub eax, dword [0x10d3394]
add dword [0x10d352c], eax
push 0x40
push 0x1000
push esi
push ebx
call edi
mov esi, dword [ebp - 0x114]
push 0x40
push 0x1000
push esi
push ebx
call edi
mov ecx, dword [ebp - 0x34]
mov edi, eax
add ecx, esi
push ecx
push dword [ebp - 8]
push edi
call fcn.039754b0
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov esi, dword [ebp - 4]
add eax, edi
mov dword [ebp - 0x10], eax
mov dword [0x10d352c], 0
mov dword [eax + 0x34], ebx
call esi
mov dword [0x10d352c], 0
call esi
sub eax, dword [0x10d3394]
xor esi, esi
mov ecx, dword [ebp - 0x10]
add dword [0x10d352c], eax
xor eax, eax
mov dword [ebp - 0xc], esi
lea edi, [ecx + 0xf8]
cmp ax, word [ecx + 6]
jae 0x38414e3
mov dword [0x10d352c], 0
call dword [ebp - 4]
cmp dword [edi + 0x10], 0
mov dword [0x10d352c], 0
jne 0x384148d
call dword [ebp - 4]
sub eax, dword [0x10d3394]
add dword [0x10d352c], eax
mov eax, dword [ebp - 0x130]
test eax, eax
jle 0x38414cd
push 0x40
push 0x1000
push eax
mov eax, dword [edi + 0xc]
add eax, ebx
push eax
call dword [0x55d3dc]
push dword [ebp - 0x130]
mov dword [edi + 8], eax
push 0
push eax
call fcn.03975110
jmp 0x38414ca
call dword [ebp - 4]
sub eax, dword [0x10d3394]
add dword [0x10d352c], eax
mov eax, dword [edi + 0xc]
push 0x40
push 0x1000
push dword [edi + 0x10]
add eax, ebx
push eax
call dword [0x55d3dc]
push dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
mov esi, eax
add ecx, dword [ebp - 8]
push ecx
push esi
call fcn.039754b0
mov dword [edi + 8], esi
mov esi, dword [ebp - 0xc]
add esp, 0xc
mov ecx, dword [ebp - 0x10]
inc esi
add edi, 0x28
mov dword [ebp - 0xc], esi
movzx eax, word [ecx + 6]
cmp esi, eax
jl 0x3841430
mov eax, dword [ebp + 8]
test eax, eax
cmove eax, ebx
sub eax, dword [ebp - 0x134]
mov dword [ebp + 8], eax
je 0x3841569
cmp dword [ecx + 0xa4], 0
jbe 0x3841569
mov edi, dword [ecx + 0xa0]
add edi, ebx
mov eax, dword [edi]
test eax, eax
je 0x3841569
nop dword [eax]
mov ecx, dword [edi + 4]
lea edx, [edi + 8]
add eax, ebx
xor esi, esi
mov dword [ebp - 0x18], eax
lea eax, [ecx - 8]
test eax, 0xfffffffe
jbe 0x3841560
mov ebx, dword [ebp + 8]
nop word [eax + eax]
movzx eax, word [edx]
mov ecx, eax
and ecx, 0xf000
cmp ecx, 0x3000
jne 0x384154d
and eax, 0xfff
add eax, dword [ebp - 0x18]
add dword [eax], ebx
mov ecx, dword [edi + 4]
inc esi
add edx, 2
lea eax, [ecx - 8]
shr eax, 1
cmp esi, eax
jb 0x3841530
mov ebx, dword [ebp - 0x14]
mov eax, dword [edi + ecx]
add edi, ecx
test eax, eax
jne 0x3841510
mov ecx, dword [ebp - 0x10]
mov edi, 1
mov eax, dword [0x55d3e0]
mov dword [ebp - 8], edi
mov dword [ebp - 0x18], eax
cmp dword [ecx + 0x84], 0
jbe 0x384164c
mov esi, dword [ecx + 0x80]
mov eax, dword [0x55d3c8]
add esi, ebx
push 0x14
push esi
mov dword [ebp - 0x30], eax
call eax
test eax, eax
jne 0x384164c
mov ecx, dword [0x55d3d4]
add esi, 0x10
mov eax, dword [0x55d3d0]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0xc], eax
nop dword [eax]
mov eax, dword [esi - 4]
test eax, eax
je 0x3841638
add eax, ebx
push eax
call ecx
mov edx, eax
mov dword [ebp - 0x2c], edx
cmp edx, 0xffffffff
je 0x384163c
mov ecx, dword [esi - 0x10]
test ecx, ecx
je 0x38415e1
mov eax, dword [esi]
jmp 0x38415e5
mov ecx, dword [esi]
mov eax, ecx
lea edi, [ebx + ecx]
lea esi, [ebx + eax]
mov eax, dword [edi]
test eax, eax
je 0x384161c
jns 0x38415f8
movzx eax, ax
jmp 0x38415fd
add eax, 2
add eax, ebx
push eax
push edx
call dword [ebp - 0xc]
mov dword [esi], eax
test eax, eax
je 0x38416d9
mov eax, dword [edi + 4]
add edi, 4
mov edx, dword [ebp - 0x2c]
add esi, 4
test eax, eax
jne 0x38415f1
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0x20]
add esi, 0x14
push 0x14
mov dword [ebp - 0x20], esi
lea eax, [esi - 0x10]
push eax
call dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
test eax, eax
je 0x38415c0
test edi, edi
jne 0x384164c
test ebx, ebx
je 0x384164c
push 0x4000
push dword [ebp - 0x28]
push ebx
call dword [ebp - 0x18]
mov esi, dword [ebp - 4]
mov dword [0x10d352c], 0
call esi
sub eax, dword [0x10d3394]
mov edi, dword [ebp - 0x10]
mov ecx, edi
add dword [0x10d352c], eax
call fcn.03841060
mov eax, dword [edi + 0x28]
test eax, eax
je 0x38416b2
add eax, ebx
mov dword [ebp - 0x1c], eax
je 0x38416b2
cmp eax, ebx
jbe 0x38416b2
mov dword [0x10d352c], 0
call esi
sub eax, dword [0x10d3394]
add dword [0x10d352c], eax
pushal
push 0
push 1
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
call eax
mov dword [ebp - 0x24], eax
popal
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 4]
mov dword [0x10d352c], 0
call esi
sub eax, dword [0x10d3394]
add dword [0x10d352c], eax
cmp dword [ebp - 0x24], 0
je 0x38416e3
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor edi, edi
mov dword [ebp - 8], edi
jmp 0x384161f
push 0x4000
push dword [ebp - 0x28]
push ebx
call dword [ebp - 0x18]
mov dword [0x10d352c], 0
call esi
sub eax, dword [0x10d3394]
add dword [0x10d352c], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret