joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d18a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x92000]
push edi
or ebp, 0xffffffff
jmp 0x4d18c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4d18c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d18b8
mov eax, 1
add ebx, ebx
jne 0x4d18db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4d18ec
jne 0x4d18fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d18fc
dec eax
add ebx, ebx
jne 0x4d18f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4d18d0
xor ecx, ecx
sub eax, 3
jb 0x4d1914
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4d1986
sar eax, 1
mov ebp, eax
jmp 0x4d191f
add ebx, ebx
jne 0x4d191f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4d192c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4d1950
inc ecx
add ebx, ebx
jne 0x4d193c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4d1931
jne 0x4d194d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4d1931
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4d1970
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4d1961
jmp 0x4d18be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4d1970
add edi, ecx
jmp 0x4d18be
pop esi
mov edi, esi
mov ecx, 0x404e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4d198e
cmp byte [edi], 0x19
jne 0x4d198e
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 0x4d1993
lea edi, [esi + 0xce000]
mov eax, dword [edi]
or eax, eax
je 0x4d1a02
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd31b4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd327c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4d19c0
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd3280]
or eax, eax
je 0x4d19fc
mov dword [ebx], eax
add ebx, 4
jmp 0x4d19dd
call dword [esi + 0xd3284]
popal
jmp 0x488cf0
Function at 0x401000
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x130
mov eax, dword [0x40e004]
xor eax, esp
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x134]
push ebx
mov ebx, dword [esp + 0x13c]
push ebp
push edi
mov dword [esp + 0xc], eax
xor eax, eax
push eax
push 2
xor edi, edi
mov dword [esp + 0x18], 0x128
mov dword [0x40f040], eax
mov dword [0x40f044], eax
mov dword [0x40f048], eax
mov dword [0x40f04c], eax
mov dword [0x40f050], eax
mov dword [0x40f054], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
test ebp, ebp
je 0x4010ac
lea ecx, [esp + 0x10]
push ecx
push ebp
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4010ac
push esi
mov esi, 0x40f040
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.0040a221
add esp, 8
test eax, eax
jne 0x40109c
mov eax, dword [esp + 0x1c]
mov dword [ebx], eax
mov dword [esi], eax
mov edi, 1
add esi, 4
lea ecx, [esp + 0x14]
push ecx
push ebp
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x401076
pop esi
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x138]
mov eax, edi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00401720
add esp, 0x130
ret

Function at 0x401100
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
lea ecx, [esp]
push ecx
push 0x4010d0
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 4]
add esp, 8
ret
Function at 0x401720
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40e004]
jne 0x40172a
repz ret
jmp fcn.00402179

Function at 0x408645
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00403f2c
xor ebx, ebx
cmp dword [0x40fa6c], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x40871a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x408685
xor eax, eax
jmp 0x4087de
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40b998
push edi
call esi
cmp eax, ebx
je 0x40867e
push eax
call fcn.00403ec9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40fa6c], eax
call esi
push eax
call fcn.00403ec9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40fa70], eax
call esi
push eax
call fcn.00403ec9
mov dword [0x40fa74], eax
lea eax, [ebp - 8]
push eax
call fcn.00401c4b
test eax, eax
pop ecx
pop ecx
je 0x4086e8
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00402656
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x40871a
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00403ec9
cmp eax, ebx
pop ecx
mov dword [0x40fa7c], eax
je 0x40871a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403ec9
pop ecx
mov dword [0x40fa78], eax
mov eax, dword [0x40fa78]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x408793
cmp dword [0x40fa7c], esi
je 0x408793
push eax
call fcn.00403f35
pop ecx
call eax
cmp eax, ebx
je 0x408760
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x40fa7c]
call fcn.00403f35
pop ecx
call eax
test eax, eax
je 0x408760
test byte [ebp - 0x18], 1
jne 0x408793
lea eax, [ebp - 0xc]
push eax
call fcn.00401c82
test eax, eax
pop ecx
je 0x40877b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00402656
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x40878a
or dword [ebp + 0x10], 0x200000
jmp 0x4087c4
or dword [ebp + 0x10], 0x40000
jmp 0x4087c4
mov eax, dword [0x40fa70]
cmp eax, esi
je 0x4087c4
push eax
call fcn.00403f35
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4087c4
mov eax, dword [0x40fa74]
cmp eax, esi
je 0x4087c4
push dword [ebp - 4]
push eax
call fcn.00403f35
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x40fa6c]
call fcn.00403f35
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x497640
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x60000]
push edi
jmp 0x49765a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x497661
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x497650
mov eax, 1
add ebx, ebx
jne 0x497673
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x497684
jne 0x4976a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4976a3
dec eax
add ebx, ebx
jne 0x497690
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x497668
add ebx, ebx
jne 0x49769f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4976f5
xor ecx, ecx
sub eax, 3
jb 0x4976bb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x49772a
sar eax, 1
mov ebp, eax
jmp 0x4976c6
add ebx, ebx
jne 0x4976c6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x497694
inc ecx
add ebx, ebx
jne 0x4976d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x497694
add ebx, ebx
jne 0x4976e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4976d6
jne 0x4976f2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4976d6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x497714
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x497706
jmp 0x497656
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x497714
add edi, ecx
jmp 0x497656
pop esi
mov edi, esi
mov ecx, 0x30e6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x497732
cmp byte [edi], 0x19
jne 0x497732
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 al, bl
loop 0x497737
lea edi, [esi + 0x94000]
mov eax, dword [edi]
or eax, eax
je 0x4977af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9bcb0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9bdc8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x497764
mov ecx, edi
jns 0x497793
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x9bdcc]
or eax, eax
je 0x4977a9
mov dword [ebx], eax
add ebx, 4
jmp 0x497781
call dword [esi + 0x9bddc]
mov ebp, dword [esi + 0x9bdd0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4977e3
sub esp, 0xffffff80
jmp 0x45372d
Function at 0x4014d0
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x4014e2
mov eax, dword [0x4ae08b]
shl eax, 2
mov dword [0x4ae08f], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.004a14d4
pop edx
call fcn.004a1438
call fcn.004a1514
push 0
call fcn.004a2978
pop ecx
push 0x4ae034
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x4ae093], eax
push 0
jmp fcn.004a8bb8
Function at 0x4108bc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41092e
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]

Function at 0x43176c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4b4938
cmp dword [edi], 0
jne 0x4317e8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x4b4934]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4afde4
mov ecx, 2
call fcn.00442da0
mov edx, 0x431744
lea eax, [esi + 5]
call fcn.00431764
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00431764
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4317bd
mov dword [0x4b4934], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x435ee8
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 0x435f21
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0044467c
jmp 0x435f2a
mov eax, ebx
mov edx, esi
call fcn.004445e0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x435f34
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 0x435f55
mov al, byte [esp]
jmp 0x435f57
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x437258
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x4372bc
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004447f4
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.00434200
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4372c3
lea eax, [ebp - 0xc]
call fcn.0044458c
ret
Function at 0x443890
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4b031c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x443928
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x443908
xor eax, eax
push ebp
push 0x443901
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 0x443944
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 0x443908
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x4b031c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4b031c], ax
mov esp, ebp
pop ebp
ret

Function at 0x4443f0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4b4c5c], 0
je 0x444451
cmp word [0x4b4e30], 0xd7b2
jne 0x444419
cmp dword [0x4b4e38], 0
jbe 0x444419
mov eax, 0x4b4e2c
call dword [0x4b4e48]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x444478
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x4b032c], 0
jne 0x44446d
push 0
push 0x4b0384
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret
Function at 0x445ef8
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 0xf0019
push 0
push 0x446128
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x445f7b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x446128
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x445f7b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x446144
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x446004
xor eax, eax
push ebp
push 0x445ffd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00445d40
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x445fe2
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x446164
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x445fe2
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x446004
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrcpynA
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 0x44611e
cmp byte [ebp - 0xd], 0
jne 0x44604b
cmp byte [ebp - 0x12], 0
je 0x44611e
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x446064
dec ebx
cmp byte [ebx], 0x2e
je 0x446073
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x446063
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x44611e
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4460b0
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x44611e
cmp byte [ebp - 0xd], 0
je 0x44611e
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x44611e
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
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 0x4468d0
Capabilities:
Accept command line arguments

Disassembly:
sub dword [0x4b51d0], 1
jae 0x446956
mov byte [0x4b0318], 2
mov dword [0x4b4c20], 0x4ad342
mov dword [0x4b4c24], 0x4ad35a
mov byte [0x4b4c5e], 2
mov dword [0x4b4c0c], 0x445528
call fcn.00443860
test al, al
je 0x446913
call fcn.00443890
call fcn.00443954
mov word [0x4b4c64], 0xd7b0
mov word [0x4b4e30], 0xd7b0
mov word [0x4b4ffc], 0xd7b0
call fcn.00445408
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x4b4c50], eax
call fcn.004417d8
mov dword [0x4b4c4c], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x4b4c44], eax
ret

Function at 0x44736c
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x4472b8
call sub.USER32.DLL_EnumWindows
ret

Function at 0x447490
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x44750d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00446edc
call sub.KERNEL32.DLL_GetTickCount
mov ebx, eax
push 0
call sub.KERNEL32.DLL_Sleep
call sub.KERNEL32.DLL_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x4474b5
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00446b34
cmp dword [ebp - 4], 0
je 0x4474f7
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00444a3c
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.USER32.DLL_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x447514
lea eax, [ebp - 4]
call fcn.0044458c
ret

Function at 0x44aca4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00444a3c
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
setne al
pop ebx
ret
Function at 0x4546b4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea ebx, [ebp - 4]
xor eax, eax
push ebp
push 0x454874
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebx]
call fcn.00482eb0
mov eax, dword [ebx]
cmp byte [eax + 0x210], 0
je 0x454859
call sub.KERNEL32.DLL_GetTickCount
mov edx, dword [ebx]
sub eax, dword [edx + 0x220]
cmp eax, 0x1f4
jb 0x454717
mov eax, dword [ebx]
add eax, 0x21c
call fcn.0044458c
call sub.KERNEL32.DLL_GetTickCount
mov edx, dword [ebx]
mov dword [edx + 0x220], eax
mov eax, dword [ebp - 8]
mov al, byte [eax]
cmp al, 8
je 0x4547e8
mov eax, dword [ebp - 8]
mov al, byte [eax]
mov edx, dword [0x4b4564]
and eax, 0xff
bt dword [edx], eax
jae 0x4547aa
push 1
push 0x102
push 0x102
mov eax, dword [ebx]
call fcn.00483e80
push eax
lea eax, [ebp - 0x24]
push eax
call sub.USER32.DLL_PeekMessageA
test eax, eax
je 0x454828
mov eax, dword [ebx]
push dword [eax + 0x21c]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 8]
mov dl, byte [edx]
call fcn.0044476c
push dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
call fcn.0044476c
push dword [ebp - 0x2c]
mov eax, dword [ebx]
add eax, 0x21c
mov edx, 3
call fcn.00444904
mov eax, dword [ebp - 8]
mov byte [eax], 0
jmp 0x454828
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
mov dl, byte [edx]
call fcn.0044476c
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx]
add eax, 0x21c
call fcn.0044484c
jmp 0x454828
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.00444844
mov edx, eax
mov eax, dword [ebx]
add eax, 0x21c
mov ecx, 1
call fcn.00444adc
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.00444844
mov edx, eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.00436f38
cmp al, 2
je 0x4547c8
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.00444844
mov edx, eax
mov eax, dword [ebx]
add eax, 0x21c
mov ecx, 1
call fcn.00444adc
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.00444844
test eax, eax
jle 0x454842
push ebp
call fcn.004545cc
pop ecx
jmp 0x454859
xor edx, edx
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0xcc]
mov eax, dword [ebx]
mov si, 0xffeb
call fcn.00443c1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45487b
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.004445b0
ret

Function at 0x4559d4
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.0044458c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x455a23
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.USER32.DLL_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.004447f4
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45da98
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x45da9e
ret

Function at 0x4600e0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x460131
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x460118
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x460108
jmp 0x460131
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x460119
pop ebx
mov esp, ebp
pop ebp
ret