Function at 0x41d248
Capabilities:
Enumerate pe sections

Disassembly:
push edi
push esi
sub esp, 0x7c
mov eax, dword [esp + 0x88]
mov esi, dword [esp + 0x8c]
cmp word [eax], 0
je 0x41d2c1
mov edx, dword [esi + 8]
lea ecx, [eax + 4]
or edx, dword [esi]
jne 0x41d2fd
mov edx, dword [eax + 0x18]
test edx, edx
je 0x41d3be
movzx eax, word [eax + 0x1c]
mov edi, esp
mov dword [edi], edx
lea edx, [esp + 0xc]
mov dword [edx], ecx
lea ecx, [esp + 4]
mov word [ecx], ax
lea eax, [esp + 0x3c]
mov dword [eax], edx
mov dword [eax + 4], 0x41c566
mov dword [eax + 8], edi
lea edi, [esp + 0x24]
mov dword [eax + 0xc], 0x41b6bd
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 0x41d47b
mov dword [edi], 0x47d454
push 3
jmp 0x41d3f0
mov ecx, dword [esi + 8]
lea edx, [eax + 2]
or ecx, dword [esi]
jne 0x41d354
movzx eax, word [eax + 6]
lea ecx, [esp + 0xc]
lea edi, [esp + 0x3c]
mov dword [ecx], edx
mov edx, esp
mov dword [edi], 0x47d42c
mov word [edx], ax
lea eax, [esp + 0x24]
mov dword [eax], ecx
mov dword [eax + 4], 0x41d4e4
mov dword [eax + 8], edx
jmp 0x41d3e7
mov edx, dword [eax + 0x18]
and dword [esp + 0x3c], 0
test edx, edx
je 0x41d40c
movzx eax, word [eax + 0x1c]
lea edi, [esp + 4]
mov dword [edi], edx
mov edx, esp
mov dword [edx], ecx
lea ecx, [esp + 0xa]
mov word [ecx], ax
lea eax, [esp + 0x24]
mov dword [eax], edx
mov dword [eax + 4], 0x41c566
mov dword [eax + 8], edi
mov dword [eax + 0xc], 0x41b6bd
mov dword [eax + 0x10], ecx
lea ecx, [esp + 0xc]
mov dword [eax + 0x14], 0x41d47b
mov dword [ecx], 0x47d454
push 3
jmp 0x41d43e
movzx eax, word [eax + 6]
lea ecx, [esp + 0x3c]
mov edi, esp
and dword [ecx], 0
mov dword [edi], edx
lea edx, [esp + 4]
mov word [edx], ax
lea eax, [esp + 0xc]
mov dword [eax], edi
mov dword [eax + 4], 0x41d4e4
mov dword [eax + 8], edx
lea edx, [esp + 0x24]
mov dword [eax + 0xc], 0x41d47b
mov dword [edx], 0x47d42c
push 2
pop edi
mov dword [edx + 4], edi
and dword [edx + 0x10], 0
mov dword [edx + 8], eax
mov dword [edx + 0xc], edi
push edx
push ecx
call fcn.0041d4f6
pop ecx
pop edx
test al, al
jne 0x41d479
mov eax, dword [esp + 0x3c]
cmp eax, 0x16
jb 0x41d466
jmp 0x41d479
movzx eax, word [eax + 0x1c]
lea edx, [esp + 0xc]
lea edi, [esp + 0x3c]
mov dword [edx], ecx
mov ecx, esp
mov dword [edi], 0x47d440
mov word [ecx], ax
lea eax, [esp + 0x24]
mov dword [eax], edx
mov dword [eax + 4], 0x41c566
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0x41d47b
push 2
pop ecx
mov dword [edi + 4], ecx
and dword [edi + 0x10], 0
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
push edi
call fcn.0041b485
jmp 0x41d472
movzx eax, word [eax + 0x1c]
mov edx, esp
mov dword [edx], ecx
lea ecx, [esp + 4]
mov word [ecx], ax
lea eax, [esp + 0xc]
mov dword [eax], edx
mov dword [eax + 4], 0x41c566
mov dword [eax + 8], ecx
lea ecx, [esp + 0x24]
mov dword [eax + 0xc], 0x41d47b
mov dword [ecx], 0x47d440
push 2
pop edx
mov dword [ecx + 4], edx
and dword [ecx + 0x10], 0
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
lea eax, [esp + 0x3c]
push ecx
push eax
call fcn.0041d490
pop ecx
pop edx
test al, al
jne 0x41d479
mov eax, dword [esp + 0x3c]
cmp eax, 0x3b
jae 0x41d479
lea edx, [esp + 0x40]
mov ecx, esi
push eax
call fcn.0041b179
pop ecx
add esp, 0x7c
pop esi
pop edi
ret
ud2