joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4219e0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4c2014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [esi]
cmp edi, 0xffffffff
je 0x421a29
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
push 0x80
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
push 2
push edi
call dword [sym.imp.WS2_32.dll_shutdown]
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
mov dword [esi], 0xffffffff
xor ecx, ebp
pop esi
call fcn.0044612d
mov esp, ebp
pop ebp
ret

Function at 0x421a50
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4c2014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
push edi
mov edi, ecx
cmp esi, 0x3e80000
jbe 0x421a8c
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044612d
mov esp, ebp
pop ebp
ret 0x14
push ebx
push 0x30
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call dword [sym.imp.mfc140u.dll_operator_2]
push 0x30
mov ebx, eax
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x18], 4
cmp dword [edi + 4], 0
je 0x421af5
add esi, 4
push esi
call dword [sym.imp.mfc140u.dll_operator]
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x28], esi
mov dword [ebp - 8], eax
mov ecx, dword [ebx + 0x28]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
push ecx
push dword [ebp - 0x10]
add eax, 4
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x10
jmp 0x421b07
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x28], esi
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0xc], eax
push 0
push ebx
push 0
lea eax, [ebx + 0x24]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
push dword [edi]
call dword [sym.imp.WS2_32.dll_WSASend]
test eax, eax
je 0x421b52
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x421b52
push 0x30
push ebx
call fcn.004465a8
add esp, 8
mov eax, 1
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044612d
mov esp, ebp
pop ebp
ret 0x14
xor esi, esi
cmp dword [edi + 8], 1
jne 0x421b83
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x7d0
jg 0x421b75
push 1
call ebx
cmp dword [edi + 8], 1
je 0x421b60
jmp 0x421b83
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov ecx, dword [ebp - 4]
xor eax, eax
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.0044612d
mov esp, ebp
pop ebp
ret 0x14
Function at 0x421ba0
Capabilities:
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x4c2014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x421bdd
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044612d
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp + 0xc]
push edi
mov eax, dword [eax]
mov edx, dword [eax]
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x402], al
mov eax, edx
shr eax, 8
mov byte [ebp - 0x3ff], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0x3fe], al
lea eax, [ebp - 0x3fc]
mov byte [ebp - 0x400], dl
shr edx, 0x18
push eax
mov word [ebp - 0x404], 0x104
mov byte [ebp - 0x401], cl
mov byte [ebp - 0x3fd], dl
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0
add eax, 9
push eax
lea eax, [ebp - 0x404]
push eax
push dword [esi]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x421bc8
push 0x50
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [esi]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x421bc8
cmp byte [ebp - 0x404], 0
jne 0x421bc8
mov ecx, dword [ebp - 4]
xor eax, eax
cmp byte [ebp - 0x403], 0x5a
pop edi
sete al
xor ecx, ebp
dec eax
pop esi
call fcn.0044612d
mov esp, ebp
pop ebp
ret 0x10
Function at 0x421cb0
Capabilities:
Print debug messages
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x4c2014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov dword [ebp - 0x410], eax
mov edi, ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x408], eax
mov eax, dword [ebp + 0x14]
push 0
mov dword [ebp - 0x40c], eax
lea eax, [ebp - 0x404]
push 4
push eax
push dword [edi]
mov dword [ebp - 0x404], 0x2000205
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x421d16
or eax, 0xffffffff
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044612d
mov esp, ebp
pop ebp
ret 0x10
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push 0x64
call ebx
mov esi, dword [sym.imp.WS2_32.dll_recv]
lea eax, [ebp - 0x404]
push 0
push 0x400
push eax
push dword [edi]
call esi
test eax, eax
jle 0x421e29
cmp byte [ebp - 0x404], 5
jne 0x421e29
mov al, byte [ebp - 0x403]
mov ecx, dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp al, 2
jne 0x421e3f
mov esi, dword [ebp - 0x408]
push esi
call ecx
push dword [ebp - 0x40c]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
mov dword [ebp - 0x408], eax
lea eax, [ebp - 0x402]
push esi
mov byte [ebp - 0x403], bl
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
push eax
mov byte [ebp - 0x404], 1
call ebx
mov esi, eax
lea ecx, [ebp - 0x404]
mov eax, dword [ebp - 0x408]
push eax
push dword [ebp - 0x40c]
mov byte [ebp + esi - 0x402], al
add esi, 3
add ecx, esi
push ecx
call ebx
add esp, 0x18
add esi, eax
lea eax, [ebp - 0x404]
push 0
push esi
push eax
push dword [edi]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x421e29
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
call ebx
mov esi, dword [sym.imp.WS2_32.dll_recv]
lea eax, [ebp - 0x404]
push 0
push 0x400
push eax
push dword [edi]
call esi
mov dword [ebp - 0x408], eax
test eax, eax
je 0x421e29
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x408]
test eax, eax
jle 0x421e29
cmp byte [ebp - 0x403], 0
je 0x421e45
pop esi
pop ebx
or eax, 0xffffffff
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044612d
mov esp, ebp
pop ebp
ret 0x10
test al, al
jne 0x421e29
jmp 0x421e4b
mov ecx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push dword [ebp - 0x410]
call ecx
push eax
push dword [ebp - 0x410]
mov byte [ebp - 0x400], al
lea eax, [ebp - 0x3ff]
push eax
mov dword [ebp - 0x404], 0x3000105
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [ebp + 0xc]
add esp, 0xc
mov ecx, edx
shr ecx, 8
mov byte [ebp + eax - 0x3ff], cl
mov byte [ebp + eax - 0x3fe], dl
add eax, 7
push 0
push eax
lea eax, [ebp - 0x404]
push eax
push dword [edi]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x421e29
push 0xc8
call ebx
push 0
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [edi]
call esi
test eax, eax
jle 0x421e29
cmp byte [ebp - 0x404], 5
jne 0x421e29
movzx eax, byte [ebp - 0x403]
mov ecx, dword [ebp - 4]
neg eax
pop esi
sbb eax, eax
xor ecx, ebp
pop ebx
pop edi
call fcn.0044612d
mov esp, ebp
pop ebp
ret 0x10
Function at 0x422170
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4c2014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp esi, 0xffffffff
jne 0x422199
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044612d
mov esp, ebp
pop ebp
ret
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
push 0x80
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
push 2
push esi
call dword [sym.imp.WS2_32.dll_shutdown]
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0044612d
mov esp, ebp
pop ebp
ret

Function at 0x422420
Capabilities:
Create thread
Get system information on windows
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1bc
mov eax, dword [0x4c2014]
xor eax, esp
mov dword [esp + 0x1b8], eax
push ebx
push esi
push edi
lea eax, [esp + 0x30]
mov dword [0x4c2720], 0x200
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x422478
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1b8]
xor ecx, esp
call fcn.0044612d
mov esp, ebp
pop ebp
ret 4
mov esi, dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
push 0
push 0
push 0
push 0xffffffffffffffff
mov dword [0x4c42a0], 0x42ade0
mov dword [0x4c4298], 0x42be90
call esi
mov dword [0x4c42a8], eax
push 0
test eax, eax
je 0x4224b9
push 0
push 0
push 0xffffffffffffffff
call esi
mov dword [0x4c429c], eax
test eax, eax
jne 0x4224dc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1b8]
xor ecx, esp
call fcn.0044612d
mov esp, ebp
pop ebp
ret 4
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x20]
mov ecx, 5
add eax, 2
cmp eax, ecx
cmovl eax, ecx
xor esi, esi
mov dword [0x4c42a4], eax
test eax, eax
jle 0x422547
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
nop
push 0
push 0
push 0
push 0x4221e0
push 0
push 0
call ebx
add esp, 0x18
push eax
call edi
push 0
push 0
push 0
push 0x422320
push 0
push 0
call ebx
add esp, 0x18
push eax
call edi
inc esi
cmp esi, dword [0x4c42a4]
jl 0x422510
mov ecx, dword [esp + 0x1c4]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044612d
mov esp, ebp
pop ebp
ret 4

Function at 0x422600
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4c2014]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
test edi, edi
je 0x422654
push esi
mov esi, dword [edi]
cmp esi, 0xffffffff
je 0x42264d
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
push 0x80
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
push 2
push esi
call dword [sym.imp.WS2_32.dll_shutdown]
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [edi], 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop edi
call fcn.0044612d
mov esp, ebp
pop ebp
ret
Function at 0x423310
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3543
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x4c2014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb0], edx
mov esi, ecx
cmp byte [esi], 0
mov dword [ebp - 0x58], 0xf
mov dword [ebp - 0x5c], 0
mov byte [ebp - 0x6c], 0
jne 0x423360
xor ecx, ecx
jmp 0x42336c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x423363
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x6c]
call fcn.0041faa0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xa8]
cmp dword [ebp - 0x58], 0x10
lea eax, [ebp - 0x6c]
push ecx
cmovae eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0xa4]
push ecx
xorps xmm0, xmm0
push 0
movups xmmword [ebp - 0xa4], xmm0
push eax
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 1
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x4233d2
mov esi, 2
jmp 0x4234eb
mov esi, dword [ebp - 0xa8]
mov dword [ebp - 0xac], esi
test esi, esi
je 0x4234e2
nop word [eax + eax]
mov dword [ebp - 0x70], 0xf
mov dword [ebp - 0x74], 0
mov byte [ebp - 0x84], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
cmp dword [esi + 4], 2
mov edi, dword [esi + 0x18]
push 4
jne 0x423424
add edi, 4
push str.IPv4
jmp 0x42342c
add edi, 8
push str.IPv6
call fcn.0041faa0
push 0x41
lea eax, [ebp - 0x54]
push eax
push edi
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_inet_ntop]
lea eax, [ebp - 0x54]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x423446
mov edi, dword [ebp - 0xb0]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x423456
mov ecx, eax
mov edx, 0x4b76a0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 0x43ac70
call fcn.0043a820
lea edx, [ebp - 0x84]
mov ecx, eax
call fcn.0043aa70
mov edx, 0x4b75fc
mov ecx, eax
call fcn.0043a820
lea edx, [ebp - 0x54]
mov ecx, eax
call fcn.0043a820
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x70]
cmp eax, 0x10
jb 0x4234c5
inc eax
push eax
push dword [ebp - 0x84]
call fcn.0041fd20
mov esi, dword [ebp - 0xac]
mov esi, dword [esi + 0x1c]
mov dword [ebp - 0xac], esi
test esi, esi
jne 0x4233f0
mov esi, dword [ebp - 0xa8]
push esi
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
xor esi, esi
mov ecx, dword [ebp - 0x58]
cmp ecx, 0x10
jb 0x4234fd
inc ecx
push ecx
push dword [ebp - 0x6c]
call fcn.0041fd20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044612d
mov esp, ebp
pop ebp
ret
Function at 0x423520
Capabilities:
Create directory
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a35a0
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x4c2014]
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 esi, ecx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x210]
push 0x200
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x214]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebp - 0x218]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebp - 0x220]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebp - 0x21c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0
mov byte [ebp - 4], 3
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x224], edx
push 0
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov eax, dword [0x4c51bc]
imul edi, esi, 0x1680
mov esi, dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__9]
push dword [edi + eax + 8]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push str._sGzxItem
push eax
call esi
add esp, 0x10
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0x10
je 0x42361a
push 0
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [0x4c51bc]
push dword [edi + eax + 8]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push str._sGzxItem_u.ini
push eax
call esi
mov eax, dword [0x4c51bc]
push dword [edi + eax + 8]
lea eax, [ebp - 0x218]
push 0x4b5b6c
push eax
call esi
add esp, 0x1c
lea eax, [ebp - 0x24c]
lea ecx, [ebp - 0x228]
push eax
call fcn.004207e0
test eax, eax
je 0x42366d
mov eax, dword [eax + 0xc]
jmp 0x42366f
xor eax, eax
push eax
lea eax, [ebp - 0x21c]
push 0x4b6db8
push eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esp, 0xc
push dword [ebp - 0x214]
push dword [ebp - 0x21c]
push 0x4b5c74
push dword [ebp - 0x218]
call esi
push dword [ebp - 0x214]
push ebx
push 0x4b5f8c
push dword [ebp - 0x218]
call esi
lea ecx, [ebp - 0x21c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x220]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x218]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x214]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
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.0044612d
mov esp, ebp
pop ebp
ret
Function at 0x4239f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push esi
mov esi, ecx
xor ecx, ecx
nop
mov eax, ecx
shr eax, 1
test cl, 1
je 0x423a0e
xor eax, 0xedb88320
test al, 1
je 0x423a1b
shr eax, 1
xor eax, 0xedb88320
jmp 0x423a1d
shr eax, 1
test al, 1
je 0x423a2a
shr eax, 1
xor eax, 0xedb88320
jmp 0x423a2c
shr eax, 1
test al, 1
je 0x423a39
shr eax, 1
xor eax, 0xedb88320
jmp 0x423a3b
shr eax, 1
test al, 1
je 0x423a48
shr eax, 1
xor eax, 0xedb88320
jmp 0x423a4a
shr eax, 1
test al, 1
je 0x423a57
shr eax, 1
xor eax, 0xedb88320
jmp 0x423a59
shr eax, 1
test al, 1
je 0x423a66
shr eax, 1
xor eax, 0xedb88320
jmp 0x423a68
shr eax, 1
test al, 1
je 0x423a75
shr eax, 1
xor eax, 0xedb88320
jmp 0x423a77
shr eax, 1
mov dword [ebp + ecx*4 - 0x400], eax
inc ecx
cmp ecx, 0x100
jb 0x423a00
or ecx, 0xffffffff
test edx, edx
je 0x423aac
movzx eax, byte [esi]
lea esi, [esi + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [ebp + eax*4 - 0x400]
sub edx, 1
jne 0x423a92
not ecx
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x423ac0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4c2014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push edi
push 0x288
mov dword [ebp - 8], 0x288
call esi
mov edi, eax
add esp, 4
test edi, edi
jne 0x423b04
pop edi
mov eax, str.Null
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044612d
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 8]
push eax
push edi
call ebx
cmp eax, 0x6f
jne 0x423b2c
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push dword [ebp - 8]
call esi
mov edi, eax
add esp, 8
test edi, edi
je 0x423b80
lea eax, [ebp - 8]
push eax
push edi
call ebx
test eax, eax
jne 0x423b72
mov esi, edi
test edi, edi
je 0x423b80
nop dword [eax]
lea ebx, [esi + 0x10c]
push str.Intel
push ebx
call dword [sym.imp.VCRUNTIME140.dll_strstr]
add esp, 8
test eax, eax
jne 0x423b96
push str.Realtek
push ebx
call dword [sym.imp.VCRUNTIME140.dll_strstr]
add esp, 8
test eax, eax
jne 0x423b96
mov esi, dword [esi]
test esi, esi
jne 0x423b40
test edi, edi
je 0x423b80
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
pop ebx
pop edi
mov eax, str.Null
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044612d
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x190]
lea ecx, [esi + 0x194]
call fcn.00423990
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.0044612d
mov esp, ebp
pop ebp
ret
Function at 0x423e20
Capabilities:
Get disk information
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1f4
mov eax, dword [0x4c2014]
xor eax, esp
mov dword [esp + 0x1f0], eax
push esi
push 0x80
lea eax, [esp + 0x174]
mov esi, ecx
push eax
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 0x80
push 0x7c73f0
push 0x4b76e4
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
call fcn.00423ac0
push eax
push dword [esp + 8]
call fcn.00423bc0
push eax
lea eax, [esp + 0x7c]
push str._d_d_s
push eax
call fcn.00420260
add esp, 0x14
test esi, esi
jne 0x423f5f
lea ecx, [esp + 0x70]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
lea edx, [ecx + 1]
mov dword [esp + 8], 0x67452301
mov dword [esp + 0xc], 0xefcdab89
mov dword [esp + 0x10], 0x98badcfe
mov dword [esp + 0x14], 0x10325476
mov al, byte [ecx]
inc ecx
test al, al
jne 0x423ec1
sub ecx, edx
lea edx, [esp + 0x70]
push ecx
lea ecx, [esp + 0xc]
call fcn.00401cc0
add esp, 4
lea edx, [esp + 0x18]
lea ecx, [esp + 0x60]
push 8
call fcn.00401560
mov ecx, dword [esp + 0x1c]
add esp, 4
shr ecx, 3
mov eax, 0x38
and ecx, 0x3f
cmp ecx, 0x38
jb 0x423f06
mov eax, 0x78
sub eax, ecx
mov edx, 0x4c2458
push eax
lea ecx, [esp + 0xc]
call fcn.00401cc0
add esp, 4
lea edx, [esp + 0x60]
lea ecx, [esp + 8]
push 8
call fcn.00401cc0
add esp, 4
lea edx, [esp + 8]
lea ecx, [esp + 0x60]
push 0x10
call fcn.00401560
add esp, 4
lea ecx, [esp + 0x60]
mov edx, 0x10
call fcn.00423990
pop esi
mov ecx, dword [esp + 0x1f0]
xor ecx, esp
call fcn.0044612d
mov esp, ebp
pop ebp
ret
push 0x80
push 0
push 0x7c73f0
call sub.VCRUNTIME140.dll_memset
lea edx, [esp + 0x7c]
add esp, 0xc
lea ecx, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x423f80
sub edx, ecx
lea ecx, [esp + 0x70]
call fcn.004239f0
push eax
push 0x4b6a48
push 0x7c73f0
call fcn.0043aca0
mov ecx, dword [esp + 0x200]
add esp, 0xc
mov eax, 0x7c73f0
pop esi
xor ecx, esp
call fcn.0044612d
mov esp, ebp
pop ebp
ret
Function at 0x425330
Capabilities:
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [0x4c2014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x1c
lea eax, [ebp - 0x828]
push eax
push 0x4252f0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov esi, dword [ebp - 0x824]
lea eax, [ebp - 0x804]
push 0x400
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x80c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebp - 0x808]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x404]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x4b6a58
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x804]
push 0x4b6a68
push eax
call fcn.00420240
add esp, 0x10
push str.ItemName
push 0x84
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x425440
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
lea eax, [ebp - 0x804]
push 0x4b7704
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x42543f
push esi
push edi
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x42543f
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
lea ecx, [ebp - 0x808]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x80c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0044612d
mov esp, ebp
pop ebp
ret
Function at 0x425ed0
Capabilities:
Create directory
Get disk information
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4c2014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov bl, 0x44
nop dword [eax]
lea eax, [ebp - 0x108]
mov byte [ebp - 0x108], bl
push eax
mov word [ebp - 0x107], 0x5c3a
mov byte [ebp - 0x105], 0
call esi
cmp eax, 3
je 0x425f27
inc bl
cmp bl, 0x5a
jle 0x425ef0
push str.C:LogInfo
push 0x4b5dbc
jmp 0x425f33
lea eax, [ebp - 0x108]
push eax
push str._sLogInfo
push 0x4c4a50
call fcn.00420260
add esp, 0xc
push 0x4c4a50
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0x10
je 0x425f5d
push 0
push 0x4c4a50
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0044612d
mov esp, ebp
pop ebp
ret