Function at 0x1000de60
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x120
test eax, eax
push ebx
push ebp
push esi
push edi
je 0x1000e196
cmp eax, 0xffff
mov dword [esp + 0x10], 0xffff
jae 0x1000de8b
mov dword [esp + 0x10], eax
jmp 0x1000deb6
cmp byte [eax], 0x23
jne 0x1000deb6
inc eax
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
cmp eax, 0xffff
jae 0x1000deb6
test eax, eax
je 0x1000deb6
mov dword [esp + 0x10], eax
and eax, 0xffff
mov dword [esp + 0x138], eax
mov ebx, dword [esp + 0x134]
test ebx, ebx
je 0x1000e196
cmp word [ebx], 0x5a4d
jne 0x1000e196
mov ebp, dword [ebx + 0x3c]
add ebp, ebx
mov dword [esp + 0x1c], ebp
cmp dword [ebp], 0x4550
jne 0x1000e196
mov ecx, dword [esp + 0x13c]
lea eax, [esp + 0x14]
push eax
push 0
push ecx
push ebx
mov dword [esp + 0x24], 0
call fcn.1000e460
mov edx, eax
test edx, edx
mov dword [esp + 0x18], edx
je 0x1000e196
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x1000e196
mov eax, dword [edx + 0x14]
test eax, eax
je 0x1000e196
cmp ecx, 0x28
ja 0x1000df4a
mov ecx, dword [edx + 0x18]
cmp eax, ecx
ja 0x1000df36
mov eax, ecx
mov edi, dword [edx + 0x24]
mov ecx, eax
shl ecx, 8
sub ecx, eax
add ecx, edi
sub ecx, edx
add ecx, ebx
mov dword [esp + 0x14], ecx
mov cl, byte [esp + 0x13c]
mov eax, dword [edx + 0x20]
mov esi, dword [edx + 0x1c]
mov edi, dword [edx + 0x24]
test cl, cl
je 0x1000df6c
add esi, ebx
lea ebp, [eax + ebx]
mov dword [esp + 0x24], esi
lea eax, [edi + ebx]
jmp 0x1000df92
push eax
push ebx
push ebp
call fcn.1000e570
push esi
mov esi, dword [esp + 0x20]
push ebx
push esi
mov ebp, eax
call fcn.1000e570
push edi
push ebx
push esi
mov dword [esp + 0x30], eax
call fcn.1000e570
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x14]
mov dword [esp + 0x2c], 0
test ecx, ecx
jbe 0x1000e196
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], eax
mov bx, word [eax]
mov edx, dword [esp + 0x24]
and ebx, 0xffff
mov edi, dword [edx + ebx*4]
test edi, edi
je 0x1000e168
mov al, byte [esp + 0x13c]
test al, al
je 0x1000dfe1
mov eax, dword [esp + 0x134]
mov esi, dword [ebp]
add esi, eax
lea ebp, [edi + eax]
jmp 0x1000e00f
mov eax, dword [ebp]
mov ecx, dword [esp + 0x134]
mov ebp, dword [esp + 0x1c]
push eax
push ecx
push ebp
call fcn.1000e570
push edi
mov esi, eax
mov edx, dword [esp + 0x138]
push edx
push ebp
call fcn.1000e570
mov ebp, eax
jmp 0x1000e117
mov eax, dword [esp + 0x18]
cmp ebp, eax
jbe 0x1000e117
mov ecx, dword [esp + 0x14]
add eax, ecx
cmp ebp, eax
jae 0x1000e117
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, ecx
inc eax
cmp eax, 0x100
jae 0x1000e168
mov ecx, eax
mov esi, ebp
mov edx, ecx
lea edi, [esp + 0x30]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
test eax, eax
jbe 0x1000e168
cmp byte [esp + ecx + 0x30], 0x2e
je 0x1000e074
inc ecx
cmp ecx, eax
jb 0x1000e063
jmp 0x1000e168
lea edi, [ecx + ebp + 1]
mov byte [esp + ecx + 0x30], 0
test edi, edi
je 0x1000e168
cmp byte [edi], 0x23
jne 0x1000e0d7
lea eax, [edi + 1]
test eax, eax
je 0x1000e168
mov edi, dword [esp + 0x10]
cmp di, 0xffff
jae 0x1000e168
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov esi, eax
add esp, 4
cmp esi, 0xffff
ja 0x1000e168
test esi, esi
je 0x1000e168
and edi, 0xffff
cmp esi, edi
je 0x1000e1cc
jmp 0x1000e168
mov eax, dword [esp + 0x138]
mov esi, edi
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x1000e108
test cl, cl
je 0x1000e104
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x1000e108
add eax, 2
add esi, 2
test cl, cl
jne 0x1000e0e0
xor eax, eax
jmp 0x1000e10d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000e1a5
jmp 0x1000e168
mov eax, dword [esp + 0x138]
cmp eax, 0xffff
jbe 0x1000e156
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x1000e149
test cl, cl
je 0x1000e145
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x1000e149
add eax, 2
add esi, 2
test cl, cl
jne 0x1000e125
xor eax, eax
jmp 0x1000e14e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000e1f9
mov eax, dword [esp + 0x10]
inc ebx
and eax, 0xffff
cmp ebx, eax
je 0x1000e1f9
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x28]
mov esi, dword [edx + 0x14]
inc ecx
add eax, 2
add ebp, 4
cmp ecx, esi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ebp
jb 0x1000dfad
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x120
ret 0xc
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [esp + 0x13c]
push ecx
push edi
push eax
call fcn.1000de60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x120
ret 0xc
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
and esi, 0xffff
mov ecx, dword [esp + 0x13c]
push ecx
push esi
push eax
call fcn.1000de60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x120
ret 0xc
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x120
ret 0xc