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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010b840
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x1014bb94]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xe4], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0xf4], eax
test eax, eax
jne 0x100568d1
lea edi, [esi + 8]
mov ecx, 0xf423f
lea edx, [edi + 4]
lock cmpxchg dword [edx], ecx
neg eax
sbb eax, eax
add eax, 1
je 0x10056938
mov ecx, 0xd
jmp 0x1005692c
lea eax, [esi + 0x108]
test eax, eax
je 0x1005690d
lea edi, [eax + 0x24]
push edi
call fcn.10002310
add esp, 4
test eax, eax
jne 0x1005690d
lea eax, [esi + 0x110]
mov ecx, eax
mov dword [ebp - 0xe0], eax
call fcn.10003420
test eax, eax
jne 0x10056975
push 1
push edi
call fcn.10002330
add esp, 8
lea edi, [esi + 8]
mov ecx, 0xf423f
lea edx, [edi + 4]
xor eax, eax
lock cmpxchg dword [edx], ecx
neg eax
sbb eax, eax
add eax, 1
je 0x10056938
mov ecx, 7
lea eax, [edx + 4]
xchg dword [eax], ecx
mov eax, 1
xchg dword [edx], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi + 0xc]
mov esi, eax
mov ecx, dword [ecx + 4]
add ecx, 0xc
add ecx, edi
mov edx, dword [ecx]
call dword [edx]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100e3d0f
mov esp, ebp
pop ebp
ret 4
mov ecx, esi
call fcn.10057670
test eax, eax
jne 0x10057055
lea eax, [esi + 0x28]
push eax
call fcn.10001b70
add esp, 4
test eax, eax
je 0x1005704b
lea eax, [esi + 0x2c]
push eax
call fcn.10001b70
add esp, 4
test eax, eax
jne 0x1005704b
mov ecx, esi
call fcn.100575c0
cmp eax, 1
jne 0x1005704b
mov eax, dword [esi + 0x138]
mov dword [ebp - 0xe0], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esi + 0x110]
mov dword [ebp - 0xdc], eax
call fcn.10003780
test eax, eax
jne 0x100569ee
push 1
push edi
call fcn.10002330
add esp, 8
push dword [ebp - 0xdc]
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [ebp - 0xfc]
xorps xmm0, xmm0
lea edi, [esi + 0x58]
movlpd qword [ebp - 0xfc], xmm0
push eax
push edi
mov dword [ebp - 0x20], edi
call fcn.10051ce0
add esp, 8
test al, al
je 0x10056b62
push dword [edi + 4]
lea ecx, [esi + 0x70]
push dword [edi]
call fcn.10049b20
push 0x1012266c
push 0x48
call fcn.100e3d2b
add esp, 8
mov dword [ebp - 0xdc], eax
test eax, eax
je 0x10056b23
mov eax, dword [edi]
mov dword [ebp - 0xec], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0xf0], eax
mov eax, dword [esi + 0x48]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0xe8], eax
call fcn.100a1880
mov ecx, dword [ebp - 0xdc]
mov esi, eax
mov edi, edx
call fcn.1009d100
mov ecx, dword [ebp - 0xdc]
mov eax, 1
mov dword [ecx + 8], vtable.FamRT::IZombie.0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0x27
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 3
mov dword [ecx], vtable.RolClient::CMessage.0
mov dword [ecx + 8], vtable.RolClient::CMessage.1.0
lock xadd dword [0x101541b4], eax
inc eax
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 0xe8]
mov dword [ecx + 0x34], eax
mov eax, dword [ebp - 0xec]
mov dword [ecx + 0x28], esi
mov esi, dword [ebp - 0xe4]
mov dword [ecx + 0x2c], edi
mov edi, dword [ebp - 0x20]
mov dword [ecx + 0x20], 2
mov dword [ecx + 0x38], vtable.RolClient::IReportableMsg.0
mov dword [ecx + 0x40], eax
mov eax, dword [ebp - 0xf0]
mov dword [ecx + 0x3c], 0x67
mov dword [ecx], vtable.RolClient::CMsgWaiting.0
mov dword [ecx + 8], vtable.RolClient::CMsgWaiting.1.0
mov dword [ecx + 0x38], vtable.RolClient::CMsgWaiting.2.0
mov dword [ecx + 0x44], eax
jmp 0x10056b25
xor ecx, ecx
push ecx
mov ecx, esi
call fcn.10053020
test eax, eax
je 0x10056956
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push dword [edi + 4]
lea ecx, [esi + 0x13c]
push dword [edi]
call fcn.10056470
test al, al
je 0x10056956
cmp dword [ebp - 0x14], 0
je 0x10056956
mov ecx, dword [esi + 0x44]
lea eax, [esi + 0x218]
push eax
lea edi, [esi + 0x70]
push edi
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
test al, al
je 0x10056956
push 0x50
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.100e5000
add esp, 0xc
lea ecx, [ebp - 0xd8]
call fcn.100a2fd0
mov dword [ebp - 0x8c], 0x2736
lea eax, [ebp - 0x24]
mov dword [ebp - 0x70], 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x68], 0
push eax
lea eax, [ebp - 0xd8]
mov dword [ebp - 0x88], 0x24
xorps xmm0, xmm0
mov dword [ebp - 0x6c], 1
push eax
movlpd qword [ebp - 0x80], xmm0
lea eax, [ebp - 0x88]
movlpd qword [ebp - 0x78], xmm0
mov ecx, esi
mov dword [ebp - 0x84], 0x20
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], 0
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0x20], 0
call fcn.10057080
test eax, eax
je 0x10056c71
cmp dword [ebp - 0x14], 0
jne 0x10056c85
cmp dword [ebp - 0xe0], 0
je 0x10056c64
lea eax, [ebp - 0x24]
mov dword [ebp - 0xdc], 1
push eax
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.10057440
test eax, eax
je 0x10056c71
cmp dword [ebp - 0x14], 0
jne 0x10056c85
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
push 0xc
call fcn.10056160
lea ecx, [ebp - 0xd8]
xor esi, esi
call fcn.100a3020
mov eax, esi
jmp 0x10056958
xorps xmm0, xmm0
lea ecx, [ebp - 0x64]
movups xmmword [ebp - 0x64], xmm0
movups xmmword [ebp - 0x54], xmm0
call fcn.100530e0
push 0
push 0
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x64]
call fcn.10054bf0
test al, al
je 0x10057025
push 0
push 1
lea ecx, [ebp - 0xd8]
push ecx
lea ecx, [esi + 0xe8]
call fcn.10054bf0
test al, al
je 0x10057025
lea eax, [esi + 0xe8]
mov ecx, edi
push eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0xdc]
call fcn.10049290
xorps xmm0, xmm0
lea ecx, [ebp - 0x44]
movups xmmword [ebp - 0x44], xmm0
movups xmmword [ebp - 0x34], xmm0
call fcn.100530e0
lea eax, [esi + 0xe8]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x44]
call fcn.10012ca0
test al, al
jne 0x10056d45
push 6
lea ecx, [esi + 8]
call fcn.1000c800
lea ecx, [ebp - 0x44]
call fcn.10006ff0
lea ecx, [ebp - 0x64]
xor esi, esi
call fcn.10006ff0
lea ecx, [ebp - 0xd8]
call fcn.100a3020
mov eax, esi
jmp 0x10056958
push 0x1012266c
push 0x88
mov dword [ebp - 0x1c], 0
call fcn.100e3d2b
add esp, 8
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10056e8d
mov eax, dword [esi + 0x48]
mov dword [ebp - 0xe0], eax
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x20], eax
call fcn.100a1880
mov ecx, dword [ebp - 0x14]
mov esi, eax
mov edi, edx
call fcn.1009d100
mov ecx, dword [ebp - 0x14]
mov eax, 1
mov dword [ecx + 8], vtable.FamRT::IZombie.0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0x24
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 3
mov dword [ecx], vtable.RolClient::CMessage.0
mov dword [ecx + 8], vtable.RolClient::CMessage.1.0
lock xadd dword [0x101541b4], eax
inc eax
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 0xe0]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 0x20]
mov dword [ecx + 0x28], esi
lea esi, [ecx + 0x44]
mov dword [ecx + 0x34], eax
mov eax, dword [ebp - 0xdc]
mov dword [ecx + 0x20], 2
mov dword [ecx + 0x2c], edi
mov dword [ecx + 0x38], vtable.RolClient::IReportableMsg.0
mov dword [ecx + 0x3c], 0x67
mov dword [ecx], vtable.RolClient::CMsgTCPConnected.0
mov dword [ecx + 8], vtable.RolClient::CMsgTCPConnected.1.0
mov dword [ecx + 0x38], vtable.RolClient::CMsgTCPConnected.2.0
mov dword [ecx + 0x40], eax
mov ecx, esi
call fcn.1009d100
lea eax, [ebp - 0x5c]
mov dword [esi], vtable.RolClient::TClientIpAddress_wchar_t_const___class_FamRT::CUnicodeString_.0
push eax
lea ecx, [esi + 8]
call fcn.1009ca70
movzx eax, word [ebp - 0x50]
lea ecx, [esi + 0x18]
mov word [esi + 0x14], ax
mov al, byte [ebp - 0x4e]
mov byte [esi + 0x16], al
lea eax, [ebp - 0x4c]
push eax
call fcn.100a1ab0
mov esi, dword [ebp - 0x14]
lea ecx, [esi + 0x64]
call fcn.1009d100
lea eax, [ebp - 0x3c]
mov dword [esi + 0x64], vtable.RolClient::TClientIpAddress_wchar_t_const___class_FamRT::CUnicodeString_.0
push eax
lea ecx, [esi + 0x6c]
call fcn.1009ca70
movzx eax, word [ebp - 0x30]
lea ecx, [esi + 0x7c]
mov word [esi + 0x78], ax
mov al, byte [ebp - 0x2e]
mov byte [esi + 0x7a], al
lea eax, [ebp - 0x2c]
push eax
call fcn.100a1ab0
mov esi, dword [ebp - 0xe4]
mov eax, dword [ebp - 0x14]
jmp 0x10056e8f
xor eax, eax
push eax
lea ecx, [ebp - 0x1c]
call fcn.100535e0
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
test eax, eax
jne 0x10056eaa
mov eax, 6
jmp 0x10056ebb
push eax
mov ecx, esi
call fcn.10052ea0
test eax, eax
jne 0x10056ef0
mov eax, 5
push eax
lea ecx, [esi + 8]
call fcn.1000c800
lea ecx, [ebp - 0x1c]
call fcn.10053e20
lea ecx, [ebp - 0x44]
call fcn.10006ff0
lea ecx, [ebp - 0x64]
xor esi, esi
call fcn.10006ff0
lea ecx, [ebp - 0xd8]
call fcn.100a3020
mov eax, esi
jmp 0x10056958
lea ecx, [ebp - 0x1c]
call fcn.10053e20
lea ecx, [ebp - 0x44]
call fcn.10006ff0
push 0x1012266c
push 0x464
mov dword [ebp - 0x18], 0
call fcn.100e3d2b
add esp, 8
test eax, eax
je 0x10056f28
push 1
mov ecx, eax
call fcn.100ac0e0
jmp 0x10056f2a
xor eax, eax
push eax
lea ecx, [ebp - 0x18]
call fcn.10053700
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], 4
jne 0x10056f6b
push 6
lea ecx, [esi + 8]
call fcn.1000c800
lea ecx, [ebp - 0x18]
xor esi, esi
call fcn.10053e50
lea ecx, [ebp - 0x64]
call fcn.10006ff0
lea ecx, [ebp - 0xd8]
call fcn.100a3020
mov eax, esi
jmp 0x10056958
mov ecx, dword [esi + 0x24]
call fcn.10007fd0
mov ecx, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0xd8]
push eax
call fcn.100aac60
test eax, eax
jne 0x10056fef
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10056fbf
add eax, 8
mov ecx, esi
push eax
push 0xe
call fcn.100563b0
lea ecx, [ebp - 0x18]
xor esi, esi
call fcn.10053e50
lea ecx, [ebp - 0x64]
call fcn.10006ff0
lea ecx, [ebp - 0xd8]
call fcn.100a3020
mov eax, esi
jmp 0x10056958
xor eax, eax
mov ecx, esi
push eax
push 0xe
call fcn.100563b0
lea ecx, [ebp - 0x18]
xor esi, esi
call fcn.10053e50
lea ecx, [ebp - 0x64]
call fcn.10006ff0
lea ecx, [ebp - 0xd8]
call fcn.100a3020
mov eax, esi
jmp 0x10056958
mov ecx, dword [ebp - 0xf4]
lea eax, [ebp - 0x18]
push eax
call fcn.10056070
lea ecx, [ebp - 0x18]
mov esi, 1
call fcn.10053e50
lea ecx, [ebp - 0x64]
call fcn.10006ff0
lea ecx, [ebp - 0xd8]
call fcn.100a3020
mov eax, esi
jmp 0x10056958
push 6
lea ecx, [esi + 8]
call fcn.1000c800
lea ecx, [ebp - 0x64]
xor esi, esi
call fcn.10006ff0
lea ecx, [ebp - 0xd8]
call fcn.100a3020
mov eax, esi
jmp 0x10056958
push 5
lea ecx, [esi + 8]
call fcn.1000c800
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0xe0]
mov esi, eax
call fcn.10003780
test eax, eax
jne 0x1005694f
push 1
push edi
call fcn.10002330
add esp, 8
jmp 0x1005694f