joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415d70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
lea edx, [ebp + 0x10]
push edx
mov edx, dword [ebp + 8]
push esi
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0xc]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x415de2
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x415db1
cmp eax, 2
jne 0x415dcc
mov eax, dword [ebp + 0x10]
test esi, esi
je 0x415ddc
test eax, eax
je 0x415dd7
test al, 1
jne 0x415dcc
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x415ddc
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4163e0
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa10
mov eax, dword [0x43dfc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xf003f
xor edi, edi
push edi
push edi
mov ebx, ecx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x416439
push 1
lea eax, [ebx + 0x40]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
test eax, eax
je 0x41642a
push eax
mov edi, 1
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test edi, edi
jne 0x416574
push 0x104
lea ecx, [ebp - 0x20e]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4164da
cmp eax, 0x104
je 0x4164da
mov edx, 0x22
mov word [ebp - 0x210], dx
mov ecx, edx
xor edx, edx
push 0xf003f
push edx
push edx
mov word [ebp + eax*2 - 0x20e], cx
mov word [ebp + eax*2 - 0x20c], dx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
jne 0x4164ed
push 0x400
lea eax, [ebp - 0xa10]
push eax
push 0xd80a
call fcn.00415a40
add esp, 0xc
test eax, eax
jne 0x4164c5
push str.Could_not_open_Service_Manager
lea ecx, [ebp - 0xa10]
push 0x400
push ecx
call fcn.00415740
add esp, 0xc
push 0
add ebx, 0x40
push ebx
lea edx, [ebp - 0xa10]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b271
mov esp, ebp
pop ebp
ret
push 0
push 0
push str.RPCSS
push 0
push 0
lea eax, [ebp - 0x210]
push eax
push 1
push 3
push 0x10
push 0xf01ff
lea edi, [ebx + 0x40]
push edi
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
test eax, eax
jne 0x416568
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0x400
lea ecx, [ebp - 0xa10]
push ecx
push 0xd80b
call fcn.00415a40
add esp, 0xc
test eax, eax
jne 0x416559
push str.Could_not_start_service
lea edx, [ebp - 0xa10]
push 0x400
push edx
call fcn.00415740
add esp, 0xc
push 0
push edi
lea eax, [ebp - 0xa10]
push eax
jmp 0x4164d2
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push eax
call edi
push esi
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0041b271
mov esp, ebp
pop ebp
ret
Function at 0x416590
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1024
call fcn.0041d700
mov eax, dword [0x43dfc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xf003f
push 0
push 0
mov edi, ecx
mov dword [ebp - 0x1024], 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x4165fb
push 1
lea ebx, [edi + 0x40]
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
test eax, eax
je 0x4165ea
push eax
mov edi, 1
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x4165f0
mov edi, dword [ebp - 0x1024]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test edi, edi
jne 0x416611
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b271
mov esp, ebp
pop ebp
ret
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x41666b
push 0x400
lea eax, [ebp - 0x804]
push eax
push 0xd80a
call fcn.00415a40
add esp, 0xc
test eax, eax
jne 0x41665c
push str.Could_not_open_Service_Manager
lea ecx, [ebp - 0x804]
push 0x400
push ecx
call fcn.00415740
add esp, 0xc
push 0
push ebx
lea edx, [ebp - 0x804]
push edx
jmp 0x4167a8
push 0x10020
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x4166c9
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0x400
lea eax, [ebp - 0x804]
push eax
push 0xd80c
call fcn.00415a40
add esp, 0xc
test eax, eax
jne 0x41665c
push str.Could_not_open_service
lea ecx, [ebp - 0x804]
push 0x400
push ecx
call fcn.00415740
add esp, 0xc
push esi
push ebx
lea edx, [ebp - 0x804]
push edx
jmp 0x4167a8
lea eax, [ebp - 0x1020]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x416742
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x426
je 0x416742
cmp eax, 0x425
jne 0x4166fa
cmp dword [ebp - 0x101c], 3
je 0x416742
push 0x400
lea ecx, [ebp - 0x804]
push ecx
push 0xd80e
call fcn.00415a40
add esp, 0xc
test eax, eax
jne 0x416730
push str.Could_not_stop_service
lea edx, [ebp - 0x804]
push 0x400
push edx
call fcn.00415740
add esp, 0xc
push 0
push ebx
lea eax, [ebp - 0x804]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 0x1024], eax
call esi
push edi
call esi
cmp dword [ebp - 0x1024], 0
jne 0x4165fb
push 0x400
lea ecx, [ebp - 0x1004]
push ecx
push 0xd80d
call fcn.00415a40
add esp, 0xc
test eax, eax
jne 0x41679e
push str.Could_not_delete_service
lea edx, [ebp - 0x1004]
push 0x400
push edx
call fcn.00415740
add esp, 0xc
push 0
push ebx
lea eax, [ebp - 0x1004]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0041b271
mov esp, ebp
pop ebp
ret
Function at 0x416bc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
push 0
push 0
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x30], eax
test eax, eax
jne 0x416be1
pop esi
mov esp, ebp
pop ebp
ret
push edi
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x4167d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x416c08
mov ecx, dword [esi + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x416c10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430210
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x43dfc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [edi + 0x10], eax
mov dword [0x43f300], edi
mov dword [edi + 0xc], eax
mov dword [edi + 8], eax
mov dword [ebp - 4], eax
xor ecx, ecx
mov eax, ebx
mov edx, 0xc
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041aa77
xor esi, esi
add esp, 4
cmp eax, esi
je 0x416c8e
mov edx, ebx
mov ecx, eax
lea esp, [esp]
dec edx
js 0x416c90
mov dword [ecx + 8], esi
mov dword [ecx + 4], esi
add ecx, 0xc
jmp 0x416c80
xor eax, eax
mov dword [edi + 0xc], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x416cb1
mov eax, dword [edi + 0xc]
cmp eax, esi
jne 0x416cc9
mov byte [0x43f350], 1
push 0x80004005
call fcn.0040caa0
lea ecx, [ebx + ebx*2]
add ecx, ecx
add ecx, ecx
push ecx
push esi
push eax
call fcn.0041bad0
add esp, 0xc
mov dword [edi + 8], ebx
mov dword [ebp - 0x14], esi
cmp ebx, esi
jle 0x416d8a
lea esp, [esp]
lea edx, [ebp + 8]
push edx
mov dword [ebp + 8], 0
call fcn.0041da43
add esp, 4
test eax, eax
jne 0x416d0a
mov eax, dword [ebp + 8]
push 0
mov dword [ebp + 8], eax
call fcn.0041da22
add esp, 4
cmp eax, 0x50
ja case.0x416d71.1
movzx ecx, byte [eax + 0x416dfc]
jmp dword [ecx*4 + 0x416dec]
mov eax, dword [edi + 0xc]
add eax, esi
push eax
push 0
push eax
push 0x416880
push 0
push 0
call fcn.0041db2d
mov ecx, dword [edi + 0xc]
mov dword [ecx + esi + 4], eax
mov edx, dword [edi + 0xc]
add esp, 0x18
cmp dword [edx + esi + 4], 0
je 0x416dcd
mov eax, dword [ebp + 8]
push eax
call fcn.0041da22
add esp, 4
cmp eax, 0x50
ja case.0x416d71.1
movzx ecx, byte [eax + 0x416e60]
jmp dword [ecx*4 + 0x416e50]
mov eax, dword [ebp - 0x14]
inc eax
add esi, 0xc
mov dword [ebp - 0x14], eax
cmp eax, ebx
jl 0x416cf0
cmp byte [0x43f350], 0
jne 0x416da3
push str.ATL_CREATE_OBJECT
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [0x43f35c], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x8007000e
call fcn.0040caa0
push 0x80070057
call fcn.0040caa0
lea edx, [ebp + 8]
push edx
mov dword [ebp + 8], 0
call fcn.0041da43
add esp, 4
mov byte [0x43f350], 1
jmp 0x416da3
Function at 0x417e50
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
call fcn.00416590
test eax, eax
jne 0x417e68
mov eax, 0x80004005
mov esp, ebp
pop ebp
ret
push esi
push edi
push 0x20006
xor esi, esi
push str.AppID
push SysReAllocString
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call fcn.0040cf50
cmp eax, esi
je 0x417eb1
push eax
call fcn.0040cc50
mov edi, eax
mov eax, dword [ebp - 0x10]
add esp, 4
cmp eax, esi
je 0x417ea9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp - 0x10]
push 0x20006
push str.11AC3232_E7D7_49CD_ABFE_501700100B3A
push ebx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call fcn.0040cf50
cmp eax, esi
je 0x417f02
push eax
call fcn.0040cc50
mov edi, eax
mov eax, dword [ebp - 0x1c]
add esp, 4
cmp eax, esi
je 0x417eee
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, esi
je 0x417ef9
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x1c]
push str.LocalService
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [0x43f30c]
lea eax, [ebp - 0x20]
push eax
push esi
push 0x65
push ecx
mov dword [ebp - 0x20], 0x433618
mov dword [ebp - 0x1c], str.11AC3232_E7D7_49CD_ABFE_501700100B3A
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call fcn.00410390
mov dword [ebp - 4], eax
cmp edi, esi
je 0x417f46
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, esi
je 0x417f51
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x417f60
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430291
mov eax, dword fs:[0]
push eax
sub esp, 0x168
push ebx
push esi
push edi
mov eax, dword [0x43dfc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
lea eax, [ebp - 0x10]
push eax
push 1
push str.O:BAG:BAD:_A__0xb___WD_S:_ML__NX___LW_
mov dword [ebp - 0x10], ebx
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
je 0x4180b9
mov eax, dword [ebp - 0x10]
push eax
mov dword [ebp - 0x14], eax
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorLength]
push ebx
push ebx
push ebx
push ebx
mov ebx, dword [ebp + 8]
push str.LaunchPermission
push ebx
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, 2
jne 0x41803c
push edi
push esi
push 3
push 0
push str.LaunchPermission
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x41803c
push 1
lea ecx, [ebp - 0xc4]
call fcn.00406160
mov dword [eax + 0x60], 0xa
add eax, 0x10
push str.ERROR:_couldnt_set_sd_in_registry
push eax
mov dword [ebp - 4], 1
call fcn.00404180
push eax
call fcn.004055a0
add esp, 0xc
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0xffffffff
call fcn.0040c2c0
lea edx, [ebp - 0x5c]
push edx
mov dword [ebp - 0x5c], vtable.std::ios_base.0
call fcn.0041a580
add esp, 4
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x41804a
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 1
lea ecx, [ebp - 0x174]
call fcn.00406160
mov dword [eax + 0x60], 0xa
add eax, 0x10
push str.sd_set
push eax
mov dword [ebp - 4], 2
call fcn.00404180
push eax
call fcn.004055a0
add esp, 0xc
lea ecx, [ebp - 0x10c]
mov dword [ebp - 4], 0xffffffff
call fcn.0040c2c0
lea eax, [ebp - 0x10c]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0041a580
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 1
lea ecx, [ebp - 0xc4]
call fcn.00406160
mov dword [eax + 0x60], 0xa
add eax, 0x10
push str.ERROR:_couldnt_create_sd
push eax
mov dword [ebp - 4], ebx
call fcn.00404180
push eax
call fcn.004055a0
add esp, 0xc
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0xffffffff
call fcn.0040c2c0
lea ecx, [ebp - 0x5c]
push ecx
mov dword [ebp - 0x5c], vtable.std::ios_base.0
call fcn.0041a580
add esp, 4
jmp 0x41804a
Function at 0x41b271
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43dfc0]
jne 0x41b27b
repz ret
jmp fcn.0042058b

Function at 0x42a5a7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43dfc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004206af
and dword [ebp - 0x14], 0
cmp dword [0x4405a8], 0
mov dword [ebp - 0x18], eax
jne 0x42a65a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x42a702
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x436a14
push ebx
call edi
test eax, eax
je 0x42a702
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4405a8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4405ac], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4405b0], eax
call edi
push eax
call esi
mov dword [0x4405b8], eax
test eax, eax
je 0x42a65a
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4405b4], eax
mov eax, dword [0x4405b4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x42a6b3
cmp dword [0x4405b8], ecx
je 0x42a6b3
push eax
call esi
push dword [0x4405b8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x42a6b3
test ebx, ebx
je 0x42a6b3
call edi
test eax, eax
je 0x42a6aa
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x42a6aa
test byte [ebp - 8], 1
jne 0x42a6b3
or dword [ebp + 0x10], 0x200000
jmp 0x42a6e6
mov eax, dword [0x4405ac]
cmp eax, dword [ebp - 0x18]
je 0x42a6e6
push eax
call esi
test eax, eax
je 0x42a6e6
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42a6e6
mov eax, dword [0x4405b0]
cmp eax, dword [ebp - 0x18]
je 0x42a6e6
push eax
call esi
test eax, eax
je 0x42a6e6
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4405a8]
call esi
test eax, eax
je 0x42a702
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x42a704
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b271
leave
ret
Function at 0x1045c058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1045c1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1045c07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1045c06a
add dl, dl
jne 0x1045c089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1045c0dc
xor eax, eax
add dl, dl
jne 0x1045c096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1045c17d
add dl, dl
jne 0x1045c0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1045c0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1045c0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1045c0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1045c0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1045c075
mov eax, 1
add dl, dl
jne 0x1045c0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1045c0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1045c0e1
sub eax, ebx
mov ebx, 1
jne 0x1045c128
mov ecx, 1
add dl, dl
jne 0x1045c10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1045c119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1045c105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1045c075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1045c13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1045c14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1045c136
cmp eax, 0x7d00
jae 0x1045c16d
cmp eax, 0x500
jb 0x1045c168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1045c075
cmp eax, 0x7f
ja 0x1045c170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1045c075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1045c19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1045c075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x3002f4cd
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
mov dword [ebp - 4], ecx
call dword [0x425090]
mov ecx, dword [ebp + 8]
mov esi, eax
xor ebx, ebx
add esi, esi
or edx, 0xffffffff
cmp dword [0x42ed08], ebx
jne 0x3002f52d
mov dword [0x42ed08], 1
mov ecx, ebx
push 8
mov eax, ecx
pop edi
test al, 1
je 0x3002f513
shr eax, 1
xor eax, 0xedb88320
jmp 0x3002f515
shr eax, 1
dec edi
test edi, edi
jg 0x3002f506
mov dword [ecx*4 + 0x42e908], eax
inc ecx
cmp ecx, 0xff
jle 0x3002f501
mov ecx, dword [ebp + 8]
test esi, esi
je 0x3002f549
movzx eax, byte [ecx]
xor eax, edx
shr edx, 8
movzx eax, al
xor edx, dword [eax*4 + 0x42e908]
inc ecx
sub esi, 1
jne 0x3002f531
mov ecx, dword [ebp - 4]
not edx
mov eax, edx
mov dword [ebp - 8], ebx
xor edx, edx
div dword [ecx + 0xc]
mov esi, edx
cmp dword [ecx + 0xc], ebx
jbe 0x3002f58b
imul edi, esi, 0xc
add edi, dword [ecx + 8]
cmp dword [ebp + 0xc], ebx
je 0x3002f599
cmp dword [edi + 4], ebx
je 0x3002f587
push dword [ebp + 8]
push dword [edi + 4]
call dword [0x42508c]
test eax, eax
je 0x3002f5c8
mov ecx, dword [ebp - 4]
cmp dword [edi + 4], ebx
jne 0x3002f5b1
cmp dword [edi], ebx
jne 0x3002f5b1
xor ebx, ebx
inc ebx
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [edi + 4], ebx
je 0x3002f5c8
push dword [ebp + 8]
push dword [edi + 4]
call dword [0x42508c]
test eax, eax
je 0x3002f5c8
mov ecx, dword [ebp - 4]
inc esi
cmp esi, dword [ecx + 0xc]
jb 0x3002f5ba
sub esi, dword [ecx + 0xc]
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [ecx + 0xc]
jb 0x3002f55f
jmp 0x3002f58b
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
jmp 0x3002f58e
Function at 0x9eb920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
je 0x9eb96c
mov cl, byte [ebx + esi]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
test dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [ebx + esi], cl
inc esi
cmp esi, edi
jb 0x9eb932
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x9eb9d0
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x9eba22
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x9eba28
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi], 0
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop edi
mov eax, 1
pop esi
pop ebp
ret

Function at 0xa03f15
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a03bd5

Function at 0xa08d0f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a08b8e

Function at 0xa0e2c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0xa0e2ed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0xa0e2ed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..3ean
nop
nop
mov ebx, 0x40915c
nop
mov ecx, 0x66825dc1
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x431024
mov eax, section..7LWLf
nop
nop
mov ebx, 0x42f3f8
mov ecx, 0x768f232e
nop
nop
nop
nop
nop
test eax, eax
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219