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

Disassembly:
sub esp, 0xc4
mov eax, dword [0x100ed040]
xor eax, esp
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xcc]
push ebp
push esi
xor ebp, ebp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xe0]
lea esi, [esp + 0x78]
push edi
mov edi, dword [esp + 0xd4]
mov dword [esp + 0x28], edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], esi
mov byte [esp + 0xf], 0
test edi, edi
je 0x100567a4
cmp dword [edi], 0xbab1e
jne 0x100567a4
cmp byte [edi + 0xe2], 0
je 0x10056157
pop edi
pop esi
lea eax, [ebp + 8]
pop ebp
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.1002897d
add esp, 0xc4
ret
cmp dword [esp + 0xe0], ebp
jge 0x1005617d
pop edi
pop esi
mov eax, 0xa
pop ebp
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.1002897d
add esp, 0xc4
ret
push ebx
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x100561e9
lea eax, [esp + 0x6c]
push eax
push ebx
call fcn.100545f0
add esp, 8
mov edi, eax
xor edx, edx
mov eax, 1
nop dword [eax]
or esi, 0xffffffff
test edi, eax
je 0x100561b3
mov ecx, dword [esp + edx*4 + 0x6c]
cmp ecx, 0xffffffff
jae 0x100561b3
inc ebp
mov esi, ecx
mov ecx, eax
rol ecx, 0x10
test edi, ecx
je 0x100561c6
cmp dword [esp + edx*4 + 0x6c], 0xffffffff
jae 0x100561c6
inc ebp
jmp 0x100561cb
cmp esi, 0xffffffff
je 0x100561d3
inc edx
rol eax, 1
cmp edx, 5
jb 0x100561a0
mov ebx, dword [ebx + 4]
mov dword [esp + 0x38], ebp
test ebx, ebx
jne 0x10056185
mov edi, dword [esp + 0x2c]
lea esi, [esp + 0x80]
lea eax, [esp + 0x18]
push eax
push edi
call fcn.10055fd0
mov eax, dword [esp + 0x20]
add esp, 8
test eax, eax
js 0x10056212
mov ecx, dword [esp + 0xe4]
cmp eax, ecx
cmovl ecx, eax
mov dword [esp + 0xe4], ecx
mov eax, dword [esp + 0xe0]
add eax, ebp
cmp byte [esp + 0xf0], 0
lea ecx, [eax + 1]
cmove ecx, eax
cmp ecx, 0xa
jbe 0x10056273
push str.C:ProjectsWorkProjects_forexcopierlocalCopierClientCPPLibraries_vcpkg_buildtreescurl_srcurl_7_83_1_606f2be415.cleanlibmulti.c
lea eax, [ecx*8]
push 0x4b2
push eax
call fcn.10068a60
mov esi, eax
add esp, 0xc
mov dword [esp + 0x20], esi
test esi, esi
jne 0x1005626e
lea eax, [esi + 3]
pop ebx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.1002897d
add esp, 0xc4
ret
mov byte [esp + 0x13], 1
xor ebx, ebx
mov dword [esp + 0x14], ebx
test ebp, ebp
je 0x10056383
mov eax, dword [edi + 4]
mov dword [esp + 0x24], eax
test eax, eax
je 0x10056383
lea ecx, [esp + 0x6c]
push ecx
push eax
call fcn.100545f0
mov edx, eax
add esp, 8
mov dword [esp + 0x18], edx
xor esi, esi
mov eax, 1
mov ecx, esi
shl eax, cl
or edi, 0xffffffff
xor ebx, ebx
test edx, eax
je 0x100562e6
mov eax, dword [esp + esi*4 + 0x6c]
cmp eax, 0xffffffff
jae 0x100562e6
mov ecx, dword [esp + 0x20]
mov edi, eax
mov eax, dword [esp + 0x14]
mov ebp, 0x300
mov ebx, 0x29
mov word [ecx + eax*8 + 4], bp
mov ebp, dword [esp + 0x38]
mov dword [ecx + eax*8], edi
inc eax
mov dword [esp + 0x14], eax
lea ecx, [esi + 0x10]
mov eax, 1
shl eax, cl
test edx, eax
je 0x10056337
mov eax, dword [esp + esi*4 + 0x6c]
cmp eax, 0xffffffff
jae 0x10056337
push str.C:ProjectsWorkProjects_forexcopierlocalCopierClientCPPLibraries_vcpkg_buildtreescurl_srcurl_7_83_1_606f2be415.cleanlibmulti.c
push 0x4d4
push 0
push 0
mov edi, eax
or ebx, 0x32
push 0
push edi
call fcn.10068d10
mov eax, dword [esp + 0x2c]
mov edx, 0x10
mov ecx, dword [esp + 0x38]
add esp, 0x18
mov dword [ecx + eax*8], edi
mov word [ecx + eax*8 + 4], dx
inc eax
mov dword [esp + 0x14], eax
jmp 0x1005633c
cmp edi, 0xffffffff
je 0x10056364
mov eax, dword [esp + 0x2c]
push ebx
push dword [eax + 0xdc]
push edi
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
test eax, eax
jne 0x1005640b
mov edx, dword [esp + 0x18]
inc esi
cmp esi, 5
jb 0x100562a6
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x10056290
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x2c]
add edi, 0xdc
mov dword [esp + 0x24], 0
cmp dword [esp + 0xe0], 0
mov dword [esp + 0x34], edi
jbe 0x1005649e
mov edi, dword [esp + 0x30]
lea esi, [esi + ebx*8]
add esi, 4
add edi, 4
movzx edx, word [edi]
mov al, dl
and al, 1
movzx ecx, al
neg ecx
sbb ecx, ecx
and ecx, 0x29
mov dword [esp + 0x14], ecx
or dword [esp + 0x14], 4
test dl, 2
mov eax, dword [esp + 0x14]
cmove eax, ecx
lea ecx, [edi - 4]
mov dword [esp + 0x28], ecx
test dl, 4
je 0x10056425
push str.C:ProjectsWorkProjects_forexcopierlocalCopierClientCPPLibraries_vcpkg_buildtreescurl_srcurl_7_83_1_606f2be415.cleanlibmulti.c
push 0x4f6
push 0
push 0
push 0
push dword [ecx]
or eax, 0x32
mov dword [esp + 0x2c], eax
call fcn.10068d10
mov eax, dword [esp + 0x2c]
add esp, 0x18
mov ecx, dword [esp + 0x28]
jmp 0x10056429
cmp byte [esp + 0x13], 0
je 0x100564d8
push str.C:ProjectsWorkProjects_forexcopierlocalCopierClientCPPLibraries_vcpkg_buildtreescurl_srcurl_7_83_1_606f2be415.cleanlibmulti.c
push 0x4e2
jmp 0x100564cc
mov dword [esp + 0x28], ecx
push eax
mov eax, dword [esp + 0x30]
push dword [eax + 0xdc]
push dword [ecx]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
test eax, eax
jne 0x100564bb
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
mov dword [esi - 4], eax
xor eax, eax
mov word [esi], ax
test byte [edi], 1
je 0x1005645b
mov eax, 0x300
mov word [esi], ax
test byte [edi], 2
movzx ecx, ax
je 0x1005646e
or eax, 0x400
mov word [esi], ax
movzx ecx, ax
test byte [edi], 4
je 0x10056479
or ecx, 0x10
mov word [esi], cx
mov eax, dword [esp + 0x24]
inc ebx
inc eax
mov dword [esp + 0x14], ebx
add esi, 8
mov dword [esp + 0x24], eax
add edi, 8
cmp eax, dword [esp + 0xe0]
jb 0x100563b0
mov edi, dword [esp + 0x34]
test ebx, ebx
jne 0x100564e2
cmp byte [esp + 0xf0], bl
je 0x1005670d
xor esi, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], esi
jmp 0x10056501
cmp byte [esp + 0x13], 0
je 0x100564d8
push str.C:ProjectsWorkProjects_forexcopierlocalCopierClientCPPLibraries_vcpkg_buildtreescurl_srcurl_7_83_1_606f2be415.cleanlibmulti.c
push 0x4fa
push dword [esp + 0x28]
call fcn.100689b0
add esp, 0xc
mov eax, 4
jmp 0x10056255
push 0
push 0
push ebx
push dword [esp + 0x2c]
call fcn.10063a10
add esp, 0x10
mov dword [esp + 0x1c], eax
mov esi, eax
mov dword [esp + 0x24], esi
test eax, eax
jg 0x10056519
push 0
push dword [esp + 0xe8]
push 0
push edi
push 1
call dword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
mov eax, dword [esp + 0x1c]
xor ecx, ecx
test esi, esi
cmovle eax, ecx
xor esi, esi
mov dword [esp + 0x1c], eax
cmp dword [esp + 0xe0], ecx
jbe 0x1005665d
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
lea eax, [eax + ebp*8]
mov ebp, dword [esp + 0x24]
add eax, 6
mov dword [esp + 0x18], eax
nop dword [eax]
movsx ebx, word [eax]
xor edi, edi
lea eax, [esp + 0x40]
mov dword [esp + 0x28], ebx
push eax
mov eax, dword [esp + 0x34]
push edi
mov dword [esp + 0x48], edi
push dword [eax + esi*8]
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
test eax, eax
jne 0x100565db
mov ecx, dword [esp + 0x40]
mov eax, edi
test cl, 0x29
mov ebx, ecx
setne al
movzx edx, ax
mov eax, edx
or eax, 4
test bl, 0x32
movzx ecx, ax
mov eax, edx
cmove ecx, eax
movzx edx, cx
mov eax, edx
or eax, 2
test bl, 4
movzx ecx, ax
mov eax, edx
cmove ecx, eax
cmp dword [esp + 0x3c], 0
movzx eax, cx
mov edi, eax
je 0x100565d7
test ebp, ebp
jg 0x100565d7
test ebx, ebx
je 0x100565d7
mov eax, dword [esp + 0x34]
inc dword [esp + 0x1c]
push 0
push dword [eax]
mov eax, dword [esp + 0x38]
push dword [eax + esi*8]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
jmp 0x1005663c
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
push 0
push dword [eax]
mov eax, dword [esp + 0x38]
push dword [eax + esi*8]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
test ebp, ebp
jle 0x1005663c
mov eax, edi
or eax, 1
test ebx, 0x300
movzx ecx, ax
movzx eax, di
cmove ecx, eax
movzx edx, cx
mov eax, edx
or eax, 4
test bl, 0x10
movzx ecx, ax
mov eax, edx
cmove ecx, eax
movzx edx, cx
mov eax, edx
or eax, 2
test dword [esp + 0x28], 0x400
movzx ecx, ax
mov eax, edx
cmove ecx, eax
mov eax, dword [esp + 0x30]
mov word [eax + esi*8 + 6], cx
mov eax, dword [esp + 0x18]
inc esi
add eax, 8
mov dword [esp + 0x18], eax
cmp esi, dword [esp + 0xe0]
jb 0x10056550
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x14]
test ebp, ebp
je 0x10056701
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
test eax, eax
je 0x10056701
mov ebx, dword [esp + 0x24]
nop dword [eax]
lea ecx, [esp + 0x6c]
push ecx
push eax
call fcn.100545f0
add esp, 8
mov ebp, eax
xor esi, esi
mov edi, 1
lea ecx, [esi + 0x10]
mov edx, edi
bts edx, ecx
test ebp, edx
je 0x100566ee
lea eax, [esp + 0x40]
mov dword [esp + 0x40], 0
push eax
push 0
push dword [esp + esi*4 + 0x74]
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
test eax, eax
jne 0x100566d4
cmp dword [esp + 0x3c], eax
je 0x100566d4
test ebx, ebx
jg 0x100566d4
cmp dword [esp + 0x40], eax
je 0x100566d4
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
push 0
push dword [eax]
push dword [esp + esi*4 + 0x74]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
inc esi
rol edi, 1
cmp esi, 5
jb 0x10056697
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x10056680
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
push dword [eax]
call dword [sym.imp.WS2_32.dll_WSAResetEvent]
cmp byte [esp + 0x13], 0
je 0x1005672a
push str.C:ProjectsWorkProjects_forexcopierlocalCopierClientCPPLibraries_vcpkg_buildtreescurl_srcurl_7_83_1_606f2be415.cleanlibmulti.c
push 0x583
push dword [esp + 0x28]
call fcn.100689b0
add esp, 0xc
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x10056738
mov eax, dword [esp + 0x1c]
mov dword [ecx], eax
cmp byte [esp + 0xec], 0
je 0x1005679d
test ebx, ebx
jne 0x1005679d
cmp byte [esp + 0xf0], bl
jne 0x1005679d
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], ebx
cmp dword [eax], 0xbab1e
jne 0x1005679d
cmp byte [eax + 0xe2], bl
jne 0x1005679d
lea ecx, [esp + 0x18]
push ecx
push eax
call fcn.10055fd0
add esp, 8
test eax, eax
jne 0x1005679d
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1005679d
mov ecx, dword [esp + 0xe4]
cmp eax, ecx
jg 0x10056790
test eax, eax
jns 0x10056792
mov eax, ecx
cdq
push edx
push eax
call fcn.10063eb0
add esp, 8
xor eax, eax
jmp 0x10056255
mov ecx, dword [esp + 0xcc]
mov eax, 1
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.1002897d
add esp, 0xc4
ret