Function at 0x43e840
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
push ebx
lea ebx, [eax*8]
sub ebx, eax
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
add ebx, ebx
push edi
mov edi, dword [ecx + 0x1f8]
mov ecx, dword [ecx]
add ebx, ebx
add ebx, ebx
cmp dword [ebp + 0x10], 0
mov dword [esp + 0x28], edi
mov edi, dword [esi + 8]
mov eax, dword [ebx + edi + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + edi + 0x18]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x14], eax
je 0x43e8a0
test edx, edx
je 0x43e8aa
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edx, edx
je 0x43e8aa
cmp word [edi], 1
jg 0x43e897
mov edx, dword [eax + 0x28]
test edx, edx
mov ecx, dword [eax + 8]
je 0x43e8ba
cmp dword [esi + 0x28], 0
jne 0x43e897
cmp dword [eax + 0x2c], 0
jne 0x43e897
cmp dword [esi + 0x24], 0
je 0x43e8d0
test edx, edx
je 0x43e8d0
cmp dword [eax + 0x18], 0
jne 0x43e897
cmp word [ecx], 0
je 0x43e897
test byte [eax + 6], 1
jne 0x43e8e0
test edx, edx
je 0x43e8ec
cmp word [edi], 1
jg 0x43e897
cmp dword [ebp + 0x10], 0
jne 0x43e897
mov cx, word [esi + 6]
and cx, 1
mov word [esp + 0xe], cx
je 0x43e901
cmp dword [ebp + 0x14], 0
jne 0x43e897
cmp dword [esi + 0x18], 0
je 0x43e90d
cmp dword [eax + 0x18], 0
jne 0x43e897
cmp dword [ebp + 0x10], 0
je 0x43e91d
cmp dword [eax + 0x18], 0
jne 0x43e897
test edx, edx
je 0x43e92b
cmp dword [esi + 0xc], 0
jne 0x43e897
test byte [ebx + edi + 0x1d], 0x20
lea ecx, [ebx + edi + 0x1d]
mov dword [esp + 0x30], ecx
jne 0x43e897
cmp dword [eax + 0x1c], 0
je 0x43e9d1
cmp dword [eax + 0x18], 0
jne 0x43e897
cmp dword [ebp + 0x10], 0
jne 0x43e897
cmp word [esp + 0xe], 0
jne 0x43e897
cmp word [edi], 1
jne 0x43e897
mov dl, 5
test byte [eax + 6], dl
jne 0x43e897
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x43e98e
cmp byte [eax + 4], 0x70
jne 0x43e897
mov eax, dword [eax + 8]
test eax, eax
je 0x43e897
cmp word [eax], 1
jne 0x43e897
mov eax, ecx
test eax, eax
jne 0x43e974
mov eax, dword [esi + 0x18]
test eax, eax
je 0x43e9d1
cmp dword [eax], ecx
jle 0x43e9d1
mov eax, dword [eax + 0xc]
add eax, 0xe
cmp word [eax], 0
je 0x43e897
mov edx, dword [esi + 0x18]
add ecx, 1
add eax, 0x14
cmp ecx, dword [edx]
jl 0x43e9ba
mov ecx, dword [ebx + edi + 0xc]
mov eax, dword [ebp + 8]
push 0
push 0
push 0
push 0x15
mov dword [eax + 0x1f8], ecx
call fcn.004416a0
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x1f8], edx
mov eax, dword [ecx + 0x1c]
add esp, 0x10
test eax, eax
mov dword [esp + 0x14], eax
je 0x43ea9a
mov edi, edi
mov eax, dword [esi + 0x28]
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x28], eax
xor eax, eax
push eax
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x14]
push esi
push edx
mov dword [esp + 0x30], ecx
mov dword [esi + 0x18], eax
mov dword [esi + 8], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x28], eax
call fcn.00447850
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
mov dword [esi + 0x28], ecx
mov dword [esi + 0x18], edx
mov dword [esi + 8], edi
mov byte [esi + 4], 0x70
mov dword [esi + 0x24], 0
jne 0x43ea68
mov eax, dword [esp + 0x24]
jmp 0x43ea76
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x24], 0
mov edx, dword [esp + 0x10]
mov dword [esi + 0x1c], eax
cmp byte [edx + 0x1e], 0
jne 0x43edd3
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x1c]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x43ea10
mov ecx, dword [ebx + edi + 8]
mov eax, dword [ebx + edi + 0x18]
mov edx, dword [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x1c], eax
call fcn.0040f470
mov eax, dword [ebx + edi + 0xc]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.0040f470
mov edx, dword [ebx + edi + 0x10]
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.0040f470
mov eax, dword [ebx + edi + 0x14]
xor ecx, ecx
mov dword [ebx + edi + 8], ecx
mov dword [ebx + edi + 0xc], ecx
mov dword [ebx + edi + 0x10], ecx
mov dword [ebx + edi + 0x18], ecx
lea edi, [ebx + edi + 0x14]
add esp, 0x18
cmp eax, ecx
je 0x43eb2b
movzx ecx, word [eax + 0x20]
cmp cx, 1
jne 0x43eb1e
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x1a8]
test ecx, ecx
jne 0x43eb0d
mov ecx, edx
mov edx, dword [ecx + 0x214]
mov dword [eax + 0x48], edx
mov dword [ecx + 0x214], eax
jmp 0x43eb25
add ecx, 0xffffffff
mov word [eax + 0x20], cx
mov dword [edi], 0
mov ebx, esi
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 8]
mov eax, dword [ebx + 8]
test eax, eax
movsx esi, word [edi]
mov byte [esp + 0xe], 0
mov dword [esp + 0x20], eax
je 0x43eb53
mov ecx, dword [esp + 0x30]
mov dl, byte [ecx]
mov byte [esp + 0xe], dl
jmp 0x43eb74
mov ecx, dword [esp + 0x10]
push 0
push 0
xor eax, eax
call fcn.00428dd0
add esp, 8
test eax, eax
mov dword [ebx + 8], eax
mov dword [esp + 0x20], eax
je 0x43edc1
cmp esi, 1
jle 0x43eba7
mov ecx, dword [ebp + 0xc]
add ecx, 1
push ecx
lea edx, [esi - 1]
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.00428ca0
mov ecx, dword [esp + 0x20]
add esp, 0x10
mov dword [ebx + 8], eax
cmp byte [ecx + 0x1e], 0
mov dword [esp + 0x20], eax
jne 0x43edc1
test esi, esi
jle 0x43ec11
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
add edi, 8
lea ecx, [edx + eax + 8]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], esi
jmp 0x43ebd0
mov edx, dword [esp + 0x1c]
mov edi, dword [edx + 0x20]
mov esi, dword [esp + 0x10]
call fcn.00428b80
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov esi, eax
mov ecx, 0xe
rep movsd dword es:[edi], dword [esi]
mov esi, 0x38
push esi
push 0
push eax
call fcn.004858f0
add dword [esp + 0x28], esi
add dword [esp + 0x30], esi
add esp, 0xc
sub dword [esp + 0x28], 1
jne 0x43ebd0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
mov dl, byte [esp + 0xe]
mov byte [eax + ecx + 0x1d], dl
mov esi, dword [ebx]
xor edi, edi
cmp dword [esi], edi
mov dword [esp + 0x28], edi
jle 0x43ec66
mov eax, dword [esi + 0xc]
add eax, edi
cmp dword [eax + 4], 0
jne 0x43ec54
mov eax, dword [eax + 8]
test eax, eax
je 0x43ec54
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.0040f7d0
mov edx, dword [esi + 0xc]
add esp, 8
mov dword [edx + edi + 4], eax
mov eax, dword [esp + 0x28]
add eax, 1
add edi, 0x14
cmp eax, dword [esi]
mov dword [esp + 0x28], eax
jl 0x43ec2d
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov esi, dword [ebx]
push eax
push ecx
push edx
call fcn.0043e620
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x43ecbb
mov eax, dword [edi]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov esi, dword [ebx + 0x10]
push eax
push ecx
push edx
call fcn.0043e620
mov eax, dword [edi]
mov ecx, dword [esp + 0x24]
mov edx, dword [ebx + 0x14]
add esp, 0xc
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
call fcn.0043e500
add esp, 0x10
mov dword [ebx + 0x14], eax
mov eax, dword [edi + 0x18]
test eax, eax
je 0x43ecce
mov dword [ebx + 0x18], eax
mov dword [edi + 0x18], 0
jmp 0x43ecea
mov esi, dword [ebx + 0x18]
test esi, esi
je 0x43ecea
mov ecx, dword [edi]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
push ecx
push edx
push eax
call fcn.0043e620
add esp, 0xc
mov eax, dword [edi + 0xc]
test eax, eax
mov esi, dword [esp + 0x10]
je 0x43ed09
push 0
push 0
push eax
push esi
call fcn.004471c0
add esp, 0x10
mov dword [esp + 0x24], eax
jmp 0x43ed11
mov dword [esp + 0x24], 0
cmp dword [ebp + 0x14], 0
je 0x43ed6c
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x24]
mov dword [ebx + 0x14], ecx
mov ecx, dword [esp + 0x18]
mov dword [ebx + 0xc], edx
mov eax, dword [edi]
mov edx, dword [ebx + 0x14]
push eax
push ecx
push edx
push esi
call fcn.0043e500
push 0
mov dword [ebx + 0x14], eax
mov eax, dword [edi + 0x14]
push 0
push eax
push esi
call fcn.004471c0
push eax
mov eax, dword [ebx + 0x14]
mov ecx, esi
call fcn.00446d00
add esp, 0x24
mov dword [ebx + 0x14], eax
mov eax, dword [edi + 0x10]
push 0
push eax
push esi
call fcn.00447450
add esp, 0xc
mov dword [ebx + 0x10], eax
jmp 0x43ed93
mov ecx, dword [edi]
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0xc]
push ecx
push edx
push eax
push esi
call fcn.0043e500
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, esi
mov dword [ebx + 0xc], eax
call fcn.00446d00
add esp, 0x14
mov dword [ebx + 0xc], eax
movzx edx, byte [edi + 6]
and edx, 1
or word [ebx + 6], dx
mov eax, dword [edi + 0x28]
test eax, eax
je 0x43edaf
mov dword [ebx + 0x28], eax
mov dword [edi + 0x28], 0
mov ebx, dword [ebx + 0x1c]
test ebx, ebx
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x14], eax
jne 0x43eb2d
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
push ecx
push edx
call fcn.00439c10
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret