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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, eax
mov eax, dword [ebx + 4]
push edi
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp byte [ebp + 0x1c], 0
push 0
je 0x42d713
mov eax, dword [ebx + 4]
push 0
call fcn.0041f160
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
cmp eax, 0xffffffff
jne 0x42d732
mov eax, dword [ebx + 4]
push 0x2719
call fcn.0041f160
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
mov edx, dword [ebp + 0x18]
push esi
push edx
mov edx, dword [ebp + 0x14]
lea ecx, [ebp + 0x1c]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
push ecx
push eax
mov dword [ebp + 0x1c], 0
call dword [sym.imp.WS2_32.dll_WSASend]
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x4d2
jne 0x42d765
mov eax, 0x274d
test edi, edi
je 0x42d785
cmp eax, 0x3e5
je 0x42d785
mov edx, dword [ebp + 0x1c]
push edx
push eax
mov eax, dword [ebx + 4]
call fcn.0041f160
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
mov eax, dword [ebx + 4]
mov edi, esi
call fcn.0041f1d0
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18

Function at 0x42d820
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, eax
mov eax, dword [ebx + 4]
push edi
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp byte [ebp + 0x18], 0
je 0x42d851
mov eax, dword [ebx + 4]
push 0
push 0
call fcn.0041f160
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
cmp eax, 0xffffffff
jne 0x42d871
mov eax, dword [ebx + 4]
push 0
push 0x2719
call fcn.0041f160
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
xor ecx, ecx
push ecx
push esi
mov dword [ebp + 0x18], ecx
mov dword [ebp + 8], ecx
lea edx, [ebp + 8]
push edx
mov edx, dword [ebp + 0x14]
lea ecx, [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
push ecx
push eax
call dword [sym.imp.WS2_32.dll_WSARecv]
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x40
jne 0x42d8a6
mov eax, 0x2746
jmp 0x42d8b2
cmp eax, 0x4d2
jne 0x42d8b2
mov eax, 0x274d
test edi, edi
je 0x42d8d1
cmp eax, 0x3e5
je 0x42d8d1
mov edx, dword [ebp + 0x18]
push edx
push eax
mov eax, dword [ebx + 4]
call fcn.0041f160
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
mov eax, dword [ebx + 4]
mov edi, esi
call fcn.0041f1d0
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x42e070
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5110a3
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x580b30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
lea ecx, [esi + 4]
mov dword [esi], vtable.NetworkService::FunctionCallRequest.0
call fcn.0049cc00
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 1
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
push eax
mov ecx, esi
mov dword [esi + 0x3c], edi
call fcn.00488300
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 0x4328a0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514419
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x580b30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x30]
sub eax, dword [edi + 0x2c]
mov ecx, esi
sar eax, 3
push eax
mov dword [ebp - 0x10], 1
call fcn.00434a30
mov ecx, dword [edi + 0x30]
mov edi, dword [edi + 0x2c]
sub esp, 0x10
mov dword [ebp - 0x14], ecx
mov ecx, esp
lea edx, [ebp + 0xc]
mov dword [ecx], edx
mov edx, dword [ebp - 0x14]
lea ebx, [ebp + 0x14]
lea eax, [ebp + 0x18]
mov dword [ecx + 4], ebx
mov dword [ecx + 8], eax
lea eax, [ebp + 0x1c]
mov dword [ecx + 0xc], eax
push esi
push edx
lea eax, [ebp - 0x14]
push eax
mov eax, edi
call fcn.00435cb0
add esp, 0x1c
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x435490
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51396b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x580b30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 0x40
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, esp
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.google::protobuf::Message.0
mov byte [ebp - 4], 1
lea ecx, [esi + 4]
mov dword [esi], vtable.NetworkService::FunctionCallRequest.0
call fcn.0049cc00
mov byte [ebp - 4], 2
lea eax, [ebp + 0x10]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
push eax
mov ecx, esi
mov dword [esi + 0x3c], ebx
call fcn.00488300
mov byte [ebp - 4], bl
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00435990
add esp, 0x44
lea ecx, [ebp + 0x10]
mov dword [ebp + 8], eax
mov dword [edi], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0044a270
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x446880
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510f98
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x580b30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [esi + 4]
mov dword [esi], vtable.NetworkService::HttpRequest.0
call fcn.0049cc00
mov dword [esi + 8], ebx
mov dword [esi + 0xc], 0x58a2dc
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0x58a2f8
mov dword [esi + 0x18], ebx
mov byte [esi + 0x1c], bl
lea eax, [esi + 0x38]
mov dword [esi + 0x28], eax
mov dword [esi + 0x20], vtable.google::protobuf::RepeatedPtrField_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.0
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], 4
mov dword [esi + 0x48], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x446940
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5119fe
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x580b30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [esi + 4]
mov dword [esi], vtable.NetworkService::HttpRequest.0
call fcn.0049cc00
mov dword [esi + 8], ebx
mov dword [esi + 0xc], 0x58a2dc
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0x58a2f8
mov dword [esi + 0x18], ebx
mov byte [esi + 0x1c], bl
lea eax, [esi + 0x38]
mov dword [esi + 0x20], vtable.google::protobuf::RepeatedPtrField_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.0
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], 4
mov ecx, dword [ebp + 0xc]
push ecx
mov byte [ebp - 4], 2
mov ecx, esi
mov dword [esi + 0x48], ebx
call fcn.00488300
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x446dd0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510f98
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x580b30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
lea ecx, [esi + 4]
mov dword [esi], vtable.NetworkService::HttpStatusResponse.0
call fcn.0049cc00
mov dword [esi + 8], edi
mov dword [esi + 0xc], 0x58a330
mov dword [esi + 0x10], 0xffffffff
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], 0x58a34c
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], 0x58a368
lea eax, [esi + 0x3c]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x24], vtable.google::protobuf::RepeatedPtrField_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.0
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], 4
mov dword [esi + 0x4c], 0x58a384
mov dword [esi + 0x50], edi
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 4
Function at 0x4473b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510f98
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x580b30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
lea ecx, [esi + 4]
mov dword [esi], vtable.NetworkService::DownloadStatusResponse.0
call fcn.0049cc00
mov dword [esi + 8], edi
mov dword [esi + 0xc], 0x58a410
mov dword [esi + 0x10], 0xffffffff
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], 0x58a42c
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], 0x58a448
mov dword [esi + 0x38], 0x58a464
mov dword [esi + 0x3c], 0x58a480
mov dword [esi + 0x40], edi
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 4

Function at 0x448ed0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c7c3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x580b30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x38
call fcn.00469def
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [ebp - 4], edi
cmp esi, edi
je 0x448f55
mov byte [ebp - 4], 1
lea ecx, [esi + 4]
mov dword [esi], vtable.NetworkService::DownloadStatistics.0
call fcn.0049cc00
mov dword [esi + 8], edi
mov dword [esi + 0xc], 0x58a5d0
mov dword [esi + 0x10], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], 0x58a5ec
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
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
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4494f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c7c3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x580b30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x38
call fcn.00469def
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [ebp - 4], edi
cmp esi, edi
je 0x449581
mov byte [ebp - 4], 1
lea ecx, [esi + 4]
mov dword [esi], vtable.NetworkService::TaskStatistics.0
call fcn.0049cc00
or eax, 0xffffffff
mov dword [esi + 0x14], eax
mov dword [esi + 0x24], eax
mov dword [esi + 8], edi
mov dword [esi + 0xc], 0x58a608
mov dword [esi + 0x10], 0x58a624
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
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
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44a390
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c7c3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x580b30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x40
call fcn.00469def
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [ebp - 4], edi
cmp esi, edi
je 0x44a41c
mov byte [ebp - 4], 1
lea ecx, [esi + 4]
mov dword [esi], vtable.NetworkService::FunctionCallRequest.0
call fcn.0049cc00
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
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
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x44bc80
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [eax], 0x1571
mov dword [eax + 0x9c0], 1
push ebx
mov ecx, dword [eax + 0x9c0]
mov edx, dword [eax + ecx*4 - 4]
mov ebx, edx
shr ebx, 0x1e
xor ebx, edx
imul ebx, ebx, 0x6c078965
add ebx, ecx
mov dword [eax + ecx*4], ebx
inc dword [eax + 0x9c0]
cmp dword [eax + 0x9c0], 0x270
jb 0x44bc91
mov ecx, dword [eax + 0x9bc]
xor ecx, dword [eax + 0x630]
pop ebx
jns 0x44bcdb
xor ecx, 0x1908b0df
add ecx, ecx
or ecx, 1
jmp 0x44bcdd
add ecx, ecx
mov edx, dword [eax]
xor edx, ecx
and edx, 0x7fffffff
xor dword [eax], edx
xor ecx, ecx
jmp 0x44bcf0
cmp dword [eax + ecx*4], 0
jne 0x44bd05
inc ecx
cmp ecx, 0x270
jb 0x44bcf0
mov dword [eax], closesocket
ret

Function at 0x44bf00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5171f8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x580b30]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
push edi
mov eax, dword [0x580b30]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
push 0x53c4b4
push str._dev_urandom
mov esi, ecx
mov dword [esp + 0x30], 5
call fcn.004d606d
add esp, 8
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x40], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
cmp eax, 5
jl 0x44bf7e
lea edi, [esp + 0x14]
call fcn.0044e6f0
xor eax, eax
mov dword [esp + 0x28], eax
mov ecx, dword [esp + eax*4 + 0x14]
inc eax
mov dword [esp + 0x10], ecx
xor ecx, ecx
mov dword [esp + 0x28], eax
xor eax, eax
push ecx
push eax
lea edx, [esp + 0x14]
call fcn.0044c000
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x44bfab
push eax
call fcn.004d383e
add esp, 4
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004d31b7
mov esp, ebp
pop ebp
ret
Function at 0x44c390
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
sub edi, ebx
jne 0x44c3aa
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
push esi
cmp edi, 0xffffffff
jne 0x44c3c1
mov esi, dword [ebp + 8]
call fcn.0044c5a0
pop esi
pop edi
add eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
jbe 0x44c434
xor ecx, ecx
lea eax, [edi + 1]
xor edx, edx
div ecx
mov esi, dword [ebp + 8]
mov dword [ebp + 0x10], ecx
mov ebx, 1
mov dword [ebp - 4], eax
lea ebx, [ebx]
cmp dword [ebp - 4], ebx
jae 0x44c410
mov byte [ebp - 8], 0
mov edx, dword [ebp - 8]
push edx
push edi
push 0
push esi
call fcn.0044c390
add esp, 0x10
cmp eax, 0xffffffff
ja 0x44c3e0
cmp eax, edi
ja 0x44c3e0
add eax, dword [ebp + 0xc]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0044c5a0
imul eax, ebx
add dword [ebp + 0x10], eax
mov eax, edi
sub eax, ebx
inc eax
neg ebx
cmp ebx, eax
je 0x44c42a
xor ebx, ebx
jmp 0x44c410
mov eax, dword [ebp + 0x10]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
or eax, 0xffffffff
xor edx, edx
lea ecx, [edi + 1]
div ecx
mov ebx, eax
cmp edx, edi
jne 0x44c445
inc ebx
mov esi, dword [ebp + 8]
jmp 0x44c450
cmp dword [esi + 0x9c0], 0x270
jne 0x44c463
mov ecx, esi
call fcn.0044c5f0
mov eax, dword [esi + 0x9c0]
mov ecx, dword [esi + eax*4]
inc eax
mov edx, ecx
shr edx, 0xb
xor ecx, edx
mov dword [esi + 0x9c0], eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov edx, ecx
and edx, 0xffffdf8c
shl edx, 0xf
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
xor edx, edx
div ebx
cmp eax, edi
ja 0x44c450
add eax, dword [ebp + 0xc]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44e6f0
Capabilities:
Hash data using sha1
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x580b30]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x58c21c]
mov edx, dword [0x58c220]
mov eax, dword [0x58c218]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [0x58c228]
push esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], eax
mov eax, dword [0x58c224]
lea edx, [ebp - 0xc]
mov dword [ebp - 0x10], ecx
push edx
lea ecx, [ebp - 0x20]
lea esi, [ebp - 0x80]
mov dword [ebp - 0x80], 0x67452301
mov dword [ebp - 0x7c], 0xefcdab89
mov dword [ebp - 0x78], 0x98badcfe
mov dword [ebp - 0x74], 0x10325476
mov dword [ebp - 0x70], 0xc3d2e1f0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x84], 0x58c218
mov dword [ebp - 0x14], eax
call fcn.0044df60
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x84]
call fcn.0044df60
push 0
call fcn.004d5959
add esp, 4
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
call fcn.0044df60
call fcn.004d630c
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
call fcn.0044df60
call fcn.004d62eb
mov dword [ebp - 0x18], eax
call fcn.004d62eb
mov dword [ebp - 0x14], eax
call fcn.004d62eb
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x18]
call fcn.0044df60
mov eax, dword [edi + 0x18]
test eax, eax
je 0x44e7fb
push eax
push 0x14
lea ecx, [ebp - 0x20]
push 1
push ecx
call fcn.004d62ce
add esp, 0x10
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 0x20]
lea esi, [ebp - 0x80]
call fcn.0044df60
push 4
call fcn.00469def
lea ecx, [eax + 4]
add esp, 4
push ecx
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.0044df60
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 0x10]
call fcn.0044df60
mov eax, dword [ebp - 0x10]
push eax
call fcn.00469e1a
add esp, 4
lea ecx, [edi + 0x14]
push ecx
mov ecx, edi
call fcn.0044df60
lea edx, [ebp - 0x20]
push edx
call fcn.0044e530
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x20]
xor dword [eax], ecx
xor dword [edi], ecx
mov ecx, dword [ebp - 0x1c]
xor dword [eax + 4], ecx
xor dword [edi + 4], ecx
mov ecx, dword [ebp - 0x18]
xor dword [eax + 8], ecx
xor dword [edi + 8], ecx
mov ecx, dword [ebp - 0x14]
xor dword [eax + 0xc], ecx
xor dword [edi + 0xc], ecx
mov ecx, dword [ebp - 0x10]
xor dword [eax + 0x10], ecx
xor dword [edi + 0x10], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004d31b7
mov esp, ebp
pop ebp
ret
Function at 0x44ef90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516880
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x580b30]
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, dword [ebp + 8]
mov edi, 1
or dword [ebx + 0x30], edi
cmp dword [ebx + 0xc], 0x58a5d0
mov esi, ecx
mov dword [ebp - 0x4c], esi
jne 0x44effa
push 0x1c
call fcn.00469def
add esp, 4
test eax, eax
je 0x44eff5
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x44eff7
xor eax, eax
mov dword [ebx + 0xc], eax
mov ecx, dword [ebx + 0xc]
push 0xffffffffffffffff
push 0
push esi
call fcn.0040a000
or dword [ebx + 0x30], 2
mov dword [ebx + 0x10], edi
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
or dword [ebx + 0x30], 4
lea edi, [esi + 0x1c]
lea esi, [ebp - 0x48]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], ecx
call fcn.00417b50
push eax
lea eax, [ebp - 0x2c]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.00467383
add esp, 8
mov esi, eax
mov byte [ebp - 4], 1
or dword [ebx + 0x30], 8
cmp dword [ebx + 0x20], 0x58a5ec
jne 0x44f070
push 0x1c
call fcn.00469def
add esp, 4
cmp eax, edi
je 0x44f06b
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], edi
mov byte [eax], 0
jmp 0x44f06d
xor eax, eax
mov dword [ebx + 0x20], eax
mov ecx, dword [ebx + 0x20]
push 0xffffffffffffffff
push edi
push esi
call fcn.0040a000
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jb 0x44f092
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00469e1a
add esp, 4
cmp dword [ebp - 0x34], 8
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
jb 0x44f0b2
mov edx, dword [ebp - 0x48]
push edx
call fcn.00469e1a
add esp, 4
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x38]
xor ecx, ecx
or dword [ebx + 0x30], esi
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], ecx
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.004d31b7
mov esp, ebp
pop ebp
ret 4
Function at 0x459120
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51b3ab
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x580b30]
xor eax, esp
mov dword [esp + 0xe8], eax
push esi
mov eax, dword [0x580b30]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0xbc]
call fcn.004587e0
mov dword [esp + 0x100], 0
mov eax, dword [esp + 0xb8]
mov esi, 8
cmp dword [esp + 0xcc], esi
jae 0x459195
lea eax, [esp + 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x459280
mov eax, dword [esp + 0xb8]
cmp dword [esp + 0xcc], esi
jae 0x4591bc
lea eax, [esp + 0xb8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x459280
lea eax, [esp + 0xc]
push eax
call fcn.00402bd0
push str._failed.
push ecx
lea ecx, [esp + 0xc0]
push ecx
push ecx
lea edx, [esp + 0x2c]
push str.NetworkService::DownloadTask::CreateDownloadFolder:_Create_download_folder
push edx
mov byte [esp + 0x118], 1
call fcn.004050c0
add esp, 0xc
push eax
call fcn.00413550
add esp, 0xc
push eax
call fcn.004050c0
add esp, 8
lea ecx, [esp + 0xd4]
lea eax, [esp + 0xc]
call fcn.00402c70
push eax
push 1
mov byte [esp + 0x108], 2
call fcn.00409e90
mov ecx, eax
call fcn.004688b0
cmp dword [esp + 0xe8], esi
jb 0x459252
mov eax, dword [esp + 0xd4]
push eax
call fcn.00469e1a
add esp, 4
lea ecx, [esp + 0xc]
mov byte [esp + 0x100], 0
call fcn.00401820
cmp dword [esp + 0xcc], esi
jb 0x45927c
mov ecx, dword [esp + 0xb8]
push ecx
call fcn.00469e1a
add esp, 4
xor al, al
jmp 0x45929b
cmp dword [esp + 0xcc], esi
jb 0x459299
mov edx, dword [esp + 0xb8]
push edx
call fcn.00469e1a
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.004d31b7
mov esp, ebp
pop ebp
ret 4