joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d650
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
sub esp, 0x10c
push ebx
push esi
mov esi, dword [eax + 0x28]
push edi
xor ebx, ebx
jmp 0x41d6e8
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x41d726
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
cmp dword [ecx + 4], ebx
jne 0x41d726
cmp dword [ebp + 0x1c], 0xffffffff
jne 0x41d692
xor eax, eax
jmp 0x41d6b7
push dword [ebp + 0x1c]
call sym.AdobeCollabSync.exe_PR_IntervalToSeconds
push eax
mov dword [ebp - 8], eax
call sym.AdobeCollabSync.exe_PR_SecondsToInterval
mov ecx, dword [ebp + 0x1c]
sub ecx, eax
push ecx
call sym.AdobeCollabSync.exe_PR_IntervalToMicroseconds
mov dword [ebp - 4], eax
add esp, 0xc
lea eax, [ebp - 8]
push eax
push ebx
push ebx
lea eax, [ebp - 0x10c]
push eax
lea eax, [esi + 1]
push eax
mov dword [ebp - 0x108], esi
mov dword [ebp - 0x10c], 1
call fcn.00429c28
mov edi, eax
add esp, 0x14
cmp edi, 0xffffffff
je 0x41d708
cmp edi, ebx
je 0x41d715
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call sub.WS2_32.dll_recvfrom
mov edi, eax
cmp edi, 0xffffffff
je 0x41d669
jmp 0x41d72d
call sub.WS2_32.dll_WSAGetLastError
push eax
call fcn.0042982b
jmp 0x41d72c
push ebx
push 0xffffe89a
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
or edi, 0xffffffff
jmp 0x41d72c
push eax
call fcn.00429849
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41dc8f
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
xor eax, eax
cmp word [esi], 2
setne al
dec eax
and eax, 0xfffffff0
add eax, 0x20
push eax
push esi
push edi
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.WS2_32.dll_sendto
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x41dd18
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x41dccb
push eax
jmp 0x41dd12
mov eax, dword [ebp + 8]
and dword [ebp - 0x14], 0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x34], 0x41dbf5
mov dword [ebp - 0x18], 6
call fcn.0041db7c
test eax, eax
mov dword [ebp - 4], eax
jge 0x41dd18
push dword [ebp - 0x10]
call sub.WS2_32.dll_WSASetLastError
push dword [ebp - 0x10]
call fcn.00429765
pop ecx
mov eax, dword [ebp - 4]
leave
ret
Function at 0x41dd1d
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push esi
push dword [ebp + 0x14]
push edi
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.WS2_32.dll_recvfrom
mov esi, eax
cmp esi, 0xffffffff
jne 0x41dd98
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x41dd4d
push eax
jmp 0x41dd92
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x30], 0x41dc46
mov dword [ebp - 0x14], 5
call fcn.0041db7c
mov esi, eax
test esi, esi
jge 0x41dd98
push dword [ebp - 0xc]
call sub.WS2_32.dll_WSASetLastError
push dword [ebp - 0xc]
call fcn.00429849
pop ecx
mov eax, esi
pop esi
leave
ret

Function at 0x41de29
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4a89e8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x228]
push eax
push 0x101
call sub.WS2_32.dll_WSAStartup
xor esi, esi
push esi
push esi
push esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x4a9680
mov dword [0x4a8e7c], eax
call edi
push 0x4aa000
call edi
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
xor edi, edi
inc edi
test eax, eax
je 0x41dea8
cmp dword [ebp - 0x94], 4
mov dword [0x4a9fd8], esi
jb 0x41dea8
mov dword [0x4a9fd8], edi
call fcn.0041cd77
mov dword [0x4a8e68], esi
mov dword [0x4a8e70], esi
mov dword [0x4a8e6c], esi
call sym.AdobeCollabSync.exe_PR_NewLock
push eax
mov dword [0x4a8e58], eax
call sym.AdobeCollabSync.exe_PR_NewCondVar
push esi
push esi
push edi
push 3
push esi
push 0x41d85d
push edi
mov dword [0x4a8e60], eax
call sym.AdobeCollabSync.exe_PR_CreateThread
add esp, 0x20
mov dword [0x4a8e5c], eax
call fcn.004298f7
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0047ff5a
leave
ret
Function at 0x41df66
Capabilities:
Connect socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
cmp dword [eax + 4], 0
mov ebx, dword [eax + 0x28]
je 0x41dfb5
cmp dword [eax + 0x2c], 0
jne 0x41df92
push ebx
call fcn.0041b56f
mov eax, dword [edi + 4]
pop ecx
mov dword [eax + 0x2c], 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call sub.WS2_32.dll_connect
mov esi, eax
cmp esi, 0xffffffff
jne 0x41dfb1
call sub.WS2_32.dll_WSAGetLastError
push eax
call fcn.00429783
pop ecx
mov eax, esi
jmp 0x41dff1
lea eax, [ebp + 8]
push eax
mov esi, 0x8004667e
push esi
push ebx
mov dword [ebp + 8], 1
call sub.WS2_32.dll_ioctlsocket
push dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
push dword [ebp + 0xc]
mov eax, edi
call fcn.0041d1e0
and dword [ebp + 8], 0
pop ecx
pop ecx
mov edi, eax
lea eax, [ebp + 8]
push eax
push esi
push ebx
call sub.WS2_32.dll_ioctlsocket
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x41e7db
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x28]
mov dword [ebp + 8], eax
call fcn.0041a785
xor ebx, ebx
mov esi, eax
mov eax, dword [edi + 4]
xor ecx, ecx
inc ebx
cmp dword [eax + 4], ecx
jne 0x41e9d1
cmp dword [eax + 8], ebx
je 0x41e9d1
cmp dword [esi + 0xa8], ecx
je 0x41e82d
push ecx
push 0xffffe8d5
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
pop ecx
or eax, 0xffffffff
jmp 0x41e9f7
cmp dword [eax + 0x2c], ecx
jne 0x41e843
push dword [ebp + 8]
call fcn.0041b53d
mov eax, dword [edi + 4]
pop ecx
mov dword [eax + 0x2c], ebx
xor ecx, ecx
push 0x14
lea eax, [esi + 0xac]
push ecx
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp dword [0x4a8e34], 0
je 0x41e86a
mov eax, dword [esi + 0x12c]
mov dword [esi + 0xbc], eax
lea ebx, [esi + 0x3c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x8c]
test ax, 0x1000
jne 0x41e8a4
test al, 2
je 0x41e8a4
and eax, 0xfffffffd
push 0
push 0xffffe897
mov dword [esi + 0x8c], eax
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x41e825
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebx
mov dword [esi + 0xa0], 1
mov dword [esi], 6
call edi
mov ecx, dword [ebp + 8]
lea eax, [esi + 0xac]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
mov dword [esi + 0xa4], ecx
push dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
mov dword [ebp + 8], eax
jne 0x41e948
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
mov dword [ebp - 4], eax
je 0x41e948
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x8c]
and dword [esi + 0xa0], 0
test ax, 0x1000
mov dword [esi], 2
jne 0x41e938
test al, 2
je 0x41e938
and eax, 0xfffffffd
push 0
push 0xffffe897
mov dword [esi + 0x8c], eax
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
pop ecx
push ebx
call edi
jmp 0x41e825
push ebx
call edi
push dword [ebp - 4]
call fcn.00429849
jmp 0x41e824
or edi, 0xffffffff
cmp dword [0x4a8e34], 0
je 0x41e992
cmp dword [ebp + 8], 0
je 0x41e992
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0041b1d2
pop ecx
pop ecx
xor ecx, ecx
cmp dword [esi + 0xa8], ecx
je 0x41e9b4
mov eax, dword [esi + 0x8c]
test ax, 0x1000
jne 0x41e9a5
test al, 2
je 0x41e9a5
and eax, 0xfffffffd
push ecx
mov dword [esi + 0x8c], eax
push 0xffffe897
jmp 0x41e9ab
push dword [ebp + 0x18]
mov eax, esi
call fcn.0041b343
cmp eax, edi
pop ecx
jne 0x41e967
mov eax, edi
jmp 0x41e9f7
push ecx
push 0xffffe89a
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
pop ecx
jmp 0x41e9a1
cmp dword [esi + 0xe8], ecx
jne 0x41e9c9
push dword [esi + 0xf0]
call fcn.00429849
jmp 0x41e9b1
mov eax, dword [esi + 0xec]
jmp 0x41e9f7
cmp dword [eax + 0x2c], ecx
jne 0x41e9e5
push dword [ebp + 8]
call fcn.0041b56f
mov eax, dword [edi + 4]
pop ecx
mov dword [eax + 0x2c], ebx
push dword [ebp + 0x18]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.0041d3f0
add esp, 0x10
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4220c1
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information
Start tcp server

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x4a89e8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp dword [0x4a8e30], esi
push edi
jne 0x4220e6
call sym.AdobeCollabSync.exe_PR_Init
push esi
push 1
or edi, 0xffffffff
push 2
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], edi
call sub.WS2_32.dll_socket
cmp eax, edi
mov dword [ebp - 0x30], eax
je 0x422214
mov word [ebp - 0x12], si
mov esi, 0x7f000001
push esi
mov word [ebp - 0x14], 2
call sub.WS2_32.dll_htonl
push 0x10
mov dword [ebp - 0x10], eax
pop eax
push eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x30]
call sub.WS2_32.dll_bind
cmp eax, edi
je 0x4221ca
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x30]
call sub.WS2_32.dll_getsockname
cmp eax, edi
je 0x4221ca
push 5
push dword [ebp - 0x30]
call sub.WS2_32.dll_listen
cmp eax, edi
je 0x4221ca
push 0
push 1
push 2
call sub.WS2_32.dll_socket
cmp eax, edi
mov dword [ebp - 0x2c], eax
je 0x4221ca
push esi
call sub.WS2_32.dll_htonl
push dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x2c]
call sub.WS2_32.dll_connect
cmp eax, edi
je 0x4221ca
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x2c]
call sub.WS2_32.dll_getsockname
cmp eax, edi
je 0x4221ca
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x30]
call sub.WS2_32.dll_accept
cmp eax, edi
mov dword [ebp - 0x28], eax
je 0x4221ca
mov ax, word [ebp - 0x22]
cmp ax, word [ebp - 0x12]
je 0x4221e6
push 0
push 0xffffe8aa
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
pop ecx
push dword [ebp - 0x30]
call sub.WS2_32.dll_closesocket
cmp dword [ebp - 0x2c], edi
je 0x4221df
push dword [ebp - 0x2c]
call sub.WS2_32.dll_closesocket
cmp dword [ebp - 0x28], edi
je 0x422214
jmp 0x42220c
push dword [ebp - 0x30]
call sub.WS2_32.dll_closesocket
mov esi, 0x4a7e20
push esi
push dword [ebp - 0x2c]
call sym.AdobeCollabSync.exe_PR_AllocFileDesc
test eax, eax
pop ecx
pop ecx
mov dword [ebx], eax
jne 0x422218
push dword [ebp - 0x2c]
call sub.WS2_32.dll_closesocket
push dword [ebp - 0x28]
call sub.WS2_32.dll_closesocket
mov eax, edi
jmp 0x42224c
push esi
push dword [ebp - 0x28]
call sym.AdobeCollabSync.exe_PR_AllocFileDesc
test eax, eax
pop ecx
pop ecx
mov dword [ebx + 4], eax
jne 0x422234
push dword [ebx]
call sym.AdobeCollabSync.exe_PR_Close
pop ecx
jmp 0x42220c
push 0
push dword [ebx]
call fcn.0041c4cc
push 0
push dword [ebx + 4]
call fcn.0041c4cc
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047ff5a
leave
ret
Function at 0x4238c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
mov dword [ebp - 4], ebx
jne 0x4238ef
mov eax, dword [0x4a985c]
mov esi, dword [eax + 8]
cmp esi, ebx
jne 0x4238ef
push ebx
push 0xffffe89d
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
or eax, 0xffffffff
jmp 0x42394f
push dword [esi + 0x14]
call sym.AdobeCollabSync.exe_PR_Lock
cmp dword [esi + 0x10], ebx
pop ecx
je 0x423910
push ebx
push 0xffffe8d5
call sym.AdobeCollabSync.exe_PR_SetError
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
jmp 0x423944
push edi
mov edi, dword [ebp + 0xc]
push 1
push 0xfffffffffffffffd
lea eax, [edi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, 1
jne 0x423943
push ebx
push dword [edi + 8]
call sym.AdobeCollabSync.exe_PR_GetIdentitiesLayer
cmp eax, ebx
pop ecx
pop ecx
jne 0x423954
push ebx
push 0xffffe89d
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
pop ecx
pop edi
push dword [esi + 0x14]
call sym.AdobeCollabSync.exe_PR_Unlock
mov eax, dword [ebp - 4]
pop ecx
pop esi
pop ebx
leave
ret
mov ecx, dword [eax + 4]
mov dword [ecx], 0x55555555
mov eax, dword [eax + 4]
push dword [eax + 0x28]
call sub.WS2_32.dll_closesocket
cmp eax, 0xffffffff
jne 0x423943
call sub.WS2_32.dll_WSAGetLastError
push eax
push str.closesocket_failed:__d_n
call dword [sym.imp.MSVCR80.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR80.dll_fprintf]
add esp, 0xc
push 1
call dword [sym.imp.MSVCR80.dll_exit]
int3
Function at 0x426cad
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ecx
push ebp
xor ebp, ebp
cmp dword [0x4a98d0], ebp
je 0x426e03
cmp dword [0x4a98d4], ebp
je 0x426e03
push ebx
push esi
push edi
call fcn.0041a785
mov esi, dword [0x4a9bfc]
mov edi, dword fs:[0x2c]
mov ebx, eax
test byte [ebx + 0x8c], 0x80
jne 0x426d32
cmp dword [0x4a7e00], ebp
je 0x426cfc
mov eax, dword [edi + esi*4]
mov ebp, dword [eax + 0xc]
jmp 0x426d0a
push dword [0x4aa03c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, eax
cmp dword [0x4a7e00], 0
je 0x426d22
mov eax, dword [edi + esi*4]
mov dword [eax + 0xc], 1
jmp 0x426d36
push 1
push dword [0x4aa03c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x426d36
mov ebp, dword [esp + 0x10]
mov eax, dword [0x4a98c4]
add eax, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4a98d0]
cmp dword [0x4a98c8], eax
jbe 0x426d78
push dword [0x4a98d4]
push eax
call dword [sym.imp.MSVCR80.dll_fputs]
push dword [0x4a98d4]
call dword [sym.imp.MSVCR80.dll_fflush]
mov eax, dword [0x4a98d0]
add esp, 0xc
mov dword [0x4a98c8], eax
mov eax, dword [0x4a98c4]
add eax, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test byte [ebx + 0x8c], 0x80
jne 0x426e00
xor ebx, ebx
cmp ebp, ebx
jne 0x426de0
cmp dword [0x4a7e00], ebx
je 0x426da9
mov eax, dword [edi + esi*4]
mov eax, dword [eax + 0x10]
jmp 0x426db5
push dword [0x4aa04c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp dword [eax + 0xc], ebx
je 0x426de0
cmp dword [0x4a7e00], ebx
je 0x426dcd
mov eax, dword [edi + esi*4]
mov eax, dword [eax + 0x10]
jmp 0x426dd9
push dword [0x4aa04c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call fcn.00418fe9
pop ecx
cmp dword [0x4a7e00], ebx
je 0x426df3
mov eax, dword [edi + esi*4]
mov dword [eax + 0xc], ebp
jmp 0x426e00
push ebp
push dword [0x4aa03c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret
Function at 0x42713a
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x4a89e8]
xor eax, ebp
mov dword [ebp - 4], eax
call sym.AdobeCollabSync.exe_PR_NewLock
push str.NSPR_LOG_MODULES
mov dword [0x4a98c4], eax
call sym.AdobeCollabSync.exe_PR_GetEnv
test eax, eax
pop ecx
mov dword [ebp - 0x54], eax
je 0x4272e9
cmp byte [eax], 0
je 0x4272e9
push esi
push edi
xor edi, edi
push eax
mov dword [ebp - 0x50], edi
call sub.MSVCR80.dll_strlen
xor esi, esi
test eax, eax
pop ecx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 0x4000
jle 0x427286
push ebx
jmp 0x42719b
mov edi, dword [ebp - 0x50]
and dword [ebp - 0x48], 0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x54]
xor ebx, ebx
add eax, esi
push str._63_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__n:_d_n
inc ebx
push eax
mov dword [ebp - 0x4c], ebx
call dword [sym.imp.MSVCR80.dll_sscanf]
add esi, dword [ebp - 0x48]
add esp, 0x18
test eax, eax
je 0x427285
mov edi, dword [sym.imp.MSVCR80.dll__stricmp]
lea eax, [ebp - 0x44]
push str.sync
push eax
call edi
test eax, eax
pop ecx
pop ecx
jne 0x4271f0
mov dword [ebp - 0x50], ebx
jmp 0x427259
lea eax, [ebp - 0x44]
push str.bufsize
push eax
call edi
test eax, eax
pop ecx
pop ecx
jne 0x427210
mov eax, dword [ebp - 0x4c]
cmp eax, 0x200
jl 0x427259
mov dword [ebp - 0x58], eax
jmp 0x427259
mov ebx, dword [0x4a98cc]
lea eax, [ebp - 0x44]
push 0x48cab8
push eax
call edi
mov edi, eax
neg edi
pop ecx
sbb edi, edi
pop ecx
inc edi
jmp 0x42724d
test edi, edi
je 0x427238
mov eax, dword [ebp - 0x4c]
mov dword [ebx + 4], eax
jmp 0x42724a
push dword [ebx]
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.MSVCR80.dll__stricmp]
test eax, eax
pop ecx
pop ecx
je 0x427253
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x42722c
jmp 0x427259
mov eax, dword [ebp - 0x4c]
mov dword [ebx + 4], eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x54]
add eax, esi
push str.____n
push eax
call dword [sym.imp.MSVCR80.dll_sscanf]
add esi, dword [ebp - 0x48]
add esp, 0xc
cmp eax, 0xffffffff
je 0x427282
cmp esi, dword [ebp - 0x5c]
jl 0x427198
mov edi, dword [ebp - 0x50]
pop ebx
neg edi
sbb edi, edi
and edi, dword [ebp - 0x58]
push edi
call sym.AdobeCollabSync.exe_PR_SetLogBuffering
mov dword [esp], str.NSPR_LOG_FILE
call sym.AdobeCollabSync.exe_PR_GetEnv
mov esi, eax
test esi, esi
pop ecx
je 0x4272d9
cmp byte [esi], 0
je 0x4272d9
push esi
call sym.AdobeCollabSync.exe_PR_SetLogFile
test eax, eax
pop ecx
jne 0x4272e7
push esi
push str.Unable_to_create_nspr_log_file__s_n
call sym.AdobeCollabSync.exe_PR_smprintf
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x4272e7
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call sym.AdobeCollabSync.exe_PR_smprintf_free
pop ecx
jmp 0x4272e7
call dword [sym.imp.MSVCR80.dll___iob_func]
add eax, 0x40
mov dword [0x4a98d4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047ff5a
leave
ret
Function at 0x427683
Capabilities:
Resolve dns

Disassembly:
push esi
or esi, 0xffffffff
cmp dword [0x4a8e30], 0
jne 0x427695
call sym.AdobeCollabSync.exe_PR_Init
push dword [0x4a98d8]
call sym.AdobeCollabSync.exe_PR_Lock
pop ecx
push dword [esp + 8]
call sub.WS2_32.dll_gethostbyname
test eax, eax
jne 0x4276bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xffffe8ab
jmp 0x4276e4
push ebx
mov ebx, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
push ecx
push eax
call fcn.0042736a
add esp, 0x10
mov esi, eax
test esi, esi
pop ebx
je 0x4276eb
push 0
push 0xffffe8aa
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
pop ecx
push dword [0x4a98d8]
call sym.AdobeCollabSync.exe_PR_Unlock
pop ecx
mov eax, esi
pop esi
ret

Function at 0x4276fb
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push esi
or esi, 0xffffffff
cmp dword [0x4a8e30], 0
jne 0x427710
call sym.AdobeCollabSync.exe_PR_Init
cmp word [ebp + 0xc], 2
je 0x42772d
cmp word [ebp + 0xc], 0x17
je 0x42772d
push 0
push 0xffffe89d
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
jmp 0x427793
push dword [0x4a98d8]
call sym.AdobeCollabSync.exe_PR_Lock
pop ecx
push dword [ebp + 8]
call sub.WS2_32.dll_gethostbyname
test eax, eax
jne 0x427753
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xffffe8ab
jmp 0x427781
xor ecx, ecx
cmp word [ebp + 0xc], 0x17
jne 0x42775d
inc ecx
push ebx
mov ebx, dword [ebp + 0x1c]
push ecx
lea ecx, [ebp + 0x18]
push ecx
lea ecx, [ebp + 0x14]
push ecx
push eax
call fcn.0042736a
add esp, 0x10
mov esi, eax
test esi, esi
pop ebx
je 0x427788
push 0
push 0xffffe8aa
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
pop ecx
push dword [0x4a98d8]
call sym.AdobeCollabSync.exe_PR_Unlock
pop ecx
mov eax, esi
pop esi
pop ebp
ret

Function at 0x4284b4
Capabilities:
Initialize winsock library

Disassembly:
push esi
push edi
call sym.AdobeCollabSync.exe_PR_GetFileMethods
mov edi, eax
call fcn.0042a649
call sym.AdobeCollabSync.exe_PR_NewLock
push eax
mov dword [0x4a9f70], eax
call sym.AdobeCollabSync.exe_PR_NewCondVar
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
pop ecx
push edi
push 0xfffffffffffffff6
mov dword [0x4a9f74], eax
call esi
push eax
call sym.AdobeCollabSync.exe_PR_AllocFileDesc
pop ecx
pop ecx
push edi
push 0xfffffffffffffff5
mov dword [0x4aa084], eax
call esi
push eax
call sym.AdobeCollabSync.exe_PR_AllocFileDesc
pop ecx
pop ecx
push edi
push 0xfffffffffffffff4
mov dword [0x4aa074], eax
call esi
push eax
call sym.AdobeCollabSync.exe_PR_AllocFileDesc
mov dword [0x4aa064], eax
mov eax, dword [0x4aa084]
mov eax, dword [eax + 4]
xor esi, esi
inc esi
mov dword [eax + 0x30], esi
mov eax, dword [0x4aa074]
mov eax, dword [eax + 4]
mov dword [eax + 0x30], esi
mov eax, dword [0x4aa064]
mov eax, dword [eax + 4]
mov dword [eax + 0x30], esi
push esi
push dword [0x4aa084]
call fcn.0041c4cc
push esi
push dword [0x4aa074]
call fcn.0041c4cc
push esi
push dword [0x4aa064]
call fcn.0041c4cc
add esp, 0x20
pop edi
pop esi
jmp fcn.0041de29
Function at 0x4292d7
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x20]
and dword [0x4a9f58], 0
lea edx, [eax - 1]
test eax, edx
mov dword [0x4a9f5c], eax
mov ecx, eax
je 0x429309
mov dword [0x4a9f58], 1
shr eax, 0x10
je 0x429317
add dword [0x4a9f58], 0x10
mov ecx, eax
mov eax, ecx
shr eax, 8
je 0x429327
add dword [0x4a9f58], 8
mov ecx, eax
mov eax, ecx
shr eax, 4
je 0x429337
add dword [0x4a9f58], 4
mov ecx, eax
mov eax, ecx
shr eax, 2
je 0x429347
add dword [0x4a9f58], 2
mov ecx, eax
test ecx, 0xfffffffe
je 0x429355
inc dword [0x4a9f58]
leave
ret

Function at 0x429c28
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
call fcn.0041a785
test byte [eax + 0x8c], 0x80
je 0x429c55
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.WS2_32.dll_select
mov esi, eax
jmp 0x429cad
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
xor esi, esi
push esi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
push esi
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
push 1
mov dword [ebp - 4], eax
push 1
lea eax, [ebp - 0x18]
push eax
push 0x429bff
push esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call sym.AdobeCollabSync.exe_PR_CreateThread
add esp, 0x1c
cmp eax, esi
jne 0x429c96
or eax, 0xffffffff
jmp 0x429caf
push eax
call sym.AdobeCollabSync.exe_PR_JoinThread
mov esi, dword [ebp - 0x18]
cmp esi, 0xffffffff
pop ecx
jne 0x429cad
push dword [ebp - 0x14]
call sub.WS2_32.dll_WSASetLastError
mov eax, esi
pop esi
leave
ret