joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a0fa
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
call fcn.0041a785
test byte [eax + 0x8c], 0x80
mov edi, dword [0x4a9bfc]
mov ebx, dword fs:[0x2c]
mov dword [esp + 0x10], eax
jne 0x41a169
cmp dword [0x4a7e00], 0
je 0x41a133
mov eax, dword [ebx + edi*4]
mov eax, dword [eax + 0xc]
jmp 0x41a13f
push dword [0x4aa03c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp dword [0x4a7e00], 0
mov dword [esp + 0x14], eax
je 0x41a15b
mov eax, dword [ebx + edi*4]
mov dword [eax + 0xc], 1
jmp 0x41a169
push 1
push dword [0x4aa03c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ebp, dword [esp + 0x1c]
lea eax, [ebp + 0xc]
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add ebp, 4
mov esi, dword [ebp]
jmp 0x41a194
push dword [esp + 0x10]
lea eax, [esi - 0x6c]
push eax
call fcn.00419652
mov esi, dword [esi]
pop ecx
pop ecx
cmp esi, ebp
jne 0x41a183
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x10]
test byte [eax + 0x8c], 0x80
jne 0x41a223
mov esi, dword [esp + 0x14]
xor ebp, ebp
cmp esi, ebp
jne 0x41a203
cmp dword [0x4a7e00], ebp
je 0x41a1cc
mov eax, dword [ebx + edi*4]
mov eax, dword [eax + 0x10]
jmp 0x41a1d8
push dword [0x4aa04c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp dword [eax + 0xc], ebp
je 0x41a203
cmp dword [0x4a7e00], ebp
je 0x41a1f0
mov eax, dword [ebx + edi*4]
mov eax, dword [eax + 0x10]
jmp 0x41a1fc
push dword [0x4aa04c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call fcn.00418fe9
pop ecx
cmp dword [0x4a7e00], ebp
je 0x41a216
mov eax, dword [ebx + edi*4]
mov dword [eax + 0xc], esi
jmp 0x41a223
push esi
push dword [0x4aa03c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
pop ecx
ret
Function at 0x41a238
Capabilities:
Set thread local storage value

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esi + 0x3c]
push edi
push eax
mov dword [esp + 0x14], eax
call ebx
mov eax, dword [esi + 0x98]
xor edi, edi
cmp dword [esi + 0xa0], edi
jne 0x41a2c8
mov edi, dword [esi + 4]
push ebp
xor ebp, ebp
inc ebp
mov dword [esi], ebp
push dword [eax + 0x24]
call ebx
mov eax, dword [esi + 0x98]
mov edx, dword [eax + 0x24]
lea edx, [edx + edi*8 + 0x48]
lea ecx, [esi + 0x64]
mov dword [ecx], edx
mov edx, dword [eax + 0x24]
mov edx, dword [edx + edi*8 + 0x4c]
mov dword [esi + 0x68], edx
mov eax, dword [eax + 0x24]
mov eax, dword [eax + edi*8 + 0x4c]
mov dword [eax], ecx
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0x24]
mov dword [eax + edi*8 + 0x4c], ecx
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0x24]
mov ecx, edi
mov edx, ebp
shl edx, cl
or dword [eax + 0x68], edx
mov eax, dword [esi + 0x98]
mov dword [esi + 0x54], ebp
push dword [eax + 0x24]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor edi, edi
pop ebp
jmp 0x41a2f6
mov eax, dword [eax + 0x24]
add eax, 0x18
push eax
call ebx
push dword [esi + 0x7c]
mov dword [esi + 0x54], 2
push esi
call sym.AdobeCollabSync.exe__PR_AddSleepQ
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0x24]
pop ecx
pop ecx
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [esp + 0x10]
mov dword [esi + 0xa8], edi
mov dword [esi + 0x124], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x4a7e00], edi
je 0x41a32b
mov eax, dword [0x4a9bfc]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov dword [eax + 0x14], edi
jmp 0x41a338
push edi
push dword [0x4a9ff8]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
pop esi
pop ebx
ret

Function at 0x41a590
Capabilities:
Set thread local storage value

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
push edi
lea edi, [esi + 0xdc]
mov eax, dword [edi]
xor ebp, ebp
cmp eax, ebp
je 0x41a5ae
push eax
call sym.AdobeCollabSync.exe_PR_Free
pop ecx
mov dword [edi], ebp
lea edi, [esi + 0xe0]
mov eax, dword [edi]
cmp eax, ebp
je 0x41a5c3
push eax
call sym.AdobeCollabSync.exe_PR_Free
pop ecx
mov dword [edi], ebp
lea edi, [esi + 0xe4]
mov eax, dword [edi]
cmp eax, ebp
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x41a5db
push eax
call ebx
mov dword [edi], ebp
cmp dword [0x4a8e34], ebp
je 0x41a5f4
lea edi, [esi + 0x12c]
mov eax, dword [edi]
cmp eax, ebp
je 0x41a5f4
push eax
call ebx
mov dword [edi], ebp
lea edi, [esi + 0xf4]
mov eax, dword [edi]
cmp eax, ebp
je 0x41a605
push eax
call ebx
mov dword [edi], ebp
test byte [esi + 0x8c], 0x80
pop ebx
je 0x41a63b
cmp dword [0x4a7e00], ebp
je 0x41a62e
mov eax, dword [0x4a9bfc]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov dword [eax + 4], ebp
jmp 0x41a63b
push ebp
push dword [0x4aa050]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
pop esi
pop ebp
ret
Function at 0x41a6ff
Capabilities:
Get thread local storage value

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 4]
mov dword [ecx + 0x140], eax
jmp fcn.004202cd

Function at 0x41a751
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [esp + 4]
test byte [eax + 0x8c], 0x80
je 0x41a76a
push dword [eax + 0xf4]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
ret

Function at 0x41a76b
Capabilities:
Resume thread

Disassembly:
mov eax, dword [esp + 4]
test byte [eax + 0x8c], 0x80
je 0x41a784
push dword [eax + 0xf4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
ret

Function at 0x41a785
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x4a7e00], 0
je 0x41a7a5
mov eax, dword [0x4a9bfc]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 4]
jmp 0x41a7b1
push dword [0x4aa050]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x41a7c2
push eax
push eax
push 1
push eax
call fcn.00420bd1
add esp, 0x10
ret

Function at 0x41a7c3
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x10]
push edi
lea edi, [esi + 0x88]
push edi
push 4
push esi
push dword [esp + 0x1c]
push dword [eax + 0x1c]
push 0
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
test eax, eax
mov dword [esi + 0xf4], eax
jne 0x41a836
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x140], eax
mov esi, dword [sym.imp.MSVCR80.dll__errno]
call esi
mov eax, dword [eax]
sub eax, 0xb
je 0x41a82a
dec eax
je 0x41a823
sub eax, 0xa
je 0x41a81c
mov edi, 0xffffe896
jmp 0x41a82f
mov edi, 0xffffe89d
jmp 0x41a82f
mov edi, 0xffffe890
jmp 0x41a82f
mov edi, 0xffffe8aa
call esi
push dword [eax]
push edi
jmp 0x41a878
cmp dword [esp + 0x14], 1
mov eax, dword [edi]
mov dword [esi + 0xf8], eax
je 0x41a857
push dword [esp + 0x14]
lea eax, [esi + 0xac]
push eax
call fcn.0041a48c
pop ecx
pop ecx
push dword [esi + 0xf4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x41a86c
xor eax, eax
jmp 0x41a882
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xffffe896
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
or eax, 0xffffffff
pop ecx
pop edi
pop esi
ret
Function at 0x41a960
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ecx
push esi
call fcn.0041a785
mov esi, dword [esp + 0xc]
cmp esi, eax
mov dword [esp + 4], eax
je 0x41aa42
push ebx
push ebp
push edi
push dword [esi + 0x140]
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [0x4a7e00], 0
mov ebp, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edi, dword [0x4a9bfc]
mov ebx, dword fs:[0x2c]
je 0x41a9ad
mov eax, dword [ebx + edi*4]
mov dword [eax + 4], esi
jmp 0x41a9b6
push esi
push dword [0x4aa050]
call ebp
cmp dword [0x4a7e00], 0
je 0x41a9ce
mov eax, dword [ebx + edi*4]
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
jmp 0x41a9da
push dword [esp + 0x10]
push dword [0x4aa038]
call ebp
push dword [esi + 0x130]
mov dword [esi + 0x90], 1
call dword [sym.imp.KERNEL32.dll_SwitchToFiber]
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
xor ebp, ebp
cmp dword [0x4a7e00], ebp
je 0x41aa0b
mov eax, dword [ebx + edi*4]
mov eax, dword [eax + 0x14]
jmp 0x41aa13
push dword [0x4a9ff8]
call esi
cmp eax, ebp
je 0x41aa1e
push eax
call fcn.0041a238
pop ecx
cmp dword [0x4a7e00], ebp
je 0x41aa31
mov eax, dword [ebx + edi*4]
mov eax, dword [eax + 8]
jmp 0x41aa39
push dword [0x4aa038]
call esi
pop edi
mov dword [eax + 0x90], ebp
pop ebp
pop ebx
pop esi
pop ecx
ret
Function at 0x41b0c9
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp dword [0x4a8e34], ebx
push edi
je 0x41b0e9
push dword [ebp + 0xc]
call fcn.0041b056
jmp 0x41b1cc
test byte [esi + 0x8c], 0x80
je 0x41b17f
cmp dword [ebp + 0xc], 0xffffffff
jne 0x41b101
or eax, 0xffffffff
jmp 0x41b10a
push dword [ebp + 0xc]
call sym.AdobeCollabSync.exe_PR_IntervalToMilliseconds
pop ecx
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push eax
push dword [esi + 0xe4]
call edi
cmp eax, ebx
je 0x41b17b
cmp eax, 0x102
je 0x41b12c
or eax, 0xffffffff
jmp 0x41b1cd
lea ebx, [esi + 0x3c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi], 6
push ebx
jne 0x41b14f
xor eax, eax
inc eax
cmp dword [esi + 0xa0], eax
jne 0x41b16b
mov dword [esi + 0xa8], eax
jmp 0x41b15d
lea eax, [esi + 0x84]
cmp dword [eax], 0
je 0x41b16b
and dword [eax], 0
mov dword [esi], 2
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x41b17b
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0xffffffffffffffff
push dword [esi + 0xe4]
call edi
xor eax, eax
jmp 0x41b1cd
cmp dword [0x4a7e00], ebx
jne 0x41b19b
push dword [0x4aa03c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp dword [0x4a7e00], ebx
je 0x41b1b6
mov eax, dword [0x4a9bfc]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov dword [eax + 0xc], 1
jmp 0x41b1c4
push 1
push dword [0x4aa03c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
call fcn.0041a6ff
xor eax, eax
pop ecx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x41b6cf
Capabilities:
Set socket configuration

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 0x700b
push 0xffff
push dword [esp + 0x14]
call sub.WS2_32.dll_setsockopt
ret

Function at 0x41b9a1
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push dword [esp + 0xc]
mov eax, dword [esp + 8]
push dword [esp + 0xc]
mov eax, dword [eax + 4]
push dword [eax + 0x28]
call sub.WS2_32.dll_getsockname
test eax, eax
jne 0x41b9bd
ret
call sub.WS2_32.dll_WSAGetLastError
push eax
call fcn.0042980d
pop ecx
or eax, 0xffffffff
ret
Function at 0x41c7ee
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
mov al, byte [edi]
push ebx
xor ebx, ebx
cmp al, 0x2f
mov dword [ebp - 4], ebx
je 0x41c802
cmp al, 0x5c
jne 0x41c80f
cmp byte [edi + 1], bl
jne 0x41c80f
xor eax, eax
inc eax
jmp 0x41c8f9
movsx eax, al
push eax
call dword [sym.imp.MSVCR80.dll_isalpha]
test eax, eax
pop ecx
je 0x41c849
cmp byte [edi + 1], 0x3a
jne 0x41c849
mov al, byte [edi + 2]
cmp al, 0x2f
je 0x41c82f
cmp al, 0x5c
jne 0x41c849
cmp byte [edi + 3], bl
jne 0x41c849
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
xor ecx, ecx
inc ecx
cmp ecx, eax
sbb eax, eax
neg eax
jmp 0x41c8f9
mov al, byte [edi]
cmp al, 0x2f
push esi
je 0x41c858
cmp al, 0x5c
jne 0x41c8f2
mov al, byte [edi + 1]
cmp al, 0x2f
je 0x41c867
cmp al, 0x5c
jne 0x41c8f2
lea esi, [edi + 2]
mov al, byte [esi]
test al, al
je 0x41c8f6
cmp al, 0x2f
je 0x41c8f6
cmp al, 0x5c
je 0x41c8f6
inc esi
mov al, byte [esi]
test al, al
je 0x41c8f6
cmp al, 0x2f
je 0x41c88b
cmp al, 0x5c
jne 0x41c87c
cmp byte [esi], bl
je 0x41c8f6
inc esi
mov al, byte [esi]
test al, al
je 0x41c8f6
cmp al, 0x2f
je 0x41c8f6
cmp al, 0x5c
je 0x41c8f6
inc esi
mov al, byte [esi]
test al, al
je 0x41c8ad
cmp al, 0x2f
je 0x41c8b7
cmp al, 0x5c
jne 0x41c89e
mov al, byte [esi]
cmp al, 0x2f
je 0x41c8b7
cmp al, 0x5c
jne 0x41c8bc
cmp byte [esi + 1], bl
jne 0x41c8f6
xor ebx, ebx
inc ebx
cmp byte [esi], 0
jne 0x41c8db
mov ecx, dword [ebp + 8]
lea eax, [esi + 1]
add ecx, edi
cmp eax, ecx
jae 0x41c8f6
mov byte [esi], 0x5c
mov esi, eax
mov byte [esi], 0
mov dword [ebp - 4], ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp ebx, eax
sbb ebx, ebx
neg ebx
cmp dword [ebp - 4], 0
je 0x41c8f2
mov byte [esi - 1], 0
mov eax, ebx
jmp 0x41c8f8
xor eax, eax
pop esi
pop ebx
leave
ret

Function at 0x41cc7f
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x4a7e10
push dword [ebp + 0xc]
xor esi, esi
and dword [ebp - 4], esi
and dword [ebp - 8], esi
call fcn.00429a29
add esp, 0x10
test eax, eax
jne 0x41ccbe
mov eax, dword [ebp - 4]
and dword [ebp - 0xc], esi
mov dword [ebp - 0x14], 0xc
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x14]
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test esi, esi
mov ebx, eax
je 0x41ccdb
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00429bdc
pop ecx
pop ecx
pop esi
test ebx, ebx
pop ebx
je 0x41cce5
xor eax, eax
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00429849
pop ecx
or eax, 0xffffffff
leave
ret
Function at 0x41cd77
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x94
mov eax, dword [0x4a89e8]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push edi
xor ebx, ebx
push ebx
push ebx
call esi
push 0x4a9fe0
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [ebp - 0x10]
push eax
mov edi, 0x82
push edi
call esi
cmp eax, ebx
je 0x41ce74
cmp eax, edi
ja 0x41ce74
push 1
mov dword [0x4a96a8], ebx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
cmp byte [ebp - 0x10], bl
mov dword [ebp - 0x14], eax
je 0x41ce60
lea edi, [ebp - 0x10]
mov al, byte [edi]
cmp al, 0x41
je 0x41ce47
cmp al, 0x42
je 0x41ce47
movsx esi, al
push edi
sub esi, 0x41
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
je 0x41ce0d
cmp eax, 3
je 0x41ce1a
cmp eax, 4
jbe 0x41ce47
cmp eax, 6
ja 0x41ce47
xor eax, eax
inc eax
mov ecx, esi
shl eax, cl
or dword [0x4a9710], eax
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x41ce47
cmp dword [0x4a96a4], esi
jae 0x41ce3d
mov dword [0x4a96a4], esi
mov eax, dword [ebp - 0x1c]
mov dword [esi*4 + 0x4a96a8], eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax + 1]
lea edi, [ebp + eax - 0x10]
cmp byte [edi], bl
mov dword [ebp - 0x18], eax
jne 0x41cde2
cmp dword [ebp - 0x14], 0xffffffff
je 0x41ce6f
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
xor eax, eax
inc eax
jmp 0x41ce76
xor eax, eax
mov ecx, dword [ebp + 0x74]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047ff5a
add ebp, 0x78
leave
ret
Function at 0x41ce88
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push edi
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 8], 0x5c3a43
mov dword [ebp - 0x14], 2
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x41ceb8
or eax, 0xffffffff
jmp 0x41cf89
push esi
mov esi, 0x4a9fe0
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi*4 + 0x4a96a8]
inc edi
cmp eax, dword [ebp - 0x2c]
je 0x41cef8
cmp edi, dword [0x4a96a4]
jbe 0x41cec5
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebx
push esi
call edi
mov eax, dword [0x4a9710]
xor ebx, ebx
test eax, eax
mov dword [ebp - 4], eax
je 0x41cf84
jmp 0x41cf04
xor eax, eax
inc eax
jmp 0x41cf88
inc ebx
shr dword [ebp - 4], 1
test byte [ebp - 4], 1
je 0x41cf00
mov al, bl
add al, 0x41
push 1
mov byte [ebp - 8], al
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [ebp - 0x10], eax
xor eax, eax
push eax
push eax
push eax
push eax
lea ecx, [ebp - 0xc]
push ecx
push eax
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x41cf67
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x2c]
jne 0x41cf67
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x4a96a4], ebx
jae 0x41cf53
mov dword [0x4a96a4], ebx
mov eax, dword [ebp - 0xc]
push esi
mov dword [ebx*4 + 0x4a96a8], eax
call edi
mov dword [ebp - 0x14], 1
cmp dword [ebp - 0x10], 0xffffffff
je 0x41cf76
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
xor eax, eax
inc eax
cmp dword [ebp - 0x14], eax
je 0x41cf87
inc ebx
shr dword [ebp - 4], 1
jne 0x41cf04
push 2
pop eax
pop ebx
pop esi
pop edi
leave
ret
Function at 0x41d1e0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [eax + 4]
sub esp, 0x218
push ebx
push esi
mov esi, dword [eax + 0x28]
push edi
push dword [ebp + 0xc]
mov edi, ecx
push dword [ebp + 8]
push esi
call sub.WS2_32.dll_connect
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41d2fb
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
mov dword [ebp - 4], eax
jne 0x41d2f4
or ebx, ebx
cmp edi, ebx
jne 0x41d228
xor ecx, ecx
jmp 0x41d248
push edi
call sym.AdobeCollabSync.exe_PR_IntervalToSeconds
push eax
mov dword [ebp - 0x10], eax
call sym.AdobeCollabSync.exe_PR_SecondsToInterval
sub edi, eax
push edi
call sym.AdobeCollabSync.exe_PR_IntervalToMicroseconds
add esp, 0xc
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x10]
xor eax, eax
inc eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x114], eax
push ecx
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x218]
push eax
xor edi, edi
lea eax, [esi + 1]
push edi
push eax
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x110], esi
call fcn.00429c28
add esp, 0x14
cmp eax, ebx
jne 0x41d292
call sub.WS2_32.dll_WSAGetLastError
push eax
call fcn.0042982b
jmp 0x41d2fa
cmp eax, edi
push edi
jne 0x41d2a4
push 0xffffe89a
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
jmp 0x41d2fa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x114]
push eax
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x41d2f0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x1007
push 0xffff
push esi
mov dword [ebp - 8], 4
call sub.WS2_32.dll_getsockopt
cmp eax, ebx
jne 0x41d2eb
call sub.WS2_32.dll_WSAGetLastError
push eax
call fcn.00429849
jmp 0x41d2fa
push dword [ebp - 4]
jmp 0x41d2f5
xor ebx, ebx
jmp 0x41d2fb
push eax
call fcn.00429783
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x41d302
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
neg eax
push esi
mov esi, dword [ecx + 0x28]
sbb eax, eax
and eax, 2
push edi
mov dword [ebp - 4], eax
push eax
jmp 0x41d3ab
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x41d3e3
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
cmp dword [ecx + 4], 0
jne 0x41d3e3
cmp dword [ebp + 0x14], 0xffffffff
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x110], 1
jne 0x41d360
xor eax, eax
jmp 0x41d385
push dword [ebp + 0x14]
call sym.AdobeCollabSync.exe_PR_IntervalToSeconds
push eax
mov dword [ebp - 0xc], eax
call sym.AdobeCollabSync.exe_PR_SecondsToInterval
mov ecx, dword [ebp + 0x14]
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 0
push 0
lea eax, [ebp - 0x110]
push eax
lea eax, [esi + 1]
push eax
call fcn.00429c28
mov edi, eax
add esp, 0x14
cmp edi, 0xffffffff
je 0x41d3c4
test edi, edi
je 0x41d3d1
push dword [ebp - 4]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call sub.WS2_32.dll_recv
mov edi, eax
cmp edi, 0xffffffff
je 0x41d326
jmp 0x41d3ea
call sub.WS2_32.dll_WSAGetLastError
push eax
call fcn.0042982b
jmp 0x41d3e9
push 0
push 0xffffe89a
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
or edi, 0xffffffff
jmp 0x41d3e9
push eax
call fcn.00429849
pop ecx
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x41d3f0
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 0x41d4e2
or ebx, 0xffffffff
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call sub.WS2_32.dll_send
cmp eax, ebx
je 0x41d44e
add dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp dword [eax + 4], edi
jne 0x41d4e2
mov eax, dword [ebp + 0x10]
cmp dword [ebp - 4], eax
jge 0x41d4e2
cmp dword [ebp + 0x14], ebx
jne 0x41d46d
xor eax, eax
jmp 0x41d492
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x41d465
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
cmp dword [ecx + 4], edi
je 0x41d445
push eax
call fcn.00429765
jmp 0x41d4dd
push dword [ebp + 0x14]
call sym.AdobeCollabSync.exe_PR_IntervalToSeconds
push eax
mov dword [ebp - 0xc], eax
call sym.AdobeCollabSync.exe_PR_SecondsToInterval
mov ecx, dword [ebp + 0x14]
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.00429c28
add esp, 0x14
cmp eax, ebx
je 0x41d4d2
cmp eax, edi
jne 0x41d416
push edi
push 0xffffe89a
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
jmp 0x41d4dd
call sub.WS2_32.dll_WSAGetLastError
push eax
call fcn.0042982b
pop ecx
mov eax, ebx
jmp 0x41d4e5
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41d550
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 0x41d648
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 0x41d5b4
add dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp dword [eax + 4], edi
jne 0x41d648
mov eax, dword [ebp + 0x10]
cmp dword [ebp - 4], eax
jge 0x41d648
cmp dword [ebp + 0x1c], ebx
jne 0x41d5d3
xor eax, eax
jmp 0x41d5f8
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x41d5cb
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
cmp dword [ecx + 4], edi
je 0x41d5ab
push eax
call fcn.00429765
jmp 0x41d643
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.00429c28
add esp, 0x14
cmp eax, ebx
je 0x41d638
cmp eax, edi
jne 0x41d576
push edi
push 0xffffe89a
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
jmp 0x41d643
call sub.WS2_32.dll_WSAGetLastError
push eax
call fcn.0042982b
pop ecx
mov eax, ebx
jmp 0x41d64b
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret