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

Disassembly:
push ebx
push esi
mov esi, ecx
xor bl, bl
push edi
mov edi, dword [esi + 0xac]
cmp byte [esp + 0x14], bl
jne 0x4b9540
mov ecx, dword [esi + 0xb0]
test ecx, ecx
jne 0x4b94ac
test dl, dl
je 0x4b950d
cmp edi, 0x13
je case.0x4b9458.19
cmp byte [esi + 0xdc], cl
jne case.0x4b9458.19
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x5c]
mov ecx, dword [esi + 0x58]
mov eax, dword [eax + 0x70]
add eax, edx
cmp eax, ecx
jbe 0x4b9391
mov ecx, esi
call fcn.004be5a0
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x5c]
cmp ecx, edx
je case.0x4b9458.19
mov eax, dword [esi + 0x3c]
sub ecx, edx
push ecx
add eax, edx
push eax
mov eax, dword [esi + 0xd0]
push esi
call eax
add esp, 0xc
test eax, eax
jns 0x4b9418
cmp eax, 0xfffff3ff
je case.0x4b9458.19
mov ecx, dword [esi + 0xac]
cmp eax, 0xfffff3fe
jne 0x4b93f1
xor eax, eax
mov edx, str.Socket_disconnected_while_reading_request._n
test ecx, ecx
mov ecx, esi
cmove edx, eax
call fcn.004bdda0
mov ecx, esi
call fcn.004c0cd0
mov ecx, dword [esi + 0xb0]
mov bl, 1
jmp 0x4b94b0
xor eax, eax
mov edx, str.Connection_socket_is_closed_due_to_error_when_reading_request._n
test ecx, ecx
mov ecx, esi
cmove edx, eax
call fcn.004bdda0
mov ecx, esi
call fcn.004c0cd0
mov ecx, dword [esi + 0xb0]
mov bl, 1
jmp 0x4b94b0
mov ecx, esi
jne 0x4b943e
mov edx, 5
mov byte [esi + 0xa5], 1
call fcn.004bdd20
mov ecx, esi
call fcn.004c0cd0
mov ecx, dword [esi + 0xb0]
mov bl, 1
jmp 0x4b94b0
add dword [esi + 0x5c], eax
call fcn.004c0430
mov eax, dword [esi + 0xac]
cmp eax, 0x15
ja case.0x4b9458.9
movzx eax, byte [eax + 0x4b95a4]
jmp dword [eax*4 + 0x4b9594]
cmp byte [esi + 0xa5], 0
je case.0x4b9458.19
mov edx, 4
mov ecx, esi
call fcn.004bdd20
mov ecx, esi
call fcn.004c0cd0
mov ecx, dword [esi + 0xb0]
mov bl, 1
jmp 0x4b94b0
mov eax, dword [esi + 0x58]
push dword [esi + 0x5c]
mov edx, dword [esi + 0x3c]
inc eax
mov ecx, dword [esi + 0x20]
push eax
call fcn.004c1d80
add esp, 8
mov ecx, esi
call fcn.004c0cd0
mov ecx, dword [esi + 0xb0]
mov bl, 1
jmp 0x4b94b0
mov eax, dword [esp + 0x14]
cmp ecx, 1
jne 0x4b94cc
cmp byte [esp + 0x10], 0
je 0x4b94cc
mov ecx, esi
call fcn.004c0590
mov ecx, esi
call fcn.004c0cd0
jmp 0x4b94d0
test bl, bl
je 0x4b950d
test edi, edi
jne 0x4b9514
cmp byte [esi + 0xa4], 0
je 0x4b9514
mov ecx, dword [esi + 0xac]
cmp ecx, 0xa
jne 0x4b94fc
mov ecx, esi
call fcn.004c0590
mov ecx, esi
call fcn.004c0cd0
mov ecx, dword [esi + 0xac]
cmp ecx, 0xc
je 0x4b9506
cmp ecx, 0xe
jne 0x4b9514
mov ecx, esi
call fcn.004c0590
mov ecx, esi
call fcn.004c0cd0
mov ecx, dword [esi + 0x10]
cmp byte [ecx + 0xc8], 0
jne 0x4b953c
test dword [ecx + 0xe4], 4
jne 0x4b953c
cmp dword [esi + 0xb0], 2
jne 0x4b953c
mov byte [ecx + 0xc8], 1
pop edi
pop esi
pop ebx
ret
mov edx, 1
call fcn.004bdd20
pop edi
mov ecx, esi
pop esi
pop ebx
jmp fcn.004c0cd0
push 0x54187c
push 0xb5b
push 0x541840
push 0x541810
push 2
call fcn.004cb8fa
add esp, 4
push eax
call fcn.004038b0
add esp, 0x14
push 2
call fcn.004cb8fa
add esp, 4
push eax
call fcn.004cd32e
add esp, 4
call fcn.004cebb9
nop
pop edi
xchg esp, eax
dec ebx
add byte [ebx + 0x54004b94], bl
xchg ebp, eax
dec ebx
add byte [ebp + 0x4b94], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add dword [ebx], eax
add cl, ah
int3