Function at 0x433b50
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov edi, dword [ebp + 0xc]
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x28], 0
test edi, edi
je 0x433d6f
mov ebx, dword [ebp + 8]
xor esi, esi
jmp 0x433cb0
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
movzx eax, word [ebx + 4]
mov word [esp + 0x14], ax
mov eax, dword [esp + 8]
mov word [esp + 0x16], 0
cmp eax, dword [esp + 0xc]
je 0x433bd3
movsd xmm0, qword [esp + 0x10]
movsd qword [eax], xmm0
add dword [esp + 8], 8
jmp 0x433be1
lea eax, [esp + 0x10]
lea ecx, [esp + 4]
push eax
call fcn.00575290
mov eax, dword [esp + 0x24]
mov dword [esp], ebx
cmp eax, dword [esp + 0x28]
jae 0x433bfa
mov dword [eax], ebx
add dword [esp + 0x24], 4
jmp 0x433ce7
mov eax, esp
lea ecx, [esp + 0x20]
push eax
call fcn.00576390
jmp 0x433ce7
call fcn.004ddb30
cmp eax, 1
jg 0x433ce0
call dword [sym.imp.msvcrt.dll__errno]
mov eax, dword [eax]
mov ecx, esp
mov ecx, ecx
mov dword [esp + 0x30], eax
push 0xffffffffffffffff
push 0
push 1
push 0
push 0x23d
push 0x58acc4
call fcn.004ddb50
mov ecx, esp
call fcn.004ddb40
mov dword [esp + 0x2c], eax
push dword [ebx]
push str.adb_poll_received_bad_FD__d
lea eax, [esp + 0x18]
push eax
call fcn.004deac0
add esp, 0xc
movzx eax, byte [esp + 0x10]
test al, 1
je 0x433c72
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
jmp 0x433c78
shr eax, 1
lea ecx, [esp + 0x11]
push eax
push ecx
push dword [esp + 0x34]
call fcn.0056cec0
add esp, 0xc
test byte [esp + 0x10], 1
je 0x433c99
push dword [esp + 0x18]
call fcn.004fc300
add esp, 4
mov ecx, esp
call fcn.004ddc40
call dword [sym.imp.msvcrt.dll__errno]
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
jmp 0x433ce0
mov ecx, dword [ebx]
mov edx, str.adb_poll
call fcn.00433830
test eax, eax
je 0x433cd2
cmp dword [eax + 4], 0
je 0x433cd2
cmp dword [eax], 0x58ae30
je 0x433ba1
mov eax, dword [0x5bc570]
cmp byte [eax], 0
js 0x433c0b
mov word [ebx + 6], 4
inc esi
add ebx, 8
dec edi
jne 0x433cb0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
cmp eax, ecx
je 0x433d85
mov edi, dword [ebp + 0x10]
xor edx, edx
test esi, esi
cmovg edi, edx
sub ecx, eax
sar ecx, 3
push edi
push ecx
push eax
call sub.WS2_32.dll_WSAPoll
cmp eax, 0xffffffff
je 0x433d73
mov eax, dword [esp + 4]
cmp dword [esp + 8], eax
je 0x433d4a
mov edx, dword [esp + 0x20]
xor ecx, ecx
nop dword [eax]
movzx esi, word [eax + ecx*8 + 6]
mov edi, dword [edx + ecx*4]
inc ecx
mov word [edi + 6], si
mov esi, dword [esp + 8]
sub esi, eax
sar esi, 3
cmp ecx, esi
jb 0x433d30
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x433d6f
mov ecx, dword [ebp + 8]
xor esi, esi
add ecx, 6
nop dword [eax]
cmp word [ecx], 1
sbb esi, 0xffffffff
add ecx, 8
dec eax
jne 0x433d60
jmp 0x433d85
xor esi, esi
jmp 0x433d85
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.00433dc0
mov esi, 0xffffffff
mov eax, dword [esp + 0x20]
test eax, eax
je 0x433d9a
mov dword [esp + 0x24], eax
push eax
call fcn.004fc300
add esp, 4
mov eax, dword [esp + 4]
test eax, eax
je 0x433daf
mov dword [esp + 8], eax
push eax
call fcn.004fc300
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret