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

Disassembly:
sub esp, 8
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 4]
push edi
test eax, eax
jne 0x101d6804
mov eax, dword [ebx + 0x10]
mov esi, 0x1000
test eax, eax
mov dword [esp + 0x10], esi
ja 0x101d66c7
mov dword [ebx + 0x10], esi
mov eax, dword [ebx + 0x10]
cmp eax, esi
jbe 0x101d66d4
mov dword [esp + 0x10], eax
mov esi, eax
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
inc ecx
cmp ecx, eax
jbe 0x101d6774
test eax, eax
jne 0x101d6718
push 0x190
mov dword [ebx + 0xc], 0x64
call fcn.1022c334
mov ecx, dword [ebx + 0xc]
mov edi, eax
shl ecx, 2
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 4], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x101d6774
add eax, eax
mov dword [esp + 0x14], eax
lea esi, [eax*4]
push esi
call fcn.1022c334
mov ecx, esi
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebx + 0xc]
mov esi, dword [ebx + 4]
shl ecx, 2
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 4]
push ecx
call fcn.1022c35d
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
add esp, 8
mov dword [ebx + 4], ebp
mov dword [ebx + 0xc], edx
mov edi, dword [ebx + 0xc]
xor ecx, ecx
test edi, edi
jbe 0x101d679c
mov edx, dword [ebx + 4]
mov eax, dword [edx]
test eax, eax
je 0x101d6799
mov ebp, dword [eax + 4]
sub ebp, dword [eax]
cmp ebp, esi
jae 0x101d6802
inc ecx
add edx, 4
cmp ecx, edi
jb 0x101d6780
jmp 0x101d679c
mov dword [ebx + 8], ecx
mov eax, dword [ebx + 0x10]
cmp eax, 0x1000000
jae 0x101d67c4
cmp esi, 0x1000000
jae 0x101d67c4
add eax, esi
cmp eax, 0x1000000
mov dword [ebx + 0x10], eax
jbe 0x101d67c1
mov dword [ebx + 0x10], 0x1000000
mov esi, dword [ebx + 0x10]
lea eax, [esi + 8]
test eax, eax
jne 0x101d67d0
mov eax, 1
push eax
call fcn.10218877
add esp, 4
test eax, eax
je 0x101d6894
lea ecx, [eax + 8]
mov byte [eax], 0
mov dword [eax], ecx
lea edx, [ecx + esi]
mov dword [eax + 4], edx
mov byte [ecx], 0
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 4]
mov dword [edx + ecx*4], eax
mov ecx, dword [ebx + 8]
inc ecx
mov dword [ebx + 8], ecx
mov dword [ebx], eax
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x101d6814
cmp ebp, 0x7fffffff
jb 0x101d6819
mov ebp, 4
cmp dword [ebx], 0
jne 0x101d682c
push 0x1000
mov ecx, ebx
call 0x101d68b0
mov dword [ebx], eax
mov esi, dword [ebx]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
add eax, ebp
cmp eax, ecx
jb 0x101d6848
lea ecx, [ebp + 1]
push ecx
mov ecx, ebx
call 0x101d68b0
mov dword [ebx], eax
mov esi, eax
mov edi, dword [esi]
test ebp, ebp
mov dword [esp + 0x1c], edi
jbe 0x101d6876
mov al, byte [esp + 0x20]
mov ecx, ebp
mov bl, al
mov edx, ecx
mov bh, bl
mov eax, ebx
shl eax, 0x10
mov ax, bx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x1c]
mov edx, dword [esi]
mov ecx, dword [esi + 4]
add edx, ebp
mov eax, edx
mov dword [esi], edx
cmp eax, ecx
jae 0x101d6888
mov byte [eax], 0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov eax, dword [ebx + 0x10]
lea ecx, [esp + 0x14]
push 0x11fac570
push ecx
mov dword [esp + 0x1c], eax
call fcn.1021a102
nop
nop
nop
nop
nop
nop
push ecx
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x10]
push edi
test eax, eax
ja 0x101d68c5
mov dword [ebx + 0x10], 0x1000
mov eax, dword [ebx + 0x10]
mov esi, dword [esp + 0x18]
cmp esi, eax
jae 0x101d68d6
mov dword [esp + 0x18], eax
mov esi, eax
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
inc ecx
cmp ecx, eax
jbe 0x101d6976
test eax, eax
jne 0x101d691a
push 0x190
mov dword [ebx + 0xc], 0x64
call fcn.1022c334
mov ecx, dword [ebx + 0xc]
mov edi, eax
shl ecx, 2
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 4], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x101d6976
add eax, eax
mov dword [esp + 0x10], eax
lea esi, [eax*4]
push esi
call fcn.1022c334
mov ecx, esi
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebx + 0xc]
mov esi, dword [ebx + 4]
shl ecx, 2
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 4]
push ecx
call fcn.1022c35d
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
add esp, 8
mov dword [ebx + 4], ebp
mov dword [ebx + 0xc], edx
mov edi, dword [ebx + 0xc]
xor ecx, ecx
test edi, edi
jbe 0x101d699e
mov edx, dword [ebx + 4]
mov eax, dword [edx]
test eax, eax
je 0x101d699b
mov ebp, dword [eax + 4]
sub ebp, dword [eax]
cmp ebp, esi
jae 0x101d6a00
inc ecx
add edx, 4
cmp ecx, edi
jb 0x101d6982
jmp 0x101d699e
mov dword [ebx + 8], ecx
mov eax, dword [ebx + 0x10]
cmp eax, 0x1000000
jae 0x101d69c6
cmp esi, 0x1000000
jae 0x101d69c6
add eax, esi
cmp eax, 0x1000000
mov dword [ebx + 0x10], eax
jbe 0x101d69c3
mov dword [ebx + 0x10], 0x1000000
mov esi, dword [ebx + 0x10]
lea eax, [esi + 8]
test eax, eax
jne 0x101d69d2
mov eax, 1
push eax
call fcn.10218877
add esp, 4
test eax, eax
je 0x101d6a08
lea ecx, [eax + 8]
mov byte [eax], 0
mov dword [eax], ecx
lea edx, [ecx + esi]
mov dword [eax + 4], edx
mov byte [ecx], 0
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 4]
mov dword [edx + ecx*4], eax
mov ecx, dword [ebx + 8]
inc ecx
mov dword [ebx + 8], ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
mov eax, dword [ebx + 0x10]
lea ecx, [esp + 0x18]
push 0x11fac570
push ecx
mov dword [esp + 0x20], eax
call fcn.1021a102
nop
nop