joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43079c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4307b3
add esp, 0xfffffff0
call fcn.00452a28
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00448e58
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x442b1c]
call fcn.00452710
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x442b1c]
call fcn.00452710
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x41fb44]
call fcn.0042556c
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x430928
mov eax, dword [0x4660e8]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042593c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43233c
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4660e8]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.USER32.DLL_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0044ef00
test eax, eax
je 0x4308a6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0044d094
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0044ef28
test eax, eax
je 0x4308ba
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.USER32.DLL_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.004533c8
mov eax, dword [0x4660ec]
cmp byte [eax], 0
jne 0x4308eb
mov eax, ebx
call fcn.00430a14
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x43091d
call fcn.00452a80
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x430c84
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x466480]
cmp dword [eax + 0x24], 0
je 0x430d27
cmp dword [ebx + 0x84], 0
jne 0x430d21
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x430c14
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x430d21
push 3
mov eax, dword [esp + 4]
push eax
call sub.USER32.DLL_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.USER32.DLL_GetWindowLongA
test al, 8
je 0x430cea
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x430d21
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.00444218
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x430cf9
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x431734
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x431769
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.USER32.DLL_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00453280
jmp 0x431773
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.004531ec
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4326b0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x4326e8
mov eax, esi
call fcn.0043dcf8
test al, al
je 0x4326e8
mov eax, dword [ebx + 0x74]
call fcn.0043d9fc
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x4326e8
push 0
mov eax, dword [ebx + 0x74]
call fcn.0043d9fc
push eax
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
ret

Function at 0x4357d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x46651c], 0
sete dl
or al, dl
jne 0x435910
mov eax, dword [0x466520]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x46651c]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x4358df
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x46651c]
call fcn.00444218
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4358d7
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x4358d7
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x4358d7
mov eax, dword [ebp - 0x14]
call fcn.0043d9fc
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x4358d7
push ebp
call fcn.0043578c
pop ecx
test al, al
jne 0x4358d7
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x435893
mov eax, dword [ebp - 0x14]
call fcn.0043c388
dec eax
jle 0x4358d7
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov bx, 0xffc1
call fcn.0045291c
cmp byte [ebp - 1], 0
je 0x4358d7
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x4358d7
mov edx, dword [ebp - 0x14]
mov eax, dword [0x466520]
call fcn.00434fd8
inc edi
dec esi
jne 0x435826
mov eax, dword [0x466520]
cmp dword [eax + 8], 0
jle 0x4358f7
mov eax, dword [0x466520]
call fcn.00435068
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x435910
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004355f4
pop ecx
test al, al
jne 0x435910
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43b394
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x43b3c5
je 0x43b41f
sub eax, 7
je 0x43b3e6
dec eax
je 0x43b410
sub eax, 0x17
je 0x43b4c4
jmp 0x43b502
add eax, 0xffffff00
sub eax, 9
jb 0x43b4b0
add eax, 0xffffff09
sub eax, 0xb
jb 0x43b478
jmp 0x43b502
mov eax, ebx
call fcn.00429380
mov edi, eax
test edi, edi
je 0x43b562
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x43b56b
jmp 0x43b562
test byte [ebx + 0x44], 0x20
jne 0x43b56b
jmp 0x43b562
mov edx, esi
mov eax, ebx
call fcn.00438a60
cmp dword [esi + 0xc], 0xffffffff
jne 0x43b56b
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.0044aaec
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.004375ac
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.0043b26c
test eax, eax
je 0x43b56b
mov dword [esi + 0xc], 1
jmp 0x43b56b
mov edx, esi
mov eax, ebx
call fcn.0043b300
test al, al
je 0x43b562
cmp dword [esi + 0xc], 0
jne 0x43b56b
mov eax, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [esi]
push eax
mov eax, ebx
call fcn.0043d9fc
push eax
call sub.USER32.DLL_DefWindowProcA
jmp 0x43b56b
mov eax, ebx
call fcn.004380fc
test al, al
jne 0x43b56b
jmp 0x43b562
mov eax, ebx
call fcn.0043d9fc
mov edi, eax
call sub.USER32.DLL_GetCapture
cmp edi, eax
jne 0x43b562
cmp dword [0x46261c], 0
je 0x43b562
mov eax, dword [0x46261c]
cmp ebx, dword [eax + 0x24]
jne 0x43b562
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x46261c]
call fcn.00438994
jmp 0x43b562
mov eax, dword [0x4664e4]
cmp byte [eax + 0x20], 0
je 0x43b562
mov eax, dword [0x4664e4]
cmp dword [eax + 0x1c], 0
je 0x43b562
mov eax, dword [esi]
mov edx, dword [0x4664e4]
cmp eax, dword [edx + 0x1c]
jne 0x43b562
lea eax, [ebp - 0x110]
push eax
call sub.USER32.DLL_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.004292c4
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb7
call fcn.0045291c
jmp 0x43b56b
mov edx, esi
mov eax, ebx
call fcn.00438a60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43ba2c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1e8], 0
je 0x43ba48
cmp dword [esi + 4], 0
je 0x43ba75
test byte [ebx + 0x45], 1
jne 0x43ba67
mov eax, ebx
call fcn.0043a9d0
test eax, eax
jne 0x43ba67
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43bb85
mov edx, esi
mov eax, ebx
call fcn.0043b6a4
jmp 0x43bb85
push 0
call sub.USER32.DLL_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + pe_nt_image_headers32]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + pe_nt_image_headers32]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.GDI32.DLL_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.USER32.DLL_ReleaseDC
push 0
call sub.GDI32.DLL_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43bb7e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043d9fc
push eax
call sub.USER32.DLL_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00438994
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043ba2c
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + pe_nt_image_headers32]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + pe_nt_image_headers32]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.GDI32.DLL_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043d9fc
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43bb85
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.GDI32.DLL_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44dd5c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x44dd95
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00453280
jmp 0x44dd9e
mov eax, ebx
mov edx, esi
call fcn.004531ec
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x44dda8
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x44ddc9
mov al, byte [esp]
jmp 0x44ddcb
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4525b8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x462960]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x452650
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x452630
xor eax, eax
push ebp
push 0x452629
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x45266c
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452630
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x462960]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x462960], ax
mov esp, ebp
pop ebp
ret
Function at 0x454810
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x4549cc
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x454871
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x4549e8
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x4548e3
xor eax, eax
push ebp
push 0x4548dc
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.00454668
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x4548c5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x454a08
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4548e3
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.DLL_GetThreadLocale
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x4549c4
cmp byte [ebp - 0xd], 0
jne 0x454925
cmp byte [ebp - 0x12], 0
je 0x4549c4
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x45493e
dec ebx
cmp byte [ebx], 0x2e
je 0x45494d
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x45493d
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4549c4
inc ebx
cmp byte [ebp - 0x12], 0
je 0x45497a
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4549c4
cmp byte [ebp - 0xd], 0
je 0x4549c4
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4549c4
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x454db8
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push ebp
push 0x454ea0
push dword fs:[eax]
mov dword fs:[eax], esp
sub dword [0x466b98], 1
jae 0x454e92
xor eax, eax
mov dword [0x4667a4], eax
xor eax, eax
mov dword [0x4667ac], eax
xor eax, eax
mov dword [0x4667b0], eax
mov byte [0x4667b6], 2
mov byte [0x4667b7], 2
mov byte [0x4667b8], 3
mov word [0x466b60], 0
mov word [0x466b70], 1
mov word [0x466b80], 0xa
mov dword [0x466b88], 0x80020004
mov dword [0x466b54], 0x453f98
mov dword [0x466b58], 0x453f90
mov dword [0x466b5c], 0x453f98
call fcn.00452588
test al, al
je 0x454e51
call fcn.004525b8
call fcn.0045267c
mov eax, 0x4667bc
mov edx, 0x454eac
call fcn.0044fe1e
mov eax, 0x466988
mov edx, 0x454eac
call fcn.0044fe1e
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x46679c], eax
call fcn.00450d84
mov dword [0x466798], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x466790], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454ea7
ret

Function at 0x45a980
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x45a9e2
call fcn.0045a930
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.00455974
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.00455974
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45aa60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x4646bc], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x45ab3a
cmp dword [0x4646b8], 0
jne 0x45ab3a
cmp dword [0x46489c], 0
je 0x45aaf4
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.0045a830
add esp, 8
mov ebx, eax
test eax, eax
jne 0x45aada
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.0045a830
add esp, 8
mov ebx, eax
test eax, eax
jne 0x45aada
lea ebx, [ebp - 0x84]
jmp 0x45aadb
inc ebx
call fcn.0045aa1c
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x45ab75
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x4646c0
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00455974
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x4646c3
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x45ab75
cmp dword [0x4646b8], 0
je 0x45ab54
cmp dword [0x4646b8], 0xffffffff
je 0x45ab75
push esi
call dword [0x4646b8]
pop ecx
mov eax, dword [0x4646bc]
test eax, eax
je 0x45ab75
cmp dword [0x4646bc], 0xffffffff
je 0x45ab75
cmp byte [eax], 0
je 0x45ab75
push esi
push eax
call fcn.0045a980
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10004c30
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
xor ecx, ecx
xor edx, edx
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov cl, byte [esi + 0x100]
mov dl, byte [esi + 0x101]
test ebp, ebp
je 0x10004c7f
inc ecx
mov ebx, 0xff
and ecx, ebx
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, ebx
xor ebx, ebx
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov byte [esi + edx], al
add al, bl
mov bl, byte [edi]
mov al, byte [esi + eax]
xor bl, al
mov byte [edi], bl
inc edi
dec ebp
jne 0x10004c54
pop ebp
pop edi
lea eax, [esi + 0x100]
pop esi
mov byte [eax], cl
pop ebx
mov byte [eax + 1], dl
ret 0xc

Function at 0x10004c91
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
mov eax, 0x3020100
push esi
mov ecx, 0x40
mov esi, dword [esp + 0xc]
push edi
mov edx, esi
push ebp
mov dword [edx], eax
add edx, 4
add eax, 0x4040404
dec ecx
jne 0x10004ca5
xor ecx, ecx
xor edi, edi
mov ebp, dword [esp + 0x1c]
mov byte [esi + 0x100], cl
mov byte [esi + 0x101], cl
xor ebx, ebx
xor edx, edx
xor eax, eax
mov dl, byte [edi + esi]
mov al, byte [ebp + ecx]
add bl, al
inc ecx
add bl, dl
inc edi
mov al, byte [ebx + esi]
mov byte [edi + esi - 1], al
cmp dword [esp + 0x18], ecx
mov byte [ebx + esi], dl
jne 0x10004ceb
xor ecx, ecx
cmp edi, 0x100
jb 0x10004cc8
pop ebp
pop edi
pop esi
pop ebx
ret 0xc

Function at 0x10004f93
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x10004fa2
pop dword [ebp - 0x20]
mov eax, 0xc8456980
add eax, 0x47bae622
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x372b0
push 0
mov eax, 0x723bca28
add eax, 0x9dc6c6e4
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0x398d
mov esi, eax
mov edi, 0x1d109237
add edi, 0xf2f3d9c9
add edi, dword [ebp - 0x20]
mov edx, 0x483fd1d6
sub edx, 0x206942cd
mov ebx, dword [edi]
xor dword [ebp - 8], 0x21869d0c
add ebx, edx
add dword [ebp - 0xc], 0x8459f02d
mov dword [esi], ebx
xor dword [ebp - 0xc], ecx
add esi, 0x80a2e2ff
add esi, 0x7f5d1d05
add edi, 4
loop 0x10004ffb
add eax, 0x84773057
sub eax, 0x84765750
xor ebx, ebx
add ebx, eax
add eax, 0x926b939a
sub eax, 0x926b9395
mov ecx, 0xfa8e1e00
sub ecx, 0xea8e1e00
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x41ff02
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x41ff11
pop dword [ebp - 0x4c]
mov eax, 0x41ff11
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x185deba7
add dword [ebp - 0x5c], 0x35f459a4
mov dword [ebp - 0x58], 0x6fa5ea10
add dword [ebp - 0x58], 0xc28d6235
mov dword [ebp - 0x54], 0x2980ac63
add dword [ebp - 0x54], 0x22cb97cb
mov dword [ebp - 0x50], 0x844e24a0
add dword [ebp - 0x50], 0x7bb1db60
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x7f55fc11
sub eax, 0x7f13cb9d
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x3642fdf2
sub dword [ebp - 0x5c], 0xc1d0949c
mov dword [ebp - 0x58], 0x67b11ed9
add dword [ebp - 0x58], 0xd9bb429c
mov dword [ebp - 0x54], 0xabe68122
sub dword [ebp - 0x54], 0x487714b6
mov dword [ebp - 0x50], 0x5c6c4184
add dword [ebp - 0x50], 0xa393be7c
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x3e23b
push 0
call eax
mov ecx, 0x61b75433
add ecx, 0x9e48f584
mov esi, eax
mov edi, 0x434400
add edi, dword [ebp - 0x4c]
mov ebx, 0xb25ba9df
sub ebx, 0x17c790f7
sub dword [ebp - 0x24], 0x42bebda2
mov edx, dword [edi]
xor dword [ebp - 0x24], edi
add edx, ebx
sub dword [ebp - 0x3c], ebx
mov dword [esi], edx
mov dword [ebp - 0x14], 0x2304fbd2
add esi, 0x6abac5f0
sub esi, 0x6abac5ec
add edi, 4
loop 0x420023
add eax, 0x86399dcc
add eax, 0x79c77be3
xor ebx, ebx
add ebx, eax
add eax, 0x78348ab2
add eax, 0x87cb7553
mov ecx, 0xbd1e4f32
sub ecx, 0xbcde4f32
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret