joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40900c
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x4090a9
push ebx
push esi
call fcn.00408fd5
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00408f69
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x409056
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4090a8
push edi
push eax
call fcn.0040989f
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x409076
call fcn.00407ab1
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4090a7
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00408f69
add esp, 0x20
test eax, eax
jne 0x409095
push edi
call fcn.00407ab1
jmp 0x40909d
push ebx
call fcn.00407ab1
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x409fa5
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x412018
push 0x412010
push str.FlsAlloc
push 0x1f
call fcn.00409ec1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409fd9
push dword [ebp + 8]
mov ecx, esi
call dword [0x410114]
call esi
jmp 0x409fdf
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40a023
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x412028
push 0x412020
push str.FlsGetValue
push 0x21
call fcn.00409ec1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40a05a
push dword [ebp + 8]
mov ecx, esi
call dword [0x410114]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40a062
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x412030
push 0x412028
push str.FlsSetValue
push 0x22
call fcn.00409ec1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40a09c
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x410114]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40eec0
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x431072
nop
nop
nop
mov ebx, 0x40915c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x34e9685c
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x431060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4310d2
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x2fe518e8
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x406f30
Capabilities:
Resolve dns

Disassembly:
pop edi
invalid
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 8]
mov edx, dword [eax - 2]
mov esi, dword [ebp + 0xc]
and eax, 3
push edi
xor eax, dword [edx]
xor eax, 0x74110000
sub byte [ebp - 0x74e38b0a], al
jge 0x406f62
test edi, ebx
jne 0x406f6b
adc dword [eax + 3], 0x74
adc byte [ebp + 0x1d7402c1], dh
pop edi
mov eax, 0x1f1123
adc al, 0x5d
ret 0x18
and edx, dword [ecx]
pop ds
add byte [ebx*2 + 0x770018c2], dl
mov eax, 0x16
pop esi
pop ebp
ja 0x406f25
push ss
add byte [eax], al
add byte [esi + 0x5d], bl
push edi
sbb byte [edi - 0x75], dl
inc ebp
adc byte [esi], dh
sal byte [ebp + 5], 0xb8
add al, byte [eax]
add byte [eax], al
enter 0x1c7d, 0x57
push ecx
mov ecx, dword [ebp + 0x14]
push ecx
push eax
mov al, 0x52
call 0x46406ff9
sbb dword [eax + 0x5d5e5f47], 0xffffffc2
sbb byte [eax], al
inc edx
nop
nop
nop
push ebp
mov ebp, esp
sub esp, 0x24
cmp ch, dl
mov esi, dword [ebp + 0xc]
xor ebx, ebx
cmp esi, ebx
push edi
mov dword [ebp - 0xc], esi
jne 0x406fba
mov esi, 0xf440f440
mov al, byte [esi]
cmp al, 0x19
jl 0xe01f6fcd
cmp al, 0x39
jg 0x40707d
push 0x40f49f
inc ecx
call dword [0xc6641c]
mov edx, eax
mov esi, dword [ebx + ebx - 0x3fcc0037]
add esp, 0x54
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jne 0x40707d
push esi
call dword [0x3245c8]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
sub al, 0x4d
in al, dx
lea edx, [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ecx
inc esi
push ebp
stc
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0xc]
cmp dword [ecx], ebx
je 0xae4070c6
lahf
pop ebp
cld
mov edx, dword [ebp + 0x1c]
movsb byte es:[edi], byte [esi]
cmp byte [ecx + 0x7bda34c5], al
dec dword [ebx - 0x743fcc0f]
sub dword [ecx - 0x5bfffff2], edi
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0xc]
jae 0x4070be
movsd dword es:[edi], dword [esi]
mov dword [esi], eax
pop ebx
push ecx
invalid
push esi
call dword [sym.imp.WSOCK32.dll_gethostbyname]
cmp edi, dword [edi - 0x4d]
inc ebp
or al, 0x75
test dword [ebx + 0x40c1d835], ecx
inc eax
call esi
test eax, eax
je 0x407041
call esi
pop edi
scasb al, byte es:[edi]
add eax, 0x86fc80
insb byte es:[edi], dx
mov esp, ebp
pop ebp
ret
str word [edi]
adc bl, byte [ebx - 1]
invalid

Function at 0x40a3d0
Capabilities:
Terminate process

Disassembly:
or dword [eax + 0x5b], esi
xor eax, sym.imp.KERNEL32.dll_GetLastError
xchg esi, eax
salc
adc al, al
aad 0xc9
xor edi, edi
add eax, 0xa70afc76
pop ebp
ret 4
jns 0x40a381
in al, dx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x21]
test eax, eax
je 0x40a410
mov edi, dword [esp + ecx - 0x35]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x40a412
push esi
mov esi, dword [0x6af4c098]
call [0x5efc085]
pop esi
pop ebp
ret 0x4c08
mov eax, 0x3e88
add byte ds:[eax], al
pop ebp
ret 0xe3b0
Function at 0x4017e0
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x403798
call fcn.00401d10
push 1
call fcn.004013a9
pop ecx
test al, al
je 0x4017c8
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.00401377
mov byte [ebp - 0x24], al
mov eax, dword [0x40408c]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x4017c8
test eax, eax
jne 0x4016ec
mov dword [0x40408c], ecx
push 0x403130
push 0x403124
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x4016cf
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x4017b8
push 0x403120
push 0x403114
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x40408c], 2
jmp 0x4016f1
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.004014fd
pop ecx
call fcn.00401ea2
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x401722
push esi
call fcn.00401469
pop ecx
test al, al
je 0x401722
mov esi, dword [esi]
push edi
push 2
push edi
mov ecx, esi
call dword [0x403110]
call esi
call fcn.00401ea8
mov esi, eax
cmp dword [esi], edi
je 0x401740
push esi
call fcn.00401469
pop ecx
test al, al
je 0x401740
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
call fcn.00401c1a
movzx esi, ax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_narrow_winmain_command_line
push esi
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.00401c53
test al, al
je 0x4017cf
test bl, bl
jne 0x40176e
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.0040151a
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x4017b8
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 7
call fcn.00401b00
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.00573000
jmp 0x401662
Function at 0x401150
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [0x41fe40], eax
mov dword [0x41d660], 1
jmp 0x401176
mov ecx, dword [0x41d660]
add ecx, 1
mov dword [0x41d660], ecx
cmp dword [0x41d660], 0x270
jge 0x4011d3
mov edx, dword [0x41d660]
mov eax, dword [edx*4 + 0x41fe3c]
shr eax, 0x1e
mov ecx, dword [0x41d660]
xor eax, dword [ecx*4 + 0x41fe3c]
imul eax, eax, 0x6c078965
add eax, dword [0x41d660]
mov edx, dword [0x41d660]
mov dword [edx*4 + 0x41fe40], eax
mov eax, dword [0x41d660]
mov ecx, dword [0x41d660]
mov edx, dword [ecx*4 + 0x41fe40]
mov dword [eax*4 + 0x41fe40], edx
jmp 0x401167
pop ebp
ret

Function at 0x401360
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x41d660], 0x270
jl 0x40149a
cmp dword [0x41d660], 0x271
jne 0x40138f
push 0x1571
call fcn.00401150
add esp, 4
mov dword [ebp - 8], 0
jmp 0x4013a1
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xe3
jge 0x4013f7
mov ecx, dword [ebp - 8]
mov edx, dword [ecx*4 + 0x41fe40]
and edx, 0x80000000
mov eax, dword [ebp - 8]
mov ecx, dword [eax*4 + 0x41fe44]
and ecx, 0x7fffffff
or edx, ecx
mov dword [ebp - 4], edx
mov edx, dword [ebp - 4]
shr edx, 1
mov eax, dword [ebp - 8]
xor edx, dword [eax*4 + 0x420474]
mov ecx, dword [ebp - 4]
and ecx, 1
xor edx, dword [ecx*4 + 0x41d664]
mov eax, dword [ebp - 8]
mov dword [eax*4 + 0x41fe40], edx
jmp 0x401398
jmp 0x401402
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x26f
jge 0x401457
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x41fe40]
and eax, 0x80000000
mov ecx, dword [ebp - 8]
mov edx, dword [ecx*4 + 0x41fe44]
and edx, 0x7fffffff
or eax, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
shr eax, 1
mov ecx, dword [ebp - 8]
xor eax, dword [ecx*4 + 0x41fab4]
mov edx, dword [ebp - 4]
and edx, 1
xor eax, dword [edx*4 + 0x41d664]
mov ecx, dword [ebp - 8]
mov dword [ecx*4 + 0x41fe40], eax
jmp 0x4013f9
mov edx, dword [0x4207fc]
and edx, 0x80000000
mov eax, dword [0x41fe40]
and eax, 0x7fffffff
or edx, eax
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 4]
shr ecx, 1
xor ecx, dword [0x420470]
mov edx, dword [ebp - 4]
and edx, 1
xor ecx, dword [edx*4 + 0x41d664]
mov dword [0x4207fc], ecx
mov dword [0x41d660], 0
mov eax, dword [0x41d660]
mov ecx, dword [eax*4 + 0x41fe40]
mov dword [ebp - 4], ecx
mov edx, dword [0x41d660]
add edx, 1
mov dword [0x41d660], edx
mov eax, dword [ebp - 4]
shr eax, 0xb
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shl ecx, 7
and ecx, 0x9d2c5680
xor ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
shl edx, 0xf
and edx, 0xefc60000
xor edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
shr eax, 0x12
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x40c0b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x41ee68]
sub esp, 0x14
push ebp
mov ebp, dword [eax + 0x1d0]
mov eax, dword [esp + 0x1c]
push edi
test eax, eax
je 0x40c223
mov edi, dword [esp + 0x24]
test edi, edi
je 0x40c223
push ebx
push esi
mov esi, dword [eax]
mov dword [esp + 0x20], esi
test esi, esi
je 0x40c20e
mov ebx, dword [edi]
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x40c20e
push ebp
call fcn.00403300
add esp, 4
cmp esi, 2
jl 0x40c178
cmp ebx, 2
jl 0x40c178
cmp esi, ebx
jg 0x40c10f
mov esi, ebx
mov ecx, dword [ebp + 4]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [0x41ee68]
mov eax, dword [edx + 0x1ec]
push ecx
mov ecx, dword [eax + 4]
push ecx
push esi
call fcn.0040be80
lea eax, [esi + esi + 1]
mov dword [ebp], eax
mov edx, dword [0x41ee68]
mov ecx, dword [edx + 0x1ec]
push ebp
mov dword [ecx], eax
call fcn.004038a0
mov edx, dword [0x41ee68]
mov eax, dword [edx + 0x1ec]
push eax
call fcn.004038a0
mov ecx, dword [esp + 0x4c]
push ecx
push ebp
call fcn.00403ba0
add esp, 0x24
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x14
ret
xor eax, eax
lea edx, [ebx + esi]
mov dword [ebp], edx
mov dword [esp + 0x10], eax
test esi, esi
jle 0x40c1f2
xor edi, edi
test ebx, ebx
jle 0x40c1e9
lea esi, [eax*4]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x18], ecx
mov ecx, dword [edx + edi*4]
mov edx, dword [esp + 0x18]
add eax, eax
add eax, eax
mov edx, dword [eax + edx]
lea ebx, [esp + 0x1c]
call fcn.0040b490
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x1c]
xor dword [ecx + esi], edx
mov ecx, dword [ebp + 4]
xor dword [ecx + esi + 4], eax
mov eax, dword [esp + 0x10]
lea ecx, [ecx + esi + 4]
inc edi
add esi, 4
cmp edi, dword [esp + 0x14]
jl 0x40c195
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
inc eax
mov dword [esp + 0x10], eax
cmp eax, esi
jl 0x40c188
push ebp
call fcn.004038a0
mov edx, dword [esp + 0x34]
push edx
push ebp
call fcn.00403ba0
add esp, 0xc
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x14
ret
mov eax, dword [esp + 0x30]
push eax
call fcn.00403300
add esp, 4
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x14
ret
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00403300
add esp, 4
pop edi
pop ebp
add esp, 0x14
ret
Function at 0x40c240
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov ecx, dword [esp + 8]
cmp edx, ecx
jne 0x40c25a
mov eax, dword [esp + 0xc]
push eax
call fcn.00403300
add esp, 4
ret
test ecx, ecx
jne 0x40c26d
mov ecx, dword [esp + 0xc]
push ecx
push edx
call fcn.00403ba0
add esp, 8
ret
test edx, edx
jne 0x40c280
mov edx, dword [esp + 0xc]
push edx
push ecx
call fcn.00403ba0
add esp, 8
ret
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
cmp edx, ebx
jne 0x40c2bc
mov esi, dword [ecx + 4]
mov ecx, dword [ecx]
mov edx, dword [ebx]
mov edi, dword [ebx + 4]
cmp ecx, edx
jle 0x40c29c
mov edx, ecx
test edx, edx
jle 0x40c2b3
mov ecx, esi
mov eax, edi
sub ecx, edi
mov esi, edx
mov ebp, dword [ecx + eax]
xor dword [eax], ebp
add eax, 4
dec esi
jne 0x40c2a8
mov dword [ebx], edx
cmp dword [edi + edx*4 - 4], 0
jmp 0x40c315
mov esi, dword [edx + 4]
mov eax, dword [ecx + 4]
mov edx, dword [edx]
mov ecx, dword [ecx]
mov ebp, dword [ebx + 4]
mov edi, dword [ebx]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], edi
cmp ecx, edx
jle 0x40c2d9
mov edx, ecx
test edx, edx
jle 0x40c2fc
mov edi, ebp
sub esi, eax
sub edi, eax
mov ecx, edx
mov ebp, dword [esi + eax]
xor ebp, dword [eax]
add eax, 4
dec ecx
mov dword [edi + eax - 4], ebp
jne 0x40c2e5
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
cmp edx, edi
jge 0x40c30e
mov ecx, edi
lea esi, [ebp + edx*4]
sub ecx, edx
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov dword [ebx], edx
cmp dword [ebp + edx*4 - 4], 0
jne 0x40c320
push ebx
call fcn.004038a0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x40f52b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41df90]
jne 0x40f535
repz ret
jmp fcn.004102c6

Function at 0x4156c2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41df90]
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.00411b84
and dword [ebp - 0x14], 0
cmp dword [0x41fab4], 0
mov dword [ebp - 0x18], eax
jne 0x415775
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41581d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41581d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x41fab4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x41fab8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x41fabc], eax
call edi
push eax
call esi
mov dword [0x41fac4], eax
test eax, eax
je 0x415775
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x41fac0], eax
mov eax, dword [0x41fac0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4157ce
cmp dword [0x41fac4], ecx
je 0x4157ce
push eax
call esi
push dword [0x41fac4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4157ce
test ebx, ebx
je 0x4157ce
call edi
test eax, eax
je 0x4157c5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4157c5
test byte [ebp - 8], 1
jne 0x4157ce
or dword [ebp + 0x10], 0x200000
jmp 0x415801
mov eax, dword [0x41fab8]
cmp eax, dword [ebp - 0x18]
je 0x415801
push eax
call esi
test eax, eax
je 0x415801
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x415801
mov eax, dword [0x41fabc]
cmp eax, dword [ebp - 0x18]
je 0x415801
push eax
call esi
test eax, eax
je 0x415801
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x41fab4]
call esi
test eax, eax
je 0x41581d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41581f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f52b
leave
ret
Function at 0x424690
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e0e6b
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.004d57af
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x424712
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004d312d
mov eax, dword [eax]
push 0xab2d68
push eax
call fcn.004c18e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004d5a3a
test bl, bl
je 0x424712
push 0xab2d68
lea ecx, [esp + 0xc]
call fcn.004d5dca
push 0xab2d74
lea ecx, [esp + 0xc]
call fcn.004d5dca
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 0x42474e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004d5a3a
jmp 0x424819
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 0x4247d2
lea edx, [esp + 0x7c]
push 0xab2d70
push edx
call fcn.004c18e4
add esp, 8
test eax, eax
je 0x4247d2
lea eax, [esp + 0x7c]
push 0xab2d6c
push eax
call fcn.004c18e4
add esp, 8
test eax, eax
je 0x4247d2
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 0x424762
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.004d5a3a
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 0x425010
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 0x425072
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 0x425080
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e0eeb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0xae8908]
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 0x4251b8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4250e6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004d5a3a
xor eax, eax
jmp 0x42522f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004d5b77
push esi
lea ecx, [esp + 0xc]
call fcn.004d5e06
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0xab2da8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x42520d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00425010
test eax, eax
jne 0x42520d
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.00425010
test eax, eax
jne 0x42520d
lea eax, [esp + 0x14]
push 0xab2d84
push eax
call fcn.004c2ac0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4251ec
lea ecx, [esp + 0x14]
push 0xab2d80
push ecx
call fcn.004c2a40
mov esi, eax
add esp, 8
test esi, esi
jne 0x4251ec
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4251ef
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004d5b27
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4250fe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004d5a3a
xor eax, eax
jmp 0x42522f
mov byte [esi], 0
push 0xab2d7c
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.004d5a3a
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