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

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4acc63
cmp byte [ebx + 0xd3], 0
jne 0x4acc63
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004069fc
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4acc50
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4acc70
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406c54
jmp 0x4acc70
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406c54
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4ae438
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4ae4a6
mov eax, esi
call fcn.00474b94
test al, al
je 0x4ae4a6
mov eax, dword [ebx + 0x84]
call fcn.00474814
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4ae4a6
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4ae49a
push 0
mov eax, dword [ebx + 0x84]
call fcn.00474814
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0046b790
jmp 0x4ae4a6
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004ae270
pop esi
pop ebx
ret
Function at 0x403060
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x30
push ebx
push esi
xor ebx, ebx
push edi
mov dword [0x680980], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.0041c8b6
mov esi, eax
push str._WINDOW
push esi
call fcn.00415880
add esp, 0xc
test eax, eax
je 0x403098
mov dword [0x680980], 1
push 0x420ca4
push esi
call fcn.00415880
add esp, 8
test eax, eax
je 0x4030b4
mov dword [0x6808c8], 1
push str._ONE
push esi
call fcn.00415880
add esp, 8
test eax, eax
je 0x4030cc
mov byte [0x420480], bl
push str._FULLPATH
push esi
call fcn.00415880
add esp, 8
test eax, eax
je 0x4030e5
mov byte [0x430cfc], 1
push str._NOSCROLL
push esi
call fcn.00415880
add esp, 8
test eax, eax
je 0x4030fd
mov byte [0x420481], bl
push str._ATWOOD
push esi
call fcn.00415880
add esp, 8
test eax, eax
je 0x403116
mov byte [0x430cfd], 1
mov esi, dword [esp + 0x40]
mov edi, dword [sym.imp.USER32.dll_LoadIconA]
push 0x66
push esi
mov dword [esp + 0x14], 0x30
mov dword [esp + 0x18], 3
mov dword [esp + 0x1c], 0x402620
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], esi
call edi
push 0x66
push esi
mov dword [esp + 0x2c], eax
call edi
push 0x7f00
push ebx
mov dword [esp + 0x40], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 4
mov dword [esp + 0x2c], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xc]
mov edi, 0x4200cc
push eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
call dword [sym.imp.USER32.dll_RegisterClassExA]
test ax, ax
jne 0x403198
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x30
ret
cmp dword [0x680980], ebx
je 0x403202
mov ecx, dword [0x422630]
mov edx, dword [0x422624]
push ebp
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebx
push ebx
push ecx
push edx
push 1
call esi
mov edx, dword [0x422630]
push 8
sub eax, edx
cdq
sub eax, edx
mov ebp, eax
sar ebp, 1
call esi
sub ebp, eax
push ebp
push ebx
call esi
mov edx, dword [0x422624]
push 7
sub eax, edx
cdq
sub eax, edx
mov ebp, eax
sar ebp, 1
call esi
sub ebp, eax
push ebp
push 0x81880000
push edi
push edi
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x430c20], eax
pop ebp
jmp 0x40322b
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebx
push ebx
push 1
call esi
push eax
push ebx
call esi
push eax
push ebx
push ebx
push 0x80000000
push edi
push edi
push 8
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x430c20], eax
cmp eax, ebx
jne 0x403238
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x30
ret
mov ecx, dword [esp + 0x48]
push ecx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x430c20]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [0x430c20]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push ebx
call dword [sym.imp.USER32.dll_ShowCursor]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x30
ret
Function at 0x40ab10
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x5c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp]
push ebx
push esi
push edi
mov edi, 0x44a97c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x420090
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0xc]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x6c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
xor ebx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x70]
cmp esi, ebx
jne 0x40abb1
lea eax, [esp + 0xc]
push eax
push str.ReadPalette_Out_of_Memory_:
call fcn.00401470
add esp, 8
push ebx
push 0x80
push 3
push ebx
push ebx
lea ecx, [esp + 0x20]
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40abe4
lea edx, [esp + 0xc]
push edx
push str.ReadPalette_Open_error_:
call fcn.00401470
add esp, 8
lea eax, [esp + 0x6c]
push ebx
push eax
push 0x300
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0x6c], 0x300
je 0x40ac13
lea ecx, [esp + 0xc]
push ecx
push str.ReadPalette_Read_error_:
call fcn.00401470
add esp, 8
xor eax, eax
mov cl, byte [eax + esi]
shr cl, 2
mov byte [eax + esi], cl
inc eax
cmp eax, 0x300
jl 0x40ac15
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x43081d
lea ecx, [esi + 2]
mov dl, byte [ecx - 2]
add eax, 4
shl dl, 2
mov byte [eax - 5], dl
mov dl, byte [ecx - 1]
shl dl, 2
mov byte [eax - 4], dl
mov dl, byte [ecx]
shl dl, 2
mov byte [eax - 3], dl
mov byte [eax - 2], bl
add ecx, 3
cmp eax, 0x430c1d
jl 0x40ac35
pop edi
pop esi
pop ebx
add esp, 0x5c
ret
Function at 0x40bd30
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
push edi
mov edi, 0x684c14
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x20], 0
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x20]
and ecx, 3
mov ebp, dword [esp + 0x12c]
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x128]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
test ebp, ebp
rep movsb byte es:[edi], byte [esi]
jne 0x40bdaa
lea ebp, [esp + 0x1e]
push 0
push 0x80
push 3
push 0
push 0
lea eax, [esp + 0x34]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40bddb
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x114
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x130]
test ecx, ecx
je 0x40bdf4
lea edx, [eax - 2]
mov dword [ecx], edx
lea ebx, [eax - 2]
mov eax, dword [esp + 0x128]
push eax
push 0x106
push str.C:SOURCEBASEDEMOMyDDrawSourceGameTool.cpp
push ebx
call fcn.00415350
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x40be2c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x114
ret
lea ecx, [esp + 0x14]
push 0
push ecx
push 2
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea edx, [esp + 0x14]
push 0
push edx
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x128]
xor eax, eax
mov ax, word [ebp]
push esi
push 0x10b
push str.C:SOURCEBASEDEMOMyDDrawSourceGameTool.cpp
shl eax, 2
push eax
call fcn.00415350
add esp, 0x10
mov dword [esp + 0x18], eax
test eax, eax
jne 0x40bea1
push esi
push 0x10c
push str.C:SOURCEBASEDEMOMyDDrawSourceGameTool.cpp
push edi
call fcn.00415390
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret
xor esi, esi
mov dword [esp + 0x10], 0
cmp word [ebp], si
jbe 0x40beee
mov ebx, eax
lea eax, [esi + edi]
xor ecx, ecx
xor edx, edx
mov dword [ebx], eax
mov cx, word [edi + esi + 2]
mov dx, word [eax]
imul ecx, edx
push eax
lea esi, [esi + ecx*2 + 4]
call 0x410261
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov cx, word [ebp]
add esp, 4
inc eax
add ebx, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x40beb3
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret
Function at 0x40bf50
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
push edi
mov edi, 0x6955f8
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x20], 0
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebp, dword [esp + 0x128]
and ecx, 3
lea edx, [esp + 0x20]
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x12c]
mov ecx, ebx
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
jne 0x40bfd3
lea eax, [esp + 0x1e]
mov dword [esp + 0x12c], eax
push 0
push 0x80
push 3
push 0
push 0
lea ecx, [esp + 0x34]
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40c004
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x114
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x130]
test ecx, ecx
je 0x40c01d
lea edx, [eax - 2]
mov dword [ecx], edx
push ebp
lea ebx, [eax - 2]
push 0x1b3
push str.C:SOURCEBASEDEMOMyDDrawSourceGameTool.cpp
push ebx
call fcn.00415350
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x40c04e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x114
ret
mov ecx, dword [esp + 0x12c]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [esp + 0x14]
push 0
push eax
push 2
push ecx
push esi
call ebp
lea edx, [esp + 0x14]
push 0
push edx
push ebx
push edi
push esi
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [esp + 0x12c]
mov esi, dword [esp + 0x128]
xor eax, eax
push esi
mov ax, word [ebp]
push 0x1b8
shl eax, 2
push str.C:SOURCEBASEDEMOMyDDrawSourceGameTool.cpp
push eax
call fcn.00415350
add esp, 0x10
mov dword [esp + 0x18], eax
test eax, eax
jne 0x40c0cf
push esi
push 0x1b9
push str.C:SOURCEBASEDEMOMyDDrawSourceGameTool.cpp
push edi
call fcn.00415390
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret
xor esi, esi
mov dword [esp + 0x10], 0
cmp word [ebp], si
jbe 0x40c125
mov ebx, eax
lea ecx, [esi + edi]
xor eax, eax
add esi, 2
mov ax, word [ecx]
mov dword [ebx], ecx
test eax, eax
jbe 0x40c100
xor ecx, ecx
dec eax
mov cx, word [edi + esi + 4]
lea esi, [esi + ecx*2 + 6]
jne 0x40c0f2
mov edx, dword [ebx]
push edx
call fcn.00412340
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov cx, word [ebp]
add esp, 4
inc eax
add ebx, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x40c0e1
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret
Function at 0x40c180
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
push edi
mov edi, 0x684b10
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x20], 0
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebp, dword [esp + 0x128]
and ecx, 3
lea edx, [esp + 0x20]
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x12c]
mov ecx, ebx
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
jne 0x40c203
lea eax, [esp + 0x1e]
mov dword [esp + 0x12c], eax
push 0
push 0x80
push 3
push 0
push 0
lea ecx, [esp + 0x34]
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40c234
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x114
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x130]
test ecx, ecx
je 0x40c24d
lea edx, [eax - 2]
mov dword [ecx], edx
push ebp
lea ebx, [eax - 2]
push 0x286
push str.C:SOURCEBASEDEMOMyDDrawSourceGameTool.cpp
push ebx
call fcn.00415350
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x40c27e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x114
ret
mov ecx, dword [esp + 0x12c]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [esp + 0x14]
push 0
push eax
push 2
push ecx
push esi
call ebp
lea edx, [esp + 0x14]
push 0
push edx
push ebx
push edi
push esi
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [esp + 0x12c]
mov esi, dword [esp + 0x128]
xor eax, eax
push esi
mov ax, word [ebp]
push 0x28b
shl eax, 2
push str.C:SOURCEBASEDEMOMyDDrawSourceGameTool.cpp
push eax
call fcn.00415350
add esp, 0x10
mov dword [esp + 0x18], eax
test eax, eax
jne 0x40c2ff
push esi
push 0x28c
push str.C:SOURCEBASEDEMOMyDDrawSourceGameTool.cpp
push edi
call fcn.00415390
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret
xor esi, esi
mov dword [esp + 0x10], 0
cmp word [ebp], si
jbe 0x40c36f
mov ebx, eax
lea ecx, [esi + edi]
xor eax, eax
add esi, 2
mov ax, word [ecx]
mov dword [ebx], ecx
test eax, eax
jbe 0x40c34a
mov ecx, eax
mov ax, word [edi + esi + 4]
test ah, 0x80
je 0x40c33e
and eax, 0x7fff
add eax, 2
lea edx, [eax + esi]
lea esi, [edx + eax*2]
jmp 0x40c347
and eax, 0xffff
lea esi, [esi + eax*2 + 6]
dec ecx
jne 0x40c324
mov eax, dword [ebx]
push eax
call 0x4123ab
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov cx, word [ebp]
add esp, 4
inc eax
add ebx, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x40c311
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret
Function at 0x469440
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x52d14b
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.0051e6be
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4694c2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0051b174
mov eax, dword [eax]
push 0x67cd9c
push eax
call fcn.0050c064
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0051e949
test bl, bl
je 0x4694c2
push 0x67cd9c
lea ecx, [esp + 0xc]
call fcn.0051ed25
push 0x67cda8
lea ecx, [esp + 0xc]
call fcn.0051ed25
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 0x4694fe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0051e949
jmp 0x4695c9
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 0x469582
lea edx, [esp + 0x7c]
push 0x67cda4
push edx
call fcn.0050c064
add esp, 8
test eax, eax
je 0x469582
lea eax, [esp + 0x7c]
push 0x67cda0
push eax
call fcn.0050c064
add esp, 8
test eax, eax
je 0x469582
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 0x469512
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.0051e949
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 0x469de0
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 0x469e42
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 0x469e50
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x52d1cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x6894b4]
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 0x469f88
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x469eb6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0051e949
xor eax, eax
jmp 0x469fff
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0051ead2
push esi
lea ecx, [esp + 0xc]
call fcn.0051ed61
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x67cddc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x469fdd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x67cdd4
push closesocket
call fcn.00469de0
test eax, eax
jne 0x469fdd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x67cdc0
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00469de0
test eax, eax
jne 0x469fdd
lea eax, [esp + 0x14]
push 0x67cdb8
push eax
call fcn.0050d3d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x469fbc
lea ecx, [esp + 0x14]
push 0x67cdb4
push ecx
call fcn.0050d350
mov esi, eax
add esp, 8
test esi, esi
jne 0x469fbc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x469fbf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0051ea82
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x469ece
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0051e949
xor eax, eax
jmp 0x469fff
mov byte [esi], 0
push 0x67cdb0
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.0051e949
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
Function at 0x481a90
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x481afe
cmp si, 0x69
ja 0x481afe
add esi, 0xffd0
cmp si, 0x11
je 0x481ace
push 0x11
call edi
test ax, ax
jge 0x481ace
or esi, 0x2000
cmp si, 0x10
je 0x481ae3
push 0x10
call edi
test ax, ax
jge 0x481ae3
or esi, 0x4000
cmp si, 0x12
je 0x481af8
push 0x12
call edi
test ax, ax
jge 0x481af8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x481b0b
mov esi, 0xbd
jmp 0x481abf
cmp si, 0x6e
jne 0x481b18
mov esi, 0xbe
jmp 0x481abf
cmp si, 0x6f
jne 0x481ab9
mov esi, 0xbf
jmp 0x481abf

Function at 0x483400
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x69a780]
xor edx, edx
cmp eax, edx
jne 0x483426
xor eax, eax
mov byte [eax + 0x69a680], al
inc eax
cmp eax, 0x100
jl 0x48340e
mov dword [0x69a780], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x69a680
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4834b7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x48348a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x483458
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x483530
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x483583
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x48356a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret