joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419eff
Capabilities:
Create pipe

Disassembly:
push esi
mov esi, dword [esp + 8]
lea eax, [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push esi
call sym.AdobeCollabSync.exe_PR_Free
pop ecx
pop esi
ret

Function at 0x419f17
Capabilities:
Create pipe

Disassembly:
call fcn.0041a785
mov edx, dword [esp + 4]
mov ecx, dword [edx]
cmp dword [ecx + 8], eax
je 0x419f2b
or eax, 0xffffffff
ret
push dword [esp + 8]
push ecx
push edx
push eax
call fcn.00419829
add esp, 0x10
ret

Function at 0x41a1ad
Capabilities:
Get thread local storage value
Resolve function by parsing pe exports
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 0x41a33f
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0x4aa020
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
and dword [0x4aa048], 0
mov eax, 0x4aa040
mov dword [0x4aa040], eax
mov dword [0x4aa044], eax
call fcn.00417201
cmp dword [0x4a7e00], 0
jne 0x41a396
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsAlloc]
call esi
mov dword [0x4aa050], eax
call esi
mov dword [0x4aa038], eax
call esi
mov dword [0x4aa04c], eax
call esi
mov dword [0x4aa03c], eax
call esi
mov dword [0x4a9ff8], eax
pop esi
ret
Function at 0x41a4ce
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jge 0x41a49a
xor eax, eax
jmp 0x41a4a2
cmp eax, 3
jle 0x41a4a2
push 3
pop eax
sub eax, 0
je 0x41a4be
dec eax
je 0x41a4ba
dec eax
je 0x41a4b5
dec eax
jne 0x41a4c3
push 2
pop eax
jmp 0x41a4c6
xor eax, eax
inc eax
jmp 0x41a4c6
xor eax, eax
jmp 0x41a4c6
or eax, 0xffffffff
jmp 0x41a4c6
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x48]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop ebp
ret

Function at 0x41a829
Capabilities:
Get thread local storage value
Set thread local storage value

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 0x41ab1d
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
push esi
push edi
call sym.AdobeCollabSync.exe_PR_GetCurrentThread
mov edi, dword [esp + 0x10]
cmp edi, 0x80
mov esi, eax
jae 0x41ab52
cmp edi, dword [0x4a8e4c]
jae 0x41ab52
mov eax, dword [esi + 0x24]
xor ebx, ebx
cmp eax, ebx
je 0x41aafe
cmp dword [esi + 0x20], edi
jbe 0x41aafe
lea eax, [eax + edi*4]
cmp dword [eax], ebx
je 0x41ab44
mov ecx, dword [0x4a8e50]
lea ecx, [ecx + edi*4]
cmp dword [ecx], ebx
je 0x41ab44
mov edx, dword [eax]
push edx
mov dword [eax], ebx
call dword [ecx]
pop ecx
jmp 0x41ab44
mov eax, dword [0x4a8e48]
shl eax, 2
push eax
push 1
call sym.AdobeCollabSync.exe_PR_Calloc
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
jne 0x41ab1e
push eax
push 0xffffe890
jmp 0x41ab59
mov eax, dword [esi + 0x20]
shl eax, 2
push eax
push dword [esi + 0x24]
push ebx
call sub.MSVCR80.dll_memcpy
push dword [esi + 0x24]
call sym.AdobeCollabSync.exe_PR_Free
mov eax, dword [0x4a8e48]
add esp, 0x10
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ebx
mov eax, dword [esi + 0x24]
mov ecx, dword [esp + 0x14]
mov dword [eax + edi*4], ecx
xor eax, eax
jmp 0x41ab63
push 0
push 0xffffe8ac
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
or eax, 0xffffffff
pop ecx
pop edi
pop esi
pop ebx
ret
Function at 0x41ab67
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
call sym.AdobeCollabSync.exe_PR_GetCurrentThread
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x41ab80
mov edx, dword [esp + 4]
cmp edx, dword [eax + 0x20]
jae 0x41ab80
mov eax, dword [ecx + edx*4]
ret
xor eax, eax
ret
Function at 0x41b238
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
or eax, 0xffffffff
cmp dword [ebp + 8], eax
je 0x41b244
push dword [ebp + 8]
call sym.AdobeCollabSync.exe_PR_IntervalToMilliseconds
pop ecx
mov ecx, dword [esi + 0xe4]
push ebx
push edi
push eax
xor ebx, ebx
push ebx
lea eax, [ebp - 8]
push eax
push 2
mov dword [ebp - 8], ecx
mov ecx, dword [esi + 0x12c]
pop edi
push edi
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
sub eax, ebx
je 0x41b33d
dec eax
je 0x41b2c1
sub eax, 0x101
je 0x41b284
or eax, 0xffffffff
jmp 0x41b33f
lea ebx, [esi + 0x3c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi], 6
push ebx
jne 0x41b2ab
mov dword [esi], edi
mov dword [esi + 0xa8], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x41b33d
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0xffffffffffffffff
push dword [esi + 0xe4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x41b33d
lea eax, [esi + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi], 6
lea eax, [esi + 0x3c]
mov dword [esi + 0xa0], ebx
push eax
jne 0x41b2e4
mov dword [esi], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x41b2f8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0xffffffffffffffff
push dword [esi + 0xe4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
lea eax, [ebp + 8]
push eax
lea eax, [esi + 0xac]
push eax
push dword [esi + 0xa4]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
cmp eax, ebx
mov dword [esi + 0xe8], eax
je 0x41b325
mov eax, dword [ebp + 8]
mov dword [esi + 0xec], eax
jmp 0x41b331
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xf0], eax
push dword [esi + 0x12c]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
xor eax, eax
pop edi
pop ebx
leave
ret

Function at 0x41b590
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x8004667e
push dword [ebp + 8]
mov dword [ebp - 4], 1
call sub.WS2_32.dll_ioctlsocket
neg eax
sbb eax, eax
inc eax
leave
ret
Function at 0x41b960
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
push esi
push dword [esp + 0xc]
push dword [eax + 0x28]
call sub.WS2_32.dll_listen
mov esi, eax
test esi, esi
jge 0x41b973
call sub.WS2_32.dll_WSAGetLastError
push eax
call fcn.004297dd
pop ecx
mov eax, esi
pop esi
ret
Function at 0x41c6cf
Capabilities:
Set socket configuration

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x41c6d7
mov bl, byte [esp + 0x10]
cmp dword [esi + 0x144], 0
je 0x41c683
and dword [esi + 0x144], 0
jmp 0x41c693
lea eax, [esi + 4]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x41c6c9
test bl, 1
lea eax, [esi + 0x30]
je 0x41c6a6
cmp byte [eax], 0x2e
jne 0x41c6a6
cmp byte [eax + 1], 0
je 0x41c671
test bl, 2
je 0x41c6bc
cmp byte [eax], 0x2e
jne 0x41c6bc
cmp byte [eax + 1], 0x2e
jne 0x41c6bc
cmp byte [eax + 2], 0
je 0x41c671
test bl, 4
je 0x41c6e7
test byte [esi + 4], 2
jne 0x41c671
jmp 0x41c6e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00429849
jmp 0x41c6e4
push 0
push 0xffffe89d
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
xor eax, eax
pop ecx
pop esi
pop ebx
ret
Function at 0x41c9a1
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
lea ebp, [esp - 0x1d4]
sub esp, 0x254
mov eax, dword [0x4a89e8]
xor eax, ebp
mov dword [ebp + 0x1d0], eax
push ebx
push esi
mov esi, dword [ebp + 0x1e0]
push edi
mov edi, dword [ebp + 0x1dc]
test edi, edi
je 0x41ca8e
cmp byte [edi], 0
je 0x41ca8e
mov ebx, dword [sym.imp.MSVCR80.dll__mbspbrk]
push 0x48b344
push edi
call ebx
test eax, eax
pop ecx
pop ecx
je 0x41c957
push 0
push 0xffffe8c2
jmp 0x41ca95
lea eax, [ebp - 0x78]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x41ca22
push 0x48b340
push edi
call ebx
test eax, eax
pop ecx
pop ecx
jne 0x41c98a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00429849
jmp 0x41ca9b
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0xc8]
push eax
mov ebx, 0x105
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
mov dword [ebp - 0x7c], eax
je 0x41c979
cmp eax, ebx
jbe 0x41c9b9
push 0
push 0xffffe8c1
jmp 0x41ca95
push ebx
lea edi, [ebp + 0xc8]
call fcn.0041c7ee
test eax, eax
pop ecx
je 0x41c9eb
xor eax, eax
mov dword [esi], 2
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
xor eax, eax
jmp 0x41ca9f
mov eax, dword [ebp - 0x7c]
lea eax, [ebp + eax + 0xc7]
mov cl, byte [eax]
cmp cl, 0x2f
je 0x41ca05
cmp cl, 0x5c
jne 0x41c979
mov byte [eax], 0
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x41c979
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test byte [ebp - 0x78], 0x10
push 0
pop eax
setne al
push 1
xor ebx, ebx
push ebx
push ebx
inc eax
mov dword [esi], eax
mov eax, dword [ebp - 0x5c]
push eax
call fcn.00480470
mov ecx, dword [ebp - 0x58]
xor edi, edi
add eax, ecx
adc edx, edi
mov dword [esi + 8], eax
lea edi, [esi + 0x18]
lea eax, [ebp - 0x64]
push edi
push eax
mov dword [esi + 0xc], edx
call fcn.0041c70c
cmp dword [ebp - 0x74], ebx
pop ecx
pop ecx
jne 0x41ca7a
cmp dword [ebp - 0x70], ebx
jne 0x41ca7a
mov eax, dword [edi]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 4]
jmp 0x41c9e1
add esi, 0x10
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.0041c70c
pop ecx
pop ecx
jmp 0x41c9e4
push 0
push 0xffffe89d
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
pop ecx
or eax, 0xffffffff
mov ecx, dword [ebp + 0x1d0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047ff5a
add ebp, 0x1d4
leave
ret
Function at 0x41cf80
Capabilities:
Write file on windows

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 0x41cf8c
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebp
push esi
call fcn.0041a785
xor ebp, ebp
push ebp
push dword [esp + 0x14]
mov esi, eax
call sym.AdobeCollabSync.exe_PR_GetIdentitiesLayer
cmp dword [esi + 0xa8], ebp
pop ecx
pop ecx
je 0x41d05a
cmp eax, ebp
je 0x41d05a
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x28]
cmp dword [esi + 0xa4], eax
jne 0x41d05a
cmp dword [esi + 0xa0], ebp
je 0x41cfe6
push eax
call dword [sym.imp.KERNEL32.dll_CancelIo]
test eax, eax
jne 0x41cfe6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
jmp 0x41d05b
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
lea edi, [esi + 0x3c]
push edi
call ebx
mov eax, dword [esi + 0xa0]
mov dword [esi + 0xa8], ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
mov dword [esp + 0x14], eax
mov dword [esi], 6
mov dword [esi + 0x128], 1
call ebp
cmp dword [esp + 0x10], 0
je 0x41d02e
push 0xffffffffffffffff
mov eax, esi
call fcn.0041b343
pop ecx
push edi
call ebx
xor eax, eax
push edi
mov dword [esi + 0x128], eax
mov dword [esi + 0x124], eax
mov dword [esi + 0xa8], eax
mov dword [esi + 0xa0], eax
mov dword [esi], 2
call ebp
pop edi
xor eax, eax
pop ebx
jmp 0x41d06a
push ebp
push 0xffffe8d5
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
or eax, 0xffffffff
pop ecx
pop esi
pop ebp
pop ecx
ret
Function at 0x41d7ee
Capabilities:
Get disk information

Disassembly:
push ecx
push ebx
push ebp
push edi
xor edi, edi
call sym.AdobeCollabSync.exe_PR_IntervalNow
mov edx, dword [esi + 0x20]
cmp edx, 0xffffffff
mov ebp, dword [0x4a8e74]
mov dword [esp + 0xc], eax
jne 0x41d759
mov edi, dword [0x4a8e70]
jmp 0x41d791
test ebp, ebp
je 0x41d795
lea ebx, [ebp + 0x20]
mov ecx, dword [ebx]
add ecx, dword [0x4a8e78]
mov edi, ebp
mov eax, dword [esp + 0xc]
add eax, edx
sub eax, ecx
jns 0x41d784
mov edi, dword [edi + 4]
sub ecx, dword [ebx]
test edi, edi
je 0x41d795
lea ebx, [edi + 0x20]
add ecx, dword [ebx]
jmp 0x41d76a
sub edx, dword [0x4a8e78]
add edx, dword [esp + 0xc]
mov dword [esi + 0x20], edx
test edi, edi
jne 0x41d7b4
mov eax, dword [0x4a8e6c]
and dword [esi + 4], 0
cmp dword [0x4a8e70], 0
mov dword [esi], eax
mov dword [0x4a8e6c], esi
je 0x41d7ce
mov dword [eax + 4], esi
jmp 0x41d7d4
mov dword [esi + 4], edi
mov eax, dword [edi]
mov dword [esi], eax
mov dword [edi], esi
mov eax, dword [esi]
test eax, eax
je 0x41d7c6
mov dword [eax + 4], esi
cmp edi, dword [0x4a8e70]
jne 0x41d7d4
mov dword [0x4a8e70], esi
cmp dword [esi + 0x20], 0xffffffff
je 0x41d7f1
test ebp, ebp
je 0x41d7e2
cmp edi, ebp
jne 0x41d7f1
mov eax, dword [esp + 0xc]
mov dword [0x4a8e74], esi
mov dword [0x4a8e78], eax
inc dword [0x4a8e68]
pop edi
pop ebp
pop ebx
pop ecx
ret

Function at 0x41dd77
Capabilities:
Get disk information

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 0x41de88
Capabilities:
Get disk information

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 0x41e85d
Capabilities:
Get socket status

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