joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ece6
Capabilities:
Read file on windows

Disassembly:
push ebx
push edi
push esi
sub esp, 0x404
mov eax, dword [0x4b6074]
mov ebx, esp
mov edi, ecx
xor eax, esp
mov dword [esp + 0x400], eax
push ecx
push 0x3ff
push 1
push ebx
call fcn.0047d492
add esp, 0x10
mov esi, eax
push edi
call fcn.0047e1a1
add esp, 4
test esi, esi
js 0x43ed30
xor edi, edi
inc edi
cmp esi, 0x20
jge 0x43ed37
mov esi, edi
jmp 0x43ef08
xor esi, esi
jmp 0x43ef08
cmp esi, 0x400
jb 0x43ed56
push 0x615
push str..._sshpubk.c
push str.i___0__i___sizeof_buf_
call fcn.0047b26f
add esp, 0xc
mov byte [esp + esi], 0
movdqu xmm0, xmmword [esp]
movdqu xmm1, xmmword [esp + 0x10]
pcmpeqb xmm1, xmmword [str.FILE_FORMAT_1.1_nSSH_PRIVATE_KEY_PuTTY_User_Key_FENCRYPTED_PRIVAT_____BEGIN_SSH2]
pcmpeqb xmm0, xmmword [0x494520]
pand xmm0, xmm1
pmovmskb eax, xmm0
cmp eax, 0xffff
je 0x43eee0
push 0x1a
push str._____BEGIN_SSH2_PUBLIC_KEY
push ebx
call fcn.0046fddd
add esp, 0xc
test eax, eax
je 0x43eee7
movdqu xmm0, xmmword [esp]
movd xmm1, dword [esp + 0x10]
mov eax, 0x2d656c69
movd xmm2, eax
pcmpeqb xmm0, xmmword [0x494530]
pcmpeqb xmm2, xmm1
pand xmm0, xmm2
pmovmskb eax, xmm0
cmp eax, 0xffff
je 0x43eeee
push 0x1e
push str._____BEGIN_OPENSSH_PRIVATE_KEY
push ebx
call fcn.0046fddd
add esp, 0xc
test eax, eax
je 0x43eef5
push 0xb
push str._____BEGIN
push ebx
call fcn.0046fddd
add esp, 0xc
test eax, eax
je 0x43eefc
movdqu xmm0, xmmword [esp]
movdqu xmm1, xmmword [esp + 0x10]
pcmpeqb xmm1, xmmword [0x494540]
pcmpeqb xmm0, xmmword [0x494550]
pand xmm0, xmm1
pmovmskb eax, xmm0
cmp eax, 0xffff
je 0x43ef03
push str.0123456789
push ebx
call fcn.0047e890
add esp, 8
cmp byte [esp + eax], 0x20
jne 0x43ee8e
lea esi, [esp + eax]
lea eax, [esi + 1]
push str.0123456789
push eax
call fcn.0047e890
add esp, 8
cmp byte [esi + eax + 1], 0x20
jne 0x43ee8e
lea esi, [esi + eax + 1]
lea eax, [esi + 1]
push str.0123456789
push eax
call fcn.0047e890
add esp, 8
mov al, byte [esi + eax + 1]
mov esi, 8
test al, al
je 0x43ef08
cmp al, 0xa
je 0x43ef08
cmp al, 0x20
je 0x43ef08
push 0x4abc6f
push ebx
call fcn.0047e400
add esp, 8
mov esi, eax
push eax
push ebx
call fcn.0043db0a
add esp, 8
test eax, eax
je 0x43ed29
lea eax, [esp + esi + 1]
lea ebx, [esp + esi]
push str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_
push eax
call fcn.0047e890
add esp, 8
mov al, byte [eax + ebx + 1]
mov esi, 0xa
test al, al
je 0x43ef08
cmp al, 0xa
je 0x43ef08
cmp al, 0x20
jne 0x43ed29
jmp 0x43ef08
mov esi, 2
jmp 0x43ef08
mov esi, 9
jmp 0x43ef08
mov esi, 3
jmp 0x43ef08
mov esi, 6
jmp 0x43ef08
mov esi, 5
jmp 0x43ef08
mov esi, 7
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.0046ef41
mov eax, esi
add esp, 0x404
pop esi
pop edi
pop ebx
ret
Function at 0x44033f
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x50
mov dword [esp + 8], edx
mov edi, dword [esp + 0x6c]
mov eax, dword [0x4b6074]
xor eax, esp
test edi, edi
mov dword [esp + 0x4c], eax
jle 0x4403ee
mov esi, dword [esp + 0x68]
mov ebx, ecx
mov dword [esp], 0
mov dword [esp + 4], ecx
mov eax, dword [ebx + 0x10]
mov ebp, edi
cmp edi, eax
cmovg ebp, eax
cmp eax, 0x41
jl 0x440398
push 0x333
push str..._sshrsa.c
push str.h__hlen___MAX_HASH_LEN
call fcn.0047b26f
add esp, 0xc
push ebx
call dword [ebx]
add esp, 4
mov ebx, eax
push dword [esp + 0x64]
push dword [esp + 0xc]
push dword [eax + 4]
call fcn.00410810
add esp, 0xc
push dword [esp]
push dword [ebx + 4]
call fcn.00410917
add esp, 8
mov eax, dword [ebx]
lea ecx, [esp + 0xc]
push ecx
push ebx
call dword [eax + 8]
add esp, 8
test ebp, ebp
jle 0x4403e1
xor eax, eax
mov cl, byte [esp + eax + 0xc]
xor byte [esi + eax], cl
inc eax
cmp eax, ebp
jl 0x4403d5
mov ebx, dword [esp + 4]
inc dword [esp]
add esi, ebp
sub edi, ebp
jg 0x440372
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.0046ef41
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x450ca3
Capabilities:
Encode data using base64
Parse credit card information
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x111c], 2
jl 0x450cef
mov eax, dword [esp + 0xc]
cmp dword [esi + 0x1114], eax
jne 0x450cef
xor eax, eax
mov dword [esi + 0xe1c], eax
mov dword [esi + 0xe2c], eax
mov dword [esi + 0xe28], eax
mov dword [esi + 0xe34], eax
mov dword [esi + 0xe30], eax
push esi
call fcn.00448b58
add esp, 4
cmp dword [esi + 0xe1c], 2
jne 0x450cf1
pop esi
ret
mov ecx, esi
pop esi
jmp fcn.0044d711

Function at 0x455b5f
Capabilities:
Encode data using base64

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [0x4b6074]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
xor edx, edx
xor eax, esp
xor esi, esi
dec esi
mov dword [esp + 0x10], eax
movsx ebx, byte [ecx + edx]
mov eax, ebx
add al, 0xbf
cmp al, 0x19
ja 0x455b8f
add ebx, 0xffffffbf
jmp 0x455bcc
mov eax, ebx
add al, 0x9f
cmp al, 0x19
ja 0x455b9c
add ebx, 0xffffffb9
jmp 0x455bcc
mov eax, ebx
add al, 0xd0
cmp al, 9
ja 0x455ba9
add ebx, 4
jmp 0x455bcc
cmp bl, 0x2b
je 0x455bc3
cmp bl, 0x3d
je 0x455bca
cmp bl, 0x2f
jne 0x455c50
mov ebx, 0x3f
jmp 0x455bcc
mov ebx, 0x3e
jmp 0x455bcc
mov ebx, esi
mov dword [esp + edx*4], ebx
inc edx
cmp edx, 4
jb 0x455b7e
mov eax, dword [esp]
xor esi, esi
cmp eax, 0xffffffff
je 0x455c52
mov edx, dword [esp + 4]
cmp edx, 0xffffffff
je 0x455c52
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
cmp ecx, 0xffffffff
je 0x455c06
mov ebp, 3
cmp ebx, 0xffffffff
jne 0x455c11
mov ebp, 2
jmp 0x455c0e
cmp ebx, 0xffffffff
jne 0x455c52
xor ebp, ebp
inc ebp
xor ebx, ebx
dec ebx
shl eax, 0x12
shl edx, 0xc
or eax, edx
shr eax, 0x10
cmp ebp, 2
mov byte [edi], al
jb 0x455c4b
shl ecx, 6
mov esi, 2
mov eax, ecx
and eax, 0xf00
or eax, edx
cmp ebp, 3
mov byte [edi + 1], ah
jne 0x455c52
and ebx, 0x3f
mov esi, 3
or ebx, ecx
mov byte [edi + 2], bl
jmp 0x455c52
xor esi, esi
inc esi
jmp 0x455c52
xor esi, esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.0046ef41
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x455ef0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x455f28
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
xor edi, edi
xor edx, edx
mov bl, byte [ecx + edi]
xor bl, byte [esi + edi]
inc edi
movzx ebx, bl
or edx, ebx
cmp eax, edi
jne 0x455f07
mov eax, 0x100
sub eax, edx
cmp eax, 0xff
seta al
jmp 0x455f2a
mov al, 1
pop esi
pop edi
pop ebx
ret
Function at 0x45b511
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4b8694]
test eax, eax
jne 0x45b546
push 0
push 0x45b54e
push dword [esp + 0xc]
push 0x6e
push dword [0x4b8664]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [0x4b8694], eax
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4b8694]
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
ret

Function at 0x45be30
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
sub esp, 0x98
mov eax, dword [0x4b6074]
xor eax, esp
mov dword [esp + 0x94], eax
cmp dword [0x4b714c], 0
je 0x45be60
xor ebx, ebx
cmp dword [0x4b7140], 0
setne bl
jmp 0x45bf83
lea esi, [esp + 4]
push 0x90
push 0
push esi
call fcn.00472060
add esp, 0xc
mov dword [esi - 4], 0x94
mov esi, esp
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
xor eax, eax
cmp dword [esi + 0x10], 2
sete al
mov dword [0x4b7150], eax
push str.USER32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x45bf4d
mov esi, eax
push 0x49f8aa
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x4b7130], eax
je 0x45bf4d
push str.MonitorFromWindow
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x4b7134], eax
je 0x45bf4d
push str.MonitorFromRect
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x4b7138], eax
je 0x45bf4d
push str.MonitorFromPoint
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x4b713c], eax
je 0x45bf4d
push str.EnumDisplayMonitors
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x4b7144], eax
je 0x45bf4d
push str.GetMonitorInfoA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x4b7140], eax
je 0x45bf4d
push str.EnumDisplayDevicesA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x4b7148], eax
je 0x45bf4d
xor ebx, ebx
mov dword [0x4b714c], 1
inc ebx
jmp 0x45bf83
xor ebx, ebx
mov dword [0x4b714c], 1
mov dword [0x4b7130], ebx
mov dword [0x4b7134], ebx
mov dword [0x4b7138], ebx
mov dword [0x4b713c], ebx
mov dword [0x4b7140], ebx
mov dword [0x4b7144], ebx
mov dword [0x4b7148], ebx
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.0046ef41
mov eax, ebx
add esp, 0x98
pop esi
pop ebx
ret
Function at 0x45cc97
Capabilities:
Terminate process

Disassembly:
push ebx
push edi
push esi
mov esi, dword [esp + 0x10]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, 0xffffffc0
mov eax, dword [edi*4 + 0x4b7dfc]
test eax, eax
je 0x45ccb7
push eax
call ebx
mov dword [edi*4 + 0x4b7dfc], 0
mov byte [edi + 0x4b8278], 0
inc edi
jne 0x45cca9
push dword [0x4b7cb0]
call fcn.00410de6
add esp, 4
mov eax, dword [0x4b7cac]
test eax, eax
je 0x45ccea
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
call fcn.00467865
push 2
push dword [0x4b8678]
call fcn.00403083
add esp, 8
cmp eax, 3
jne 0x45cd09
call fcn.0046953c
call fcn.00465ab7
call dword [sym.imp.ole32.dll_CoUninitialize]
push esi
call fcn.00479d8b
Function at 0x460796
Capabilities:
Terminate process

Disassembly:
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [0x4b6074]
xor eax, esp
mov dword [esp + 4], eax
push 2
push dword [0x4b8678]
call fcn.00403083
add esp, 8
push eax
call fcn.0041ac43
add esp, 4
test eax, eax
je 0x460920
mov esi, eax
push 8
push dword [0x4b8678]
call fcn.00402fe3
add esp, 8
mov ebx, eax
push 7
push dword [0x4b8678]
call fcn.00402fe3
add esp, 8
mov bh, al
push 1
push dword [0x4b8678]
call fcn.00403083
add esp, 8
mov edi, eax
push 0
push dword [0x4b8678]
call fcn.004031c8
add esp, 8
movzx ecx, bl
movzx edx, bh
mov ebx, esp
push ecx
push edx
push ebx
push edi
push eax
push dword [0x4b8678]
push dword [0x4b8690]
push 0x4b7cc4
push 0x4b605c
call dword [esi]
add esp, 0x24
test eax, eax
jne 0x460955
xor edi, edi
mov dword [0x4b85cc], edi
mov dword [0x4b85c8], edi
push 0x61
push dword [0x4b8678]
call fcn.004031c8
add esp, 8
cmp byte [eax], 0
mov esi, eax
jne 0x460880
push dword [0x48e058]
push dword [esp + 4]
push str._s____s
call fcn.004555e0
add esp, 0xc
mov esi, eax
mov edi, eax
push dword [esp]
call fcn.00410de6
add esp, 4
mov eax, dword [0x4b7154]
mov ebx, 0x4b7154
push esi
push ebx
call dword [eax + 0x38]
add esp, 8
mov eax, dword [0x4b7154]
push esi
push ebx
call dword [eax + 0x3c]
add esp, 8
push dword [0x4b7cc4]
push dword [0x4b8660]
call fcn.0044b65b
add esp, 8
push 0x4b605c
push dword [0x4b7cc4]
push dword [0x4b8660]
push dword [0x4b8678]
call fcn.0040e500
add esp, 0x10
mov ebx, dword [sym.imp.USER32.dll_DeleteMenu]
mov esi, 0xfffffff8
mov dword [0x4b7cc8], eax
push 0
push 0x40
push dword [esi + 0x4b7c9c]
call ebx
add esi, 4
jne 0x4608ed
mov byte [0x4b7cc0], 0
push edi
call fcn.00410de6
add esp, 4
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.0046ef41
add esp, 8
pop esi
pop edi
pop ebx
ret
push dword [0x48e058]
push str._s_Internal_Error
call fcn.004555e0
add esp, 8
mov esi, eax
push 0x30
push eax
push str.Unsupported_protocol_number_found
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call fcn.00410de6
add esp, 4
push 1
call fcn.0045cc97
mov esi, eax
push dword [0x48e058]
push str._s_Error
call fcn.004555e0
add esp, 8
mov edi, eax
push dword [0x4b8678]
call fcn.00412eda
add esp, 4
push esi
push eax
push str.Unable_to_open_connection_to_n_s_n_s
call fcn.004555e0
add esp, 0xc
mov esi, eax
xor ebx, ebx
push 0x10
push edi
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push edi
call fcn.00410de6
add esp, 4
push esi
call fcn.00410de6
add esp, 4
push ebx
call fcn.00479d8b
Function at 0x460b5c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
push ebx
push edi
push esi
cmp dword [esp + 0x14], 2
jne 0x460c17
mov ebp, dword [esp + 0x1c]
lea eax, [ebp + 1]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
je 0x460c17
mov esi, eax
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x460c17
mov bl, byte [esp + 0x20]
mov edi, eax
push ebp
push dword [esp + 0x1c]
push eax
call fcn.00471560
add esp, 0xc
xor eax, eax
mov byte [edi + ebp], al
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test bl, bl
jne 0x460bd0
push 0
push 1
push 0x8002
push dword [0x4b8668]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [0x4b8668]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x460bf7
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x460bfe
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test bl, bl
jne 0x460c17
xor eax, eax
push eax
push eax
push 0x8002
push dword [0x4b8668]
call dword [sym.imp.USER32.dll_SendMessageA]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x465138
Capabilities:
Create thread

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [0x4b6074]
mov ebp, dword [esp + 0x1c]
xor eax, esp
mov dword [esp + 4], eax
push 0x1028
push 1
call fcn.00410d70
add esp, 8
xor edi, edi
mov esi, eax
lea ebx, [eax + 4]
mov dword [eax], edi
mov dword [eax + 4], ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateEventA]
push edi
push edi
push edi
push edi
call ebp
mov dword [esi + 8], eax
push edi
push edi
push edi
push edi
call ebp
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x1024], eax
mov eax, dword [esp + 0x24]
mov byte [esi + 0x12], 0
mov word [esi + 0x10], 0
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x18], eax
mov eax, dword [0x4b9328]
test eax, eax
jne 0x4651be
push 0x4209b3
call fcn.00454108
add esp, 4
mov dword [0x4b9328], eax
push esi
push eax
call fcn.004541b4
add esp, 8
mov eax, esp
push eax
push edi
push ebx
push 0x4651f3
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov byte [esi + 0x13], 1
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.0046ef41
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x465331
Capabilities:
Create thread

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [0x4b6074]
mov edi, dword [esp + 0x1c]
xor eax, esp
xor ebx, ebx
inc ebx
mov dword [esp + 4], eax
push 0x1028
push ebx
call fcn.00410d70
add esp, 8
mov ebp, dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [eax], ebx
mov dword [eax + 4], edi
mov esi, eax
lea ebx, [eax + 4]
xor edi, edi
push edi
push edi
push edi
push edi
call ebp
mov dword [esi + 8], eax
push edi
push edi
push edi
push edi
call ebp
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], eax
lea eax, [esi + 0x2c]
push eax
call fcn.00455c67
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x18], eax
mov eax, dword [0x4b9328]
test eax, eax
jne 0x4653be
push 0x4209b3
call fcn.00454108
add esp, 4
mov dword [0x4b9328], eax
push esi
push eax
call fcn.004541b4
add esp, 8
mov eax, esp
push eax
push edi
push ebx
push 0x4653ef
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.0046ef41
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4659b9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
cmp byte [0x4b9334], 0
jne 0x465ab5
mov byte [0x4b9334], 1
push str.hhctrl.ocx
call fcn.00466b09
add esp, 4
mov esi, eax
test eax, eax
je 0x465a15
push str.HtmlHelpA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x4b9338], eax
je 0x465a1f
cmp byte [0x4b9349], 0
jne 0x465a7c
mov al, 1
cmp byte [0x4b932c], al
mov byte [0x4b9349], al
jne 0x465a2b
mov eax, dword [0x4b9330]
jmp 0x465a46
mov dword [0x4b9338], 0
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x465ab5
mov eax, 0x7d0
mov byte [0x4b932c], 1
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [0x4b9330], eax
test eax, eax
je 0x465a7c
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
mov dword [0x4b934c], eax
je 0x465a7c
push dword [0x4b9330]
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x465a7c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [0x4b9344], eax
jmp 0x465a81
mov eax, dword [0x4b9344]
test eax, eax
jne 0x465ab5
xor esi, esi
push 0
push dword [esi*4 + 0x497b08]
push 0x80000002
call fcn.0046705f
add esp, 0xc
test eax, eax
jne 0x465aa9
inc esi
cmp esi, 1
jbe 0x465a87
jmp 0x465ab5
mov dword [0x4b933c], eax
mov byte [0x4b9340], 0
pop esi
ret

Function at 0x465ab7
Capabilities:
Delete file

Disassembly:
mov eax, dword [0x4b933c]
test eax, eax
je 0x465ae9
cmp byte [0x4b9340], 1
jne 0x465aeb
xor eax, eax
push eax
push 0x12
push eax
push eax
call dword [0x4b9338]
push dword [0x4b933c]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [0x4b933c]
jmp 0x465aeb
xor eax, eax
push eax
call fcn.00410de6
add esp, 4
mov dword [0x4b933c], 0
mov byte [0x4b9340], 0
ret
Function at 0x465b15
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x114
mov eax, dword [0x4b6074]
xor eax, esp
mov dword [esp + 0x110], eax
mov esi, dword [0x4b933c]
test esi, esi
jne 0x465c79
mov eax, dword [0x4b9344]
test eax, eax
je 0x465c79
cmp byte [0x4b9350], 0
jne 0x465c69
lea esi, [esp + 0xa]
mov byte [0x4b9350], 1
push esi
push 0x106
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x465c69
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
xor ebx, ebx
push ebx
push ebx
push eax
push esi
push str._sputty__lu__llu.chm
call fcn.004555e0
add esp, 0x14
mov esi, eax
xor eax, eax
inc eax
push ebx
push 0x80
push eax
push ebx
push eax
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x465c0f
mov dword [esp], edi
xor ebp, ebp
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push esi
call fcn.00410de6
add esp, 4
cmp ebx, 0x50
jne 0x465c73
xor esi, esi
mov ebx, 0
inc esi
add ebp, esi
adc edi, ebx
push edi
push ebp
push dword [esp + 8]
lea eax, [esp + 0x16]
push eax
push str._sputty__lu__llu.chm
call fcn.004555e0
add esp, 0x14
push ebx
push 0x80
push esi
push ebx
push esi
mov esi, eax
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x465bb5
mov ebx, eax
mov eax, dword [0x4b934c]
test eax, eax
je 0x465c55
mov edi, dword [0x4b9344]
xor ebp, ebp
xor edx, edx
sub eax, ebp
lea ecx, [edi + ebp]
mov dword [esp + 4], edx
push edx
lea edx, [esp + 8]
push edx
push eax
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x465d1e
mov eax, dword [esp + 4]
lea ebp, [ebp + eax + 1]
mov eax, dword [0x4b934c]
cmp eax, ebp
ja 0x465c22
mov dword [0x4b933c], esi
mov byte [0x4b9340], 1
xor esi, esi
jmp 0x465d25
push 0
call fcn.00410de6
add esp, 4
mov esi, dword [0x4b933c]
test esi, esi
je 0x465d05
mov ebp, dword [esp + 0x12c]
mov edi, dword [esp + 0x128]
test ebp, ebp
je 0x465cf2
push 0x4a8397
push ebp
call fcn.0047e400
add esp, 8
cmp byte [ebp + eax], 0
lea ebx, [ebp + eax]
jne 0x465cc9
push 0xe9
push str..._windows_winhelp.c
push str.topic_colonpos____0
call fcn.0047b26f
add esp, 0xc
mov esi, dword [0x4b933c]
inc ebx
push ebx
push esi
push str._s::__s.html_main
call fcn.004555e0
add esp, 0xc
mov esi, eax
xor eax, eax
push eax
push eax
push esi
push edi
call dword [0x4b9338]
push esi
call fcn.00410de6
add esp, 4
jmp 0x465cfe
xor eax, eax
push eax
push eax
push esi
push edi
call dword [0x4b9338]
mov byte [0x4b9348], 1
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0046ef41
add esp, 0x114
pop esi
pop edi
pop ebx
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call fcn.00410de6
add esp, 4
cmp ebx, 0xffffffff
je 0x465c73
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x465c73
Function at 0x466a01
Capabilities:
Get session user name

Disassembly:
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [0x4b6074]
xor eax, esp
mov dword [esp + 4], eax
cmp byte [0x4b9b6c], 0
je 0x466a23
mov ecx, dword [0x4b9b68]
jmp 0x466a62
push str.secur32.dll
call fcn.00466b09
add esp, 4
mov esi, eax
push str.sspicli.dll
call fcn.00466b09
add esp, 4
test esi, esi
je 0x466a53
push str.GetUserNameExA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
jmp 0x466a55
xor ecx, ecx
mov dword [0x4b9b68], ecx
mov byte [0x4b9b6c], 1
test ecx, ecx
je 0x466aae
mov edi, esp
xor eax, eax
mov ebx, 8
mov dword [edi], eax
push edi
push eax
push ebx
call ecx
push 1
push dword [edi]
call fcn.00410d70
add esp, 8
mov esi, eax
push edi
push eax
push ebx
call dword [0x4b9b68]
test al, al
je 0x466aa5
push 0x40
push esi
call fcn.004721c0
add esp, 8
test eax, eax
je 0x466af5
mov byte [eax], 0
jmp 0x466af5
push esi
call fcn.00410de6
add esp, 4
mov edi, esp
xor eax, eax
mov dword [edi], eax
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x466ac5
mov eax, dword [esp]
jmp 0x466ad1
mov eax, 0x100
mov dword [esp], 0x100
push 1
push eax
call fcn.00410d70
add esp, 8
mov esi, eax
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x466af5
push esi
call fcn.00410de6
add esp, 4
xor esi, esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.0046ef41
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
ret

Function at 0x466b09
Capabilities:
Get common file path

Disassembly:
push ebx
push edi
push esi
mov esi, dword [esp + 0x10]
cmp dword [0x4b9b80], 0
jne 0x466b66
push dword [0x4b9b84]
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, dword [0x4b9b84]
jb 0x466b66
mov ebx, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xor edi, edi
inc edi
push 0
push edi
push eax
push edi
push 0x4b9b84
push dword [0x4b9b80]
call fcn.00410df3
add esp, 0x18
mov dword [0x4b9b80], eax
push dword [0x4b9b84]
push eax
call ebx
cmp eax, dword [0x4b9b84]
jae 0x466b38
push 0
push esi
push 0x4a61fa
push dword [0x4b9b80]
call fcn.00455660
add esp, 0x10
mov esi, eax
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push esi
call fcn.00410de6
add esp, 4
mov eax, edi
pop esi
pop edi
pop ebx
ret
Function at 0x46705f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov edx, dword [0x4b6074]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
xor ebx, ebx
xor edx, esp
test ecx, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
je 0x4670a9
lea edx, [esp + 0x10]
push edx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
mov esi, 0
jne 0x467138
mov al, 1
mov dword [esp], eax
mov eax, dword [esp + 0x10]
jmp 0x4670b0
mov dword [esp], 0
mov esi, dword [esp + 0x34]
lea ecx, [esp + 8]
xor ebx, ebx
lea ebp, [esp + 0xc]
push ecx
push ebx
push ebp
push ebx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x46711e
cmp dword [esp + 0xc], 1
jne 0x46711e
mov eax, dword [esp + 8]
inc eax
xor ecx, ecx
inc ecx
push ecx
push eax
call fcn.00410d70
add esp, 8
mov edi, eax
mov eax, dword [esp + 8]
lea ecx, [esp + 4]
mov dword [ecx], eax
push ecx
push edi
push ebp
push 0
push esi
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x467118
cmp dword [esp + 0xc], 1
jne 0x467118
mov eax, dword [esp + 4]
cmp eax, dword [esp + 8]
jbe 0x467122
xor esi, esi
mov ebx, edi
jmp 0x467128
xor esi, esi
jmp 0x467128
mov esi, edi
mov byte [edi + eax], 0
cmp byte [esp], 0
je 0x467138
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.00410de6
add esp, 4
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0046ef41
mov eax, esi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret