joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412eae
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
lea ebx, [edi + 0x20]
push ebx
mov dword [edi], vtable.CStatistics.0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea esi, [edi + 8]
call fcn.00413abe
mov eax, dword [edi + 4]
test eax, eax
je 0x412ee8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [edi + 4], 0
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
add edi, 0x14
call fcn.00413afb
call fcn.00413abe
pop edi
pop esi
pop ebx
ret

Function at 0x412f07
Capabilities:
Create thread

Disassembly:
push 0x14
mov eax, 0x437c88
call fcn.00434fb8
mov eax, dword [0x44b724]
mov ebx, 0x44b724
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
test byte [0x44becc], 1
mov edi, 0x44be74
jne 0x412f7a
or dword [0x44becc], 1
mov ecx, ebx
mov esi, edi
call fcn.004025a7
push 8
push 0
push 0x44be78
mov dword [0x44be80], 0x43db48
mov dword [0x44be84], 0x43db50
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x438db9
call fcn.0043480c
pop ecx
cmp dword [0x44be70], 0
je 0x412f8f
mov eax, edi
lea edi, [ebp - 0x10]
call fcn.004057b0
jmp 0x412fe3
push str.000000000000000000000000000
lea eax, [ebp - 0x10]
push eax
call fcn.00402c06
mov eax, dword [0x44b724]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea ebx, [ebp - 0x14]
mov esi, 0x44be70
mov byte [ebp - 4], 1
call fcn.00412816
mov eax, ebx
call fcn.004057b0
mov eax, edi
lea edi, [ebp - 0x10]
call fcn.004057b0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00401a71
mov ebx, 0x44b724
mov edi, dword [ebp + 8]
lea eax, [edi + 0x20]
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x44b724]
mov ecx, ebx
call dword [eax + 0xc]
and dword [ebp - 0x18], 0
add eax, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 2
push eax
mov dword [ebp - 0x1c], 0x2710
call fcn.00402c06
push dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
push str.mid_s
call fcn.00413bb5
and dword [ebp - 0x18], 0
pop ecx
pop ecx
lea esi, [edi + 8]
lea ebx, [ebp - 0x20]
call fcn.00413a20
cmp dword [edi + 4], 0
jne 0x413059
push edi
push 0
push 0x413080
call dword [sym.imp.MSVCR80.dll__beginthread]
add esp, 0xc
mov dword [edi + 4], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00401a71
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401a71
call fcn.00435090
ret 8
Function at 0x413191
Capabilities:
Connect to http server
Create http request
Parse url
Send data
Send http request

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.004350d0
push 0xffffffffffffffff
push 0x43577c
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x44a020]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x1010]
mov ebx, ecx
mov dword [ebp - 0x18], eax
push 0x3c
xor esi, esi
pop edi
push edi
lea eax, [ebp - 0x60]
mov dword [ebp - 4], esi
push esi
push eax
mov dword [ebp - 0x10], esi
mov word [ebp], si
mov word [ebp + 0x800], si
call sub.MSVCR80.dll_memset
mov eax, 0x400
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x30], eax
lea eax, [ebp + 0x800]
add esp, 0xc
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp]
push esi
push ebx
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x50], ecx
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
cmp dword [ebp + 0x100c], esi
jne 0x413241
mov dword [ebp + 0x100c], 0x2710
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, eax
cmp edi, esi
mov dword [ebp - 0x14], edi
je 0x4132d0
push 4
lea eax, [ebp + 0x100c]
push eax
push 2
push edi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push esi
push esi
push 3
push esi
push esi
push 0x50
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
cmp eax, esi
mov dword [ebp - 0x1c], eax
je 0x4132d0
push esi
push 0x84000000
lea ecx, [ebp - 0x24]
push ecx
push esi
push str.HTTP_1.1
lea ecx, [ebp + 0x800]
push ecx
push esi
push eax
mov dword [ebp - 0x24], 0x43dc8c
mov dword [ebp - 0x20], esi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
push esi
push esi
push esi
mov edi, eax
push esi
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
cmp edi, esi
mov dword [ebp - 0x10], 1
je 0x4132cb
push edi
call ebx
push dword [ebp - 0x1c]
call ebx
mov ecx, dword [ebp - 0x18]
cmp ecx, esi
je 0x4132de
push dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax]
cmp dword [ebp - 0x14], esi
je 0x4132e8
push dword [ebp - 0x14]
call ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.0043461c
add ebp, 0x1004
leave
ret 8
Function at 0x41365c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.0041cd6b
cmp dword [eax + 0x18], 8
pop ecx
jb 0x413678
mov esi, dword [eax + 4]
jmp 0x41367b
lea esi, [eax + 4]
push dword [ebp + 8]
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 8]
push 1
push 0x43dce0
push esi
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
pop esi
leave
ret 4
Function at 0x414f1c
Capabilities:
Check os version

Disassembly:
push ebx
xor ebx, ebx
inc ebx
test byte [0x44be6c], bl
jne 0x414fe3
or dword [0x44be6c], ebx
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx ecx, al
xor edx, edx
cmp ecx, 5
jbe 0x414f46
mov eax, ebx
jmp 0x414f54
jae 0x414f4c
xor eax, eax
jmp 0x414f54
xor cl, cl
cmp cl, ah
sbb eax, eax
neg eax
neg eax
sbb eax, eax
push 0x48
and eax, 0x20000
push edx
or eax, 0xb
push 0x44adbc
mov dword [0x44ad7c], eax
mov dword [0x44ad80], 0x41b362
mov dword [0x44ad84], edx
mov dword [0x44ad88], edx
mov dword [0x44ad8c], edx
mov dword [0x44ad90], edx
mov dword [0x44ad94], edx
mov dword [0x44ad98], 6
mov dword [0x44ad9c], edx
mov dword [0x44ada0], edx
mov dword [0x44ada4], edx
mov dword [0x44ada8], edx
mov dword [0x44adac], edx
mov dword [0x44adb0], 0x7f00
mov dword [0x44adb4], ebx
mov word [0x44adb8], dx
mov word [0x44adba], dx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov eax, 0x44ad78
pop ebx
ret

Function at 0x4154bb
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, eax
add esi, 0x28
push edi
mov eax, esi
xor edi, edi
call fcn.0041a08b
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
jbe 0x41551a
mov eax, esi
call fcn.0041a08b
cmp edi, eax
jb 0x4154e7
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x10]
cmp dword [eax + edi*4], ecx
je 0x41550e
mov eax, esi
call fcn.0041a08b
cmp edi, eax
jb 0x415504
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 4]
push 0
push dword [eax + edi*4]
call ebx
mov eax, esi
inc edi
call fcn.0041a08b
cmp edi, eax
jb 0x4154d6
push 5
push dword [esp + 0x14]
call ebx
pop edi
pop esi
pop ebx
ret 4
Function at 0x4155d9
Capabilities:
Encode data using xor
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push dword [ebp + 8]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
add esi, 4
xor edi, edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x4156f4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x50
mov dword [ebp - 0xc], eax
jb 0x4156db
push ebx
lea eax, [ebp - 4]
push eax
push 0x50
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4156db
cmp dword [ebp - 4], 0x50
jne 0x4156db
cmp dword [esi], 0x424b4c48
jne 0x4156db
mov edx, dword [ebp - 0xc]
cmp dword [esi + 0x18], edx
jne 0x4156db
mov ecx, dword [esi + 0x24]
cmp ecx, edx
ja 0x4156db
mov eax, dword [esi + 0x28]
add ecx, eax
cmp ecx, edx
ja 0x4156db
inc eax
push eax
call fcn.00434611
pop ecx
push ebx
push ebx
push dword [esi + 0x24]
mov edi, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 4]
push eax
push dword [esi + 0x28]
mov dword [ebp - 4], ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4156db
mov edx, dword [esi + 0x28]
cmp dword [ebp - 4], edx
jne 0x4156db
cmp dword [esi + 0x2c], 1
jne 0x4156db
mov cl, byte [esi + 0x30]
xor eax, eax
cmp edx, ebx
jle 0x4156c2
xor byte [eax + edi], cl
inc eax
cmp eax, edx
jl 0x4156ba
mov eax, dword [esi + 0x28]
mov byte [edi + eax], bl
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x54], edi
mov ecx, dword [esi + 0x28]
mov dword [eax + 0x58], ecx
mov dword [ebp - 8], 1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], ebx
jne 0x4156f4
cmp edi, ebx
je 0x4156f4
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
pop ecx
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4161cb
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x438a67
call fcn.00434fb8
xor ebx, ebx
cmp byte [edi + 0x3c], bl
jne 0x4161e4
mov dword [edi + 0x18c], ebx
lea esi, [edi + 0xec]
cmp dword [esi], ebx
jne 0x4162ff
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push ecx
mov dword [eax], ebx
mov eax, esp
mov dword [ebp - 0x14], esp
push dword [ebp + 8]
mov dword [eax], ebx
lea eax, [edi + 0xe8]
call fcn.0041a043
push ebx
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0x1037
push dword [esi]
call ebx
or eax, 0x20
push eax
push 0
push 0x1036
push dword [esi]
call ebx
push 0x8c
push 0x43e0b8
push 0
push esi
call fcn.00419fad
push 0x3c
push 0x43e0c4
push 1
push esi
call fcn.00419fad
push 0x12c
push 0x43e0cc
push 2
push esi
call fcn.00419fad
push 0x5a
push 0x43e0d8
push 3
push esi
call fcn.00419fad
mov eax, dword [edi + 0x34]
push 0
mov dword [edi + 0x114], eax
call fcn.004120e6
pop ecx
push 1
push eax
push 0x30
push dword [esi]
call ebx
cmp dword [edi + 0x40], 0
jne 0x4162bd
push 0x43e0e0
lea eax, [ebp + 8]
push eax
call fcn.00402b38
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
lea eax, [edi + 0xe8]
push eax
call fcn.004237b4
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
jmp 0x4162e9
push 0x43e0f0
lea eax, [ebp - 0x10]
push eax
call fcn.00402b38
lea eax, [ebp - 0x10]
push eax
lea eax, [edi + 0xe8]
push eax
mov dword [ebp - 4], 1
call fcn.004237b4
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401a71
lea eax, [edi + 0xe8]
push eax
call fcn.004236b4
xor ebx, ebx
push ebx
push ebx
push edi
push 0x417845
push ebx
push ebx
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
cmp eax, ebx
je 0x41631d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi]
call fcn.00435090
ret 4

Function at 0x4163c8
Capabilities:
Get disk size

Disassembly:
push 0x18
mov eax, 0x436cfd
call fcn.00434fb8
mov eax, dword [0x44b724]
mov ecx, 0x44b724
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
movsx eax, byte [esi + 0x3c]
push eax
push str._C:_
lea eax, [ebp - 0x10]
call fcn.00405672
mov edi, dword [ebp - 0x10]
pop ecx
pop ecx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov eax, dword [ebp - 0x18]
mul dword [ebp - 0x1c]
push edx
mov ebx, eax
push ebx
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x10], edx
call fcn.004351e0
push dword [ebp - 0x10]
mov dword [esi + 0xd8], eax
push ebx
push 0
push dword [ebp - 0x24]
mov dword [esi + 0xdc], edx
call fcn.004351e0
mov dword [esi + 0xe0], eax
lea eax, [edi - 0x10]
mov dword [esi + 0xe4], edx
call fcn.00401a71
call fcn.00435090
ret
Function at 0x417bdc
Capabilities:
Create thread

Disassembly:
push ebx
push edi
push 0xffffffffffffffff
push dword [esi + 0xc]
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor edi, edi
inc edi
cmp dword [esi + 0x68], edi
jne 0x417bf7
mov ebx, edi
jmp 0x417c1d
push ebx
push ebx
push esi
push 0x417c2b
push ebx
push ebx
mov dword [esi + 0x68], edi
mov dword [esi + 0x60], ebx
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
cmp eax, ebx
je 0x417c1d
push eax
mov ebx, edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
mov eax, ebx
pop ebx
ret
Function at 0x41bec0
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x44a020]
xor eax, ebp
mov dword [ebp + 0x94], eax
push 0x110
lea eax, [ebp - 0x7c]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41bf19
cmp dword [ebp - 0x7c], 5
jae 0x41bf15
cmp dword [ebp - 0x7c], 4
jne 0x41bf19
cmp dword [ebp - 0x78], 0x5a
jb 0x41bf19
xor eax, eax
jmp 0x41bf1c
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.0043461c
add ebp, 0x98
leave
ret

Function at 0x41c005
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x1ff8c]
mov eax, 0x2000c
call fcn.004350d0
mov eax, dword [0x44a020]
xor eax, ebp
mov dword [ebp + 0x1ff88], eax
mov eax, dword [ebp + 0x1ff94]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x1ff98]
mov dword [ebp - 0x7c], eax
xor eax, eax
push 0x1fffe
push eax
mov dword [ebp - 0x80], eax
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push eax
mov esi, ecx
mov ebx, edx
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp dword [esi + 0x18], 8
jb 0x41c060
mov esi, dword [esi + 4]
jmp 0x41c063
add esi, 4
cmp dword [edi + 0x18], 8
jb 0x41c06e
mov edi, dword [edi + 4]
jmp 0x41c071
add edi, 4
cmp dword [ebx + 0x18], 8
jb 0x41c07c
mov ebx, dword [ebx + 4]
jmp 0x41c07f
add ebx, 4
push esi
push 0x20000
lea eax, [ebp - 0x78]
push eax
mov esi, 0x4398dc
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, 0x1ffff
mov ecx, dword [ebp - 0x7c]
jne 0x41c0a4
push esi
jmp 0x41c0a8
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov ecx, dword [ebp + 0x1ff88]
mov eax, dword [ebp - 0x7c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043461c
add ebp, 0x1ff8c
leave
ret 8
Function at 0x41c10f
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x44a020]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x1c
mov eax, 0x43574c
call fcn.00434fb8
cmp dword [esi + 8], 1
jne 0x41c163
xor eax, eax
cmp dword [esi], eax
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0043461c
add ebp, 0x20c
leave
ret
lea ecx, [ebp - 0x28]
mov dword [esi + 8], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
xor edi, edi
push 0x206
lea eax, [ebp + 2]
push edi
mov dword [ebp - 4], edi
push eax
mov word [ebp], di
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, edi
je 0x41c1b8
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__]
lea eax, [ebp - 0x28]
push eax
call fcn.0041c2ec
push 0x43e5e0
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x41c1d2
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41c1f1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor eax, eax
jmp 0x41c140
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x41c1fd
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, edi
mov dword [esi], eax
jne 0x41c21e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, edi
jmp 0x41c140
xor edi, edi
inc edi
jmp 0x41c20a
Function at 0x41ca4e
Capabilities:
Get mac address on windows

Disassembly:
push ebp
lea ebp, [esp - 0x18f0]
mov eax, 0x1970
call fcn.004350d0
mov eax, dword [0x44a020]
xor eax, ebp
mov dword [ebp + 0x18ec], eax
mov eax, dword [ebp + 0x18f8]
push ebx
push 8
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x18fc]
xor ebx, ebx
push ebx
push eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x74], ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x80], 0x1950
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x41cb7e
push esi
push edi
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x68], ebx
lea esi, [ebp - 0x64]
mov eax, dword [esi + 0x190]
cmp eax, 8
jb 0x41cac6
push 8
pop eax
push eax
mov eax, dword [ebp - 0x78]
add eax, 0x20
push eax
lea edi, [esi + 0x194]
push edi
call sub.MSVCR80.dll_memcmp
add esp, 0xc
test eax, eax
je 0x41cb37
cmp dword [ebp - 0x74], ebx
je 0x41cb01
mov eax, dword [esi + 0x190]
cmp eax, ebx
je 0x41cb01
push eax
push edi
push dword [ebp - 0x74]
call sub.MSVCR80.dll_memcmp
add esp, 0xc
test eax, eax
je 0x41cb50
lea ebx, [esi + 0x10c]
test ebx, ebx
je 0x41cb2e
mov edi, dword [ebp - 0x78]
and dword [ebp - 0x6c], 0
add edi, 0x28
push dword [edi]
push ebx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x41cb45
inc dword [ebp - 0x6c]
add edi, 4
cmp dword [ebp - 0x6c], 2
jb 0x41cb15
cmp dword [ebp - 0x68], 0
jne 0x41cb37
mov dword [ebp - 0x68], esi
mov esi, dword [esi]
xor ebx, ebx
cmp esi, ebx
jne 0x41cab8
jmp 0x41cb53
cmp dword [ebp - 0x70], 0
jne 0x41cb37
mov dword [ebp - 0x70], esi
jmp 0x41cb37
mov dword [ebp - 0x68], esi
cmp dword [ebp - 0x68], ebx
pop edi
pop esi
jne 0x41cb64
mov eax, dword [ebp - 0x70]
cmp eax, ebx
mov dword [ebp - 0x68], eax
je 0x41cb7e
mov eax, dword [ebp - 0x68]
push dword [eax + 0x190]
add eax, 0x194
push eax
push dword [ebp - 0x7c]
call sub.MSVCR80.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp + 0x18ec]
xor ecx, ebp
pop ebx
call fcn.0043461c
add ebp, 0x18f0
leave
ret 8

Function at 0x41d11f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
je 0x41d181
cmp dword [ebp + 0x14], esi
je 0x41d135
cmp dword [ebp + 0x18], esi
je 0x41d181
push edi
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
xor edi, edi
push dword [ebp + 8]
mov dword [ebp - 4], esi
call fcn.0041d0a6
add esp, 0xc
test eax, eax
jne 0x41d16e
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push esi
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x41d16e
mov edi, 0x80004005
cmp dword [ebp - 4], esi
je 0x41d17c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
jmp 0x41d186
mov eax, 0x80004005
pop esi
leave
ret
Function at 0x41d221
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
or dword [ebp - 4], 0xffffffff
push edi
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41d2be
mov ecx, 0x410
and eax, ecx
cmp eax, ecx
jne 0x41d2be
push edi
push 0x2200000
push 3
push edi
push edi
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x41d2b9
push ebx
push esi
mov esi, 0x4000
push esi
call fcn.00434611
mov ebx, eax
cmp ebx, edi
pop ecx
je 0x41d2b7
push edi
lea eax, [ebp - 0xc]
push eax
push esi
push ebx
push edi
push edi
push 0x900a8
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x41d2b0
mov eax, dword [ebx]
cmp eax, 0xa0000003
je 0x41d2a9
cmp eax, 0xa000000c
jne 0x41d2b0
mov dword [ebp - 8], 1
push ebx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
pop ecx
pop esi
pop ebx
cmp dword [ebp - 4], edi
je 0x41d2c7
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
pop edi
leave
ret 4

Function at 0x41d4e9
Capabilities:
Hash data with md5

Disassembly:
and dword [eax + 0x10], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret