Function at 0x433900
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4346f7
mov eax, dword fs:[0]
push eax
sub esp, 0x410
push esi
push edi
mov eax, dword [0x441040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40c], ecx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x24], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x37c], esp
mov eax, dword [ebp - 0x40c]
push eax
call fcn.00401400
mov dword [ebp - 0x410], eax
lea ecx, [ebp - 0x20]
call fcn.00401360
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00401180
test eax, eax
jne 0x4339ba
mov dword [ebp - 0x380], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00408540
mov eax, dword [ebp - 0x380]
jmp 0x433ce8
push 0x11
lea ecx, [ebp - 0x20]
call fcn.004011a0
push eax
push 0xd
lea ecx, [ebp - 0x20]
call fcn.00408130
push eax
push 0xc
push str.kdaigfile
push 0xb
push str.sendfile
push 1
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.0040c1a1
add esp, 0x2c
push str.User_Agent:_Kingsoft_ksafe
mov eax, dword [ebp - 0x28]
push eax
call fcn.00409b84
add esp, 8
mov dword [ebp - 0x28], eax
push str.User:_Default
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00409b84
add esp, 8
mov dword [ebp - 0x28], eax
call fcn.00409cbd
mov dword [ebp - 0x34], eax
call fcn.00409da1
mov dword [ebp - 0x30], eax
push str.Expect:
mov edx, dword [ebp - 0x24]
push edx
call fcn.00409b84
add esp, 8
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x34], 0
je 0x433cc9
cmp dword [ebp - 0x30], 0
je 0x433cc9
mov ecx, dword [ebp - 0x40c]
add ecx, 4
call fcn.00408910
push eax
lea ecx, [ebp - 0x404]
call fcn.00401480
mov dword [ebp - 0x418], eax
mov esi, dword [ebp - 0x418]
sub esp, 0x84
mov ecx, 0x21
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push 0x2712
mov eax, dword [ebp - 0x34]
push eax
call fcn.00409cef
add esp, 0x8c
lea ecx, [ebp - 0x404]
call fcn.004014b0
mov ecx, dword [ebp - 0x24]
push ecx
push 0x2727
mov edx, dword [ebp - 0x34]
push edx
call fcn.00409cef
add esp, 0xc
mov eax, dword [ebp - 0x2c]
push eax
push 0x2728
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.00409cef
add esp, 0xc
mov edx, dword [ebp - 0x28]
push edx
push 0x2727
mov eax, dword [ebp - 0x34]
push eax
call fcn.00409cef
add esp, 0xc
push 0xc800
push 0x75c1
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.00409cef
add esp, 0xc
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.0040b89a
add esp, 8
mov dword [ebp - 0x3c], 1
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.0040b797
add esp, 8
cmp dword [ebp - 0x3c], 0
je 0x433c58
mov dword [ebp - 0x260], 0xffffffff
mov dword [ebp - 0x150], 0xffffffff
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x36c], 0
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x374], 1
mov dword [ebp - 0x370], 0
lea eax, [ebp - 0x150]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0040a282
add esp, 8
cmp dword [ebp - 0x150], 0
jl 0x433bd6
mov eax, dword [ebp - 0x150]
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [ebp - 0x374], eax
cmp dword [ebp - 0x374], 1
jle 0x433bbc
mov dword [ebp - 0x374], 1
jmp 0x433bd6
mov eax, dword [ebp - 0x150]
cdq
mov ecx, 0x3e8
idiv ecx
imul edx, edx, 0x3e8
mov dword [ebp - 0x370], edx
lea edx, [ebp - 0x260]
push edx
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x36c]
push ecx
lea edx, [ebp - 0x14c]
push edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.00409f4a
add esp, 0x14
lea ecx, [ebp - 0x374]
push ecx
lea edx, [ebp - 0x25c]
push edx
lea eax, [ebp - 0x36c]
push eax
lea ecx, [ebp - 0x14c]
push ecx
mov edx, dword [ebp - 0x260]
add edx, 1
push edx
call dword [sym.imp.WS2_32.dll_select]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0xffffffff
je 0x433c41
jmp 0x433c43
jmp 0x433c53
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.0040b797
add esp, 8
jmp 0x433b20
cmp dword [ebp - 0x3c], 0
jne 0x433c99
mov dword [ebp - 0x378], 0
lea eax, [ebp - 0x378]
push eax
push 0x200002
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.00409d55
add esp, 0xc
cmp dword [ebp - 0x378], 0xc8
jne 0x433c99
mov edx, dword [ebp - 0x40c]
mov dword [edx + 8], 1
mov eax, dword [ebp - 0x30]
push eax
call fcn.0040a063
add esp, 4
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.00409d10
add esp, 4
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0040c306
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
call fcn.00409bd6
add esp, 4
mov dword [ebp - 0x408], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00408540
mov eax, dword [ebp - 0x408]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret