Function at 0x10001cd0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x1019bfec]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 4]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 0x14]
push ebx
push esi
mov dword [esp + 0x1c], eax
xor esi, esi
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], esi
push edi
mov edi, dword [ecx]
mov dword [esp + 0x18], edi
cmp edx, 0x40
jbe 0x100020b7
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x100020b7
mov ecx, dword [edi + 0x3c]
lea eax, [ecx + 0xf8]
cmp edx, eax
jb 0x100020b7
add ecx, edi
mov dword [esp + 0x10], ecx
cmp dword [ecx], 0x4550
jne 0x100020b7
mov ax, word [ecx + 0x16]
mov edx, 0x2002
and ax, dx
cmp ax, dx
jne 0x100020b7
mov eax, 0xe0
cmp word [ecx + 0x14], ax
jne 0x100020b7
movzx ebx, word [ecx + 6]
xor edx, edx
mov dword [esp + 0x3c], ebx
test ebx, ebx
jle 0x10001db1
add ecx, 0x108
mov eax, dword [ecx + 4]
add eax, dword [ecx]
cmp eax, dword [esp + 0x14]
ja 0x100020b7
inc edx
add ecx, 0x28
cmp edx, ebx
jl 0x10001d96
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
xor edx, edx
mov ecx, dword [ecx + 0x38]
mov dword [esp + 0x14], ecx
mov eax, dword [eax + 0x54]
dec eax
add eax, ecx
div ecx
mov ebx, eax
imul ebx, ecx
cmp dword [esp + 0x3c], esi
jle 0x10001e17
mov edx, dword [esp + 0x10]
mov esi, ecx
mov edi, dword [esp + 0x3c]
add edx, 0x108
mov dword [esp + 0x38], edx
mov ecx, dword [edx - 8]
lea eax, [esi - 1]
cmp dword [edx], ecx
cmovg ecx, dword [edx]
add ecx, dword [edx - 4]
xor edx, edx
add eax, ecx
div esi
mov edx, dword [esp + 0x38]
imul eax, esi
cmp ebx, eax
cmovl ebx, eax
add edx, 0x28
mov dword [esp + 0x38], edx
sub edi, 1
jne 0x10001de5
mov edi, dword [esp + 0x18]
xor esi, esi
test ebx, ebx
je 0x100020b7
push 0x40
push 0x1000
lea eax, [esp + 0x48]
mov dword [esp + 0x48], ebx
push eax
push 0
lea eax, [esp + 0x44]
push eax
push 0xffffffffffffffff
call dword [esp + 0x34]
mov esi, dword [esp + 0x34]
test esi, esi
je 0x100020b7
mov edx, dword [esp + 0x10]
movzx eax, word [edx + 6]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x54]
lea edx, [eax + ecx*8]
xor ecx, ecx
test edx, edx
jle 0x10001e6f
nop
mov al, byte [ecx + edi]
mov byte [ecx + esi], al
inc ecx
mov esi, dword [esp + 0x34]
cmp ecx, edx
jl 0x10001e60
mov edx, dword [esp + 0x10]
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x38], ecx
cmp ax, word [edx + 6]
jae 0x10001ed0
add edx, 0x108
mov eax, dword [edx - 4]
test eax, eax
je 0x10001eb8
cmp dword [edx], 0
je 0x10001eb8
xor ecx, ecx
lea ebx, [eax + esi]
cmp dword [edx], ecx
jbe 0x10001eb4
nop dword [eax]
mov eax, dword [edx + 4]
add eax, ecx
mov al, byte [eax + edi]
mov byte [ecx + ebx], al
inc ecx
cmp ecx, dword [edx]
jb 0x10001ea0
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
inc ecx
add edx, 0x28
mov dword [esp + 0x38], ecx
movzx eax, word [eax + 6]
cmp ecx, eax
jl 0x10001e87
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0xa0]
test ecx, ecx
je 0x10001f6e
cmp dword [edx + 0xa4], 0
jbe 0x10001f6e
mov eax, esi
lea edi, [ecx + esi]
sub eax, dword [edx + 0x34]
mov ecx, dword [edi + 4]
mov dword [esp + 0x18], eax
lea eax, [edi + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [edi]
add eax, ecx
je 0x10001f6e
mov dword [esp + 0x1c], 0x3000
mov dword [esp + 0x14], 0xa000
lea ebx, [ecx - 8]
xor edx, edx
shr ebx, 1
test ebx, ebx
jle 0x10001f54
movzx eax, word [edi + edx*2 + 8]
mov ecx, eax
and ecx, 0xf000
cmp cx, word [esp + 0x1c]
je 0x10001f3d
cmp cx, word [esp + 0x14]
jne 0x10001f4f
mov ecx, dword [esp + 0x18]
and eax, 0xfff
add eax, dword [edi]
add dword [eax + esi], ecx
mov esi, dword [esp + 0x34]
inc edx
cmp edx, ebx
jl 0x10001f22
mov eax, dword [esp + 0x3c]
add edi, dword [eax]
mov ecx, dword [edi + 4]
lea eax, [edi + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [edi]
add eax, ecx
jne 0x10001f17
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x80]
test eax, eax
je 0x100020b7
lea edx, [eax + esi]
mov eax, dword [edx]
mov dword [esp + 0x14], edx
test eax, eax
je 0x1000209c
mov ebx, dword [esp + 0x20]
mov ecx, dword [edx + 0x10]
add eax, esi
mov dword [esp + 0x18], eax
add ecx, esi
mov eax, dword [edx + 0xc]
add eax, esi
mov dword [esp + 0x1c], ecx
push eax
lea eax, [esp + 0x48]
mov dword [esp + 0x3c], 0
push eax
call ebx
push 1
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x54]
push eax
call dword [esp + 0x34]
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x50]
push eax
push 0
push 0
call dword [esp + 0x3c]
lea eax, [esp + 0x4c]
push eax
call dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x100020b3
mov esi, dword [esp + 0x18]
xor edi, edi
cmp dword [esi], edi
je 0x10002083
mov eax, esi
xor ebx, ebx
nop
mov eax, dword [eax]
mov dword [esp + 0x3c], 0
test eax, eax
jns 0x10002028
movzx eax, ax
test eax, eax
je 0x100020b3
lea edx, [esp + 0x3c]
push edx
push eax
push 0
push ecx
call dword [esp + 0x34]
jmp 0x10002059
mov esi, dword [esp + 0x34]
add eax, 2
add eax, esi
je 0x100020b7
push eax
lea eax, [esp + 0x48]
push eax
call dword [esp + 0x28]
lea eax, [esp + 0x3c]
push eax
push 0
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x44]
call dword [esp + 0x34]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x100020b3
mov ecx, dword [esp + 0x1c]
inc edi
mov dword [ebx + ecx], eax
lea ebx, [edi*4]
cmp dword [ebx + esi], 0
lea eax, [ebx + esi]
je 0x1000207f
mov ecx, dword [esp + 0x38]
jmp 0x10002000
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x34]
add edx, 0x14
mov dword [esp + 0x14], edx
mov eax, dword [edx]
test eax, eax
jne 0x10001f91
mov eax, dword [esp + 0x10]
mov dword [eax + 0x34], esi
mov ecx, dword [esp + 0x34]
mov eax, dword [eax + 0x28]
push ecx
push 1
push 0
add eax, ecx
call eax
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x54]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10122e6d
mov esp, ebp
pop ebp
ret