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

Disassembly:
sub esp, 8
push ebx
push esi
push edi
push 0
call dword [sym.imp.WSOCK32.dll_WSASetLastError]
mov eax, dword [esp + 0x24]
push 0
push 0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
call dword [sym.imp.WS2_32.dll_WSARecv]
mov ebx, eax
call fcn.004b9da0
mov esi, eax
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov edi, dword [esp + 0x28]
mov dword [edi], eax
mov dword [edi + 4], esi
cmp eax, 0x40
jne 0x41a8cb
call fcn.004b9da0
mov dword [edi], 0x2746
mov dword [edi + 4], eax
jmp 0x41a8f6
cmp eax, 0x4d2
jne 0x41a8e2
call fcn.004b9da0
mov dword [edi], 0x274d
mov dword [edi + 4], eax
jmp 0x41a8f6
cmp eax, 0x2738
je 0x41a8f0
cmp eax, 0xea
jne 0x41a8f6
mov dword [edi], 0
test ebx, ebx
je 0x41a904
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 8
ret
call fcn.004b9da0
mov dword [edi + 4], eax
mov eax, dword [esp + 0xc]
mov dword [edi], 0
pop edi
pop esi
pop ebx
add esp, 8
ret

Function at 0x41b0c0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 8]
test esi, esi
je 0x41b0fc
mov esi, dword [esi + 0x30]
test esi, esi
je 0x41b0f5
push ebx
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x41b0f4
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x41b0f4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop ebx
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x41b140
push dword [0x595c4c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41b130
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x41b130
cmp dword [ecx], 0
jne 0x41b130
mov al, byte [esi + 0x44]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret
push esi
call fcn.004457a0
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
Function at 0x41b9c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4faf30
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x591430]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], 0
call fcn.004b9da0
mov edi, dword [esi + 8]
xor edx, edx
mov dword [ebp - 0x14], eax
lea eax, [edi + 0x18]
lock xadd dword [eax], edx
test edx, edx
jne 0x41ba23
mov ecx, edi
call fcn.0041dad0
xor edi, edi
call fcn.004b9da0
mov dword [ebp - 0x18], edi
xor esi, esi
mov dword [ebp - 0x14], eax
jmp 0x41bac5
mov dword [ebp - 0x10], 0
push dword [0x595c4c]
mov ecx, edi
mov dword [ebp - 4], 0
neg ecx
lea eax, [edi + 0x14]
sbb ecx, ecx
and ecx, eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x595c4c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
push 0xffffffffffffffff
mov ecx, edi
xor esi, esi
call fcn.00417350
test eax, eax
je 0x41ba9c
nop dword [eax + eax]
cmp esi, 0xffffffff
lea eax, [esi + 1]
mov ecx, edi
cmove eax, esi
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push 0xffffffffffffffff
call fcn.00417350
test eax, eax
jne 0x41ba80
push dword [ebp - 0x1c]
push dword [0x595c4c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x41bac2
push eax
call fcn.004457a0
add esp, 4
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x41bad2
lea eax, [ebp - 0x18]
push eax
call fcn.00417850
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41d790
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, ecx
cmp dword [esi + 0x14], 0
jne 0x41d7a9
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 0x14], eax
jmp 0x41d7bb
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 0x14], eax
je 0x41d7bb
mov dword [esi + 0x14], 0xffffffff
mov eax, dword [edi + 4]
add eax, 0x18
lock inc dword [eax]
cmp byte [esp + 0x1c], 0
je 0x41d7e0
mov ecx, dword [edi + 4]
push 0
push 0
push dword [esp + 0x28]
call fcn.004198e0
pop edi
pop esi
ret 0x18
mov eax, dword [esi]
cmp eax, 0xffffffff
jne 0x41d7ff
mov ecx, dword [edi + 4]
push 0
push 0x2719
push dword [esp + 0x28]
call fcn.004198e0
pop edi
pop esi
ret 0x18
push ebx
mov ebx, dword [esp + 0x24]
lea ecx, [esp + 0x20]
push 0
push ebx
push dword [esp + 0x24]
mov dword [esp + 0x2c], 0
push ecx
push dword [esp + 0x28]
push dword [esp + 0x28]
push eax
call dword [sym.imp.WS2_32.dll_WSASend]
mov esi, eax
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test esi, esi
je 0x41d85b
cmp eax, 0x3e5
je 0x41d85b
push dword [esp + 0x20]
mov ecx, dword [edi + 4]
push eax
push ebx
call fcn.004198e0
pop ebx
pop edi
pop esi
ret 0x18
mov ecx, dword [edi + 4]
push ebx
call fcn.00419a20
pop ebx
pop edi
pop esi
ret 0x18
Function at 0x41d8d0
Capabilities:
Create thread

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
push 0
push 0
push 1
push 0
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, dword [esp + 0x20]
mov edi, eax
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 4], edi
test edi, edi
jne 0x41d921
call esi
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
mov dword [esp + 0x14], esi
call fcn.004b9da0
mov dword [esp + 0x18], eax
test esi, esi
jne 0x41d9de
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp + 8], eax
mov dword [ebx + 8], eax
cmp dword [ebp + 8], 0
jne 0x41d95c
call esi
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
mov dword [esp + 0x14], esi
call fcn.004b9da0
mov dword [esp + 0x18], eax
test esi, esi
jne 0x41d9ed
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 0
push ebx
push 0x41e470
push dword [esp + 0x34]
push 0
call fcn.004d9d04
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x18
mov dword [ebp + 4], eax
test eax, eax
jne 0x41d9c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov dword [esp + 0x24], eax
call dword [edx]
test edi, edi
je 0x41d9a5
push edi
call esi
mov eax, dword [ebp + 8]
test eax, eax
je 0x41d9af
push eax
call esi
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x14], ebx
call fcn.004b9da0
mov dword [esp + 0x18], eax
test ebx, ebx
jne 0x41d9fc
test edi, edi
je 0x41d9d4
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push str.thread.entry_event
lea eax, [esp + 0x18]
push eax
call fcn.004178a0
push str.thread.exit_event
lea eax, [esp + 0x18]
push eax
call fcn.004178a0
push str.thread
lea eax, [esp + 0x18]
push eax
call fcn.004178a0
int3
Function at 0x422aa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8c18
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x591430]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x422be6
cmp byte [ebx + 0x3d], 0
je 0x422be6
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x422af4
xor al, al
jmp 0x422be8
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.00420860
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
nop dword [eax]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmp edx, 0x10
lea esi, [ebp - 0x28]
cmovae esi, eax
cmovae edi, eax
mov edx, dword [ecx]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x422b4f
sub eax, 1
je 0x422b53
mov edx, dword [ebp - 0x14]
sub eax, 2
mov eax, dword [ebp - 0x28]
je 0x422ba9
xor bl, bl
jmp 0x422bab
mov byte [ebx + 0x3d], 0
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x28]
cmp edx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae ecx, eax
sub esi, ecx
je 0x422b8b
push dword [ebx + 0x4c]
cmp edx, 0x10
lea ecx, [ebp - 0x28]
push esi
cmovae ecx, eax
push 1
push ecx
call fcn.004deee5
mov edx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
mov eax, dword [ebp - 0x28]
jne 0x422b4b
cmp byte [ebx + 0x3d], 0
je 0x422ba9
test esi, esi
jne 0x422b10
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.004256b0
jmp 0x422b07
mov bl, 1
cmp edx, 0x10
jb 0x422bdd
lea ecx, [edx + 1]
cmp ecx, 0x1000
jb 0x422bd4
test al, 0x1f
jne 0x422be1
mov ecx, dword [eax - 4]
cmp ecx, eax
jae 0x422be1
sub eax, ecx
cmp eax, 4
jb 0x422be1
cmp eax, 0x23
ja 0x422be1
mov eax, ecx
push eax
call fcn.004457a0
add esp, 4
mov al, bl
jmp 0x422be8
call fcn.004d588f
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b7be0
mov esp, ebp
pop ebp
ret
Function at 0x42dbf0
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ecx
push ebx
push ebp
push dword [esp + 0x10]
mov ebp, ecx
mov dword [esp + 0xc], ebp
call fcn.00433bd0
mov edx, dword [ebp + 4]
mov eax, dword [ebp + 0x14]
cmp dword [eax + edx*4], 0
lea ebx, [eax + edx*4]
je 0x42dcdf
push esi
push edi
mov esi, dword [ebx]
mov edi, dword [esi + 0x1c]
lea ecx, [esi + 8]
mov edx, ecx
cmp edi, 0x10
jb 0x42dc28
mov edx, dword [ecx]
mov eax, dword [ecx + 0x10]
add eax, edx
cmp edi, 0x10
jb 0x42dc34
mov ecx, dword [ecx]
xor edx, edx
mov edi, eax
sub edi, ecx
xor ebp, ebp
cmp ecx, eax
cmova edi, edx
test edi, edi
je 0x42dc79
nop word [eax + eax]
movsx eax, byte [ecx]
lea ecx, [ecx + 1]
imul eax, eax, 0xcc9e2d51
inc edx
rol eax, 0xf
imul eax, eax, 0x1b873593
xor ebp, eax
rol ebp, 0xd
add ebp, 0xfaddaf14
lea ebp, [ebp + ebp*4]
cmp edx, edi
jne 0x42dc50
mov eax, ebp
xor edx, edx
mov ebp, dword [esp + 0x10]
div dword [ebp + 4]
mov eax, edx
and eax, 0x7fffffff
mov dword [esi + 4], eax
mov eax, dword [esi]
test eax, eax
je 0x42dcb4
mov ecx, dword [eax + 4]
shr ecx, 0x1f
not ecx
test cl, 1
jne 0x42dcb4
mov ecx, edx
mov esi, eax
or ecx, 0x80000000
mov dword [eax + 4], ecx
mov eax, dword [eax]
test eax, eax
jne 0x42dc94
mov eax, dword [ebp + 0x14]
lea ecx, [eax + edx*4]
mov eax, dword [ecx]
test eax, eax
jne 0x42dcc6
mov dword [ecx], ebx
mov ebx, esi
jmp 0x42dcd4
mov eax, dword [eax]
mov edx, dword [esi]
mov dword [esi], eax
mov ecx, dword [ecx]
mov eax, dword [ebx]
mov dword [ecx], eax
mov dword [ebx], edx
cmp dword [ebx], 0
jne 0x42dc17
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x434ba0
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
mov ebx, ecx
push esi
push edi
mov eax, ebp
mov edx, dword [ebp + 0x14]
cmp edx, 0x10
jb 0x434bb7
mov eax, dword [ebp]
mov ecx, dword [ebp + 0x10]
add ecx, eax
mov eax, ebp
cmp edx, 0x10
jb 0x434bc6
mov eax, dword [ebp]
xor edx, edx
mov esi, ecx
sub esi, eax
xor edi, edi
cmp eax, ecx
cmova esi, edx
test esi, esi
je 0x434c08
nop word [eax + eax]
movsx ecx, byte [eax]
lea eax, [eax + 1]
imul ecx, ecx, 0xcc9e2d51
inc edx
rol ecx, 0xf
imul ecx, ecx, 0x1b873593
xor edi, ecx
rol edi, 0xd
add edi, 0xfaddaf14
lea edi, [edi + edi*4]
cmp edx, esi
jne 0x434be0
xor edx, edx
mov eax, edi
div dword [ebx + 4]
cmp dword [ebx + 8], 0
mov ecx, edx
mov dword [esp + 0x18], ecx
jne 0x434c2c
xor eax, eax
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
mov eax, ecx
pop ebx
ret 8
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x434c3a
mov eax, dword [eax]
jmp 0x434c3c
xor eax, eax
test eax, eax
je 0x434c1d
mov ebx, dword [ebp + 0x10]
cmp dword [eax + 0x1c], 0x10
lea esi, [eax + 8]
jb 0x434c4f
mov esi, dword [eax + 8]
cmp dword [ebp + 0x14], 0x10
mov edx, ebp
jb 0x434c5a
mov edx, dword [ebp]
cmp ebx, dword [eax + 0x18]
jne 0x434cba
mov edi, ebx
sub edi, 4
jb 0x434c77
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x434c7c
add edx, 4
add esi, 4
sub edi, 4
jae 0x434c66
cmp edi, 0xfffffffc
je 0x434cb0
mov cl, byte [edx]
cmp cl, byte [esi]
jne 0x434ca9
cmp edi, 0xfffffffd
je 0x434cb0
mov cl, byte [edx + 1]
cmp cl, byte [esi + 1]
jne 0x434ca9
cmp edi, 0xfffffffe
je 0x434cb0
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
jne 0x434ca9
cmp edi, 0xffffffff
je 0x434cb0
mov cl, byte [edx + 3]
cmp cl, byte [esi + 3]
je 0x434cb0
sbb ecx, ecx
or ecx, 1
jmp 0x434cb2
xor ecx, ecx
test ecx, ecx
je 0x434c1d
mov ecx, dword [eax + 4]
and ecx, 0x7fffffff
cmp ecx, dword [esp + 0x18]
jne 0x434cfe
nop dword [eax]
mov eax, dword [eax]
test eax, eax
je 0x434c1d
mov ecx, dword [eax + 4]
shr ecx, 0x1f
not ecx
test cl, 1
je 0x434cd0
test eax, eax
jne 0x434c43
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
mov eax, ecx
pop ebx
ret 8
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword [eax], 0
pop ebx
ret 8

Function at 0x4390c0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x4390da
add ecx, 0x30
call fcn.004313c0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x43911e
push dword [0x595c4c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x43910e
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x43910e
cmp dword [ecx], 0
jne 0x43910e
mov al, byte [esi + 0x58]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret
push esi
call fcn.004457a0
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
Function at 0x443970
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe83f
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x591430]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi], vtable.work_new_connect.0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0xf
mov dword [ebp - 4], 0
mov byte [esi + 0x1c], 0
mov dword [esi + 0x2044], 0
mov dword [esi + 0x2048], 0xf
mov byte [esi + 0x2034], 0
mov dword [esi + 0x205c], 0
mov dword [esi + 0x2060], 0xf
mov byte [esi + 0x204c], 0
mov dword [esi + 0x2074], 0
mov dword [esi + 0x2078], 0xf
mov byte [esi + 0x2064], 0
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 8]
push 0x48
mov byte [ebp - 4], 4
mov dword [esi + 0x10], eax
call fcn.00445790
mov edi, eax
add esp, 4
mov dword [ebp + 0xc], edi
mov byte [ebp - 4], 5
test edi, edi
je 0x443b44
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push 0
push eax
mov dword [ebp - 0x14], 0
call fcn.00409ab0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
add esp, 8
push eax
push 0x4078e0
push ecx
mov ecx, dword [eax]
call fcn.00417930
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [edi], eax
add edi, 4
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x20], 2
mov byte [edi + 0x24], 0
movups xmmword [edi + 0x28], xmm0
movq qword [edi + 0x38], xmm0
mov dword [edi + 0x40], 0
mov dword [edi + 0x28], 2
mov dword [edi + 0x2c], 0
mov ecx, dword [ecx]
add ecx, 0x14
mov dword [edi], 0xffffffff
mov byte [edi + 4], 0
mov dword [ebp + 8], ecx
mov ecx, dword [edi + 0xc]
mov dword [edi + 0xc], 0
mov dword [ebp - 0x10], ecx
mov dword [edi + 8], 0
test ecx, ecx
je 0x443b01
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x443b01
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x443b01
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
add eax, 0x14
mov dword [edi + 0x14], 0
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x2c]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], 0
mov eax, dword [ecx + 0x2c]
test eax, eax
je 0x443b2f
mov dword [eax + 0x1c], edi
lea eax, [ecx + 0x14]
mov dword [ecx + 0x2c], edi
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x14], eax
jmp 0x443b4b
mov dword [esi + 0x14], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x446bb0
Capabilities:
Check mutex on windows

Disassembly:
push ecx
push ebx
push esi
push edi
push 0x1c
xor edi, edi
call fcn.00445790
mov esi, eax
add esp, 4
mov dword [esp + 0xc], esi
test esi, esi
je 0x446c08
push edi
push edi
mov dword [esi], vtable.CMN_CContext.0
push edi
mov dword [esi + 4], vtable.CRef.0
mov dword [esi + 8], 1
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi + 0xc], eax
mov eax, dword [str._undefined_]
mov dword [esi], vtable.CContext.0
mov dword [esi + 4], vtable.CContext.1.0
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], eax
mov byte [esi + 0x18], 0
jmp 0x446c0a
xor esi, esi
mov dword [esp + 0xc], esi
test esi, esi
jne 0x446c1e
mov edi, 1
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret
push 0xffffffffffffffff
push dword [0x595f30]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov esi, dword [0x595f38]
lea eax, [esp + 0xc]
push eax
mov ecx, 0x595f38
mov ebx, dword [esi + 4]
push ebx
push esi
call fcn.004062c0
mov ecx, dword [0x595f3c]
mov edx, eax
mov eax, 0x15555554
sub eax, ecx
cmp eax, 1
jb 0x446c8a
inc ecx
mov dword [0x595f3c], ecx
mov dword [esi + 4], edx
mov dword [ebx], edx
push dword [0x595f30]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [esp + 0x14]
mov eax, edi
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword [edx], ecx
pop ebx
pop ecx
ret
push str.list_T__too_long
call fcn.004b6307
int3
Function at 0x447c00
Capabilities:
Create directory

Disassembly:
push esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, dword [esp + 8]
mov dword [0x595fe4], eax
test esi, esi
jne 0x447c26
mov dword [0x595f64], 1
pop esi
ret
call fcn.00447e10
mov edx, eax
lea eax, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x447c30
mov ecx, esi
sub edx, eax
push edi
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x447c40
sub ecx, edi
lea edi, [edx + 0xc]
add edi, ecx
push ebx
push edi
call fcn.004e0a4f
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x447c6f
push edi
push str.failh_alloc__u__failed
push eax
push 2
call sym.http_proxy_client.exe_failh_error
add esp, 0x10
push esi
push 0x508178
mov dword [0x595f60], ebx
call fcn.00447e10
push eax
push str._s_s_s
push dword [0x595f60]
call fcn.00447e70
push dword [0x595f60]
call fcn.004e0b20
add esp, 0x18
pop ebx
test eax, eax
je 0x447cc2
call fcn.004daa36
cmp dword [eax], 0x11
je 0x447cc2
call fcn.004daa36
push dword [eax]
push dword [0x595f60]
push str.cant_create___s_:_code__d
jmp 0x447d34
mov edx, dword [0x595f60]
lea edi, [edx - 1]
nop dword [eax + eax]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x447cd0
mov ax, word [0x508178]
lea ecx, [edx - 1]
mov word [edi], ax
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x447ce6
mov eax, dword [str.error.log]
mov dword [ecx], eax
mov eax, dword [0x5081a4]
push 0x1b6
mov dword [ecx + 4], eax
mov ax, word [0x5081a8]
push 0x4109
push edx
mov word [ecx + 8], ax
call fcn.004e209d
mov esi, eax
add esp, 0xc
test esi, esi
jns 0x447d5f
call fcn.004daa36
push dword [eax]
push dword [0x595f60]
push str.cant_open___s_:_code__d
push 0
push 7
call sym.http_proxy_client.exe_failh_error
add esp, 0x14
mov eax, dword [0x595f60]
test eax, eax
je 0x447d7c
push eax
call fcn.004d58e0
add esp, 4
mov dword [0x595f60], 0
pop edi
pop esi
ret
push 0
push 0
push esi
call fcn.004e109f
add esp, 0xc
mov dword [0x56b85c], esi
mov dword [0x595f64], 1
pop edi
pop esi
ret

Function at 0x447e10
Capabilities:
Get common file path

Disassembly:
mov eax, dword [0x595fe0]
push esi
mov esi, 0x100
test eax, eax
jne 0x447e66
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathA]
push edi
push esi
call fcn.004e0a4f
mov edi, eax
add esp, 4
test edi, edi
jne 0x447e47
push esi
push str.failh_alloc__u__failed
push eax
push 2
call sym.http_proxy_client.exe_failh_error
add esp, 0x10
push edi
push esi
call ebx
cmp eax, esi
jb 0x447e5c
push edi
call fcn.004d58e0
add esp, 4
add esi, esi
jmp 0x447e27
mov dword [0x595fe0], edi
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x4486f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fec54
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push edi
push 0x24
call fcn.00445790
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x44883b
push ebx
push esi
mov eax, dword [ebp + 8]
push 0
push bind
mov dword [edi + 0x10], eax
mov eax, dword [ebp + 0x10]
push 0
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0xc]
push 0
mov byte [ebp - 4], 1
mov dword [edi], vtable.Taskman_Impl.0
mov dword [edi + 0xc], 0
mov dword [edi + 0x18], eax
mov byte [edi + 0x20], 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov ebx, dword [edi + 0x18]
xor ecx, ecx
mov dword [edi + 0x1c], eax
mov edx, 0xc
mov eax, ebx
mov dword [ebp - 0x14], ebx
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.004b7fdf
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x4487b9
push 0x448650
push 0x4483c0
push ebx
lea esi, [eax + 4]
mov dword [eax], ebx
push 0xc
push esi
call fcn.004b7e8f
jmp 0x4487bb
xor esi, esi
mov eax, dword [edi + 0x10]
xor ecx, ecx
mov edx, 4
mov byte [ebp - 4], 1
mul edx
mov dword [edi + 8], esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b7fdf
xor ebx, ebx
mov dword [edi + 4], eax
add esp, 4
cmp dword [edi + 0x10], ebx
jle 0x448828
push 8
call fcn.00445790
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
test esi, esi
je 0x44881a
lea eax, [ebp - 0x14]
mov dword [esi], edi
push eax
push 0
push esi
push 0x448e60
push 0
push 0
call fcn.004d9d04
add esp, 0x18
mov dword [esi + 4], eax
jmp 0x44881c
xor esi, esi
mov ecx, dword [edi + 4]
mov dword [ecx + ebx*4], esi
inc ebx
cmp ebx, dword [edi + 0x10]
jl 0x4487e8
pop esi
pop ebx
mov eax, edi
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret