joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10118f50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x10118f73
push dword [ebx + 0x74]
call eax
add esp, 4
push esi
mov esi, dword [ebx + 0x54]
test esi, esi
je 0x10118fd9
nop dword [eax + eax]
mov edi, dword [esi + 4]
xor edx, edx
mov eax, dword [edi + 0x60]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x54]
test eax, eax
je 0x10118fd2
mov ecx, dword [eax + 8]
cmp eax, esi
je 0x10118fa6
mov edx, eax
mov eax, ecx
test eax, eax
jne 0x10118f95
jmp 0x10118fd2
test edx, edx
jne 0x10118faf
mov dword [edi + 0x54], ecx
jmp 0x10118fb2
mov dword [edx + 8], ecx
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10118fbf
push esi
call eax
add esp, 4
push esi
call fcn.10119370
mov eax, dword [ebp - 4]
push esi
push eax
mov eax, dword [eax + 8]
call eax
add esp, 0xc
mov esi, dword [ebx + 0x54]
test esi, esi
jne 0x10118f80
mov edi, dword [ebp + 8]
lea ecx, [ebx + 0x6c]
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x10119060
test edi, edi
je 0x10119060
mov eax, dword [ecx]
test eax, eax
je 0x10119053
mov ebx, eax
mov esi, dword [ebx + 8]
mov eax, dword [ebx + 4]
mov dword [ebp - 4], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x10119008
push esi
call eax
add esp, 4
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x1011901b
push esi
call eax
add esp, 4
mov eax, dword [esi + 0x28]
test eax, eax
je 0x1011902c
push eax
mov eax, dword [edi + 8]
push edi
call eax
add esp, 8
mov dword [esi + 0x28], 0
mov eax, dword [edi + 8]
push esi
push edi
call eax
mov eax, dword [edi + 8]
push ebx
push edi
call eax
mov eax, dword [ebp - 4]
add esp, 0x10
mov ebx, eax
test eax, eax
jne 0x10118ff2
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebx + 0x30]
mov dword [ebx + 0x58], 0
test eax, eax
je 0x10119074
push ebx
call eax
add esp, 4
push edi
push ebx
call fcn.10118ed0
mov eax, dword [ebp - 0xc]
add esp, 8
mov eax, dword [eax + 0x34]
test eax, eax
je 0x1011908e
push ebx
call eax
add esp, 4
mov esi, dword [ebx + 0x68]
mov eax, dword [ebx + 8]
mov dword [ebp + 0xc], eax
test esi, esi
je 0x101190c4
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
mov dword [ebp + 0x10], eax
test ecx, ecx
je 0x101190b1
push esi
call ecx
mov eax, dword [ebp + 0x10]
add esp, 4
test dword [ebp + 0xc], 0x400
jne 0x101190c4
push esi
push eax
mov eax, dword [eax + 8]
call eax
add esp, 8
mov eax, dword [ebx + 0x80]
mov dword [ebx + 0x68], 0
pop esi
test eax, eax
je 0x101190ea
push eax
mov eax, dword [edi + 8]
push edi
call eax
add esp, 8
mov dword [ebx + 0x80], 0
mov eax, dword [edi + 8]
push ebx
push edi
call eax
add esp, 8
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1016f573
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x1016f59a
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x1016f59d
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.1016f54f
pop esi
leave
ret 8
Function at 0x105b701
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x1071ab8
call fcn.0105b710
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0x10786f8
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x105b4bc
cmp eax, esi
jne 0x105b4af
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x105b4bf
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x105b496
xor esi, esi
inc esi
mov eax, dword [0x10786f4]
cmp eax, esi
jne 0x105b4d2
push 0x1f
call fcn.011bb000
pop ecx
jmp 0x105b501
mov eax, dword [0x10786f4]
test eax, eax
jne 0x105b4fb
mov dword [0x10786f4], esi
push 0x10015f8
push 0x10015ec
call fcn.0105b3f8
pop ecx
pop ecx
test eax, eax
je 0x105b501
jmp 0x105b625
mov dword [0x1078160], esi
mov eax, dword [0x10786f4]
cmp eax, esi
jne 0x105b525
push 0x10015e8
push 0x10015dc
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x10786f4], 2
cmp dword [ebp - 0x20], ebx
jne 0x105b532
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1078704], ebx
je 0x105b553
push 0x1078704
call fcn.0105be29
pop ecx
test eax, eax
je 0x105b553
push ebx
push 2
push ebx
call dword [0x1078704]
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
cmp dword [eax], ebx
je 0x105b625
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp cx, 0x20
ja 0x105b5bd
cmp cx, bx
je 0x105b578
cmp dword [ebp - 0x1c], ebx
jne 0x105b5bd
movzx ecx, word [eax]
cmp cx, bx
je 0x105b58d
cmp cx, 0x20
ja 0x105b58d
inc eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0x105b578
test byte [ebp - 0x40], 1
je 0x105b599
movzx ecx, word [ebp - 0x3c]
jmp 0x105b59c
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x1000000
call main
mov dword [0x107815c], eax
cmp dword [0x1078150], ebx
jne 0x105b602
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cx, 0x22
jne 0x105b5ce
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
inc eax
inc eax
jmp 0x105b562
cmp dword [0x1078160], ebx
jne 0x105b610
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x107815c]
jmp 0x105b631
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.0105b755
ret
call fcn.0105bf6e
jmp 0x105b459
Function at 0x40a798
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x43a00c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, edx
mov esi, ecx
call fcn.004015db
push eax
lea ecx, [ebp - 8]
call fcn.00401f9b
mov dword [ebp - 0xc], esi
mov edx, 0x811c9dc5
xor ecx, ecx
movzx eax, byte [ebp + ecx - 0xc]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 4
jb 0x40a7ce
push edx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040c4b7
mov ecx, dword [0x43be88]
mov eax, dword [eax + 4]
test eax, eax
jne 0x40a7fe
mov eax, ecx
cmp eax, ecx
je 0x40a810
add eax, 0xc
lea ecx, [ebp - 8]
push eax
call fcn.00401c8c
jmp 0x40a826
or esi, 0x4000
lea edx, [ebp - 8]
mov ecx, esi
call fcn.00404974
mov esi, eax
test esi, esi
js 0x40a895
mov eax, dword [ebp - 8]
xor edx, edx
mov esi, dword [edi]
inc edx
mov edi, 0x104
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, edi
or edx, ecx
jge 0x40a84b
push edi
lea ecx, [ebp - 8]
call fcn.00402095
mov eax, dword [ebp - 8]
push esi
push eax
call dword [0x421298]
push 0xffffffffffffffff
lea ecx, [ebp - 8]
mov esi, eax
call fcn.004031a1
test esi, esi
jne 0x40a86a
mov esi, 0x80040709
jmp 0x40a895
mov esi, dword [ebp - 8]
test esi, esi
jne 0x40a875
xor eax, eax
jmp 0x40a87c
push esi
call fcn.00415bed
pop ecx
push eax
push esi
mov ecx, ebx
call fcn.00401ed9
cmp byte [ebp + 8], 0
je 0x40a893
mov ecx, dword [ebp - 8]
call fcn.00404846
xor esi, esi
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.004015b2
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040c891
leave
ret

Function at 0x40d1c3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x4210b4]
test eax, eax
je 0x40d202
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40d202
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40d202
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40d202
cmp dword [ecx + 0x74], 0xe
jbe 0x40d202
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x41d1b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41d1dd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41d1dd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x54efb0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xe1000]
mov dword [edi + 0xfaf64], 0xc1c35f57
push edi
jmp 0x54efda
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x54efe1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54efd0
mov eax, 1
add ebx, ebx
jne 0x54eff3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x54f004
jne 0x54f023
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54f023
dec eax
add ebx, ebx
jne 0x54f010
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x54efe8
add ebx, ebx
jne 0x54f01f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x54f075
xor ecx, ecx
sub eax, 3
jb 0x54f03b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x54f0aa
sar eax, 1
mov ebp, eax
jmp 0x54f046
add ebx, ebx
jne 0x54f046
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54f014
inc ecx
add ebx, ebx
jne 0x54f054
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54f014
add ebx, ebx
jne 0x54f061
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x54f056
jne 0x54f072
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x54f056
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x54f094
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x54f086
jmp 0x54efd6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x54f094
add edi, ecx
jmp 0x54efd6
pop esi
mov edi, esi
mov ecx, 0x683a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x54f0b2
cmp byte [edi], 0x1e
jne 0x54f0b2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x54f0b7
lea edi, [esi + 0x14b000]
mov eax, dword [edi]
or eax, eax
je 0x54f12f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1550d0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1551e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x54f0e4
mov ecx, edi
jns 0x54f113
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1551ec]
or eax, eax
je 0x54f129
mov dword [ebx], eax
add ebx, 4
jmp 0x54f101
call dword [esi + 0x1551fc]
mov ebp, dword [esi + 0x1551f0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x31f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x54f163
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x10027c53
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x10027c62
pop dword [ebp - 0x2c]
mov eax, 0x79b57dc8
add eax, 0x964cfe9a
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x70ad714c
add dword [ebp - 0x3c], 0xdda4d3ff
mov dword [ebp - 0x38], 0xf806f117
sub dword [ebp - 0x38], 0xc5d3a4d2
mov dword [ebp - 0x34], 0xa9473b2b
add dword [ebp - 0x34], 0xa3050903
mov dword [ebp - 0x30], 0x65526f46
sub dword [ebp - 0x30], 0x65526f46
lea eax, [ebp - 0x3c]
push eax
mov eax, 0xad33afa2
add eax, 0x62d1e16a
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0xb8042234
sub dword [ebp - 0x3c], 0x4391b8de
mov dword [ebp - 0x38], 0x4dc2a854
add dword [ebp - 0x38], 0xf3a9b921
mov dword [ebp - 0x34], 0x3b0e3ea2
add dword [ebp - 0x34], 0x28612dca
mov dword [ebp - 0x30], 0x852934b6
add dword [ebp - 0x30], 0x7ad6cb4a
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0xd399dcbe
add eax, 0x3c6bb382
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x58ddb
push 0
call eax
mov ecx, 0xa9f7fc00
add ecx, 0x56083902
mov edi, eax
mov ebx, 0x3d63dcf4
add ebx, 0xd2a2b70c
add ebx, dword [ebp - 0x2c]
mov esi, 0xd4854633
sub esi, 0x674c1be1
sub dword [ebp - 0x20], esi
mov edx, dword [ebx]
add dword [ebp - 0x24], ebx
add edx, esi
add dword [ebp - 0x28], 0x8ad1feb6
mov dword [edi], edx
xor dword [ebp - 0x28], 0xed131e87
add edi, 0xb34a25d1
sub edi, 0xb34a25cd
add ebx, 0xc61741c5
sub ebx, 0xc61741c1
loop 0x10027d84
add eax, 0xc6db
xor ebx, ebx
add ebx, eax
add eax, 0x16966fbf
sub eax, 0x16966fba
mov ecx, 0x10000000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x42b538
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x43c510
call fcn.0042be5e
push 1
call fcn.0042b6a2
pop ecx
test al, al
jne 0x42b3e1
push 7
call fcn.0042c0e7
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0042b66d
mov byte [ebp - 0x24], al
mov eax, dword [0x447fe8]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x42b3da
test eax, eax
jne 0x42b44b
mov dword [0x447fe8], ecx
push 0x42f2f4
push 0x42f2dc
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x42b42e
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x42b532
push 0x42f2d8
push 0x42f2b0
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x447fe8], 2
jmp 0x42b450
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0042b7ff
pop ecx
call fcn.0042c0db
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x42b480
push esi
call fcn.0042b772
pop ecx
test al, al
je 0x42b480
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.0042c316
call esi
call fcn.0042c0e1
mov esi, eax
cmp dword [esi], edi
je 0x42b49e
push esi
call fcn.0042b772
pop ecx
test al, al
je 0x42b49e
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
push edi
call sub.VCRUNTIME140.dll___telemetry_main_invoke_trigger
pop ecx
call fcn.0042c1fc
movzx eax, ax
push eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_narrow_winmain_command_line
push eax
push edi
push 0x400000
call main
mov esi, eax
push edi
call sub.VCRUNTIME140.dll___telemetry_main_return_trigger
pop ecx
call fcn.0042c22f
test al, al
jne 0x42b4d7
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
test bl, bl
jne 0x42b4e0
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.0042b81c
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x42b532
call fcn.0042bea4
ret
call fcn.0042b247
jmp 0x42b3c2

Function at 0x43b65d
Capabilities:
Encode data using xor

Disassembly:
push 0x43b3c1
mov ecx, dword [esp]
add esp, 4
sub eax, 0xe78de094
sub ebx, eax
or eax, eax
call fcn.0043b6aa
or ebx, ebx
add ebx, 0x8cfa9e2a
xor dword [edx], ecx
add eax, 0xa0473cfe
or eax, eax
inc edx
sub ebx, 0x96251ed0
and ebx, ebx
add ebx, ebx
cmp edx, esi
jne fcn.0043b65d
sub eax, ebx
add eax, 0xb23d5820
inc ebx
ret
Function at 0x4016e0
Capabilities:
Get geographical location

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0x20
push 0x41d748
push 3
push 0x400
call edi
movsx eax, byte [0x41d748]
push eax
call fcn.0040a7ac
movsx ecx, byte [0x41d749]
push ecx
mov byte [0x41d748], al
call fcn.0040a7ac
mov byte [0x41d749], al
add esp, 8
mov byte [0x41d74a], 0
mov esi, 0x4190d4
mov eax, 0x41d748
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x401754
test cl, cl
je 0x401750
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x401754
add eax, 2
add esi, 2
test cl, cl
jne 0x401730
xor eax, eax
jmp 0x401759
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x401766
mov byte [0x41d749], 0x61
jmp 0x4017a4
mov esi, 0x4190d0
mov eax, 0x41d748
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x401794
test cl, cl
je 0x401790
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x401794
add eax, 2
add esi, 2
test cl, cl
jne 0x401770
xor eax, eax
jmp 0x401799
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4017a4
mov byte [0x41d748], 0x7a
push 0x1d
push 0x41d74b
push 7
push 0x400
mov byte [0x41d74a], 0x5f
call edi
movsx eax, byte [0x41d74b]
push eax
call fcn.0040a6e0
movsx ecx, byte [0x41d74c]
push ecx
mov byte [0x41d74b], al
call fcn.0040a6e0
mov byte [0x41d74c], al
add esp, 8
mov byte [0x41d74d], 0
mov esi, 0x4190cc
mov eax, 0x41d74b
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x401817
test cl, cl
je 0x401813
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x401817
add eax, 2
add esi, 2
test cl, cl
jne 0x4017f3
xor eax, eax
jmp 0x40181c
sbb eax, eax
sbb eax, 0xffffffff
pop edi
pop esi
test eax, eax
jne 0x401829
mov byte [0x41d74c], 0x4e
mov eax, 0x41d748
ret
Function at 0x401e30
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x74
push ebx
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x38]
mov edx, dword [esp + 0x80]
rep stosd dword es:[edi], eax
mov word [esp + 0x68], ax
mov ebx, dword [esp + 0x64]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x38]
push eax
push ecx
push 0
push 0
push 0x200
push 1
push 0
push 0
or ebx, 1
push edx
push 0
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x60], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x401e9e
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop ebx
add esp, 0x74
ret
mov eax, dword [esp + 0x10]
push ebp
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
push pe_nt_image_headers32
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
push 0
push ecx
push 1
call ebp
test eax, eax
je 0x401f17
cmp eax, 1
jne 0x401ec3
push eax
push 0
push 0
lea edx, [esp + 0x30]
push 0
push edx
call esi
test eax, eax
je 0x401ec3
cmp dword [esp + 0x28], 0x12
je 0x401ec3
lea eax, [esp + 0x24]
push eax
call edi
lea ecx, [esp + 0x24]
push ecx
call ebx
push 1
push 0
push 0
lea edx, [esp + 0x30]
push 0
push edx
call esi
test eax, eax
jne 0x401eed
jmp 0x401ec3
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x401f31
mov esi, dword [esp + 0x10]
jmp 0x401f39
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x74
ret
Function at 0x402840
Capabilities:
Copy file

Disassembly:
mov eax, dword [esp + 4]
push edi
mov edi, dword [esp + 0xc]
push 0
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x40286d
push esi
push 0x180
push edi
xor esi, esi
call fcn.0040ab6f
add esp, 8
mov eax, esi
pop esi
pop edi
ret
or eax, 0xffffffff
pop edi
ret

Function at 0x402900
Capabilities:
Get disk size

Disassembly:
sub esp, 0xc
lea eax, [esp + 4]
lea ecx, [esp + 8]
lea edx, [esp]
push eax
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x18]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x402949
mov ecx, dword [esp + 0x10]
push esi
imul ecx, dword [esp + 4]
mov edx, ecx
mov esi, dword [esp + 0x18]
imul edx, dword [esp + 8]
imul ecx, dword [esp + 0xc]
mov dword [esi], edx
mov edx, dword [esp + 0x1c]
pop esi
mov dword [edx], ecx
add esp, 0xc
ret
Function at 0x4037f0
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
mov dword [esp + 4], 0
push eax
push 1
push 0
push str.HardwareDescriptionSystemCentralProcessor0
push 0x80000002
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40383c
lea ecx, [esp + 8]
lea edx, [esp + 4]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x10]
push str.MHz
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 4]
add esp, 0xc
ret
Function at 0x406860
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x800
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x400]
push esi
push edi
mov edi, dword [esp + 0x818]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x80c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x814]
lea ecx, [esp + 0x408]
push ecx
push 0x400
push edx
push edi
push eax
push str.Oracle
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [esp + 8]
test al, al
jne 0x4068e9
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 8]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x81c]
cmp eax, 1
je 0x406933
cmp eax, 2
je 0x406933
cmp eax, 3
jne 0x406904
mov byte [esp + 9], 0
lea edi, [esp + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x810]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
add esp, 0x800
ret
lea edi, [esp + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x810]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
add esp, 0x800
ret
Function at 0x40a0a0
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
sub esp, 0x20c
mov eax, dword [str.temp_value]
mov ecx, dword [0x41a478]
mov dx, word [0x41a47c]
mov dword [esp + 0x10c], eax
mov al, byte [0x41a47e]
push edi
mov dword [esp + 0x114], ecx
mov byte [esp + 0x11a], al
mov ecx, 0x3d
xor eax, eax
lea edi, [esp + 0x11b]
mov word [esp + 0x118], dx
mov edx, dword [0x41a46c]
rep stosd dword es:[edi], eax
mov ecx, dword [str.Software]
mov al, byte [0x41a470]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 4]
mov dword [esp + 0x14], edx
push ecx
push 0xf003f
lea edx, [esp + 0x18]
push 0
push edx
push 0x80000002
mov byte [esp + 0x2c], al
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40a132
xor eax, eax
pop edi
add esp, 0x20c
ret
mov eax, dword [str.oracle_oui_tmp]
mov ecx, dword [0x41a45c]
mov dword [esp + 0x10], eax
mov ax, word [0x41a464]
mov dword [esp + 0x14], ecx
mov cl, byte [0x41a466]
mov word [esp + 0x1c], ax
mov byte [esp + 0x1e], cl
mov edx, dword [0x41a460]
lea edi, [esp + 0x110]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov dword [esp + 0x18], edx
lea edx, [esp + 0x110]
not ecx
push ecx
mov ecx, dword [esp + 8]
push edx
push 1
push eax
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x40a1a9
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
add esp, 0x20c
ret
mov eax, dword [esp + 4]
push str.oracle_oui_tmp
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea ecx, [esp + 0xc]
lea edx, [esp + 8]
push ecx
mov ecx, dword [esp + 8]
push edx
push 0
push 0xf003f
push 0
push str.temp_key
lea eax, [esp + 0x28]
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x40a1f1
xor eax, eax
pop edi
add esp, 0x20c
ret
mov edx, dword [esp + 4]
push esi
push str.oracle_oui_tmp
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
mov ecx, dword [esp + 8]
push ecx
call esi
pop esi
mov eax, 1
pop edi
add esp, 0x20c
ret