joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4067b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41a288
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x420700]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov eax, dword [0x420700]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
mov dword [esp + 0x40], ebx
mov byte [esp + 0xc], bl
mov byte [esp + 0x10], bl
mov byte [esp + 0x14], bl
call fcn.00401240
cmp dword [0x4201a8], 8
mov byte [esp + 0xb], al
mov eax, dword [0x420194]
jae 0x406825
mov eax, 0x420194
mov ecx, dword [0x4201a4]
mov edx, dword [0x4201dc]
push ecx
push eax
push edx
push ebx
mov ecx, 0x4201c8
call fcn.004017d0
test eax, eax
jne 0x40685e
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00406420
jmp 0x4068a8
cmp dword [0x4201c4], 8
mov eax, dword [0x4201b0]
jae 0x406871
mov eax, 0x4201b0
mov ecx, dword [0x4201c0]
mov edx, dword [0x4201dc]
push ecx
push eax
push edx
push ebx
mov ecx, 0x4201c8
call fcn.004017d0
test eax, eax
jne 0x4068f2
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.004047c0
add esp, 0x10
cmp byte [esp + 0xb], bl
je 0x4068b7
cmp byte [esp + 0xc], bl
jne 0x4068f2
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push ecx
push edx
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x48]
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push edx
mov word [ecx + 4], bx
call fcn.00402c00
call fcn.00405c90
add esp, 0x28
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [esp + 0x30], 8
jb 0x40690c
mov eax, dword [esp + 0x1c]
push eax
call fcn.004074ae
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0040769d
add esp, 0x3c
ret 0x10

Function at 0x40769d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x420700]
jne 0x4076a7
repz ret
jmp fcn.0040d8c6
Function at 0x4101b8
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 + 0x4212d8]
je 0x4101d3
inc edi
cmp edi, 0x17
jb 0x4101c4
cmp edi, 0x17
jae 0x410353
push ebp
push 3
call fcn.0041705a
cmp eax, 1
pop ecx
je 0x41031f
push 3
call fcn.0041705a
test eax, eax
pop ecx
jne 0x410207
cmp dword [0x42070c], 1
je 0x41031f
cmp ebx, 0xfc
je 0x410352
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x421e28
push ebp
call fcn.0040c20b
add esp, 0xc
test eax, eax
je 0x41023d
push esi
push esi
push esi
push esi
push esi
call fcn.004076b6
add esp, 0x14
push 0x104
mov esi, 0x421e41
push esi
push 0
mov byte [0x421f45], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x410281
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0040c20b
add esp, 0xc
test eax, eax
je 0x410281
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004076b6
add esp, 0x14
push esi
call fcn.00409cf0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4102c6
push esi
call fcn.00409cf0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x42213c
push 0x41c69c
sub ecx, eax
push ecx
push eax
call fcn.004121f6
add esp, 0x14
test eax, eax
je 0x4102c6
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004076b6
add esp, 0x14
jmp 0x4102c8
xor esi, esi
push 0x41c698
push ebx
push ebp
call fcn.00412135
add esp, 0xc
test eax, eax
je 0x4102e8
push esi
push esi
push esi
push esi
push esi
call fcn.004076b6
add esp, 0x14
push dword [edi*8 + 0x4212dc]
push ebx
push ebp
call fcn.00412135
add esp, 0xc
test eax, eax
je 0x41030a
push esi
push esi
push esi
push esi
push esi
call fcn.004076b6
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00416e9d
add esp, 0xc
jmp 0x410352
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x410352
cmp ebp, 0xffffffff
je 0x410352
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4212dc]
push dword [esi]
call fcn.00409cf0
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 0x416e9d
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0040daac
xor ebx, ebx
cmp dword [0x4223cc], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x416f73
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x417053
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x417053
push eax
call fcn.0040da3e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4223cc], eax
call esi
push eax
call fcn.0040da3e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4223d0], eax
call esi
push eax
call fcn.0040da3e
mov dword [0x4223d4], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040b208
test eax, eax
pop ecx
pop ecx
je 0x416f41
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004076b6
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x416f73
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0040da3e
cmp eax, ebx
pop ecx
mov dword [0x4223dc], eax
je 0x416f73
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040da3e
pop ecx
mov dword [0x4223d8], eax
mov eax, dword [0x4223d8]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x416ff8
cmp dword [0x4223dc], ecx
je 0x416ff8
push eax
call fcn.0040dab5
push dword [0x4223dc]
mov esi, eax
call fcn.0040dab5
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x416ff8
cmp edi, ebx
je 0x416ff8
call esi
cmp eax, ebx
je 0x416fc5
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x416fc5
test byte [ebp - 0x18], 1
jne 0x416ff8
lea eax, [ebp - 0x10]
push eax
call fcn.0040b23f
test eax, eax
pop ecx
je 0x416fe0
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004076b6
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x416fef
or dword [ebp + 0x10], 0x200000
jmp 0x417033
or dword [ebp + 0x10], 0x40000
jmp 0x417033
mov eax, dword [0x4223d0]
cmp eax, dword [ebp - 8]
je 0x417033
push eax
call fcn.0040dab5
cmp eax, ebx
pop ecx
je 0x417033
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x417033
mov eax, dword [0x4223d4]
cmp eax, dword [ebp - 8]
je 0x417033
push eax
call fcn.0040dab5
cmp eax, ebx
pop ecx
je 0x417033
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4223cc]
call fcn.0040dab5
cmp eax, ebx
pop ecx
je 0x417053
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x417055
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4cf480
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 8
push ebp
mov ebp, 1
shl ebp, cl
push edi
lea eax, [ebp - 1]
shl eax, 4
add eax, 0x14
push eax
push 1
call fcn.004cb0d0
mov edi, eax
add esp, 8
test edi, edi
jne 0x4cf4b3
pop edi
or eax, 0xffffffff
pop ebp
add esp, 8
ret
push ebx
push esi
xor esi, esi
test ebp, ebp
jbe 0x4cf4d3
lea ebx, [edi + 0xc]
mov edi, edi
call fcn.004d2900
mov dword [ebx], eax
test eax, eax
je 0x4cf4d3
inc esi
add ebx, 0x10
cmp esi, ebp
jb 0x4cf4c0
cmp esi, ebp
je 0x4cf508
test esi, esi
jne 0x4cf4ef
push edi
call 0x5d5da0
add esp, 4
pop esi
pop ebx
pop edi
or eax, 0xffffffff
pop ebp
add esp, 8
ret
lea eax, [esi - 1]
shl eax, 4
add eax, 0x14
push eax
push edi
call fcn.004cb0e0
add esp, 8
test eax, eax
je 0x4cf508
mov edi, eax
lea ecx, [esi - 1]
lea edx, [edi + 4]
mov eax, edx
test ecx, ecx
jbe 0x4cf522
mov ebx, ecx
sub ebx, 1
lea ecx, [eax + 0x10]
mov dword [eax], ecx
mov eax, ecx
jne 0x4cf516
mov ecx, dword [0x13ca6eb8]
add dword [0x13ca6ea8], esi
mov dword [eax], ecx
lea eax, [ebp*4]
mov dword [0x13ca6eb8], edx
mov edx, dword [0x13ca6ea4]
push eax
push 1
mov dword [edi], edx
mov dword [0x13ca6ea4], edi
call fcn.004cb0d0
add esp, 8
test eax, eax
jne 0x4cf581
mov ecx, dword [0x13ccdc98]
cmp dword [ecx + 4], 3
jl 0x4cf621
push 0x139d4acc
call fcn.004ce240
add esp, 4
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 8
ret
mov edx, dword [0x13ca6eb0]
xor ecx, ecx
lea ebx, [ebp - 1]
mov dword [0x13ca6ebc], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
cmp dword [0x13ca6ec0], ecx
jbe 0x4cf5e0
mov edx, dword [0x13ca6eb0]
mov edx, dword [edx + ecx*4]
test edx, edx
je 0x4cf5d3
nop
mov edi, dword [edx + 4]
mov esi, dword [edx]
mov ecx, edi
shr ecx, 8
xor ecx, edi
shr ecx, 2
and ecx, ebx
mov edi, dword [eax + ecx*4]
mov dword [edx], edi
mov dword [eax + ecx*4], edx
mov edx, esi
test esi, esi
jne 0x4cf5b0
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, dword [0x13ca6ec0]
jb 0x4cf5a2
mov ecx, dword [esp + 0x14]
mov dword [0x13ca6eb0], eax
mov eax, dword [esp + 0x1c]
push ecx
mov dword [0x13ca6ec0], ebp
mov dword [0x13ca6eb4], eax
call 0x5d5da0
mov edx, dword [0x13ccdc98]
add esp, 4
cmp dword [edx + 4], 4
jl 0x4cf621
mov eax, dword [0x13ca6ea8]
push ebp
push eax
push 0x139d4aa0
call fcn.004ce240
add esp, 0xc
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 8
ret
Function at 0x4d4330
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x6c
mov eax, dword [0x13c7f300]
xor eax, esp
mov dword [esp + 0x68], eax
push esi
mov esi, dword [esp + 0x7c]
push edi
mov edi, dword [esp + 0x78]
mov eax, dword [edi + 0x1c]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov eax, dword [esp + 0x7c]
mov dword [esi + 0x14], ecx
mov ecx, dword [esi]
mov dword [esi + 0x40], eax
mov edx, dword [edi + 0x3c]
mov dword [esi + 0x30], edx
lea edx, [esp + 8]
push edx
mov dword [esi + 0x124], 0
push eax
mov eax, dword [ecx + 0x16]
call eax
add esp, 8
test eax, eax
jne 0x4d447b
xor ecx, ecx
cmp dword [edi + 4], ecx
push ebp
sete cl
mov dword [esi + 4], edi
lea ebp, [esi + 0xb8]
mov edi, 0x3f
mov al, 0x20
mov dword [esi + 8], ecx
mov edi, edi
cmp byte [esp + edi + 0xc], al
jne 0x4d43ca
cmp byte [esp + edi + 0xb], al
jne 0x4d43bf
cmp byte [esp + edi + 0xa], al
jne 0x4d43c2
cmp byte [esp + edi + 9], al
jne 0x4d43c7
sub edi, 4
jns 0x4d43a0
jmp 0x4d43ca
dec edi
jmp 0x4d43ca
sub edi, 2
jmp 0x4d43ca
sub edi, 3
inc edi
test ebp, ebp
jne 0x4d43e1
lea edx, [edi + 1]
push edx
call fcn.004d5ea0
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4d43f8
test edi, edi
je 0x4d43f4
push edi
lea eax, [esp + 0x10]
push eax
push ebp
call 0xad60c0
add esp, 0xc
mov byte [edi + ebp], 0
mov ecx, dword [esp + 0x6c]
xor edx, edx
and cl, 4
cmp cl, 4
sete dl
push 0xc
lea eax, [esp + 0x50]
push 0x139d4d24
push eax
mov dword [esi + 0x10], edx
call 0xad7d4e
add esp, 0xc
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x130], eax
mov al, byte [esp + 0x6c]
pop ebp
test al, 2
jne 0x4d445c
mov dword [esi + 0xc], 1
test al, 1
jne 0x4d4460
pop edi
mov dword [esi + 0x18], 1
mov dword [esi + 0x1c], 4
pop esi
mov ecx, dword [esp + 0x68]
xor ecx, esp
call 0xad47ad
add esp, 0x6c
ret
test al, 1
je 0x4d44c2
push 1
push esi
call fcn.004d3e90
add esp, 8
test eax, eax
je 0x4d449a
cmp dword [esi + 0xc], 0
je 0x4d44c2
cmp dword [esi + 0x18], 0
jne 0x4d44c2
pop edi
mov dword [esi + 0x18], 1
mov dword [esi + 0x1c], 2
pop esi
mov ecx, dword [esp + 0x68]
xor ecx, esp
call 0xad47ad
add esp, 0x6c
ret
mov edx, esi
call fcn.004d3650
test eax, eax
je 0x4d44c2
cmp dword [esi + 0x11c], 0
jne 0x4d44b8
mov ecx, dword [esi + 4]
mov dword [ecx + 0x60], 0x64
mov dword [esi + 0x11c], 1
mov ecx, dword [esp + 0x70]
pop edi
pop esi
xor ecx, esp
call 0xad47ad
add esp, 0x6c
ret
Function at 0x4f00e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10c
mov ecx, dword [esp + 0x11c]
push ebx
xor ebx, ebx
mov eax, ecx
push ebp
and eax, 1
mov ebp, pe_nt_image_headers32
push ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 0x100
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 0x102
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 0x120
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], 0x123
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], 0x122
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], 0x124
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], 0x125
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], 0x126
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], 0x127
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], 0x128
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], 0x105
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], 0x10c
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], 0x109
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], 0x107
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], 1
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], 2
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xf4], 0x170
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], 0x103
mov dword [esp + 0x104], ebx
mov dword [esp + 0x108], ebx
mov dword [esp + 0x10c], 0x162
mov dword [esp + 0x110], ebx
mov dword [esp + 0x114], ebx
mov byte [esp + 0xf], 1
mov byte [esp + 0xe], bl
mov dword [esp + 0x18], eax
call fcn.004da1f0
add esp, 4
test eax, eax
je 0x4f02e7
push 0xffffe005
call fcn.004d58f0
add esp, 4
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret
push edi
xor edi, edi
lea eax, [esp + 0x1c]
push esi
nop
cmp dword [eax], 0x120
je 0x4f031b
inc edi
add eax, 0xc
cmp edi, 0x15
jl 0x4f02f0
push 0xffffe001
call fcn.004d58f0
add esp, 4
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret
lea esi, [edi + edi*2]
lea esi, [esp + esi*4 + 0x20]
cmp esi, ebx
je 0x4f0443
mov eax, dword [esp + 0x124]
mov eax, dword [eax + 4]
dec eax
cmp eax, 5
ja 0x4f0443
jmp dword [eax*4 + 0x12af052c]
push 0xffffe001
call fcn.004d58f0
add esp, 4
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret
Function at 0x4f0590
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x288
push ebx
xor ebx, ebx
push ebp
push esi
mov edx, 1
mov ecx, 0x10c
push edi
mov eax, 0x170
mov ebp, 0x10a
mov edi, 0x10b
mov esi, 0x104
mov byte [esp + 0x12], bl
mov byte [esp + 0x13], 1
mov dword [esp + 0x220], 0x103
mov dword [esp + 0x224], ebx
mov dword [esp + 0x228], ebx
mov dword [esp + 0x22c], edx
mov dword [esp + 0x230], ebx
mov dword [esp + 0x234], ebx
mov dword [esp + 0x238], 2
mov dword [esp + 0x23c], ebx
mov dword [esp + 0x240], ebx
mov dword [esp + 0x244], ecx
mov dword [esp + 0x248], ebx
mov dword [esp + 0x24c], ebx
mov dword [esp + 0x250], 0x107
mov dword [esp + 0x254], ebx
mov dword [esp + 0x258], ebx
mov dword [esp + 0x25c], pe_nt_image_headers32
add dword [eax], eax
add byte [ecx + 0x260249c], cl
add byte [eax], al
Function at 0x4047d1
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
call 0x4047da
pop eax
mov esi, dword fs:[0x30]
mov esi, dword [esi + 0xc]
mov esi, dword [esi + 0x1c]
push esi
mov ebx, dword [esi + 8]
cmp eax, ebx
jb 0x4047fd
mov ecx, dword [esi + 0x10]
add ecx, ebx
cmp eax, ecx
ja 0x4047fd
mov eax, ebx
jmp 0x404812
mov esi, dword [esi]
mov ebx, dword [esi]
cmp ebx, dword [esp]
jne 0x4047e9
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
pop esi
pop esi
leave
ret
Function at 0x41a750
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4aaa7b
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.0049f833
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41a7d2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049d745
mov eax, dword [eax]
push 0x1341cb8
push eax
call fcn.0048f6e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0049fabe
test bl, bl
je 0x41a7d2
push 0x1341cb8
lea ecx, [esp + 0xc]
call fcn.0049fe4e
push 0x1341cc4
lea ecx, [esp + 0xc]
call fcn.0049fe4e
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 0x41a80e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0049fabe
jmp 0x41a8d9
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 0x41a892
lea edx, [esp + 0x7c]
push 0x1341cc0
push edx
call fcn.0048f6e4
add esp, 8
test eax, eax
je 0x41a892
lea eax, [esp + 0x7c]
push 0x1341cbc
push eax
call fcn.0048f6e4
add esp, 8
test eax, eax
je 0x41a892
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 0x41a822
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.0049fabe
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 0x41b0d0
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 0x41b132
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 0x41b140
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4aaafb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x13563a0]
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 0x41b278
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41b1a6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049fabe
xor eax, eax
jmp 0x41b2ef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0049fbfb
push esi
lea ecx, [esp + 0xc]
call fcn.0049fe8a
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x1341cf8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41b2cd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0041b0d0
test eax, eax
jne 0x41b2cd
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.0041b0d0
test eax, eax
jne 0x41b2cd
lea eax, [esp + 0x14]
push 0x1341cd4
push eax
call fcn.00490830
mov esi, eax
add esp, 8
test esi, esi
jne 0x41b2ac
lea ecx, [esp + 0x14]
push 0x1341cd0
push ecx
call fcn.004907b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41b2ac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41b2af
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0049fbab
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41b1be
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049fabe
xor eax, eax
jmp 0x41b2ef
mov byte [esi], 0
push 0x1341ccc
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.0049fabe
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 0x42c1c0
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 0x42c22e
cmp si, 0x69
ja 0x42c22e
add esi, 0xffd0
cmp si, 0x11
je 0x42c1fe
push 0x11
call edi
test ax, ax
jge 0x42c1fe
or esi, 0x2000
cmp si, 0x10
je 0x42c213
push 0x10
call edi
test ax, ax
jge 0x42c213
or esi, 0x4000
cmp si, 0x12
je 0x42c228
push 0x12
call edi
test ax, ax
jge 0x42c228
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42c23b
mov esi, 0xbd
jmp 0x42c1ef
cmp si, 0x6e
jne 0x42c248
mov esi, 0xbe
jmp 0x42c1ef
cmp si, 0x6f
jne 0x42c1e9
mov esi, 0xbf
jmp 0x42c1ef

Function at 0x42dbd0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x1366bb8]
xor edx, edx
cmp eax, edx
jne 0x42dbf6
xor eax, eax
mov byte [eax + 0x1366ab8], al
inc eax
cmp eax, 0x100
jl 0x42dbde
mov dword [0x1366bb8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x1366ab8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x42dc87
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 0x42dc5a
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 0x42dc28
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x42dc90
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 0x42dce3
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 0x42dcca
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