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

Disassembly:
push 0xffffffffffffffff
push 0x4c0290
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4df210]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4df210]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov eax, dword [esp + 0x7c]
xor ebp, ebp
cmp dword [0x4e9af0], ebp
mov dword [esp + 0x28], eax
je 0x412384
mov edi, 0xf
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebp
mov byte [esp + 0x4c], 0
mov dword [esp + 0x70], ebp
mov eax, dword [0x4e9a60]
mov esi, dword [esp + 0x78]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push ebp
lea edx, [esp + 0x50]
push edx
push esi
push eax
mov eax, dword [ecx + 0x3c]
call eax
test eax, eax
jne 0x4123a5
mov dword [esp + 0x70], 0xffffffff
cmp dword [esp + 0x60], 0x10
jb 0x412377
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0048d056
add esp, 4
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebp
mov byte [esp + 0x4c], 0
xor eax, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0048cf20
add esp, 0x60
ret
call fcn.0041b440
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ebp
mov byte [esp + 0x70], 1
mov eax, dword [0x4e9af0]
movzx ecx, word [eax]
lea edx, [esp + 0x30]
push edx
push ecx
call fcn.0040f0f0
mov eax, dword [0x4e9a60]
mov edx, dword [eax]
add esp, 8
push esi
push eax
mov eax, dword [edx + 0x68]
call eax
cmp eax, 1
mov eax, dword [0x4e9b10]
mov ecx, dword [eax + 4]
mov esi, dword [ecx]
mov edi, eax
sete bl
cmp edi, ebp
mov byte [esp + 0x1b], bl
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x3c], eax
je 0x4126b0
lea esp, [esp]
cmp edi, dword [esp + 0x3c]
jne 0x4126b0
cmp esi, ecx
sete al
test al, al
sete al
test al, al
je 0x412553
cmp esi, dword [edi + 4]
je 0x41254e
mov ebp, dword [esi + 8]
mov edx, dword [0x4e9af0]
movzx ecx, word [ebp + 4]
movzx eax, word [edx]
cmp cx, ax
jne 0x4124a8
cmp bl, 1
jne 0x4124a8
movzx ecx, word [ebp + 6]
push ecx
call fcn.0040ff00
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x412532
mov edx, dword [esp + 0x28]
mov esi, dword [ebx + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edx
add esi, 1
call edi
push eax
mov eax, dword [esp + 0x2c]
push eax
push esi
call edi
push eax
push esi
push 0x10001
push 0x400
call dword [sym.imp.KERNEL32.dll_CompareStringA]
sub eax, 2
jne 0x41252a
mov cx, word [ebx + 0xe]
cmp cx, word [esp + 0x24]
jmp 0x4124dc
cmp word [ebp + 6], ax
jne 0x412532
cmp dword [edx + 0x10], 3
jl 0x412532
test bl, bl
jne 0x412532
push ecx
call fcn.0040ff00
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x412532
mov edi, dword [ebx + 0x14]
mov esi, dword [esp + 0x28]
add edi, 1
call fcn.0040d810
test eax, eax
jne 0x41252a
cmp byte [ebp + 8], 1
jne 0x412506
cmp dword [esp + 0x60], 0x10
mov esi, dword [esp + 0x4c]
jae 0x4124f3
lea esi, [esp + 0x4c]
mov edi, dword [ebx + 0x18]
add edi, 0x35
call fcn.0040d810
test eax, eax
je 0x41258a
cmp byte [ebp + 8], 0
jne 0x41252a
cmp dword [esp + 0x60], 0x10
mov esi, dword [esp + 0x4c]
jae 0x41251b
lea esi, [esp + 0x4c]
mov edi, dword [ebx + 0x18]
add edi, 0x25
call fcn.0040d810
test eax, eax
je 0x41258a
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
cmp esi, dword [edi + 4]
je 0x41254e
mov edx, dword [esi]
mov ecx, dword [esp + 0x2c]
mov bl, byte [esp + 0x1b]
mov dword [esp + 0x20], edx
mov esi, edx
xor ebp, ebp
jmp 0x412410
jmp fcn.00421510
mov byte [esp + 0x70], 0
lea esi, [esp + 0x30]
call fcn.0041b4d0
mov dword [esp + 0x70], 0xffffffff
cmp dword [esp + 0x60], 0x10
jb 0x41257d
mov eax, dword [esp + 0x4c]
push eax
call fcn.0048d056
add esp, 4
mov dword [esp + 0x60], 0xf
jmp 0x41237b
mov eax, dword [ebp + 0xd]
test eax, eax
mov edi, dword [esp + 0x78]
lea ebx, [ebp + 0xd]
je 0x41260c
cmp eax, edi
je 0x41260c
push eax
push str.server_cord_already_established_:_discarding_session:__d
push 0x1000000
call fcn.00434400
mov eax, dword [0x4e9a60]
mov edx, dword [ebx]
mov ecx, dword [eax]
add esp, 0xc
push 1
push edx
push eax
mov eax, dword [ecx + 0x5c]
call eax
lea eax, [esp + 0x1c]
mov esi, 0x56b420
call fcn.00413f50
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4126ab
cmp eax, esi
jne 0x4126ab
mov edx, dword [esp + 0x20]
cmp edx, dword [0x56b424]
sete cl
test cl, cl
sete cl
test cl, cl
je 0x412606
push edx
push eax
lea ecx, [esp + 0x44]
push ecx
push esi
call fcn.00413c70
mov dword [ebx], 0
cmp dword [ebx], edi
je 0x412665
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x40]
mov dword [ebx], edi
push eax
mov ebx, 0x56b420
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebp
call fcn.00413b90
cmp dword [esp + 0x60], 0x10
mov eax, dword [esp + 0x4c]
jae 0x41263d
lea eax, [esp + 0x4c]
movzx ecx, word [esp + 0x24]
push ecx
push eax
push edi
push str.server_cord_established_:__d___s:_d_
push 0x2000001
call fcn.00434400
mov eax, dword [0x4e9a60]
mov edx, dword [eax]
add esp, 0x14
push edi
push eax
mov eax, dword [edx + 0x64]
call eax
mov byte [esp + 0x70], 0
lea esi, [esp + 0x30]
call fcn.0041b4d0
mov dword [esp + 0x70], 0xffffffff
cmp dword [esp + 0x60], 0x10
jb 0x41268f
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0048d056
add esp, 4
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
mov eax, ebp
jmp 0x412386
jmp fcn.00418b70
jmp fcn.00421580