joyce8/EMBER2024-capa huggingface dataset:
Function at 0x215ac5d8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x215ac783
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x215ac764
mov dl, 1
mov eax, dword [0x21562934]
call fcn.21553a4c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.21554890
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x215ac753
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.2159f554
test al, al
je 0x215ac746
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x215ac794
lea eax, [ebp - 0x254]
call fcn.215597e4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x215ac746
xor eax, eax
push ebp
push 0x215ac73f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x215ac7cc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x215ac728
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.21554b00
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x215ac728
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.21554b00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x215ac746
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x215ac649
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.21566794
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x215ac78a
lea eax, [ebp - 0x260]
call fcn.21554890
ret

Function at 0x215ad0fc
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x215c657c]
cmp byte [eax + 0xad], 0
jne 0x215ad16d
cmp dword [0x215c6594], 0
jne 0x215ad12e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x215ad0b8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x215c6594], eax
cmp dword [0x215c6590], 0
jne 0x215ad149
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x215c6590], eax
cmp dword [0x215c6598], 0
jne 0x215ad16d
push esp
push 0
push 0
push 0x215ad05c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x215c6598], eax
pop edx
ret
Function at 0x215ad340
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x215ad357
add esp, 0xfffffff0
call fcn.21553d88
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.2156a894
mov eax, dword [0x215c2928]
cmp word [eax + 2], 0
jne 0x215ad37f
mov eax, dword [0x215c2928]
mov dword [eax + 4], ebx
mov dword [eax], fcn.215aee80
mov eax, dword [0x215c29f4]
cmp word [eax + 2], 0
jne 0x215ad399
mov eax, dword [0x215c29f4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.215af08c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x21562510]
call fcn.21553a4c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x21562510]
call fcn.21553a4c
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x21562510]
call fcn.21553a4c
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x2156ebe4]
call fcn.215750e8
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x215ad550
mov eax, dword [0x215c2828]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.215754bc
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x215af74c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x215c2828]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
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.2155d020
test eax, eax
je 0x215ad4a0
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.2155919c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.2155d054
test eax, eax
je 0x215ad4b4
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.21554b00
mov byte [ebx + 0xd4], 0
push ebx
push 0x215ae9e0
call fcn.2156ba10
mov dword [ebx + 0xc8], eax
mov eax, dword [0x215c26ac]
cmp byte [eax], 0
jne 0x215ad505
mov eax, ebx
call fcn.215ad694
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.215af928
mov eax, ebx
call fcn.215b0488
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x215ad545
call fcn.21553de0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x215ad914
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x215c657c]
cmp dword [eax + 0x30], 0
je 0x215ad9be
cmp dword [ebx + 0x94], 0
jne 0x215ad9b8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x215ad8a4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x215ad9b8
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 0x215ad97e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x215ad9b8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.215648f0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x215ad98d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x215ae6d8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x215ae70d
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.21554980
jmp 0x215ae71a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.215548e4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x215afb0c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x215afb7a
mov eax, esi
call fcn.2159a1cc
test al, al
je 0x215afb7a
mov eax, dword [ebx + 0x84]
call fcn.21599e2c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x215afb7a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x215afb6e
push 0
mov eax, dword [ebx + 0x84]
call fcn.21599e2c
push eax
call main
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.2159224c
jmp 0x215afb7a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.215af948
pop esi
pop ebx
ret
Function at 0x215bc488
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov eax, dword [ebp - 8]
call fcn.21554d44
xor eax, eax
push ebp
push 0x215bc5bf
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetUserDefaultLCID
push edi
push ecx
xor edi, 0x1f
and ecx, 0xb5
nop
nop
nop
nop
or edi, 0x1a6
inc ecx
push ecx
pop ecx
nop
nop
pop ecx
pop edi
push 0x215bc5cc
call sub.kernel32.dll_GetDriveTypeA
mov dword [ebp - 0x14], eax
push edx
sub edx, 0xe5
mov edx, 0xe9
sub edx, 0x91
and edx, 0x63
xchg edx, edx
or edx, 0x1a3
add edx, 0x44
mov edx, 0x3a
pop edx
push 1
call sub.user32.dll_GetMenuContextHelpId
push edx
or edx, 0x21
sub edx, 0x2d
inc edx
xor edx, 0x3f
xchg edx, edx
push edx
pop edx
xchg edx, edx
sub edx, 0x192
pop edx
lea eax, [ebp - 0x10]
mov dl, byte [ebp - 1]
add dl, byte [ebp - 0x14]
not dl
call fcn.21554a78
push edx
nop
nop
nop
nop
nop
nop
dec edx
dec edx
push edx
pop edx
add edx, 0x18
and edx, 0x150
push edx
pop edx
and edx, 0x17a
nop
nop
nop
nop
nop
dec edx
pop edx
push 1
call sub.user32.dll_OpenIcon
push ecx
push ebx
xor ebx, 0xcf
push ecx
pop ecx
nop
nop
sub ebx, 0xed
sub ebx, 0xde
xor ebx, 0x82
or ecx, 0x23
xchg ebx, ecx
sub ecx, 0xec
add ecx, 0x5d
xor ebx, 0x68
push ebx
pop ebx
pop ebx
pop ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.21554ba0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x215bc5c6
lea eax, [ebp - 0x10]
call fcn.21554890
lea eax, [ebp - 8]
call fcn.21554890
ret

Function at 0x215be54c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov eax, dword [ebp - 8]
call fcn.21554d44
xor eax, eax
push ebp
push 0x215be5c0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x215be5cc
call sub.kernel32.dll_GetDriveTypeA
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
mov dl, byte [ebp - 1]
add dl, byte [ebp - 0x14]
not dl
call fcn.21554a78
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.21554ba0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x215be5c7
lea eax, [ebp - 0x10]
call fcn.21554890
lea eax, [ebp - 8]
call fcn.21554890
ret
Function at 0x45ef29
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
jmp 0x45e920
mov eax, esi
lock xadd dword [ecx], eax
push 0x45e0a0
ret
mov ecx, esi
push 0x45e235
ret
mov ecx, dword [edx]
je 0x45f489
jne 0x45f489
mov edx, 0xa18a48
movzx edx, byte [edx + 0x4c9a90]
adc al, 0x43
mov eax, dword [0x433a38]
push 0x100f08ac
lea eax, [edi + 0x7c]
xor edi, dword [ecx + 0x6a]
jle 0x45e7b3
pop es
inc esi
call fcn.0046b734
add esp, 4
mov esi, dword [ebp - 0x9c]
cmp dword [esi - 0xc], 0
je 0x45ec2d
jmp 0x45e293
push 0xffffffffffffffff
push 0x4779b7
mov eax, dword fs:[0]
push eax
je 0x45ef29
jne 0x45ef29
push 0xbb8788
push 0x100d885c
mov eax, 0x102c2ac8
push 0x1146a5b4
push 0x11475bbc
cmp al, 0x2d
xor al, 0x4c
sti
stc
push cs
or al, 0xd
mov byte [ebp - 4], 4
call fcn.00454660
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 6
cmp eax, ecx
je 0x45e7c2
push eax
jmp 0x45e7ba
lea edx, [esi - 0x10]
or esi, 0xffffffff
je 0x45f04c
jne 0x45f04c
shr byte [ecx + 0x40], 0
mov dword [esi + 0x32f], eax
mov esi, dword [0xe1f020]
lea eax, [edx - 0x70]
push 0x697f602c
lea ecx, [edx + 3]
mov dword [0x415c9c], 0x40af2b
push 0x100c8704
mov ebx, dword [0x41e1a4]
imul esp, edi, 0x176954b4
cvtps2pi mm1, xmm7
salc
jge 0x45ecd0
cwde
fcomp qword [ecx - 0x767bf04e]
idiv edi
jmp [edx + 0x1d]
adc cl, byte [edi]
test byte [edi], dh
idiv edi
invalid
sub esp, 0xa0
mov eax, dword [0x530068]
xor eax, ebp
je 0x45f685
jne 0x45f685
lea eax, [ebp + 0x18]
push 0xa07b78
mov byte [0x52c61c], bl
mov edx, dword [0xcefa68]
mov eax, dword [0x1153dd74]
mov edx, 0xe7
mov eax, 0x10d6df10
push 0x69836938
push 0x11439ec0
stosd dword es:[edi], eax
mov bh, 0x51
mov dh, 0x1d
xchg edx, eax
out 0xbb, eax
test byte [ecx - 0x7b], 0xc9
dec ecx
test ecx, ecx
jg 0x45f620
je 0x45e78a
jne 0x45e78a
lea esi, [esi + 0x80]
call dword [0xdc4180]
movzx ecx, word [edx*2 + 0x483bb8]
enter 0xffffffffffffc065, 0xffffffffffffffcd
cmp esp, dword [eax + 0x18]
sub eax, 0x520a8b27
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0xa4]
jmp 0x45f6cd
mov byte [ebp - 4], 3
lea ecx, [edx + 0xc]
je 0x45e1f5
jne 0x45e1f5
mov byte [0xe2b1f1], al
mov dword [0x103341e4], eax
mov dword [0xe443a4], ebx
mov dword [0x100f732c], eax
mov dword [esi], 0x697df588
jmp dword [eax*4 + 0x60ff18]
lock xadd dword [eax], ecx
dec ecx
push 0x45f561
ret
push edx
push 0x45f363
ret
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, esi
jmp 0x45f0bc
mov edx, dword [ebp - 0xac]
add edx, 0xfffffff0
je 0x45f50b
jne 0x45f50b
mov dword [ecx], 0x4967d4
mov eax, dword [0x1153fa40]
push 0x100c9c3c
cmp dword [0x459f74], 0
mov ecx, 0x114be088
test dword [edx + eax*8], esp
lodsb al, byte [esi]
adc ebx, dword [ebx]
cmp ch, byte [eax + ebp*8 + 0x12]
mov dh, 0xff
inc dword [ebp - 0xfcb1640]
invalid
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
push 0x45f2bc
ret
lea edx, [eax - 0x10]
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
jmp 0x45ef79
Function at 0x474b8e
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x530068]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0046df1f
mov dword [ebp - 0x14], eax
cmp dword [0x531f98], edi
jne 0x474c7f
push 0x800
push edi
push 0x402d08
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x474c0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x474d5f
push 0x402d08
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x474d5f
push 0x402d20
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x474d5f
push eax
call ebx
push 0x402d2c
push esi
mov dword [0x531f98], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x402d3c
push esi
mov dword [0x531f9c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x402d50
push esi
mov dword [0x531fa0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x531fa8], eax
test eax, eax
je 0x474c7c
push 0x402d6c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x531fa4], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x474ca4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x474c97
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x474cb9
push 4
pop eax
jmp 0x474d61
cmp dword [ebp - 0x14], edi
je 0x474cb9
push dword [0x531f98]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x474c9e
mov eax, dword [0x531fa4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x474d17
cmp dword [0x531fa8], esi
je 0x474d17
push eax
call ebx
push dword [0x531fa8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x474d17
test eax, eax
je 0x474d17
call ecx
test eax, eax
je 0x474d0c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x474d0c
test byte [ebp - 8], 1
jne 0x474d17
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x474d47
mov eax, dword [0x531f9c]
cmp eax, esi
je 0x474d44
push eax
call ebx
test eax, eax
je 0x474d44
call eax
mov edi, eax
test edi, edi
je 0x474d44
mov eax, dword [0x531fa0]
cmp eax, esi
je 0x474d44
push eax
call ebx
test eax, eax
je 0x474d44
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x531f98]
call ebx
test eax, eax
je 0x474d5f
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x474d61
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00469efc
leave
ret
Function at 0x45350c
Capabilities:
Encode data using xor

Disassembly:
pushal
and al, 0x72
xor al, 0x5d
xor dword [esi - 0x6716511f], 0xffffffec
adc dword [esi + ecx*4 + 0x28468437], edi
pop ds
fdivr dword [edi + ebp*8]
add eax, 0x968ac239
push ds
xlatb
invalid
pop edi
pushfd
dec esp
sahf
sub byte [eax], bh
jl 0x453499
xchg byte [esi*8 - 0x6dd2e05c], ch
outsd dx, dword [esi]
call dword [eax + eax*4 - 0x62]
mov al, byte [0x6a06bc78]
jo 0x4535a3
sbb edi, dword [edi + 0x1156d6dc]
mov al, 0x52
mov word [edx - 0x41b1510b], ds
les esi, [esp + edi]
lodsb al, byte [esi]
leave
xor ecx, dword [esi + 0x52091e77]
invalid
cld
std
rcl dword [ebx], 0xa6
in eax, 0x2e
clc
inc edx
xor esp, esp
or ch, ch
adc edi, dword [edi]
xchg esi, edi
mov ecx, gs
dec eax
outsb dx, byte [esi]
xor al, 0xe1
pushfd
out 0x9a, al
insd dword es:[edi], dx
cmp al, 0xe7
retf 0xee5

Function at 0x49cfc4
Capabilities:
Encode data using xor

Disassembly:
sbb al, byte [ecx + 0x4767b364]
mov bl, 0x67
mov bl, 0x67
inc edi
push ds
cmpsd dword [esi], dword es:[edi]
xor edi, esi
mov bh, 0x57
push 0xffffffffffffffc6
inc ebp
das
add eax, 0x17286d95
sub eax, 0xee12e7f6
mov dh, 2
mov ecx, 0xcc5f0ee4
arpl di, sp
inc ebx
mov ebp, dword [edi + 0x3e]
inc ebx
sbb eax, 0xd4089138
xadd dword [edi - 0x1d8f5eec], ebx
cli
jb 0x49cfc5
test al, 0xf0
or ah, byte [ecx - 6]
add al, 0x2c
pop ebp
push ss
daa
clc
adc eax, 0xc7b67521
pop ebp
dec eax
jnp 0x49cfc2
popfd
loope 0x49d074
lodsd eax, dword [esi]
out 0xfb, eax
pop es
xlatb
mov bh, 0x8a
aas
jne 0x49d012
invalid
cmp dh, byte [eax - 0x2c]
dec ebp
inc ebx
or dword [edx - 0xe], 0xd34e85ac
aam 0x34
dec ebx
stosb byte es:[edi], al
test byte [edi + eax - 0x7db2ab95], 0x3f
aam 0x41
push edi
stosd dword es:[edi], eax
xor dword [edx], ebx
adc dword [ebp - 7], ebp
fstp xword [edx]
mov dword [ecx + 0x197a9f3d], eax
dec eax
cmp eax, 0xe0cb2440
or dword [eax + 0x60db31c9], 0x2e
pop ecx
sub byte [0x1a71f14], bl
leave
pop eax
ljmp 0x4599
Function at 0x4c5302
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4cc5b8
cmp edx, dword [eax]
je 0x4c5324
add eax, 8
inc ecx
cmp eax, 0x4cc648
jl 0x4c5315
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4cc5b8]
jne 0x4c5452
mov eax, dword [0x4d0cc0]
cmp eax, 1
je 0x4c542c
test eax, eax
jne 0x4c5355
cmp dword [0x4cc4fc], 1
je 0x4c542c
cmp edx, 0xfc
je 0x4c5452
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c538c
lea eax, [ebp - 0x1a4]
push 0x4c981c
push eax
call fcn.004c5a20
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c5c50
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c53cf
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c5c50
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c9818
push edi
call fcn.004c7420
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c97fc
push eax
call fcn.004c5a20
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c5a30
lea eax, [ebp - 0xa0]
push 0x4c97f8
push eax
call fcn.004c5a30
push dword [esi + 0x4cc5bc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c5a30
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c97d0
push eax
call fcn.004c7394
add esp, 0x2c
pop edi
jmp 0x4c5452
lea eax, [ebp + 8]
lea esi, [esi + 0x4cc5bc]
push 0
push eax
push dword [esi]
call fcn.004c5c50
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x409e20
Capabilities:
Get common file path
Move file

Disassembly:
sub esp, 0x200
lea eax, [esp]
push 0xff
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x409ecb
push ebx
push esi
lea ecx, [esp + 8]
push edi
push ecx
lea edx, [esp + 0x110]
push 0x40e244
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edi, 0x40e23c
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xc]
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 + 0x210]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
test eax, eax
pop ebx
je 0x409eb5
lea eax, [esp + 0x100]
lea ecx, [esp]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_rename]
add esp, 8
add esp, 0x200
ret
lea edx, [esp]
lea eax, [esp + 0x100]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_rename]
add esp, 8
add esp, 0x200
ret

Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4