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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f2de5
mov eax, dword fs:[0]
push eax
sub esp, 0x210
push ebx
push esi
push edi
mov eax, dword [0x70b744]
xor eax, esp
push eax
lea eax, [esp + 0x220]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebx + 0x774]
push eax
lea ecx, [esp + 0x28]
call fcn.00411742
cmp byte [esp + 0x28], 0
je 0x56a9b0
mov ecx, dword [esp + 0x24]
call fcn.0040df8b
push str.CFileTransferThreadClient
lea ecx, [esp + 0x38]
call fcn.004120e9
xor esi, esi
push eax
mov dword [esp + 0x22c], esi
call fcn.004c2ad1
or dword [esp + 0x22c], 0xffffffff
pop ecx
xor edi, edi
push esi
inc edi
push edi
lea ecx, [esp + 0x3c]
call fcn.00410779
lea eax, [esp + 0x50]
push eax
call fcn.004c7e8e
pop ecx
mov ecx, dword [ebx + 0x10]
call fcn.004bc3f7
push esi
lea ecx, [esp + 0x94]
call fcn.004cb9f4
mov dword [esp + 0x228], edi
cmp byte [0x722275], 0
je 0x56aab6
cmp byte [esp + 0xb8], 0
jne 0x56aab6
sub esp, 0x24
mov ecx, esp
mov dword [esp + 0x44], esp
push esi
push 0x6a8cb4
call fcn.004ac9bc
push str.Error:_Could_not_impersonate_user_
lea ecx, [esp + 0xf4]
mov byte [esp + 0x250], 2
call fcn.00403e35
lea ecx, [esp + 0x58]
push ecx
mov ecx, eax
mov byte [esp + 0x250], 3
call fcn.0041f39e
mov byte [esp + 0x24c], 4
cmp dword [eax + 0x18], 8
jb 0x56aa7a
mov eax, dword [eax + 4]
jmp 0x56aa7d
add eax, 4
sub esp, 0x24
mov ecx, esp
mov dword [esp + 0x58], esp
push esi
push eax
call fcn.004ac9bc
mov ecx, 0x721f18
mov byte [esp + 0x270], 6
call fcn.00449cf1
push esi
push edi
lea ecx, [esp + 0x3c]
call fcn.00410779
lea ecx, [esp + 0xcc]
jmp 0x56b103
sub esp, 0x24
mov ecx, esp
mov dword [esp + 0x34], esp
push esi
push 0x6a8cb4
call fcn.004ac9bc
push str.The_Clientthread_started.
lea ecx, [esp + 0xf4]
mov byte [esp + 0x250], 7
call fcn.00403e35
lea ecx, [esp + 0x58]
push ecx
mov ecx, eax
mov byte [esp + 0x250], 8
call fcn.0041f39e
mov byte [esp + 0x24c], 9
cmp dword [eax + 0x18], 8
jb 0x56ab0a
mov eax, dword [eax + 4]
jmp 0x56ab0d
add eax, 4
sub esp, 0x24
mov ecx, esp
mov dword [esp + 0x68], esp
push esi
push eax
call fcn.004ac9bc
mov ecx, 0x721f18
mov byte [esp + 0x270], 0xb
call fcn.00449cf1
push esi
push edi
lea ecx, [esp + 0x3c]
call fcn.00410779
lea ecx, [esp + 0xcc]
mov byte [esp + 0x228], 1
call fcn.00401441
lea eax, [ebx + 0x78]
push eax
lea ecx, [esp + 0x28]
call fcn.00411742
lea edi, [ebx + 0x18]
mov byte [esp + 0x228], 0xc
call fcn.0044a73e
mov byte [esp + 0x228], 1
cmp byte [esp + 0x28], 0
je 0x56ab83
mov ecx, dword [esp + 0x24]
call fcn.0040df8b
push ebx
call fcn.0056a6e3
jmp 0x56aedd
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
lea eax, [ebx + 0x44]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x22c], 0xd
call fcn.00411742
mov byte [esp + 0x228], 0xe
jmp 0x56abf4
cmp dword [ebx + 0x40], esi
jne 0x56ac00
lea eax, [esp + 0x2c]
push eax
call fcn.00411437
pop ecx
push esi
push 0xc8
lea ecx, [esp + 0x7c]
call fcn.004113f6
push eax
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x34]
call fcn.0041154a
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [ebx + 0x54]
call fcn.00404169
mov eax, dword [ebx + 0x10]
cmp byte [eax + 0xc], 0
je 0x56abb5
cmp dword [ebx + 0x40], esi
mov eax, dword [ebx + 0x10]
setne cl
cmp byte [eax + 0xc], 0
jne 0x56aeec
test cl, cl
je 0x56aebd
lea esi, [ebx + 0x30]
call fcn.0044b3fc
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x18], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00411788
call fcn.0044b43e
mov edi, dword [esp + 0x18]
push 0x1a
push edi
lea esi, [esp + 0x90]
call fcn.005c1d09
mov eax, dword [eax + 4]
push str.C:_Kommando_empfangen._ID:__1__r_n
lea ecx, [esp + 0xd0]
mov dword [esp + 0x24], eax
call fcn.00403e35
lea ecx, [esp + 0x34]
push ecx
push ecx
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x234], 0xf
call fcn.00421fe5
pop ecx
mov ecx, eax
call fcn.0041f39e
xor esi, esi
push 0
inc esi
push esi
lea ecx, [esp + 0x3c]
call fcn.00410779
lea ecx, [esp + 0xcc]
mov byte [esp + 0x228], 0xe
call fcn.00401441
movzx eax, byte [edi + 0x10]
push eax
mov eax, ebx
call fcn.005c6fff
test al, al
je 0x56adbd
push ecx
push ecx
mov eax, esp
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], esp
push ecx
lea ecx, [eax + 4]
mov dword [eax], edi
call fcn.00411809
lea esi, [ebx + 0x18]
push esi
push ebx
call fcn.00567b23
test al, al
jne 0x56aea4
push ecx
push ecx
mov eax, esp
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], esp
push ecx
lea ecx, [eax + 4]
mov dword [eax], edi
call fcn.00411809
push esi
mov ecx, ebx
call fcn.00566082
test al, al
jne 0x56aea4
push ecx
push ecx
mov eax, esp
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], esp
push ecx
lea ecx, [eax + 4]
mov dword [eax], edi
call fcn.00411809
mov ecx, ebx
call fcn.00562c88
test al, al
jne 0x56aea4
movzx eax, byte [edi + 0x10]
sub eax, 0xc8
je 0x56adb2
dec eax
je 0x56ada2
sub eax, 0xb
je 0x56ad91
dec eax
je 0x56ad81
sub eax, 0x28
je 0x56ad71
dec eax
je 0x56ad65
dec eax
jne 0x56aea4
lea eax, [esp + 0x18]
push eax
push ebx
call fcn.0056185f
jmp 0x56aea4
mov ecx, ebx
call fcn.00561905
jmp 0x56aea4
lea edx, [esp + 0x18]
mov ecx, ebx
call fcn.00564892
jmp 0x56aea4
lea eax, [esp + 0x18]
push eax
push ebx
call fcn.00563cad
jmp 0x56aea4
lea eax, [esp + 0x18]
push eax
mov ecx, ebx
call fcn.005641cd
jmp 0x56aea4
lea edx, [esp + 0x18]
mov ecx, ebx
call fcn.0056435c
jmp 0x56aea4
push ebx
call fcn.00562af2
jmp 0x56aea4
lea ecx, [esp + 0x34]
mov edx, edi
call fcn.005c2169
push 0
push esi
lea ecx, [esp + 0x3c]
call fcn.00410779
sub esp, 0x24
mov ecx, esp
mov dword [esp + 0x34], esp
push 0
push 0x6a8cb4
call fcn.004ac9bc
push esi
lea ecx, [esp + 0x80]
mov edx, ebx
mov byte [esp + 0x250], 0x10
call fcn.005c72b6
mov edi, eax
push str....Received_command_is_NOT_valid._Ingoring._States_are__1_
lea ecx, [esp + 0xf4]
mov byte [esp + 0x250], 0x11
call fcn.00403e35
push edi
push eax
mov byte [esp + 0x254], 0x12
call fcn.00405a7c
pop ecx
pop ecx
lea ecx, [esp + 0x58]
push ecx
mov ecx, eax
call fcn.0041f39e
mov byte [esp + 0x24c], 0x13
cmp dword [eax + 0x18], 8
jb 0x56ae4b
mov eax, dword [eax + 4]
jmp 0x56ae4e
add eax, 4
sub esp, 0x24
mov ecx, esp
mov dword [esp + 0x68], esp
xor edi, edi
push edi
push eax
call fcn.004ac9bc
mov ecx, 0x721f18
mov byte [esp + 0x270], 0x16
call fcn.00449cf1
push edi
push esi
lea ecx, [esp + 0x3c]
call fcn.00410779
lea ecx, [esp + 0xcc]
mov byte [esp + 0x228], 0x14
call fcn.00401441
push edi
push esi
lea ecx, [esp + 0x60]
mov byte [esp + 0x230], 0xe
call fcn.00410779
mov ecx, dword [esp + 0x1c]
and dword [esp + 0x18], 0
and dword [esp + 0x1c], 0
test ecx, ecx
je 0x56aebb
call fcn.004117b8
xor esi, esi
mov byte [esp + 0x228], 0xd
cmp byte [esp + 0x28], 0
je 0x56aed5
mov ecx, dword [esp + 0x24]
call fcn.0040df8b
mov byte [esp + 0x228], 1
mov eax, dword [ebx + 0x10]
cmp byte [eax + 0xc], 0
je 0x56ab8e
jmp 0x56af0c
mov byte [esp + 0x228], 0xd
cmp byte [esp + 0x28], 0
je 0x56af04
mov ecx, dword [esp + 0x24]
call fcn.0040df8b
mov byte [esp + 0x228], 1
sub esp, 0x24
mov ecx, esp
mov dword [esp + 0x34], esp
push esi
push 0x6a8cb4
call fcn.004ac9bc
push str.Ending_Clientthread...
lea ecx, [esp + 0xf4]
mov byte [esp + 0x250], 0x17
call fcn.00403e35
lea ecx, [esp + 0x7c]
push ecx
mov ecx, eax
mov byte [esp + 0x250], 0x18
call fcn.0041f39e
mov byte [esp + 0x24c], 0x19
cmp dword [eax + 0x18], 8
jb 0x56af60
mov eax, dword [eax + 4]
jmp 0x56af63
add eax, 4
sub esp, 0x24
mov ecx, esp
mov dword [esp + 0x68], esp
push esi
push eax
call fcn.004ac9bc
mov ecx, 0x721f18
mov byte [esp + 0x270], 0x1b
call fcn.00449cf1
push esi
push 1
lea ecx, [esp + 0x60]
call fcn.00410779
lea ecx, [esp + 0xcc]
mov byte [esp + 0x228], 1
call fcn.00401441
lea eax, [ebx + 0x700]
call fcn.0044b482
lea eax, [ebx + 0x708]
call fcn.0044b482
push 2
push ebx
call fcn.005c7099
lea edi, [ebx + 0x94]
push edi
lea esi, [esp + 0x30]
call fcn.0044b496
cmp dword [eax], 0
mov ecx, dword [esp + 0x30]
setne byte [esp + 0x17]
test ecx, ecx
je 0x56afe8
call fcn.004117b8
cmp byte [esp + 0x17], 0
je 0x56b068
push edi
lea esi, [esp + 0x30]
call fcn.0044b496
push 2
push ebx
xor edi, edi
push edi
mov byte [esp + 0x234], 0x1c
mov esi, dword [eax]
push edi
lea eax, [esp + 0x68]
push 0x2813
push eax
call fcn.004b9340
pop ecx
pop ecx
mov byte [esp + 0x238], 0x1d
cmp dword [eax + 0x18], 8
jb 0x56b02e
mov eax, dword [eax + 4]
jmp 0x56b031
add eax, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.004120e9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
push edi
push 1
lea ecx, [esp + 0x60]
call fcn.00410779
mov byte [esp + 0x228], 1
mov ecx, dword [esp + 0x30]
cmp ecx, edi
je 0x56b068
call fcn.004117b8
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.004c7482
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
xor esi, esi
push esi
push 0x6a8cb4
call fcn.004ac9bc
push str.The_Clientthread_has_ended.
lea ecx, [esp + 0x19c]
mov byte [esp + 0x250], 0x1e
call fcn.00403e35
lea ecx, [esp + 0x7c]
push ecx
mov ecx, eax
mov byte [esp + 0x250], 0x1f
call fcn.0041f39e
mov byte [esp + 0x24c], 0x20
cmp dword [eax + 0x18], 8
jb 0x56b0cb
mov eax, dword [eax + 4]
jmp 0x56b0ce
add eax, 4
sub esp, 0x24
mov ecx, esp
mov dword [esp + 0x68], esp
push esi
push eax
call fcn.004ac9bc
mov ecx, 0x721f18
mov byte [esp + 0x270], 0x22
call fcn.00449cf1
push esi
push 1
lea ecx, [esp + 0x60]
call fcn.00410779
lea ecx, [esp + 0x174]
mov byte [esp + 0x228], 1
call fcn.00401441
or dword [esp + 0x228], 0xffffffff
lea ecx, [esp + 0x90]
call fcn.004cbcf8
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret