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

Disassembly:
push 0xffffffffffffffff
push 0x507bd0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x540a54]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x540a54]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov eax, dword [esp + 0x78]
xor esi, esi
cmp dword [0x5a2f7c], esi
mov dword [esp + 0x24], eax
je 0x45c5e4
mov edi, 0xf
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], esi
mov byte [esp + 0x48], 0
mov dword [esp + 0x6c], esi
mov eax, dword [0x5a30bc]
mov ebx, dword [esp + 0x74]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push esi
lea edx, [esp + 0x4c]
push edx
push ebx
push eax
mov eax, dword [ecx + 0x3c]
call eax
test eax, eax
jne 0x45c605
mov dword [esp + 0x6c], 0xffffffff
cmp dword [esp + 0x5c], 0x10
jb 0x45c5d7
mov ecx, dword [esp + 0x48]
push ecx
call fcn.004dc98b
add esp, 4
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], esi
mov byte [esp + 0x48], 0
xor eax, eax
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.004dc8c2
add esp, 0x5c
ret
lea ecx, [esp + 0x2c]
call fcn.00439410
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], esi
mov byte [esp + 0x6c], 1
mov eax, dword [0x5a2f7c]
movzx ecx, word [eax]
lea edx, [esp + 0x2c]
push edx
push ecx
call fcn.00457ba0
mov eax, dword [0x5a30bc]
mov edx, dword [eax]
add esp, 8
push ebx
push eax
mov eax, dword [edx + 0x70]
call eax
cmp eax, 1
mov eax, dword [0x5a2f9c]
mov ecx, dword [eax + 4]
mov ebp, dword [ecx]
mov edi, eax
sete dl
cmp edi, esi
mov byte [esp + 0x17], dl
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x38], eax
je 0x45c9cb
lea esp, [esp]
cmp edi, dword [esp + 0x38]
jne 0x45c9cb
cmp ebp, ecx
sete al
test al, al
sete al
test al, al
je 0x45c81d
cmp ebp, dword [edi + 4]
je 0x45c818
mov esi, dword [ebp + 8]
mov eax, dword [0x5a2f7c]
movzx ecx, word [esi + 4]
movzx eax, word [eax]
cmp cx, ax
jne 0x45c74f
cmp dl, 1
jne 0x45c74b
movzx ecx, word [esi + 6]
push ecx
call fcn.0045bbb0
mov edi, eax
add esp, 4
test edi, edi
je 0x45c7fd
mov edx, dword [esp + 0x24]
mov eax, dword [edi + 0x14]
push edx
add eax, 1
push eax
call fcn.00434200
add esp, 8
test eax, eax
jne 0x45c7fd
mov cx, word [edi + 0xe]
cmp cx, word [esp + 0x18]
jne 0x45c7fd
cmp byte [esi + 8], 1
jne 0x45c725
cmp dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x48]
jae 0x45c70d
lea eax, [esp + 0x48]
mov edx, dword [edi + 0x18]
push eax
add edx, 0x35
push edx
call fcn.00434200
add esp, 8
test eax, eax
je 0x45c854
cmp byte [esi + 8], 0
jne 0x45c7fd
cmp dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x48]
jae 0x45c73e
lea eax, [esp + 0x48]
push eax
mov eax, dword [edi + 0x18]
add eax, 0x25
push eax
jmp 0x45c7f1
mov edi, dword [esp + 0x1c]
cmp word [esi + 6], ax
jne 0x45c801
mov eax, dword [0x5a2f7c]
cmp dword [eax + 0x10], 3
jl 0x45c801
test dl, dl
jne 0x45c801
push ecx
call fcn.0045bbb0
mov edi, eax
add esp, 4
test edi, edi
je 0x45c7fd
mov ecx, dword [esp + 0x24]
mov edx, dword [edi + 0x14]
push ecx
add edx, 1
push edx
call fcn.00434200
add esp, 8
test eax, eax
jne 0x45c7fd
mov ax, word [esp + 0x7c]
test ax, ax
je 0x45c7a7
cmp word [edi + 0xe], ax
jne 0x45c7fd
cmp byte [esi + 8], 1
jne 0x45c7d4
cmp dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x48]
jae 0x45c7bc
lea eax, [esp + 0x48]
push eax
mov eax, dword [edi + 0x18]
add eax, 0x35
push eax
call fcn.00434200
add esp, 8
test eax, eax
je 0x45c854
cmp byte [esi + 8], 0
jne 0x45c7fd
cmp dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x48]
jae 0x45c7e9
lea eax, [esp + 0x48]
mov ecx, dword [edi + 0x18]
push eax
add ecx, 0x25
push ecx
call fcn.00434200
add esp, 8
test eax, eax
je 0x45c854
mov edi, dword [esp + 0x1c]
cmp ebp, dword [edi + 4]
je 0x45c818
mov ebp, dword [ebp]
mov ecx, dword [esp + 0x28]
mov dl, byte [esp + 0x17]
xor esi, esi
jmp 0x45c670
jmp fcn.0043ad80
mov byte [esp + 0x6c], 0
lea ecx, [esp + 0x2c]
call fcn.0043a2f0
mov dword [esp + 0x6c], 0xffffffff
cmp dword [esp + 0x5c], 0x10
jb 0x45c847
mov edx, dword [esp + 0x48]
push edx
call fcn.004dc98b
add esp, 4
mov dword [esp + 0x5c], 0xf
jmp 0x45c5db
mov eax, dword [esi + 0xd]
test eax, eax
lea edi, [esi + 0xd]
je 0x45c913
cmp eax, ebx
je 0x45c913
mov ecx, dword [0x5a2f7c]
movzx edx, word [ecx]
movzx ecx, word [esi + 6]
push edx
movzx edx, word [esi + 4]
push ecx
push edx
push ebx
push eax
push str.server_cord_already_established_:_discarding_Cord_session__d___NewSessionID__d___OutletID__d___InletID__d___MyselfID__d_
push 0x2000001
call fcn.00464e60
mov eax, dword [0x5a30bc]
mov edx, dword [edi]
mov ecx, dword [eax]
add esp, 0x1c
push 1
push edx
push eax
mov eax, dword [ecx + 0x64]
call eax
push esi
call fcn.0045bc50
mov ecx, dword [0x5a2f78]
mov edx, dword [ecx]
add esp, 4
push eax
mov eax, dword [edx + 0xc8]
push esi
call eax
push edi
lea ecx, [esp + 0x20]
push ecx
mov ecx, 0x5a3064
call fcn.00458780
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x45c9c6
cmp eax, 0x5a3064
jne 0x45c9c6
mov edx, dword [esp + 0x20]
cmp edx, dword [0x5a3068]
sete cl
test cl, cl
sete cl
test cl, cl
je 0x45c90d
push edx
push eax
lea edx, [esp + 0x40]
push edx
mov ecx, 0x5a3064
call fcn.004584c0
mov dword [edi], 0
cmp dword [edi], ebx
je 0x45c980
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, 0x5a3064
mov dword [edi], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], esi
call fcn.00458400
cmp dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x48]
jae 0x45c944
lea eax, [esp + 0x48]
mov edx, dword [0x5a2f7c]
movzx ecx, word [edx]
movzx edx, word [esi + 6]
push ecx
movzx ecx, word [esi + 4]
push edx
movzx edx, word [esp + 0x20]
push ecx
push ebx
push edx
push eax
push str.server_cord_established_:__s:_d__SessionID__d___OutletID__d___InletID__d___MyselfID__d_
push 0x2000001
call fcn.00464e60
mov eax, dword [0x5a30bc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x6c]
add esp, 0x20
push ebx
push eax
call edx
mov byte [esp + 0x6c], 0
lea ecx, [esp + 0x2c]
call fcn.0043a2f0
mov dword [esp + 0x6c], 0xffffffff
cmp dword [esp + 0x5c], 0x10
jb 0x45c9aa
mov eax, dword [esp + 0x48]
push eax
call fcn.004dc98b
add esp, 4
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
mov eax, esi
jmp 0x45c5e6
jmp fcn.0044f020
jmp fcn.0043adf0