joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a57b0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x6560ac]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x4a57c3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x4a5804
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x656154]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x4a5836
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4a583a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x4a582b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x4a5858
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4a585c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x4a584d
xor ecx, ecx
mov eax, 0x6560bc
xor ebx, ebx
mov bl, byte [ecx + 0x656164]
cmp byte [esp + ebx + 0x14], 0
je 0x4a5887
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x65617c]
cmp byte [esp + ebx + 0x14], 0
je 0x4a589e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x4a586e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x4a57f7
lea edx, [esp + 0x84]
push edx
call fcn.004a58e0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x4a76e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x4a7746
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x4a7746
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4a7727
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4a7ad0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4a7b08
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x4a8740
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4a8789
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x4a8c00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f03e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004a87b0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004a8830
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004a8830
lea ecx, [esi + 0xc]
call fcn.004da705
lea ecx, [esi + 0x10]
call fcn.004da705
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004a9d90
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004a9d90
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004a9d90
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004da77a
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004da77a
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4aee50
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
jne 0x4aee60
mov esi, 1
push esi
call fcn.004c5d97
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4aeeb2
call fcn.004c7c17
mov edi, eax
call fcn.004b19b0
mov ecx, dword [edi]
mov dword [eax], ecx
mov eax, dword [esp + 0x14]
mov edi, eax
and edi, 8
je 0x4aee96
mov edx, dword [0x65a630]
mov dword [0x65a62c], edx
test al, 0x18
je 0x4aeea7
push esi
push 0x24
push 5
call fcn.004b2200
add esp, 0xc
test edi, edi
je 0x4aeecd
push 1
call fcn.004c78f2
test byte [esp + 0x14], 0x20
je 0x4aeecd
mov ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
pop edi
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x4affd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov edx, dword [ebp + 0x10]
test edx, edx
push ebx
push esi
push edi
je 0x4b00c4
cmp byte [edx], 0
je 0x4b00b7
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
add eax, 8
or ecx, 0xffffffff
mov dword [esp + 0xc], eax
xor eax, eax
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x20]
push ecx
mov esi, ebx
call fcn.004aff50
mov edi, dword [ebp + 0xc]
push 8
lea edx, [esp + 0x20]
push edi
push edx
call fcn.004aff50
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
xor eax, edx
push eax
xor ecx, dword [esp + 0x34]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.004afec0
mov eax, dword [esp + 0x30]
add esp, 0x24
cmp edi, eax
jae 0x4b0081
sub eax, edi
mov edi, eax
lea eax, [esp + 0x20]
push eax
call fcn.004aff00
fmul qword [0x634ed0]
push ecx
fstp qword [esp]
call fcn.004c4708
fadd qword [0x634ec8]
add esp, 8
call fcn.004c47d8
mov byte [ebx], al
inc ebx
dec edi
jne 0x4b0054
lea ecx, [esp + 0x20]
push ecx
call fcn.004aff00
fmul qword [0x634ed0]
push ecx
fstp qword [esp]
call fcn.004c4708
add esp, 8
call fcn.004c47d8
cmp esi, ebx
je 0x4b00ad
xor byte [esi], al
inc esi
cmp esi, ebx
jne 0x4b00a6
mov byte [ebx], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
mov byte [edx], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
pop edi
pop esi
mov byte [eax], 0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b0490
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
lea eax, [ebx + 0x134]
push edi
lea esi, [ebx + 0x34]
mov dword [esp + 0x14], eax
xor edi, edi
mov ecx, dword [ebx + 0x1c]
mov ebp, edi
and ebp, 0xff
mov al, byte [ecx + ebp + 1]
test al, 3
je 0x4b04c0
mov byte [edi + esi], 2
jmp 0x4b04f7
test al, 4
je 0x4b04ca
mov byte [edi + esi], 0xd
jmp 0x4b04f7
mov edx, dword [ebx + 0x240]
push edi
push ebx
call dword [edx + 4]
add esp, 8
cmp eax, 1
jle 0x4b04e3
mov byte [edi + esi], 2
jmp 0x4b04f7
mov eax, dword [ebx + 0x1c]
test byte [eax + ebp + 1], 0x17
jne 0x4b04f3
mov byte [edi + esi], 0x19
jmp 0x4b04f7
mov byte [edi + esi], 1
inc edi
cmp edi, 0x100
jb 0x4b04a7
mov ecx, dword [esp + 0x14]
mov al, 7
mov byte [esi + 0x21], al
mov byte [esi + 0x3d], al
mov byte [esi + 0x3e], al
mov al, 0x10
mov byte [esi + 0x7c], al
mov byte [esi + 0x26], al
mov byte [esi + 0x24], 2
mov byte [esi + 0x5f], 2
mov byte [esi + 0x27], 9
mov byte [esi + 0x2e], 0xf
mov byte [esi + 0x3c], 8
mov byte [esi + 0x23], 0xa
mov byte [esi + 0x3b], 0x15
mov byte [esi + 0x3a], 0x16
mov byte [esi], 0x11
mov byte [esi + 0x5c], 0x12
mov byte [esi + 0x2f], 0x13
mov byte [esi + 0x2a], 0x14
mov byte [esi + 0x40], 0x17
mov byte [esi + 0x60], 0x1a
mov byte [esi + 0x22], 0x20
mov eax, esi
sub ecx, esi
mov edi, 0x100
mov dl, byte [eax]
cmp dl, 2
je 0x4b056b
cmp dl, 0xd
je 0x4b056b
xor edx, edx
jmp 0x4b0570
mov edx, 1
mov byte [ecx + eax], dl
inc eax
dec edi
jne 0x4b055b
mov al, 0x1d
mov byte [esi + 0x58], al
mov byte [esi + 0x78], al
mov al, 0x1f
pop edi
mov byte [esi + 0x62], 0x1e
mov byte [esi + 0x4e], al
mov byte [esi + 0x6e], al
pop esi
pop ebp
pop ebx
ret

Function at 0x4b0590
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
push ebx
push 0x4000
call fcn.004aee50
mov esi, eax
add esp, 8
test esi, esi
jne 0x4b05b1
pop edi
pop esi
xor al, al
pop ebx
ret
mov eax, dword [esp + 0x10]
push ebx
push 0
push eax
call fcn.004b1bf0
mov edi, eax
add esp, 0xc
test edi, edi
jge 0x4b05d6
push esi
call fcn.004aeee0
add esp, 4
pop edi
pop esi
mov al, 1
pop ebx
ret
push ebp
push 0x4000
push esi
push edi
call fcn.004d1c3a
push ebx
push edi
mov ebp, eax
call fcn.004b1c60
push 0x4b0610
push ebp
push esi
call fcn.004b2f90
push esi
call fcn.004aeee0
add esp, 0x24
pop ebp
pop edi
pop esi
xor al, al
pop ebx
ret
Function at 0x4b1920
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
push esi
push 0x7627c0
xor bl, bl
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x7626e0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x4b199b
push 0x4c
push 1
call fcn.004c69a3
mov esi, eax
add esp, 8
test esi, esi
jne 0x4b1963
push 0x7627c0
mov bl, 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov al, bl
pop ebx
ret
mov ecx, dword [0x7626e0]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x757a34]
inc eax
lea edx, [esi + 0xc]
mov dword [0x757a34], eax
push edx
mov dword [esi + 0x30], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 4]
push 0
push eax
call fcn.004b5450
add esp, 8
mov byte [esi + 0x3c], 1
push 0x7627c0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov al, bl
pop ebx
ret

Function at 0x4b1e20
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x1c], edi
call fcn.004c7c17
mov ebx, dword [esp + 0x14]
mov dword [eax], 0
mov eax, dword [esp + 0x18]
push edi
push eax
push ebx
call fcn.004d1c3a
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x4b1f1a
call fcn.004c7c17
cmp dword [eax], 0
je 0x4b1e67
call fcn.004c7c17
mov ebp, dword [eax]
jmp 0x4b1e6a
or ebp, 0xffffffff
call fcn.004b19b0
test esi, esi
mov dword [eax], ebp
jne 0x4b1e7f
call fcn.004c7c17
cmp dword [eax], 4
je 0x4b1ecf
mov eax, dword [esp + 0x20]
test al, 0x1a
je 0x4b1eb2
cmp esi, 0xffffffff
je 0x4b1ef4
test al, 6
je 0x4b1eb2
call fcn.004b19b0
mov ecx, dword [eax]
push ecx
push ebx
call fcn.004b5480
add esp, 4
push eax
push 0x24
push 9
call fcn.004b2200
mov eax, dword [esp + 0x30]
add esp, 0x10
cmp esi, 0xffffffff
je 0x4b1f12
test al, 6
je 0x4b1ec0
test ah, 2
je 0x4b1f12
test esi, esi
jbe 0x4b1f1e
test ah, 2
je 0x4b1f1e
add dword [esp + 0x18], esi
sub edi, esi
call fcn.004c7c17
mov edx, dword [esp + 0x18]
push edi
push edx
push ebx
mov dword [eax], 0
call fcn.004d1c3a
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x4b1f1a
jmp 0x4b1e54
call fcn.004b19b0
mov eax, dword [eax]
push eax
push ebx
call fcn.004b5480
add esp, 4
push eax
push 0x24
push 2
call fcn.004b2200
add esp, 0x10
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
mov eax, dword [esp + 0x20]
test al, 6
je 0x4b1f2b
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
test ah, 2
je 0x4b1f34
mov esi, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret

Function at 0x4c8b84
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4c8ba4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004c7ba4
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4c8bc7
test byte [esp + 8], 2
je 0x4c8bc7
call fcn.004c7c17
mov dword [eax], 0xd
call fcn.004c7c20
mov dword [eax], 5
jmp 0x4c8ba0
xor eax, eax
ret
Function at 0x4dcb99
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4dcbd1
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004dabd5
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004dabad
jmp 0x4dcbdd
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4de51a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4de55c
call fcn.004e4eb5
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4de55c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4de553
xor eax, eax
jmp 0x4de564
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004de56a
pop edi
pop esi
pop ebx
ret 4

Function at 0x4e53e5
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4e5413
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4e5431
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004e534b
jmp 0x4e5431
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4e5431
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004e534b
test edi, edi
mov eax, edi
jne 0x4e541b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4e7d0e
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x4e7d36
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x4e7d47
push 2
call edi
test ax, ax
jge 0x4e7d47
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.004dc1ce
cmp dword [esi + 0x30], ebx
jne 0x4e7e21
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.004dc1ce
cmp eax, dword [esp + 0x34]
jne 0x4e7e21
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x4e7dbd
push 1
push 0x108
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x4e7e02
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x4e7e21
cmp eax, 0x205
je 0x4e7e21
cmp eax, 0x201
je 0x4e7e21
cmp eax, 0x204
je 0x4e7e21
cmp eax, ebx
jne 0x4e7de8
cmp dword [esp + 0x1c], 0x1b
je 0x4e7e21
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x761ee8]
jbe 0x4e7e17
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x4e7d7a
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x407378
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
jge 0x40739a
mov eax, 0xfffffffd
jmp 0x407412
mov ebx, dword [0x587300]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x4073e0
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x587300]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x407408
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x407412
mov esp, ebp
pop ebp
ret 4

Function at 0x419391
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
mov ecx, dword fs:[0x30]
mov al, byte [ecx + 2]
leave
ret
Function at 0x426540
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48c84b
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.0047f74e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4265c2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047d204
mov eax, dword [eax]
push 0x578240
push eax
call fcn.0046fe04
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0047f9d9
test bl, bl
je 0x4265c2
push 0x578240
lea ecx, [esp + 0xc]
call fcn.0047fdb5
push 0x57bd88
lea ecx, [esp + 0xc]
call fcn.0047fdb5
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 0x4265fe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0047f9d9
jmp 0x4266c9
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 0x426682
lea edx, [esp + 0x7c]
push 0x57bd84
push edx
call fcn.0046fe04
add esp, 8
test eax, eax
je 0x426682
lea eax, [esp + 0x7c]
push 0x57bd80
push eax
call fcn.0046fe04
add esp, 8
test eax, eax
je 0x426682
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 0x426612
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.0047f9d9
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 0x426ec0
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 0x426f22
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 0x426f30
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48c8cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x582c60]
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 0x427068
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x426f96
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047f9d9
xor eax, eax
jmp 0x4270df
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0047fb62
push esi
lea ecx, [esp + 0xc]
call fcn.0047fdf1
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4270bd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.00426ec0
test eax, eax
jne 0x4270bd
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 SysReAllocStringLen
mov ecx, edi
call fcn.00426ec0
test eax, eax
jne 0x4270bd
lea eax, [esp + 0x14]
push 0x57bd9c
push eax
call fcn.00470f20
mov esi, eax
add esp, 8
test esi, esi
jne 0x42709c
lea ecx, [esp + 0x14]
push 0x57bd98
push ecx
call fcn.00470ea0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42709c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42709f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0047fb12
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x426fae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047f9d9
xor eax, eax
jmp 0x4270df
mov byte [esi], 0
push 0x57bd94
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.0047f9d9
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