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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43ed97
mov eax, dword fs:[0]
push eax
sub esp, 0x200
mov eax, dword [0x47ac60]
xor eax, esp
mov dword [esp + 0x1f8], eax
push ebx
push esi
push edi
mov eax, dword [0x47ac60]
xor eax, esp
push eax
lea eax, [esp + 0x210]
mov dword fs:[0], eax
mov ecx, dword [0x47c2dc]
mov eax, dword [0x47c2d8]
add ecx, 4
push 7
add eax, 0xffffffff
mov dword [esp + 0x40], ecx
xor ebx, ebx
push str.Usage:
lea ecx, [esp + 0xac]
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc4], 0xf
mov dword [esp + 0xc0], ebx
mov byte [esp + 0xb0], bl
call fcn.00401e10
lea edx, [esp + 0xa4]
push edx
mov edi, str.P4fsV
lea esi, [esp + 0xe0]
mov dword [esp + 0x21c], ebx
call fcn.00402dc0
add esp, 4
push eax
mov edi, str.___c_client__H_host__p_port__P_pass__u_user__h__sync____IMSA___a__v_sync_options_
lea esi, [esp + 0xfc]
mov byte [esp + 0x21c], 1
call fcn.00402dc0
add esp, 4
mov esi, 0x10
cmp dword [esp + 0xf4], esi
jb 0x402395
mov eax, dword [esp + 0xe0]
push eax
call fcn.00427b4b
add esp, 4
mov edi, 0xf
mov dword [esp + 0xf4], edi
mov dword [esp + 0xf0], ebx
mov byte [esp + 0xe0], bl
cmp dword [esp + 0xbc], esi
jb 0x4023c8
mov ecx, dword [esp + 0xa8]
push ecx
call fcn.00427b4b
add esp, 4
mov dword [esp + 0xbc], edi
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
mov byte [esp + 0x218], 5
cmp dword [esp + 0x110], esi
mov dword [esp + 0x14c], ebx
mov dword [esp + 0x64], 3
jb 0x402412
mov edx, dword [esp + 0xfc]
mov dword [esp + 0x68], edx
jmp 0x40241d
lea eax, [esp + 0xfc]
mov dword [esp + 0x68], eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x68]
push edx
push 0x1f
push str.c:H:p:P:u:h
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x164]
call fcn.004078b0
cmp dword [esp + 0x18], 1
jle 0x40259e
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], 0x47c220
push 2
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x220], 6
call fcn.00407c20
push 0x19
push str.Error_parsing_arguments._n
lea ecx, [esp + 0x74]
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
call fcn.00401e10
lea eax, [esp + 0x6c]
mov byte [esp + 0x218], 7
mov edi, dword [esp + 0x24]
push eax
lea esi, [esp + 0x4c]
call fcn.00402dc0
add esp, 4
push eax
mov edi, 0x449f3c
lea esi, [esp + 0x8c]
mov byte [esp + 0x21c], 8
call fcn.00402dc0
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x47bd64
mov byte [esp + 0x224], 9
call fcn.00401c40
mov esi, 0x10
cmp dword [esp + 0xa0], esi
jb 0x402507
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.00427b4b
add esp, 4
cmp dword [esp + 0x60], esi
mov edi, 0xf
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
jb 0x402534
mov edx, dword [esp + 0x4c]
push edx
call fcn.00427b4b
add esp, 4
cmp dword [esp + 0x84], esi
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
jb 0x402556
mov eax, dword [esp + 0x70]
push eax
call fcn.00427b4b
add esp, 4
mov eax, dword [esp + 0x24]
cmp eax, 0x47c220
je 0x40256a
push eax
call fcn.00428392
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x218], 4
call fcn.00407ac0
cmp dword [esp + 0x110], esi
jb 0x402594
mov ecx, dword [esp + 0xfc]
push ecx
call fcn.00427b4b
add esp, 4
mov eax, 3
jmp 0x402d13
push ebx
push 0x68
lea ecx, [esp + 0x154]
call fcn.00407870
test eax, eax
jne 0x402ccf
push ebx
push 0x3f
lea ecx, [esp + 0x154]
call fcn.00407870
test eax, eax
jne 0x402ccf
lea ecx, [esp + 0x30]
call fcn.00405fd0
push ebx
push 0x63
lea ecx, [esp + 0x154]
mov byte [esp + 0x220], 0xa
call fcn.00407870
cmp eax, ebx
je 0x4025fa
push eax
lea ecx, [esp + 0x34]
call fcn.00405f10
push ebx
push 0x48
lea ecx, [esp + 0x154]
call fcn.00407870
cmp eax, ebx
je 0x402617
push eax
lea ecx, [esp + 0x34]
call fcn.00405f30
push ebx
push 0x75
lea ecx, [esp + 0x154]
call fcn.00407870
cmp eax, ebx
je 0x402634
push eax
lea ecx, [esp + 0x34]
call fcn.00405fa0
push ebx
push 0x70
lea ecx, [esp + 0x154]
call fcn.00407870
cmp eax, ebx
je 0x402651
push eax
lea ecx, [esp + 0x34]
call fcn.00405f80
push ebx
push 0x50
lea ecx, [esp + 0x154]
call fcn.00407870
cmp eax, ebx
je 0x40266e
push eax
lea ecx, [esp + 0x34]
call fcn.00405f50
cmp dword [esp + 0x14], ebx
je 0x402b88
mov edx, dword [esp + 0x3c]
mov esi, dword [edx]
mov edi, str.sync
mov ecx, 5
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x402b83
sub dword [esp + 0x14], 1
add dword [esp + 0x3c], 4
call fcn.00403470
test eax, eax
jne 0x4026af
mov dword [0x47cdd8], 3
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00427acb
add esp, 4
mov esi, eax
xor edi, edi
cmp dword [esp + 0x14], ebx
mov dword [esp + 0x44], esi
mov byte [esp + 0x13], bl
mov dword [esp + 0x40], ebx
jle 0x4027b6
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov esi, dword [eax + ecx*4]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4026f6
sub eax, edx
cmp eax, 2
jne 0x402793
cmp byte [esi], 0x2d
jne 0x402793
mov al, byte [esi + 1]
cmp al, 0x49
je 0x402726
cmp al, 0x4d
je 0x402726
cmp al, 0x53
je 0x402726
cmp al, 0x41
jne 0x402735
cmp byte [esp + 0x13], bl
jne 0x4028b3
mov byte [esp + 0x13], 1
movsx eax, al
add eax, 0xffffffbf
cmp eax, 0x35
ja case.0x402747.66
movzx edx, byte [eax + 0x402d54]
jmp dword [edx*4 + 0x402d38]
mov dword [0x47cdd8], ebx
jmp 0x40279d
mov dword [0x47cdd8], 3
jmp 0x40279d
mov dword [0x47cdd8], 1
jmp 0x40279d
mov dword [0x47cdd8], 2
jmp 0x40279d
mov byte [0x47bd29], bl
jmp 0x40279d
mov byte [0x47bd28], bl
jmp 0x40279d
mov eax, dword [esp + 0x44]
mov dword [eax + edi*4], esi
jmp 0x40279a
mov ecx, dword [esp + 0x44]
mov dword [ecx + edi*4], esi
add edi, 1
mov eax, dword [esp + 0x40]
add eax, 1
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x40], eax
jl 0x4026e6
mov esi, dword [esp + 0x44]
push 0x449fc6
push 0x449fc8
lea ecx, [esp + 0x38]
mov dword [0x47cddc], 0x401070
mov dword [0x47cde0], 0x401090
call fcn.00406050
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
call fcn.00405eb0
cmp dword [esp + 0x18], 1
jle 0x40293f
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], 0x47c220
push 2
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x220], 0x11
call fcn.00407c20
mov edx, dword [esp + 0x24]
push edx
lea ecx, [esp + 0x4c]
call fcn.00401b20
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x47bd64
mov byte [esp + 0x224], 0x12
call fcn.00401c40
mov esi, 0x10
cmp dword [esp + 0x60], esi
jb 0x40285a
mov eax, dword [esp + 0x4c]
push eax
call fcn.00427b4b
add esp, 4
mov eax, dword [esp + 0x24]
cmp eax, 0x47c220
je 0x40286e
push eax
call fcn.00428392
add esp, 4
lea ecx, [esp + 0x30]
mov byte [esp + 0x218], 5
call fcn.00405e90
lea ecx, [esp + 0x18]
mov byte [esp + 0x218], 4
call fcn.00407ac0
cmp dword [esp + 0x110], esi
jb 0x4028a9
mov ecx, dword [esp + 0xfc]
push ecx
call fcn.00427b4b
add esp, 4
mov eax, 6
jmp 0x402d13
push str.Invalid_arguments:_cannot_use_multiple_filewriter_types._n
lea ecx, [esp + 0x4c]
call fcn.00401b20
lea edx, [esp + 0xf8]
push edx
push eax
lea edi, [esp + 0xc8]
mov byte [esp + 0x220], 0xf
call fcn.00402e70
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x47bd64
mov byte [esp + 0x224], 0x10
call fcn.00401c40
mov ecx, edi
call fcn.00401b60
lea ecx, [esp + 0x48]
call fcn.00401b60
lea ecx, [esp + 0x30]
mov byte [esp + 0x218], 5
call fcn.00405e90
lea ecx, [esp + 0x18]
mov byte [esp + 0x218], 4
call fcn.00407ac0
lea ecx, [esp + 0xf8]
call fcn.00401b60
mov eax, 3
jmp 0x402d13
push str.P4fsV
lea ecx, [esp + 0x34]
call fcn.00405f00
mov dword [esp + 0x120], ebx
mov dword [esp + 0x124], ebx
mov dword [esp + 0x114], 0x44a07c
mov dword [esp + 0x148], 0xf
mov dword [esp + 0x144], ebx
mov byte [esp + 0x134], bl
push esi
mov byte [esp + 0x21c], 0x13
push edi
lea ecx, [esp + 0x38]
mov dword [esp + 0x130], 0x401040
mov dword [esp + 0x134], 0x401060
call fcn.00406330
lea edx, [esp + 0x114]
push edx
push str.sync
lea ecx, [esp + 0x38]
call fcn.00405ec0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
call fcn.00405ed0
push esi
call fcn.00428392
add esp, 4
call fcn.00403280
lea esi, [esp + 0x48]
lea eax, [esp + 0x114]
call fcn.00402280
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x47bd48
mov byte [esp + 0x224], 0x14
call fcn.00401c40
cmp dword [esp + 0x60], 0x10
jb 0x402a14
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.00427b4b
add esp, 4
cmp dword [esp + 0x18], 1
jle 0x402af5
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], 0x47c220
push 2
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x220], 0x15
call fcn.00407c20
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0xc4]
call fcn.00401b20
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x47bd64
mov byte [esp + 0x224], 0x16
call fcn.00401c40
lea ecx, [esp + 0xc0]
mov byte [esp + 0x218], 0x15
call fcn.00401b60
push ebx
push 0x47bd64
or eax, 0xffffffff
mov esi, 0x47bd48
call fcn.00401f70
mov eax, dword [esp + 0x24]
cmp eax, 0x47c220
je 0x402aa9
push eax
call fcn.00428392
add esp, 4
lea esi, [esp + 0x114]
mov byte [esp + 0x218], 0xa
call fcn.00402d90
lea ecx, [esp + 0x30]
mov byte [esp + 0x218], 5
call fcn.00405e90
lea ecx, [esp + 0x18]
mov byte [esp + 0x218], 4
call fcn.00407ac0
lea ecx, [esp + 0xf8]
call fcn.00401b60
mov eax, 8
jmp 0x402d13
mov byte [esp + 0x218], 0xa
cmp dword [0x47bd5c], ebx
lea esi, [esp + 0x114]
je 0x402b49
call fcn.00402d90
lea ecx, [esp + 0x30]
mov byte [esp + 0x218], 5
call fcn.00405e90
lea ecx, [esp + 0x18]
mov byte [esp + 0x218], 4
call fcn.00407ac0
lea ecx, [esp + 0xf8]
call fcn.00401b60
mov eax, 7
jmp 0x402d13
call fcn.00402d90
lea ecx, [esp + 0x30]
mov byte [esp + 0x218], 5
call fcn.00405e90
lea ecx, [esp + 0x18]
mov byte [esp + 0x218], 4
call fcn.00407ac0
lea ecx, [esp + 0xf8]
call fcn.00401b60
xor eax, eax
jmp 0x402d13
mov esi, 0x10
push str._supports_only_the_p4_sync_command._n
lea ecx, [esp + 0xc4]
call fcn.00401b20
mov edi, eax
push str.P4fsV
lea ecx, [esp + 0x70]
mov byte [esp + 0x21c], 0xb
call fcn.00401b20
push edi
push eax
lea edi, [esp + 0x90]
mov byte [esp + 0x220], 0xc
call fcn.00402e70
lea ecx, [esp + 0x100]
push ecx
push eax
lea edi, [esp + 0x58]
mov byte [esp + 0x228], 0xd
call fcn.00402e70
add esp, 0x10
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x47bd64
mov byte [esp + 0x224], 0xe
call fcn.00401c40
cmp dword [esp + 0x60], esi
jb 0x402c0d
mov edx, dword [esp + 0x4c]
push edx
call fcn.00427b4b
add esp, 4
cmp dword [esp + 0xa0], esi
mov edi, 0xf
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
jb 0x402c37
mov eax, dword [esp + 0x8c]
push eax
call fcn.00427b4b
add esp, 4
cmp dword [esp + 0x84], esi
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
jb 0x402c62
mov ecx, dword [esp + 0x70]
push ecx
call fcn.00427b4b
add esp, 4
cmp dword [esp + 0xd8], esi
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
jb 0x402c8d
mov edx, dword [esp + 0xc4]
push edx
call fcn.00427b4b
add esp, 4
lea ecx, [esp + 0x30]
mov byte [esp + 0x218], 5
call fcn.00405e90
lea ecx, [esp + 0x18]
mov byte [esp + 0x218], 4
call fcn.00407ac0
cmp dword [esp + 0x110], esi
jb 0x402cc8
mov eax, dword [esp + 0xfc]
push eax
call fcn.00427b4b
add esp, 4
mov eax, 4
jmp 0x402d13
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x100]
push ecx
mov ecx, 0x47bd64
call fcn.00401c40
lea ecx, [esp + 0x18]
mov byte [esp + 0x218], 4
call fcn.00407ac0
cmp dword [esp + 0x110], esi
jb 0x402d0e
mov edx, dword [esp + 0xfc]
push edx
call fcn.00427b4b
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x210]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1f8]
xor ecx, esp
call fcn.00427b50
mov esp, ebp
pop ebp
ret