joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45f524
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45f58e
mov eax, ebx
call fcn.004618e8
test al, al
jne 0x45f58e
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404bc8
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x45f57b
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x45f59b
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b2c
jmp 0x45f59b
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b2c
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x460a0c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x460a7a
mov eax, esi
call fcn.00449708
test al, al
je 0x460a7a
mov eax, dword [ebx + 0x84]
call fcn.00449394
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x460a7a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x460a6e
push 0
mov eax, dword [ebx + 0x84]
call fcn.00449394
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004411f4
jmp 0x460a7a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00460848
pop esi
pop ebx
ret

Function at 0x464a74
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x464aa2
mov eax, ebx
call fcn.00465528
cmp dword [ebx + 0x40], 0
je 0x464a9b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x464b13
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x464b05
cmp dword [ebx + 8], 0
je 0x464ac4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x464ad6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x464b05
cmp dword [ebx + 8], 0
je 0x464ab7
cmp eax, 3
je 0x464ae9
dec eax
jne 0x464ab7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x464ab7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x464ab7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x464b31
cmp dword [ebx + 0x14], 0xcc
je 0x464b31
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00464b3c
pop ebx
ret
Function at 0x47549c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x4078a0]
call fcn.00405548
xor eax, eax
push ebp
push 0x47563d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x489194], 0
jne 0x4754f7
mov ecx, dword [0x489b7c]
mov dl, 1
mov eax, dword [0x407e94]
call fcn.0040c9c4
call fcn.00404520
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.004035e0
mov eax, ebx
call fcn.00405418
mov dword [ebp - 0x24], eax
mov esi, 0x47564c
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.004064e0
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405428
test eax, eax
jle 0x4755e0
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4755cc
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404d48
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x475572
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00404d60
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x475588
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00404d60
mov eax, dword [ebp - 0x54]
call fcn.00404f68
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404d48
mov eax, dword [ebp - 0x58]
call fcn.00404f68
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x4755ce
xor eax, eax
test al, al
je 0x4755d9
mov ebx, 0x15
jmp 0x4755e5
mov ebx, 0x10
jmp 0x4755e5
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x489194]
call fcn.0047531c
mov eax, dword [ebp - 4]
call fcn.0047531c
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.004064f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475644
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404afc
lea eax, [ebp - 0xc]
mov edx, dword [0x4078a0]
call fcn.00405618
ret

Function at 0x47d298
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
movzx ebx, bl
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
movzx edx, dl
movzx eax, al
add eax, eax
add eax, eax
add eax, eax
lea eax, [eax*8 + 0x489424]
movzx eax, byte [eax + edx]
and al, 0xf
pop ebx
ret
Function at 0x47d2d0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x47d2e8
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x47d2e1
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.004035e0
xor edx, edx
mov eax, 0x489624
movzx ebx, byte [eax]
mov ecx, ebx
and cl, 7
movzx ecx, cl
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
movzx ecx, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x47d34f
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x47d306
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x47d590
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x47d5a9
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x47d5a2
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x47d5bb
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x47d5b4
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.0047d188
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
movzx ecx, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x47d5d5
movzx eax, byte [ebp - 0xa]
movzx edx, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
movzx edx, byte [ebp - 9]
movzx ecx, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
add edx, edx
add edx, edx
movzx eax, byte [ebp - 8]
movzx ecx, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
movzx eax, byte [ebp - 7]
movzx edx, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
movzx edx, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
movzx eax, byte [ebp - 6]
and al, 0xf
add eax, eax
add eax, eax
movzx edx, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
movzx eax, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
movzx edx, byte [esi]
call fcn.0047d298
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x47d65d
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
movzx ecx, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x47d67b
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.0047d218
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
movzx ecx, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x47d6a5
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x47d6bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x47d6d5
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x47d6ce
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
movzx edx, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x47d6e9
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0047d088
test bl, bl
jne 0x47d7c3
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x48ed54
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x47d721
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
movzx ecx, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x47d736
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0047d590
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
movzx ebx, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x47d769
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x47d716
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
movzx ebx, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x47d78d
mov eax, 4
mov edx, dword [ebp + 0xc]
movzx ecx, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x47d79f
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
movzx ebx, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x47d7b4
jmp 0x47d884
cmp bl, 1
jne 0x47d884
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x48edae
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x47d7e3
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
movzx ecx, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x47d7f8
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0047d590
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x47d82b
sub ebx, 6
inc dword [ebp - 8]
jne 0x47d7d8
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x47d853
mov eax, 4
mov ebx, dword [ebp + 0xc]
movzx edx, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x47d865
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
movzx ecx, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x47d87a
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0047d108
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x4827b0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48281d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xfd
lea eax, [ebp - 4]
mov edx, 0xfe
call fcn.004051f8
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404f68
push eax
call sub.advapi32.dll_GetUserNameA
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004051f8
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00404b2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482824
lea eax, [ebp - 4]
call fcn.00404ad8
ret

Function at 0x482aac
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f58
mov eax, dword [ebp - 8]
call fcn.00404f58
xor eax, eax
push ebp
push 0x482c49
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x14], eax
push 0x64
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x482a80]
call fcn.00405dfc
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
push 0
call sub.user32.dll_GetKeyboardLayoutList
cmp eax, 1
jl 0x482c10
mov edx, dword [ebp - 0x10]
push edx
push eax
call sub.user32.dll_GetKeyboardLayoutList
mov esi, eax
dec esi
test esi, esi
jl 0x482c10
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + ebx*4]
push eax
call sub.imm32.dll_ImmIsIME
test al, al
je 0x482c08
lea eax, [ebp - 0x119]
xor ecx, ecx
mov edx, 0x104
call fcn.004035e0
push 0x104
lea eax, [ebp - 0x119]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + ebx*4]
push eax
call sub.imm32.dll_ImmGetIMEFileNameA
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x119]
mov ecx, 0x105
call fcn.00404d48
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 0xc]
call fcn.00408b28
mov eax, dword [ebp - 0x120]
push eax
lea edx, [ebp - 0x124]
mov eax, dword [ebp - 4]
call fcn.00408b28
mov edx, dword [ebp - 0x124]
pop eax
call fcn.00404f00
jne 0x482bc5
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0x14], eax
jmp 0x482c10
push 0x104
lea eax, [ebp - 0x119]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + ebx*4]
push eax
call sub.imm32.dll_ImmGetDescriptionA
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x119]
mov ecx, 0x105
call fcn.00404d48
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404f00
jne 0x482c08
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0x14], eax
jmp 0x482c10
inc ebx
dec esi
jne 0x482b38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482c50
lea eax, [ebp - 0x124]
mov edx, 2
call fcn.00404afc
lea eax, [ebp - 0x10]
mov edx, dword [0x482a80]
call fcn.00405e08
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404afc
ret
Function at 0x482c5c
Capabilities:
Check if file exists
Copy file
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffddc
push ebx
xor ecx, ecx
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f58
mov eax, dword [ebp - 8]
call fcn.00404f58
xor eax, eax
push ebp
push 0x482e3d
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x111]
xor ecx, ecx
mov edx, 0x104
call fcn.004035e0
lea eax, [ebp - 0x216]
xor ecx, ecx
mov edx, 0x104
call fcn.004035e0
push 0x104
lea eax, [ebp - 0x216]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
test eax, eax
jne 0x482ceb
mov dword [0x489b30], 0x271b
jmp 0x482e12
cmp byte [ebp + eax - 0x217], 0x5c
je 0x482cfe
mov byte [ebp + eax - 0x216], 0x5c
inc eax
push 0x482e4c
lea eax, [ebp + eax - 0x216]
push eax
call sub.kernel32.dll_lstrcpyA
mov eax, 0x48fea8
lea edx, [ebp - 0x216]
mov ecx, 0x105
call fcn.00404d48
lea eax, [ebp - 0x216]
push eax
call sub.shlwapi.dll_PathFileExistsA
cmp eax, 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x482da1
lea eax, [ebp - 0x21c]
lea edx, [ebp - 0x216]
mov ecx, 0x105
call fcn.00404d48
mov eax, dword [ebp - 0x21c]
call fcn.00404f68
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x482d76
mov dword [0x489b30], 0x271c
lea eax, [ebp - 0x216]
push eax
call sub.shlwapi.dll_PathFileExistsA
cmp eax, 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x482da1
mov eax, dword [ebp - 0xc]
call fcn.00404f68
push eax
lea eax, [ebp - 0x216]
push eax
call sub.kernel32.dll_lstrcpyA
push 0
lea eax, [ebp - 0x216]
push eax
lea edx, [ebp - 0x224]
xor eax, eax
call fcn.004032d4
mov eax, dword [ebp - 0x224]
lea edx, [ebp - 0x220]
call fcn.00409640
lea eax, [ebp - 0x220]
mov edx, dword [ebp - 4]
call fcn.00404da4
mov eax, dword [ebp - 0x220]
call fcn.00404f68
push eax
call sub.kernel32.dll_CopyFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x482dfb
mov dword [0x489b30], 0x271d
mov eax, dword [ebp - 8]
call fcn.00404f68
push eax
lea eax, [ebp - 0x216]
push eax
call sub.imm32.dll_ImmInstallIMEA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482e44
lea eax, [ebp - 0x224]
mov edx, 3
call fcn.00404afc
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404afc
ret
Function at 0x483ba0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f58
xor eax, eax
push ebp
push 0x4844e7
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x484454
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.004035e0
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], bx
mov dword [ebp - 0x54], 0xc
xor eax, eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 0xffffffff
mov dword [ebp - 0x60], 0xc
xor eax, eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 0xffffffff
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0x4000000
push 0
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 4]
call fcn.00404f68
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x4844cf
mov ebx, dword [ebp - 0x70]
jmp 0x4844d1
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4844ee
lea eax, [ebp - 4]
call fcn.00404ad8
ret
Function at 0x4358f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49dfdb
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.004920fd
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x435972
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048f7dd
mov eax, dword [eax]
push 0x4c51e4
push eax
call fcn.004825c4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00492388
test bl, bl
je 0x435972
push 0x4c51e4
lea ecx, [esp + 0xc]
call fcn.00492718
push 0x4c8d5c
lea ecx, [esp + 0xc]
call fcn.00492718
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 0x4359ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00492388
jmp 0x435a79
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 0x435a32
lea edx, [esp + 0x7c]
push 0x4c8d58
push edx
call fcn.004825c4
add esp, 8
test eax, eax
je 0x435a32
lea eax, [esp + 0x7c]
push 0x4c8d54
push eax
call fcn.004825c4
add esp, 8
test eax, eax
je 0x435a32
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 0x4359c2
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.00492388
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 0x436290
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 0x4362f2
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 0x436300
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49e05b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4cf234]
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 0x436438
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x436366
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00492388
xor eax, eax
jmp 0x4364af
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004924c5
push esi
lea ecx, [esp + 0xc]
call fcn.00492754
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 0x43648d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00436290
test eax, eax
jne 0x43648d
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 accept
mov ecx, edi
call fcn.00436290
test eax, eax
jne 0x43648d
lea eax, [esp + 0x14]
push 0x4c8d70
push eax
call fcn.00483600
mov esi, eax
add esp, 8
test esi, esi
jne 0x43646c
lea ecx, [esp + 0x14]
push 0x4c8d6c
push ecx
call fcn.00483580
mov esi, eax
add esp, 8
test esi, esi
jne 0x43646c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x43646f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00492475
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x43637e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00492388
xor eax, eax
jmp 0x4364af
mov byte [esi], 0
push 0x4c8d68
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.00492388
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