joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4298f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
mov ecx, 0x7fffffff
cmp dword [ebp + 8], ebx
jle 0x42993b
mov edx, dword [ebp + 0x10]
imul edx, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp + 0x10], edx
nop
mov eax, dword [edi + 4]
mov esi, ecx
imul eax, dword [edi]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, edi
cmp eax, ecx
cmovl ecx, eax
cmp eax, esi
cmovge edx, ebx
add edi, 0xc
sub dword [ebp + 8], 1
mov ebx, edx
mov edx, dword [ebp + 0x10]
jne 0x429910
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret

Function at 0x42a1c0
Capabilities:
Register raw input devices

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x460a40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xc]
push edi
push eax
mov dword [0x464390], ebx
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x42a21b
lea eax, [ebp - 0xc]
push eax
push dword [ebx + 0x2ac]
call dword [sym.imp.USER32.dll_ScreenToClient]
movd xmm0, dword [ebp - 0xc]
cvtdq2pd xmm0, xmm0
movsd qword [0x464380], xmm0
movd xmm0, dword [ebp - 8]
cvtdq2pd xmm0, xmm0
movsd qword [0x464388], xmm0
cmp dword [ebx + 0x68], 0x34001
jne 0x42a240
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x42a230
push dword [eax + 4]
jmp 0x42a242
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
jmp 0x42a242
push 0
call dword [sym.imp.USER32.dll_SetCursor]
push ebx
call fcn.00411046
add esp, 4
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 0x2ac]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 0x2ac]
call dword [sym.imp.USER32.dll_ClientToScreen]
lea eax, [ebp - 0xc]
push eax
push dword [ebx + 0x2ac]
call dword [sym.imp.USER32.dll_ClientToScreen]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_ClipCursor]
cmp dword [ebx + 0x1e8], 0
je 0x42a2cf
mov eax, dword [ebx + 0x2ac]
push 0xc
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push 1
push eax
mov dword [ebp - 0x10], 0x20001
mov dword [ebp - 0xc], 0
call dword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x42a2cf
push str.Win32:_Failed_to_register_raw_input_device
push 0x10008
call fcn.0041123f
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00411703
mov esp, ebp
pop ebp
ret
Function at 0x42a330
Capabilities:
Register raw input devices

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x1e8], 0
je 0x42a37c
push 0xc
push 1
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x20001
push eax
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x42a37c
push str.Win32:_Failed_to_remove_raw_input_device
push 0x10008
call fcn.0041123f
add esp, 8
push 0
mov dword [0x464390], 0
call dword [sym.imp.USER32.dll_ClipCursor]
cvttsd2si eax, qword [0x464388]
cvttsd2si ecx, qword [0x464380]
mov dword [ebp - 4], eax
mov dword [esi + 0x2dc], eax
lea eax, [ebp - 8]
push eax
push dword [esi + 0x2ac]
mov dword [ebp - 8], ecx
mov dword [esi + 0x2d8], ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetCursorPos]
cmp dword [esi + 0x68], 0x34001
jne 0x42a403
mov eax, dword [esi + 0x40]
test eax, eax
je 0x42a3ea
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetCursor]
pop esi
mov esp, ebp
pop ebp
ret
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
pop esi
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.USER32.dll_SetCursor]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42a450
Capabilities:
Register raw input devices

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push 0xc
push 1
mov dword [ebp - 0xc], 0x20001
mov eax, dword [eax + 0x2ac]
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 8], 0
call dword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x42a494
push str.Win32:_Failed_to_register_raw_input_device
push 0x10008
call fcn.0041123f
add esp, 8
mov esp, ebp
pop ebp
ret

Function at 0x42a600
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push esi
push edi
push 0x10
call ebx
movzx esi, ax
push 0x11
shr esi, 0xf
call ebx
mov edi, esi
or edi, 2
bt ax, 0xf
push 0x12
cmovae edi, esi
call ebx
mov ebx, edi
or ebx, 4
bt ax, 0xf
push 0x5c
cmovae ebx, edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
call edi
push 0x5b
mov si, ax
call edi
mov edi, ebx
or edi, 8
or si, ax
push 0x14
cmovns edi, ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
call ebx
mov esi, edi
or esi, 0x10
test al, 1
push 0x90
cmove esi, edi
call ebx
mov ecx, esi
or ecx, 0x20
test al, 1
pop edi
cmove ecx, esi
pop esi
mov eax, ecx
pop ebx
ret
Function at 0x1643700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0164378f
jae 0x164370e
xor ecx, ecx
call fcn.0164378f
jae 0x164373d
xor eax, eax
call fcn.0164378f
jae 0x164374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0164378f
adc al, al
jae 0x164372f
jne 0x1643779
stosb byte es:[edi], al
jmp 0x1643711
call fcn.0164379b
sub ecx, ebx
jne 0x1643756
call fcn.01643799
jmp 0x1643775
lodsb al, byte [esi]
shr eax, 1
je 0x1643783
adc ecx, ecx
jmp 0x1643772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.01643799
cmp eax, 0x7d00
jae 0x1643772
cmp ah, 5
jae 0x1643773
cmp eax, 0x7f
ja 0x1643774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1643711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x407458
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x407467
pop dword [ebp - 0x10]
mov eax, 0xa0e9de7a
add eax, 0x5f5695ed
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xa4b1cfef
add dword [ebp - 0x20], 0xa9a0755c
mov dword [ebp - 0x1c], 0xacda1f98
add dword [ebp - 0x1c], 0x85592cad
mov dword [ebp - 0x18], 0xfbcf904d
sub dword [ebp - 0x18], 0xaf834c1f
mov dword [ebp - 0x14], 0xef4b838b
sub dword [ebp - 0x14], 0xef4b838b
lea eax, [ebp - 0x20]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x9df2831b
sub dword [ebp - 0x20], 0x298019c5
mov dword [ebp - 0x1c], 0x1bcad6aa
sub dword [ebp - 0x1c], 0xda5e7535
mov dword [ebp - 0x18], 0x2806288a
add dword [ebp - 0x18], 0x3b6943e2
mov dword [ebp - 0x14], 0xd03b2025
add dword [ebp - 0x14], 0x2fc4dfdb
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x1663d5fe
sub eax, 0x16235582
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x35434
push 0
call eax
mov ecx, 0xffa40952
sub ecx, 0xffa3c8ad
xor edi, edi
add edi, eax
mov edx, 0xca244105
add edx, 0x3620d2fb
add edx, dword [ebp - 0x10]
mov esi, 0x9fed27b
add esi, 0x992bffb
mov dword [ebp - 4], 0xda2d892a
mov ebx, dword [edx]
xor dword [ebp - 8], eax
xor ebx, esi
xor dword [ebp - 8], 0xb6f37ac2
mov dword [edi], ebx
sub dword [ebp - 4], edi
add edi, 0x23407d2a
sub edi, 0x23407d26
add edx, 0xfb7a6c1f
add edx, 0x48593e5
loop 0x407586
add eax, 0xf567
mov ebx, eax
add eax, 0xf598a03
sub eax, 0xf5989fe
mov ecx, 0x5b3aa95
sub ecx, 0x573aa95
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x4133b1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x413486
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x413486
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x413486
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x41340c
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x413486
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x413451
test dl, dl
je 0x41344d
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x413451
add ecx, 2
add eax, 2
test dl, dl
jne 0x413431
xor eax, eax
jmp 0x413456
sbb eax, eax
or eax, 1
test eax, eax
jne 0x413468
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x413473
inc esi
cmp esi, ebp
jae 0x413486
mov edx, dword [esp + 0x10]
jmp 0x413427
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8

Function at 0x4136ea
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x4136f5
xor eax, eax
ret
push esi
mov esi, dword [esp + 0xc]
cmp esi, 0x40
jb 0x413709
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x41370d
xor eax, eax
pop esi
ret
push edi
mov edi, dword [ecx + 0x3c]
lea eax, [edi + 0xf8]
cmp esi, eax
jb 0x413746
cmp dword [edi + ecx], 0x4550
jne 0x413746
mov eax, 0x14c
cmp word [edi + ecx + 4], ax
jne 0x413746
test byte [edi + ecx + 0x16], 2
je 0x413746
movzx eax, word [edi + ecx + 0x14]
mov edx, 0xe0
cmp ax, dx
jae 0x41374b
pop edi
xor eax, eax
pop esi
ret
push ebx
add eax, 0xffffff20
movzx ebx, ax
add ebx, edi
movzx edi, word [edi + ecx + 6]
add ebx, ecx
xor edx, edx
test edi, edi
jle 0x413787
xor eax, eax
jmp 0x41376a
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*8 + 0x10c]
add ecx, dword [ebx + eax*8 + 0x108]
cmp ecx, esi
ja 0x413790
inc edx
movzx eax, dx
cmp eax, edi
jl 0x41376a
pop ebx
pop edi
mov eax, 1
pop esi
ret
pop ebx
pop edi
xor eax, eax
pop esi
ret
Function at 0x413796
Capabilities:
Access peb ldr_data

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x10]
mov edi, dword [ebp + 0x30]
mov esi, dword [esp + 0x18]
movzx ebx, word [esi]
mov eax, ebx
lea ecx, [eax - 0x41]
cmp ecx, 0x19
ja 0x4137ce
add eax, 0x20
movzx edx, word [edi]
lea ecx, [edx - 0x41]
cmp ecx, 0x19
ja 0x4137dc
add edx, 0x20
cmp eax, edx
jne 0x4137ed
test bx, bx
je 0x413822
add esi, 2
add edi, 2
jmp 0x4137be
movzx ecx, word [esi]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x4137fb
add ecx, 0x20
movzx edx, word [edi]
lea eax, [edx - 0x41]
cmp eax, 0x19
ja 0x413809
add edx, 0x20
sub ecx, edx
je 0x413822
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0x18], 0
jne 0x4137b7
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x41383b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x413914
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x413914
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x413914
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x41389a
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x413914
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4138df
test dl, dl
je 0x4138db
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4138df
add ecx, 2
add eax, 2
test dl, dl
jne 0x4138bf
xor eax, eax
jmp 0x4138e4
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4138f6
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x413901
inc esi
cmp esi, ebp
jae 0x413914
mov edx, dword [esp + 0x10]
jmp 0x4138b5
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
Function at 0x413930
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0x48
push ebx
push ebp
push esi
mov esi, dword [esp + 0x58]
push edi
test esi, esi
je 0x413a58
xor eax, eax
mov word [esp + 0x54], ax
mov byte [esp + 0x38], al
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x40], 0x65006b
mov dword [esp + 0x44], 0x6e0072
mov dword [esp + 0x48], 0x6c0065
mov dword [esp + 0x4c], 0x320033
mov dword [esp + 0x50], 0x64002e
mov dword [esp + 0x54], 0x6c006c
mov dword [esp + 0x2c], 0x4d746547
mov dword [esp + 0x30], 0x6c75646f
mov dword [esp + 0x34], 0x6e614865
mov dword [esp + 0x38], 0x41656c64
mov dword [esp + 0x14], 0x65657246
mov dword [esp + 0x18], 0x7262694c
mov dword [esp + 0x1c], 0x797261
mov dword [esp + 0x20], 0x74726956
mov dword [esp + 0x24], 0x466c6175
mov dword [esp + 0x28], 0x656572
call fcn.00413b92
add esp, 4
mov ebx, eax
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.00413a64
mov ebp, eax
test ebp, ebp
je 0x413a58
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.00413a64
mov edi, eax
test edi, edi
je 0x413a58
lea eax, [esp + 0x1c]
push eax
push ebx
call fcn.00413a64
mov ebx, eax
test ebx, ebx
je 0x413a58
mov ecx, dword [esi + 0x3c]
mov eax, 0x2000
test word [ecx + esi + 0x16], ax
je 0x413a34
mov eax, dword [ecx + esi + 0x28]
test eax, eax
je 0x413a34
push 0
push 0
push esi
add eax, esi
call eax
push edi
push ebp
push esi
call fcn.00413b45
add esp, 0xc
push 0x8000
push 0
push esi
call ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x48
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x48
ret 4

Function at 0x413a64
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x413b39
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x413b39
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x413b39
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x413abf
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x413b39
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x413b04
test dl, dl
je 0x413b00
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x413b04
add ecx, 2
add eax, 2
test dl, dl
jne 0x413ae4
xor eax, eax
jmp 0x413b09
sbb eax, eax
or eax, 1
test eax, eax
jne 0x413b1b
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x413b26
inc esi
cmp esi, ebp
jae 0x413b39
mov edx, dword [esp + 0x10]
jmp 0x413ada
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
Function at 0x413b92
Capabilities:
Access peb ldr_data

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x10]
mov edi, dword [ebp + 0x30]
mov esi, dword [esp + 0x18]
movzx ebx, word [esi]
mov eax, ebx
lea ecx, [eax - 0x41]
cmp ecx, 0x19
ja 0x413bca
add eax, 0x20
movzx edx, word [edi]
lea ecx, [edx - 0x41]
cmp ecx, 0x19
ja 0x413bd8
add edx, 0x20
cmp eax, edx
jne 0x413be9
test bx, bx
je 0x413c1e
add esi, 2
add edi, 2
jmp 0x413bba
movzx ecx, word [esi]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x413bf7
add ecx, 0x20
movzx edx, word [edi]
lea eax, [edx - 0x41]
cmp eax, 0x19
ja 0x413c05
add edx, 0x20
sub ecx, edx
je 0x413c1e
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0x18], 0
jne 0x413bb3
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x435480
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d451b
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.004c6bcd
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x435502
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004c4353
mov eax, dword [eax]
push 0x54fd04
push eax
call fcn.004b6174
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004c6e58
test bl, bl
je 0x435502
push 0x54fd04
lea ecx, [esp + 0xc]
call fcn.004c7234
push 0x54fd10
lea ecx, [esp + 0xc]
call fcn.004c7234
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 0x43553e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004c6e58
jmp 0x435609
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 0x4355c2
lea edx, [esp + 0x7c]
push 0x54fd0c
push edx
call fcn.004b6174
add esp, 8
test eax, eax
je 0x4355c2
lea eax, [esp + 0x7c]
push 0x54fd08
push eax
call fcn.004b6174
add esp, 8
test eax, eax
je 0x4355c2
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 0x435552
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.004c6e58
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 0x435e00
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 0x435e62
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 0x435e70
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d459b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x562a08]
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 0x435fa8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x435ed6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c6e58
xor eax, eax
jmp 0x43601f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004c6fe1
push esi
lea ecx, [esp + 0xc]
call fcn.004c7270
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 0x435ffd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.00435e00
test eax, eax
jne 0x435ffd
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.00435e00
test eax, eax
jne 0x435ffd
lea eax, [esp + 0x14]
push 0x54fd20
push eax
call fcn.004b7380
mov esi, eax
add esp, 8
test esi, esi
jne 0x435fdc
lea ecx, [esp + 0x14]
push 0x54fd1c
push ecx
call fcn.004b7300
mov esi, eax
add esp, 8
test esi, esi
jne 0x435fdc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x435fdf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004c6f91
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x435eee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c6e58
xor eax, eax
jmp 0x43601f
mov byte [esi], 0
push 0x54fd18
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.004c6e58
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