Function at 0x43a200
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], 1
mov eax, edx
mov dword [esp + 0xc], eax
shl eax, 3
mov esi, dword [edi + 0x40]
add esi, eax
mov dword [esp + 0x14], eax
mov eax, 0xfff9
cmp word [esi + 6], ax
jne 0x43a2ce
mov edx, dword [ebp + 8]
mov ebx, dword [esi]
mov ecx, dword [edx]
mov eax, dword [ebx]
and ecx, 2
je 0x43a251
test eax, 0x100
jne 0x43a25c
jmp 0x43a3e4
test eax, 0x200
je 0x43a366
test eax, 0x6000400
je 0x43a2e8
test eax, 0x400
je 0x43a27f
mov edx, dword [esp + 0xc]
push ecx
mov ecx, edi
call fcn.00439d20
add esp, 4
jmp 0x43a2b0
mov ecx, edi
test eax, 0x2000000
je 0x43a298
push edx
mov edx, dword [esp + 0x10]
push ebx
call fcn.00439ff0
add esp, 8
jmp 0x43a2b0
push dword [esp + 0x10]
mov esi, dword [esp + 0x10]
push edx
push ebx
mov edx, esi
call fcn.00439e70
add esp, 0xc
test eax, eax
jne 0x43a2ec
mov esi, dword [edi + 0x40]
mov eax, 0xfff9
add esi, dword [esp + 0x14]
mov dword [esp + 0x10], 0
cmp word [esi + 6], ax
je 0x43a237
mov eax, 0xfff7
cmp word [esi + 6], ax
jne 0x43a366
xor ebx, ebx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0xc]
test dword [ebx], 0x10000
jne 0x43a31f
mov eax, dword [edi + 0x40]
lea ecx, [esi + 1]
lea edx, [eax + ecx*8]
movzx eax, word [edx + 6]
cmp eax, 0xfff3
jb 0x43a316
cmp eax, 0xfff4
jbe 0x43a343
cmp eax, 0xfff9
je 0x43a31f
mov edx, ecx
mov ecx, edi
call fcn.004130b0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, edx
and al, 0x42
cmp al, 2
jne 0x43a2df
or edx, 0x40
mov dword [ecx], edx
mov edx, esi
mov ecx, edi
call fcn.00439c20
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x64]
test ecx, ecx
je 0x43a35b
xor eax, eax
mov dword [edx], ecx
or eax, 0xfff90000
mov dword [edx + 4], eax
inc dword [ecx + 4]
jmp 0x43a31f
mov eax, 0xfff3
mov word [edx + 6], ax
jmp 0x43a31f
mov eax, 0xfff9
cmp word [esi + 6], ax
jne 0x43a42a
mov ebx, dword [esi]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
mov edx, ebx
push eax
mov eax, dword [edi + 0x130]
push dword [eax + 0x16c]
call fcn.00433de0
add esp, 0xc
test eax, eax
je 0x43a42a
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x10]
mov ebx, dword [esp + 0x14]
lea eax, [ecx + ecx*2]
lea eax, [edx + eax*4]
test byte [eax + ebx], 8
jne 0x43a42a
lea eax, [ecx + ebx*2]
lea eax, [edx + eax*4]
test eax, eax
je 0x43a42a
mov ecx, dword [edi + 0x44]
cmp ecx, dword [edi + 0x38]
jae 0x43a408
lea eax, [ecx + 8]
mov dword [edi + 0x44], eax
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, 0xfff8
cmp word [esi + 6], ax
jb 0x43a423
jmp 0x43a41e
push 0
mov edx, esi
mov ecx, edi
call fcn.00415520
add esp, 4
push eax
push str._s_not_constructable
push 0x6000542
push 0x605c18
push edi
call fcn.0040d0a0
push str.cannot_push_beyond_allocated_stack
push 0x3001039
mov edx, 0x604378
mov ecx, edi
call fcn.0040d110
mov eax, dword [esi]
inc dword [eax + 4]
mov ecx, edi
call fcn.00415190
push 0
mov edx, esi
mov ecx, edi
call fcn.00415520
add esp, 4
push eax
push str._s_not_callable
push 0x6000534
push 0x605bf0
push edi
call fcn.0040d0a0
int3