Function at 0x100324fc
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
xor ebx, ebx
push esi
push edi
mov edi, dword [esp + 0x20]
mov esi, ebx
lea ecx, [ebp + 0x2c]
test edi, edi
jne 0x10032532
push dword [ecx]
call fcn.10031f76
add esp, 4
test eax, eax
je 0x1003252d
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
jmp 0x10032568
mov edi, 0x10083190
push 0x20
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ecx
pop esi
cmp dword [edi + 0x10], ebx
je 0x10032551
push dword [edi + 0x10]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
add esi, eax
cmp dword [edi + 0x18], ebx
je 0x10032561
push dword [edi + 0x18]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
add esi, eax
mov ecx, dword [esp + 0x10]
add esi, 2
mov eax, dword [ebp + 0xc]
test eax, 0x40000
je 0x1003260a
push dword [ecx]
call fcn.10031f76
lea ecx, [esi + 0x2c]
mov dword [esp + 0x14], eax
push ecx
call dword [0x100848d8]
mov edx, eax
pop ecx
pop ecx
test edx, edx
je 0x10032793
mov ecx, dword [esp + 0x1c]
lea ebx, [edx + 0x2c]
test esi, esi
cmove ebx, dword [esp + 0x18]
mov cx, word [ecx]
mov word [edx + 4], cx
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 4]
mov dword [edx + 0xc], eax
mov eax, dword [ecx + 8]
mov dword [edx + 0x10], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 0x14], eax
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x18], eax
mov eax, dword [ecx + 0x14]
xor ecx, ecx
mov dword [edx + 0x20], ecx
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x1c]
mov dword [edx + 0x1c], eax
mov ax, word [ecx + 0x18]
mov word [edx + 0x24], ax
xor eax, eax
mov word [edx + 0x26], ax
mov word [edx + 6], ax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100325ff
mov eax, dword [eax + 0x14]
mov ax, word [eax + 6]
mov word [edx + 6], ax
mov eax, dword [ecx + 0x1c]
mov dword [edx + 0x28], eax
jmp 0x10032703
test eax, 0x20000
je 0x10032683
push dword [ecx]
call fcn.10031f76
lea ecx, [esi + 0x24]
mov dword [esp + 0x14], eax
push ecx
call dword [0x100848d8]
mov edx, eax
test esi, esi
pop ecx
pop ecx
mov ecx, dword [esp + 0x1c]
lea ebx, [edx + 0x24]
cmove ebx, dword [esp + 0x18]
mov ax, word [ecx]
mov word [edx + 4], ax
mov eax, dword [ecx + 4]
mov dword [edx + 0xc], eax
mov eax, dword [ecx + 8]
mov dword [edx + 0x10], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 0x14], eax
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x18], eax
mov eax, dword [ecx + 0x14]
xor ecx, ecx
mov dword [edx + 0x1c], eax
xor eax, eax
mov word [edx + 6], ax
mov eax, dword [esp + 0x10]
mov dword [edx + 0x20], ecx
test eax, eax
je 0x1003267b
mov eax, dword [eax + 0x14]
mov ax, word [eax + 6]
mov word [edx + 6], ax
mov dword [edx + 8], ecx
jmp 0x10032703
movzx eax, al
mov eax, dword [ebp + eax*4 + 0x28]
cmp eax, 8
jne 0x100326cd
lea eax, [esi + 0x20]
push eax
call dword [0x100848d8]
mov edx, eax
pop ecx
mov ecx, dword [esp + 0x1c]
mov ax, word [ecx]
mov word [edx + 4], ax
mov eax, dword [ecx + 4]
mov dword [edx + 8], eax
mov eax, dword [ecx + 8]
mov dword [edx + 0xc], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 0x10], eax
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x14], eax
mov eax, dword [ecx + 0x14]
mov dword [edx + 0x1c], ebx
lea ebx, [edx + 0x20]
mov dword [edx + 0x18], eax
jmp 0x100326e2
cmp eax, 0x48
jne 0x100326eb
lea eax, [esi + 0xc]
push eax
call dword [0x100848d8]
mov edx, eax
pop ecx
lea ebx, [edx + 0xc]
test esi, esi
cmove ebx, dword [esp + 0x18]
jmp 0x10032703
lea eax, [esi + 4]
push eax
call dword [0x100848d8]
mov ebx, dword [esp + 0x1c]
mov edx, eax
pop ecx
test esi, esi
je 0x10032703
lea ebx, [edx + 4]
mov dword [ebp + 0x14], edx
test esi, esi
je 0x10032754
mov esi, edi
mov edi, ebx
push 8
pop ecx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x20]
lea esi, [ebx + 0x20]
mov byte [esi], 0
mov dword [ebx + 0x10], esi
cmp dword [edi + 0x10], 0
je 0x1003273c
push dword [edi + 0x10]
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
push dword [edi + 0x10]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 0xc
add esi, eax
inc esi
mov byte [esi], 0
mov dword [ebx + 0x18], esi
cmp dword [edi + 0x18], 0
je 0x10032754
push dword [edi + 0x18]
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
pop ecx
pop ecx
mov eax, dword [ebp + 0x14]
xor esi, esi
mov dword [eax], ebx
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
cmp dword [eax], esi
je 0x1003277b
push dword [0x10088b34]
push ebp
call fcn.10032999
pop ecx
pop ecx
test al, 0x30
jne 0x1003277b
mov esi, 0x100000
mov eax, dword [ebp + 0xc]
and eax, 0xffefffff
or eax, esi
push 1
push ebp
mov dword [ebp + 0xc], eax
call dword [0x100849f4]
pop ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret