joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d349
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
push ebx
push esi
mov esi, dword [eax + 0x28]
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 4], edi
jle 0x41d441
or ebx, 0xffffffff
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call sub.WS2_32.dll_sendto
cmp eax, ebx
je 0x41d3ad
add dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp dword [eax + 4], edi
jne 0x41d441
mov eax, dword [ebp + 0x10]
cmp dword [ebp - 4], eax
jge 0x41d441
cmp dword [ebp + 0x1c], ebx
jne 0x41d3cc
xor eax, eax
jmp 0x41d3f1
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x41d3c4
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
cmp dword [ecx + 4], edi
je 0x41d3a4
push eax
call fcn.00429d2a
jmp 0x41d43c
push dword [ebp + 0x1c]
call sym.AdobeCollabSync.exe_PR_IntervalToSeconds
push eax
mov dword [ebp - 0xc], 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 - 8], eax
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 0x110]
push eax
lea eax, [esi + 1]
push edi
push eax
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x110], 1
call fcn.0042a1e8
add esp, 0x14
cmp eax, ebx
je 0x41d431
cmp eax, edi
jne 0x41d36f
push edi
push 0xffffe89a
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
jmp 0x41d43c
call sub.WS2_32.dll_WSAGetLastError
push eax
call fcn.00429df0
pop ecx
mov eax, ebx
jmp 0x41d444
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41d449
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 0x41d4e1
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x41d51f
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
cmp dword [ecx + 4], ebx
jne 0x41d51f
cmp dword [ebp + 0x1c], 0xffffffff
jne 0x41d48b
xor eax, eax
jmp 0x41d4b0
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.0042a1e8
mov edi, eax
add esp, 0x14
cmp edi, 0xffffffff
je 0x41d501
cmp edi, ebx
je 0x41d50e
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 0x41d462
jmp 0x41d526
call sub.WS2_32.dll_WSAGetLastError
push eax
call fcn.00429df0
jmp 0x41d525
push ebx
push 0xffffe89a
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
or edi, 0xffffffff
jmp 0x41d525
push eax
call fcn.00429d25
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41da88
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 0x41db11
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x41dac4
push eax
jmp 0x41db0b
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], 0x41d9ee
mov dword [ebp - 0x18], 6
call fcn.0041d975
test eax, eax
mov dword [ebp - 4], eax
jge 0x41db11
push dword [ebp - 0x10]
call sub.WS2_32.dll_WSASetLastError
push dword [ebp - 0x10]
call fcn.00429d2a
pop ecx
mov eax, dword [ebp - 4]
leave
ret
Function at 0x41db16
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 0x41db91
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x41db46
push eax
jmp 0x41db8b
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], 0x41da3f
mov dword [ebp - 0x14], 5
call fcn.0041d975
mov esi, eax
test esi, esi
jge 0x41db91
push dword [ebp - 0xc]
call sub.WS2_32.dll_WSASetLastError
push dword [ebp - 0xc]
call fcn.00429d25
pop ecx
mov eax, esi
pop esi
leave
ret

Function at 0x41dc22
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4a9a08]
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 0x4aa698
mov dword [0x4a9e94], eax
call edi
push 0x4ab020
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 0x41dca1
cmp dword [ebp - 0x94], 4
mov dword [0x4aaff8], esi
jb 0x41dca1
mov dword [0x4aaff8], edi
call fcn.0041cb70
mov dword [0x4a9e80], esi
mov dword [0x4a9e88], esi
mov dword [0x4a9e84], esi
call sym.AdobeCollabSync.exe_PR_NewLock
push eax
mov dword [0x4a9e70], eax
call sym.AdobeCollabSync.exe_PR_NewCondVar
push esi
push esi
push edi
push 3
push esi
push 0x41d656
push edi
mov dword [0x4a9e78], eax
call sym.AdobeCollabSync.exe_PR_CreateThread
add esp, 0x20
mov dword [0x4a9e74], eax
call fcn.00429eb7
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004801ca
leave
ret
Function at 0x41dd5f
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 0x41ddae
cmp dword [eax + 0x2c], 0
jne 0x41dd8b
push ebx
call fcn.0041b368
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 0x41ddaa
call sub.WS2_32.dll_WSAGetLastError
push eax
call fcn.00429d48
pop ecx
mov eax, esi
jmp 0x41ddea
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.0041cfd9
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 0x41e5d4
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.0041a4ae
xor ebx, ebx
mov esi, eax
mov eax, dword [edi + 4]
xor ecx, ecx
inc ebx
cmp dword [eax + 4], ecx
jne 0x41e7ca
cmp dword [eax + 8], ebx
je 0x41e7ca
cmp dword [esi + 0xa8], ecx
je 0x41e626
push ecx
push 0xffffe8d5
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
pop ecx
or eax, 0xffffffff
jmp 0x41e7f0
cmp dword [eax + 0x2c], ecx
jne 0x41e63c
push dword [ebp + 8]
call fcn.0041b336
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 [0x4a9e50], 0
je 0x41e663
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 0x41e69d
test al, 2
je 0x41e69d
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 0x41e61e
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 0x41e741
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
mov dword [ebp - 4], eax
je 0x41e741
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 0x41e731
test al, 2
je 0x41e731
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 0x41e61e
push ebx
call edi
push dword [ebp - 4]
call fcn.00429d25
jmp 0x41e61d
or edi, 0xffffffff
cmp dword [0x4a9e50], 0
je 0x41e78b
cmp dword [ebp + 8], 0
je 0x41e78b
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0041afcb
pop ecx
pop ecx
xor ecx, ecx
cmp dword [esi + 0xa8], ecx
je 0x41e7ad
mov eax, dword [esi + 0x8c]
test ax, 0x1000
jne 0x41e79e
test al, 2
je 0x41e79e
and eax, 0xfffffffd
push ecx
mov dword [esi + 0x8c], eax
push 0xffffe897
jmp 0x41e7a4
push dword [ebp + 0x18]
mov eax, esi
call fcn.0041b13c
cmp eax, edi
pop ecx
jne 0x41e760
mov eax, edi
jmp 0x41e7f0
push ecx
push 0xffffe89a
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
pop ecx
jmp 0x41e79a
cmp dword [esi + 0xe8], ecx
jne 0x41e7c2
push dword [esi + 0xf0]
call fcn.00429d25
jmp 0x41e7aa
mov eax, dword [esi + 0xec]
jmp 0x41e7f0
cmp dword [eax + 0x2c], ecx
jne 0x41e7de
push dword [ebp + 8]
call fcn.0041b368
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.0041d1e9
add esp, 0x10
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41f6e9
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 [0x4a9a08]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp dword [0x4a9e4c], esi
push edi
jne 0x41f70e
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 0x41f83c
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 0x41f7f2
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 0x41f7f2
push 5
push dword [ebp - 0x30]
call sub.WS2_32.dll_listen
cmp eax, edi
je 0x41f7f2
push 0
push 1
push 2
call sub.WS2_32.dll_socket
cmp eax, edi
mov dword [ebp - 0x2c], eax
je 0x41f7f2
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 0x41f7f2
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 0x41f7f2
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 0x41f7f2
mov ax, word [ebp - 0x22]
cmp ax, word [ebp - 0x12]
je 0x41f80e
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 0x41f807
push dword [ebp - 0x2c]
call sub.WS2_32.dll_closesocket
cmp dword [ebp - 0x28], edi
je 0x41f83c
jmp 0x41f834
push dword [ebp - 0x30]
call sub.WS2_32.dll_closesocket
mov esi, 0x4a8e20
push esi
push dword [ebp - 0x2c]
call sym.AdobeCollabSync.exe_PR_AllocFileDesc
test eax, eax
pop ecx
pop ecx
mov dword [ebx], eax
jne 0x41f840
push dword [ebp - 0x2c]
call sub.WS2_32.dll_closesocket
push dword [ebp - 0x28]
call sub.WS2_32.dll_closesocket
mov eax, edi
jmp 0x41f874
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 0x41f85c
push dword [ebx]
call sym.AdobeCollabSync.exe_PR_Close
pop ecx
jmp 0x41f834
push 0
push dword [ebx]
call fcn.0041c2c5
push 0
push dword [ebx + 4]
call fcn.0041c2c5
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004801ca
leave
ret
Function at 0x420ee7
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 0x420f16
mov eax, dword [0x4aa85c]
mov esi, dword [eax + 8]
cmp esi, ebx
jne 0x420f16
push ebx
push 0xffffe89d
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
or eax, 0xffffffff
jmp 0x420f76
push dword [esi + 0x14]
call sym.AdobeCollabSync.exe_PR_Lock
cmp dword [esi + 0x10], ebx
pop ecx
je 0x420f37
push ebx
push 0xffffe8d5
call sym.AdobeCollabSync.exe_PR_SetError
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
jmp 0x420f6b
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 0x420f6a
push ebx
push dword [edi + 8]
call sym.AdobeCollabSync.exe_PR_GetIdentitiesLayer
cmp eax, ebx
pop ecx
pop ecx
jne 0x420f7b
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 0x420f6a
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 0x4242d4
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ecx
push ebp
xor ebp, ebp
cmp dword [0x4aa8d0], ebp
je 0x42442a
cmp dword [0x4aa8d4], ebp
je 0x42442a
push ebx
push esi
push edi
call fcn.0041a4ae
mov esi, dword [0x4aac14]
mov edi, dword fs:[0x2c]
mov ebx, eax
test byte [ebx + 0x8c], 0x80
jne 0x424359
cmp dword [0x4a8e00], ebp
je 0x424323
mov eax, dword [edi + esi*4]
mov ebp, dword [eax + 0xc]
jmp 0x424331
push dword [0x4ab05c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, eax
cmp dword [0x4a8e00], 0
je 0x424349
mov eax, dword [edi + esi*4]
mov dword [eax + 0xc], 1
jmp 0x42435d
push 1
push dword [0x4ab05c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x42435d
mov ebp, dword [esp + 0x10]
mov eax, dword [0x4aa8c4]
add eax, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4aa8d0]
cmp dword [0x4aa8c8], eax
jbe 0x42439f
push dword [0x4aa8d4]
push eax
call dword [sym.imp.MSVCR80.dll_fputs]
push dword [0x4aa8d4]
call dword [sym.imp.MSVCR80.dll_fflush]
mov eax, dword [0x4aa8d0]
add esp, 0xc
mov dword [0x4aa8c8], eax
mov eax, dword [0x4aa8c4]
add eax, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test byte [ebx + 0x8c], 0x80
jne 0x424427
xor ebx, ebx
cmp ebp, ebx
jne 0x424407
cmp dword [0x4a8e00], ebx
je 0x4243d0
mov eax, dword [edi + esi*4]
mov eax, dword [eax + 0x10]
jmp 0x4243dc
push dword [0x4ab06c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp dword [eax + 0xc], ebx
je 0x424407
cmp dword [0x4a8e00], ebx
je 0x4243f4
mov eax, dword [edi + esi*4]
mov eax, dword [eax + 0x10]
jmp 0x424400
push dword [0x4ab06c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call fcn.00418d0c
pop ecx
cmp dword [0x4a8e00], ebx
je 0x42441a
mov eax, dword [edi + esi*4]
mov dword [eax + 0xc], ebp
jmp 0x424427
push ebp
push dword [0x4ab05c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret
Function at 0x424761
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x4a9a08]
xor eax, ebp
mov dword [ebp - 4], eax
call sym.AdobeCollabSync.exe_PR_NewLock
push str.NSPR_LOG_MODULES
mov dword [0x4aa8c4], eax
call sym.AdobeCollabSync.exe_PR_GetEnv
test eax, eax
pop ecx
mov dword [ebp - 0x54], eax
je 0x424910
cmp byte [eax], 0
je 0x424910
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 0x4248ad
push ebx
jmp 0x4247c2
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 0x4248ac
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 0x424817
mov dword [ebp - 0x50], ebx
jmp 0x424880
lea eax, [ebp - 0x44]
push str.bufsize
push eax
call edi
test eax, eax
pop ecx
pop ecx
jne 0x424837
mov eax, dword [ebp - 0x4c]
cmp eax, 0x200
jl 0x424880
mov dword [ebp - 0x58], eax
jmp 0x424880
mov ebx, dword [0x4aa8cc]
lea eax, [ebp - 0x44]
push 0x48db08
push eax
call edi
mov edi, eax
neg edi
pop ecx
sbb edi, edi
pop ecx
inc edi
jmp 0x424874
test edi, edi
je 0x42485f
mov eax, dword [ebp - 0x4c]
mov dword [ebx + 4], eax
jmp 0x424871
push dword [ebx]
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.MSVCR80.dll__stricmp]
test eax, eax
pop ecx
pop ecx
je 0x42487a
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x424853
jmp 0x424880
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 0x4248a9
cmp esi, dword [ebp - 0x5c]
jl 0x4247bf
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 0x424900
cmp byte [esi], 0
je 0x424900
push esi
call sym.AdobeCollabSync.exe_PR_SetLogFile
test eax, eax
pop ecx
jne 0x42490e
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 0x42490e
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call sym.AdobeCollabSync.exe_PR_smprintf_free
pop ecx
jmp 0x42490e
call dword [sym.imp.MSVCR80.dll___iob_func]
add eax, 0x40
mov dword [0x4aa8d4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004801ca
leave
ret
Function at 0x424caa
Capabilities:
Resolve dns

Disassembly:
push esi
or esi, 0xffffffff
cmp dword [0x4a9e4c], 0
jne 0x424cbc
call sym.AdobeCollabSync.exe_PR_Init
push dword [0x4aa8d8]
call sym.AdobeCollabSync.exe_PR_Lock
pop ecx
push dword [esp + 8]
call sub.WS2_32.dll_gethostbyname
test eax, eax
jne 0x424ce3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xffffe8ab
jmp 0x424d0b
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.00424991
add esp, 0x10
mov esi, eax
test esi, esi
pop ebx
je 0x424d12
push 0
push 0xffffe8aa
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
pop ecx
push dword [0x4aa8d8]
call sym.AdobeCollabSync.exe_PR_Unlock
pop ecx
mov eax, esi
pop esi
ret

Function at 0x424d22
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push esi
or esi, 0xffffffff
cmp dword [0x4a9e4c], 0
jne 0x424d37
call sym.AdobeCollabSync.exe_PR_Init
cmp word [ebp + 0xc], 2
je 0x424d54
cmp word [ebp + 0xc], 0x17
je 0x424d54
push 0
push 0xffffe89d
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
jmp 0x424dba
push dword [0x4aa8d8]
call sym.AdobeCollabSync.exe_PR_Lock
pop ecx
push dword [ebp + 8]
call sub.WS2_32.dll_gethostbyname
test eax, eax
jne 0x424d7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xffffe8ab
jmp 0x424da8
xor ecx, ecx
cmp word [ebp + 0xc], 0x17
jne 0x424d84
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.00424991
add esp, 0x10
mov esi, eax
test esi, esi
pop ebx
je 0x424daf
push 0
push 0xffffe8aa
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
pop ecx
push dword [0x4aa8d8]
call sym.AdobeCollabSync.exe_PR_Unlock
pop ecx
mov eax, esi
pop esi
pop ebp
ret

Function at 0x425adb
Capabilities:
Initialize winsock library

Disassembly:
push esi
push edi
call sym.AdobeCollabSync.exe_PR_GetFileMethods
mov edi, eax
call fcn.0042ac09
call sym.AdobeCollabSync.exe_PR_NewLock
push eax
mov dword [0x4aafc8], eax
call sym.AdobeCollabSync.exe_PR_NewCondVar
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
pop ecx
push edi
push 0xfffffffffffffff6
mov dword [0x4aafcc], eax
call esi
push eax
call sym.AdobeCollabSync.exe_PR_AllocFileDesc
pop ecx
pop ecx
push edi
push 0xfffffffffffffff5
mov dword [0x4ab0a4], eax
call esi
push eax
call sym.AdobeCollabSync.exe_PR_AllocFileDesc
pop ecx
pop ecx
push edi
push 0xfffffffffffffff4
mov dword [0x4ab094], eax
call esi
push eax
call sym.AdobeCollabSync.exe_PR_AllocFileDesc
mov dword [0x4ab084], eax
mov eax, dword [0x4ab0a4]
mov eax, dword [eax + 4]
xor esi, esi
inc esi
mov dword [eax + 0x30], esi
mov eax, dword [0x4ab094]
mov eax, dword [eax + 4]
mov dword [eax + 0x30], esi
mov eax, dword [0x4ab084]
mov eax, dword [eax + 4]
mov dword [eax + 0x30], esi
push esi
push dword [0x4ab0a4]
call fcn.0041c2c5
push esi
push dword [0x4ab094]
call fcn.0041c2c5
push esi
push dword [0x4ab084]
call fcn.0041c2c5
add esp, 0x20
pop edi
pop esi
jmp fcn.0041dc22