Function at 0x41f430
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x20]
mov eax, ecx
push ebp
mov ebp, dword [esp + 0x1c]
lea ecx, [esp + 0xc]
push esi
mov esi, dword [esp + 0x2c]
push edi
push ecx
push ebx
push ebp
mov ecx, eax
mov dword [esp + 0x1c], eax
call fcn.0041db20
test al, al
mov eax, dword [esp + 0x14]
je 0x41f468
lea edi, [eax + 1]
mov dword [esp + 0x18], edi
jmp 0x41f46e
mov edi, eax
mov dword [esp + 0x18], eax
cmp byte [ebx], 0
jne 0x41f79b
mov ecx, dword [ebx + edi*4 + 0xd0]
cmp byte [ecx], 1
jne 0x41f724
cmp dword [ecx + 4], 0x20
jne 0x41f724
inc eax
cmp edi, eax
je 0x41f7a0
test edi, edi
jle 0x41f5fe
mov eax, dword [ebx + edi*4 + 0xcc]
cmp dword [eax + 4], 0x20
jge 0x41f5fe
mov edx, dword [esp + 0x24]
mov dword [esi + 4], 1
mov eax, dword [ebx + edi*4 + 0xd0]
mov ecx, dword [ebx + edi*4 + 0xcc]
mov ebx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], ecx
lea ebp, [eax + 8]
movzx eax, word [ebp]
mov word [esi], ax
cmp dx, ax
jbe 0x41f5a8
mov ecx, dword [ecx + 4]
mov ax, word [ebp]
mov word [ebx + ecx*2 + 8], ax
mov ecx, ebx
mov eax, dword [esp + 0x14]
add eax, 0x48
mov dword [esp + 0x1c], eax
mov ecx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebx + ecx*4 + 0x48], eax
mov eax, ebx
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x2c]
inc dword [eax + 4]
mov eax, dword [ecx + 4]
dec eax
test eax, eax
jle 0x41f560
mov edi, dword [esp + 0x1c]
mov esi, ecx
xor ebx, ebx
nop dword [eax + eax]
mov ax, word [ebp + 2]
lea ebp, [ebp + 2]
mov word [ebp - 2], ax
lea edi, [edi + 4]
mov eax, dword [edi]
inc ebx
mov dword [edi - 4], eax
mov eax, dword [esi + 4]
dec eax
cmp ebx, eax
jl 0x41f530
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
movzx eax, word [ecx + 8]
dec dword [ecx + 4]
mov word [ebx + edi*2 + 6], ax
movzx eax, word [ecx + 8]
mov ecx, dword [esp + 0x10]
mov word [esi + 2], ax
lea eax, [esp + 0x2c]
mov esi, dword [ebx + edi*4 + 0xd0]
push eax
push esi
push edx
call fcn.0041db20
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
push 0
push esi
push 0
push dword [esp + 0x38]
push dword [esp + 0x38]
push ebp
call fcn.0041f7d0
jmp 0x41f5e2
mov word [esi + 2], dx
mov ecx, dword [ecx + 4]
mov esi, dword [esp + 0x34]
mov ax, word [ebp]
mov word [esi + ecx*2 + 8], ax
mov ecx, dword [esi + 4]
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x48]
mov dword [ebx + ecx*4 + 0x48], eax
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
inc dword [eax + 4]
mov eax, dword [esp + 0x28]
mov word [ebp], dx
mov eax, dword [eax]
mov dword [esi + 0x48], eax
mov eax, dword [ebx + edi*4 + 0xd0]
mov ax, word [eax + 8]
mov word [ebx + edi*2 + 6], ax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret 0x14
cmp edi, dword [ebx + 4]
jge 0x41f724
mov eax, dword [ebx + edi*4 + 0xd4]
cmp dword [eax + 4], 0x20
jge 0x41f724
mov dword [esi + 4], 1
mov edx, dword [ebx + edi*4 + 0xd0]
mov ecx, dword [ebx + edi*4 + 0xd4]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x34], ecx
mov eax, dword [edx + 4]
cmp bp, word [edx + eax*2 + 6]
mov ax, word [ecx + 8]
mov word [esi], ax
jae 0x41f6e9
mov ebp, dword [ecx + 4]
test ebp, ebp
jle 0x41f688
lea ebx, [ebp + 0x12]
lea esi, [ebp + 4]
lea ebx, [ecx + ebx*4]
lea esi, [ecx + esi*2]
nop dword [eax]
mov ax, word [esi - 2]
lea esi, [esi - 2]
mov word [esi + 2], ax
lea ebx, [ebx - 4]
mov eax, dword [ebx]
dec ebp
mov dword [ebx + 4], eax
test ebp, ebp
jg 0x41f660
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 4]
mov ebp, dword [esp + 0x24]
movzx eax, word [edx + eax*2 + 6]
mov word [ecx + 8], ax
mov eax, dword [edx + 4]
mov eax, dword [edx + eax*4 + 0x44]
inc dword [ecx + 4]
mov dword [ecx + 0x48], eax
dec dword [edx + 4]
movzx eax, word [ecx + 8]
mov word [ebx + edi*2 + 8], ax
movzx eax, word [ecx + 8]
mov ecx, dword [esp + 0x10]
mov word [esi + 2], ax
lea eax, [esp + 0x2c]
mov esi, dword [ebx + edi*4 + 0xd0]
push eax
push esi
push ebp
call fcn.0041db20
mov ecx, dword [esp + 0x10]
push 0
push esi
push 0
push dword [esp + 0x38]
push dword [esp + 0x38]
push ebp
call fcn.0041f7d0
jmp 0x41f708
mov ecx, dword [esp + 0x10]
push 0
push dword [ebx + edi*4 + 0xd4]
push 0
push 0
push dword [esp + 0x38]
push ebp
call fcn.0041f7d0
mov word [esi + 2], bp
mov eax, dword [ebx + edi*4 + 0xd4]
mov ax, word [eax + 8]
mov word [ebx + edi*2 + 8], ax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x14
push dword [esp + 0x34]
push esi
push ecx
push dword [esp + 0x34]
push ebp
mov ebp, dword [esp + 0x24]
mov ecx, ebp
call fcn.0041f430
cmp dword [esi + 4], 1
mov edx, eax
jne 0x41f759
test edi, edi
jle 0x41f759
mov cx, word [ebx + edi*2 + 6]
cmp cx, word [esi]
jne 0x41f759
mov ax, word [esi + 2]
mov word [ebx + edi*2 + 6], ax
test edx, edx
je 0x41f5f2
cmp byte [edx], 0
mov ecx, ebp
mov eax, dword [esp + 0x28]
push esi
push ebx
push edx
push edi
push eax
jne 0x41f787
dec dword [edx + 4]
movzx eax, word [esi]
push eax
call fcn.0041f7d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x14
movzx eax, word [edx + 8]
push eax
call fcn.0041f7d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x14
inc eax
cmp edi, eax
jne 0x41f7b3
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebp
mov byte [eax], 0
xor eax, eax
pop ebx
add esp, 0x10
ret 0x14
mov ecx, dword [esp + 0x10]
push esi
push ebx
push 0
push edi
push dword [esp + 0x38]
push ebp
call fcn.0041f7d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x14