Function at 0x42b770
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x484e35
mov eax, dword fs:[0]
push eax
sub esp, 0x484
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49e058]
xor eax, esp
push eax
lea eax, [esp + 0x498]
mov dword fs:[0], eax
xor ebx, ebx
xor al, al
mov byte [esp + 0x17], al
mov dword [esp + 0x40], ebx
lea edi, [ebx + 0xf]
lea esp, [esp]
cmp al, bl
jne 0x42be32
mov eax, dword [esp + 0x40]
cdq
sub eax, edx
sar eax, 1
cmp eax, 3
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x3c], ebx
ja case.default.0x42b7ce
jmp dword [eax*4 + 0x42be4c]
mov dword [esp + 0x1c], 0x1f0
jmp case.default.0x42b7ce
mov dword [esp + 0x1c], 0x170
jmp case.default.0x42b7ce
mov dword [esp + 0x1c], 0x1e8
jmp case.default.0x42b7ce
mov dword [esp + 0x1c], 0x168
mov esi, dword [esp + 0x1c]
mov ebp, 0x1869f
add esi, 7
push 1
lea eax, [esp + 0x40]
push eax
push esi
push 0x429bd0
call fcn.00429e10
add esp, 0x10
test byte [esp + 0x3c], 0x41
jne 0x42b82a
sub ebp, 1
cmp ebp, ebx
jg 0x42b807
cmp ebp, 1
jl 0x42be16
mov ecx, dword [esp + 0x40]
and ecx, reloc.WS2_32.dll_accept
jns 0x42b844
dec ecx
or ecx, 0xfffffffe
inc ecx
push 1
jne 0x42b85f
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x1c]
push edx
add eax, 6
mov dword [esp + 0x20], 0xa0
push eax
jmp 0x42b874
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
push ecx
add edx, 6
mov dword [esp + 0x20], 0xb0
push edx
push 0x429bf0
call fcn.00429e10
add esp, 0x10
push 1
lea eax, [esp + 0x1c]
push eax
push esi
push 0x429bf0
mov dword [esp + 0x28], 0xec
call fcn.00429e10
add esp, 0x10
mov ebp, 0x1869f
push 1
lea ecx, [esp + 0x40]
push ecx
push esi
push 0x429bd0
call fcn.00429e10
mov eax, dword [esp + 0x4c]
mov edx, eax
and edx, 0x48
add esp, 0x10
cmp dl, 0x48
je 0x42b8d1
test al, 1
jne 0x42b8d1
sub ebp, 1
cmp ebp, ebx
jg 0x42b8a3
cmp ebp, 1
jl 0x42be16
test al, 1
jne 0x42be16
lea esi, [esp + 0x98]
mov ebp, 0x100
mov edi, edi
mov eax, dword [esp + 0x1c]
push 2
push esi
push eax
push 0x429bd0
mov dword [esi], ebx
call fcn.00429e10
add esp, 0x10
add esi, 4
sub ebp, 1
jne 0x42b8f0
push 0x13
push 0xa
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.0042a440
add esp, 0x10
mov ebp, dword [esp + 0x4a8]
push 0xffffffffffffffff
push ebx
push eax
mov ecx, ebp
mov dword [esp + 0x4ac], ebx
call fcn.004048d0
mov esi, 0x10
cmp dword [esp + 0x38], esi
mov dword [esp + 0x4a0], 0xffffffff
jb 0x42b964
mov eax, dword [esp + 0x24]
push eax
call fcn.0044d7d9
add esp, 4
push 0x2e
push 0x1b
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.0042a440
add esp, 0x10
mov ecx, dword [esp + 0x4ac]
push 0xffffffffffffffff
push ebx
push eax
mov dword [esp + 0x4ac], 1
call fcn.004048d0
cmp dword [esp + 0x38], esi
mov dword [esp + 0x4a0], 0xffffffff
jb 0x42b9b6
mov eax, dword [esp + 0x24]
push eax
call fcn.0044d7d9
add esp, 4
push 0x1a
push 0x17
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.0042a440
add esp, 0x10
mov ecx, dword [esp + 0x4b0]
push 0xffffffffffffffff
push ebx
push eax
mov dword [esp + 0x4ac], 2
call fcn.004048d0
cmp dword [esp + 0x38], esi
mov dword [esp + 0x4a0], 0xffffffff
jb 0x42ba08
mov eax, dword [esp + 0x24]
push eax
call fcn.0044d7d9
add esp, 4
push 1
push 0x48c0fc
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004049b0
lea ecx, [esp + 0x44]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push ebp
mov dword [esp + 0x4cc], 3
mov byte [ecx + 4], bl
call fcn.004048d0
lea edx, [esp + 0x40]
push edx
call fcn.0042a3c0
add esp, 0x24
push 0xffffffffffffffff
push ebx
push eax
mov ecx, ebp
mov byte [esp + 0x4ac], 4
call fcn.004048d0
cmp dword [esp + 0x38], esi
jb 0x42ba82
mov eax, dword [esp + 0x24]
push eax
call fcn.0044d7d9
add esp, 4
cmp dword [esp + 0x5c], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
mov dword [esp + 0x4a0], 0xffffffff
jb 0x42baac
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0044d7d9
add esp, 4
push 1
push 0x48c0fc
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004049b0
lea edx, [esp + 0x44]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push ebp
mov dword [esp + 0x4cc], 5
mov byte [ecx + 4], bl
call fcn.004048d0
lea eax, [esp + 0x40]
push eax
call fcn.0042a3c0
add esp, 0x24
push 0xffffffffffffffff
push ebx
push eax
mov ecx, ebp
mov byte [esp + 0x4ac], 6
call fcn.004048d0
cmp dword [esp + 0x38], esi
jb 0x42bb26
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0044d7d9
add esp, 4
cmp dword [esp + 0x5c], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
mov dword [esp + 0x4a0], 0xffffffff
jb 0x42bb50
mov edx, dword [esp + 0x48]
push edx
call fcn.0044d7d9
add esp, 4
push 1
push 0x48c0fc
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004049b0
mov ebp, dword [esp + 0x4ac]
lea eax, [esp + 0x44]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push ebp
mov dword [esp + 0x4cc], 7
mov byte [ecx + 4], bl
call fcn.004048d0
lea ecx, [esp + 0x40]
push ecx
call fcn.0042a3c0
add esp, 0x24
push 0xffffffffffffffff
push ebx
push eax
mov ecx, ebp
mov byte [esp + 0x4ac], 8
call fcn.004048d0
cmp dword [esp + 0x38], esi
jb 0x42bbd1
mov edx, dword [esp + 0x24]
push edx
call fcn.0044d7d9
add esp, 4
cmp dword [esp + 0x5c], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
mov dword [esp + 0x4a0], 0xffffffff
jb 0x42bbfb
mov eax, dword [esp + 0x48]
push eax
call fcn.0044d7d9
add esp, 4
push 1
push 0x48c0fc
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004049b0
lea ecx, [esp + 0x44]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push ebp
mov dword [esp + 0x4cc], 9
mov byte [ecx + 4], bl
call fcn.004048d0
lea edx, [esp + 0x40]
push edx
call fcn.0042a3c0
add esp, 0x24
push 0xffffffffffffffff
push ebx
push eax
mov ecx, ebp
mov byte [esp + 0x4ac], 0xa
call fcn.004048d0
cmp dword [esp + 0x38], esi
jb 0x42bc75
mov eax, dword [esp + 0x24]
push eax
call fcn.0044d7d9
add esp, 4
cmp dword [esp + 0x5c], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
mov dword [esp + 0x4a0], 0xffffffff
jb 0x42bc9f
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0044d7d9
add esp, 4
push 1
push 0x48c0fc
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004049b0
mov ebp, dword [esp + 0x4b0]
lea edx, [esp + 0x44]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push ebp
mov dword [esp + 0x4cc], 0xb
mov byte [ecx + 4], bl
call fcn.004048d0
lea eax, [esp + 0x40]
push eax
call fcn.0042a3c0
add esp, 0x24
push 0xffffffffffffffff
push ebx
push eax
mov ecx, ebp
mov byte [esp + 0x4ac], 0xc
call fcn.004048d0
cmp dword [esp + 0x38], esi
jb 0x42bd20
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0044d7d9
add esp, 4
cmp dword [esp + 0x5c], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
mov dword [esp + 0x4a0], 0xffffffff
jb 0x42bd4a
mov edx, dword [esp + 0x48]
push edx
call fcn.0044d7d9
add esp, 4
push 1
push 0x48c0fc
lea ecx, [esp + 0x68]
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
call fcn.004049b0
lea eax, [esp + 0x60]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push ebp
mov dword [esp + 0x4cc], 0xd
mov byte [ecx + 4], bl
call fcn.004048d0
lea ecx, [esp + 0x9c]
push ecx
call fcn.0042a3c0
add esp, 0x24
push 0xffffffffffffffff
push ebx
push eax
mov ecx, ebp
mov byte [esp + 0x4ac], 0xe
call fcn.004048d0
cmp dword [esp + 0x94], esi
jb 0x42bdd0
mov edx, dword [esp + 0x80]
push edx
call fcn.0044d7d9
add esp, 4
cmp dword [esp + 0x78], esi
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
mov dword [esp + 0x4a0], 0xffffffff
jb 0x42be03
mov eax, dword [esp + 0x64]
push eax
call fcn.0044d7d9
add esp, 4
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
mov byte [esp + 0x17], 1
jmp 0x42be1b
mov esi, 0x10
mov eax, dword [esp + 0x40]
add eax, 1
mov dword [esp + 0x40], eax
cmp eax, esi
mov al, byte [esp + 0x17]
jl 0x42b7b0
mov ecx, dword [esp + 0x498]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x490
ret