Function at 0x101e462
Capabilities:
Parse pe header
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [reloc.msvcrt.dll___p__commode]
xor eax, dword [ebp + 4]
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x28], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x2c]
push esi
xor esi, esi
mov dword [eax], esi
mov eax, dword [ebp + 8]
imul eax, eax, 0x5c
mov dword [ebp - 0x24], ecx
mov ecx, dword [reloc.msvcrt.dll___p__commode]
mov dword [ebp - 0xc], esi
cmp byte [eax + ecx], 0
push edi
mov dword [ebp - 8], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x2c], eax
je 0x101e4a8
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebx + 0x38]
xor edi, edi
jmp 0x101e1e3
mov eax, dword [eax]
inc edi
cmp eax, esi
jne 0x101e1e0
lea eax, [edi + edi*4]
lea eax, [eax*4 + 0x18]
push eax
push esi
push dword [0x1024f78]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
cmp ecx, esi
mov dword [ebp - 0x20], ecx
je 0x101e40c
mov eax, dword [ebx + 4]
cmp byte [eax + 8], 6
mov dword [ebp + 0x24], esi
jne 0x101e21f
mov dword [ebp + 0x24], 8
add dword [ebp + 0x24], reloc.msvcrt.dll___p__commode
mov dword [ecx], edi
mov eax, dword [ebx + 0x38]
add ecx, 4
test byte [eax + 0x18], 1
je 0x101e23b
mov dword [ebp - 0x14], 1
cmp edi, esi
je 0x101e24d
mov dword [ecx], esi
mov edx, dword [eax + 8]
mov dword [ecx + 4], edx
add ecx, 0x14
dec edi
jne 0x101e23f
mov eax, dword [ebp + 0x30]
cmp eax, esi
je 0x101e25c
mov ecx, dword [eax + 0xa8]
jmp 0x101e25e
xor ecx, ecx
cmp eax, esi
je 0x101e267
mov eax, dword [eax + 0x74]
jmp 0x101e269
xor eax, eax
push 0x100
lea edx, reloc.msvcrt.dll___p__commode
push edx
push 1
push ecx
push eax
call fcn.0101dcfe
test eax, eax
je 0x101e29f
lea eax, reloc.msvcrt.dll___p__commode
mov dword [ebp - reloc.msvcrt.dll___p__commode], 0xfa5
mov dword [ebp - reloc.msvcrt.dll___p__commode], 0x208
mov dword [ebp - 0x10], eax
push dword [ebp + 0x24]
push esi
push dword [0x1024f78]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
cmp ebx, esi
je 0x101e3ec
mov ecx, dword [ebp + 0x24]
mov edx, ecx
shr ecx, 2
push ebx
push dword [ebp + 0x14]
xor eax, eax
push dword [ebp + 0x10]
mov edi, ebx
push dword [ebp + 0xc]
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 0x40], esi
call fcn.0101df5a
test eax, eax
jne 0x101e3ec
cmp dword [ebp - 0x28], esi
push 0xc
lea edx, [ebx + 0x44]
pop eax
je 0x101e302
add dword [ebx + 0x40], eax
mov esi, dword [ebp - 0x28]
mov edi, edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add edx, eax
xor esi, esi
cmp dword [ebp - 0x18], esi
je 0x101e316
add dword [ebx + 0x40], eax
mov esi, dword [ebp - 0x18]
mov edi, edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add edx, eax
xor esi, esi
cmp dword [ebp - 0x24], esi
je 0x101e32a
add dword [ebx + 0x40], eax
mov esi, dword [ebp - 0x24]
mov edi, edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add edx, eax
xor esi, esi
cmp dword [ebp - 0x1c], esi
je 0x101e33e
add dword [ebx + 0x40], eax
mov esi, dword [ebp - 0x1c]
mov edi, edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add edx, eax
xor esi, esi
cmp dword [ebp - 0x10], esi
je 0x101e35e
add dword [ebx + 0x40], reloc.msvcrt.dll___p__commode
mov esi, dword [ebp - 0x10]
mov edi, edx
mov ecx, 0x82
rep movsd dword es:[edi], dword [esi]
add edx, 0x208
xor esi, esi
mov ecx, dword [ebx + 0x14]
cmp ecx, 0xd
je 0x101e381
mov eax, dword [ebx]
fild dword [ebx]
test eax, eax
jge 0x101e374
fadd qword [0x1001628]
fcomp qword [0x10027b8]
fnstsw ax
test ah, 5
jnp 0x101e3ec
mov edi, dword [ebp + 0x28]
cmp edi, esi
jne 0x101e42e
cmp ecx, 0xd
jne 0x101e39d
cmp dword [ebp - 0x14], esi
je 0x101e39d
mov dword [ebx + 0x14], 1
cmp dword [ebx + 0x14], 1
jne 0x101e3be
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 4]
cmp byte [eax + 8], 6
jne 0x101e3be
push 8
pop eax
add dword [ebx + 0x40], eax
mov dword [edx], reloc.msvcrt.dll___p__commode
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0xc]
push eax
mov eax, dword [reloc.msvcrt.dll___p__commode]
push ebx
push esi
push esi
push dword [ecx + eax + 0x24]
call dword [0x1024fd8]
cmp eax, esi
mov dword [ebp - 8], eax
je 0x101e47c
mov ecx, dword [ebp + 0x2c]
mov dword [ecx], eax
mov eax, dword [ebp + 0x34]
mov dword [eax], esi
push dword [ebp - 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push dword [0x1024f78]
call edi
cmp ebx, esi
je 0x101e40c
push ebx
push esi
push dword [0x1024f78]
call edi
push dword [ebp - 8]
call fcn.0101da53
push dword [ebp - 8]
mov ecx, eax
shl ecx, 8
call fcn.0101da35
or ecx, eax
mov dword [reloc.msvcrt.dll___p__commode], ecx
or eax, reloc.msvcrt.dll___p__commode
jmp 0x101e4aa
cmp ecx, 0xd
jne 0x101e43f
cmp dword [ebp - 0x14], esi
je 0x101e43f
mov dword [ebx + 0x14], 1
cmp dword [ebx + 0x14], 1
jne 0x101e460
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 4]
cmp byte [eax + 8], 6
jne 0x101e460
push 8
pop eax
add dword [ebx + 0x40], eax
mov dword [edx], reloc.msvcrt.dll___p__commode
mov dword [edx + 4], eax
push ebx
push edi
mov dword [ebp - 0xc], edi
call dword [0x1024fdc]
cmp eax, esi
mov dword [ebp - 8], eax
je 0x101e47c
mov ecx, dword [ebp + 0x2c]
mov dword [ecx], eax
jmp 0x101e3ec
push dword [ebp + 8]
call fcn.0101d81e
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x34]
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
mov dword [eax], ecx
push dword [0x1024f78]
call edi
push ebx
push esi
push dword [0x1024f78]
call edi
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop edi
pop esi
pop ebx
call fcn.0101ed84
leave
ret 0x30