joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444f34
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x463364]
cmp byte [eax + 0xc], 0
je 0x4450a1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44509a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x464b94], 0
jne 0x444f88
push 0x4450a8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4450b0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464b94], eax
cmp dword [0x462bfc], 0
jne 0x445083
push 0x4450c0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x462bfc], eax
cmp dword [0x462bfc], 0
je 0x445083
push 0x4450cc
mov eax, dword [0x462bfc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464b98], eax
push 0x4450dc
mov eax, dword [0x462bfc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464b9c], eax
push 0x4450f0
mov eax, dword [0x462bfc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464ba0], eax
push 0x445108
mov eax, dword [0x462bfc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464ba4], eax
push 0x445120
mov eax, dword [0x462bfc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464ba8], eax
push 0x445134
mov eax, dword [0x462bfc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464bac], eax
push 0x44514c
mov eax, dword [0x462bfc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464bb0], eax
push 0x445164
mov eax, dword [0x462bfc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464bb4], eax
push 0x445180
mov eax, dword [0x462bfc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464bb8], eax
push 0x44518c
mov eax, dword [0x462bfc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464bbc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4450a1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x448f48
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.00403f00
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x448f97
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404170
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x450784
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4507d4]
test si, 4
je 0x450798
or bl, 1
test si, 8
je 0x4507a2
or bl, 4
test si, 1
je 0x4507ac
or bl, 8
test si, 2
je 0x4507b6
or bl, 0x10
test si, 0x10
je 0x4507c0
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4507cf
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4507d8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x450810]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4507f1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450800
or bl, 4
test esi, 0x20000000
je 0x45080b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x456eb8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x456eca
add esp, 0xfffffff0
call fcn.004034d4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ccfc
mov eax, dword [0x462ffc]
mov dword [eax + 4], ebx
mov dword [eax], 0x45725c
mov eax, dword [0x463008]
mov dword [eax + 4], ebx
mov dword [eax], 0x457268
mov eax, ebx
call fcn.00457274
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x414ff4]
call fcn.00403180
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x414ff4]
call fcn.00403180
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x414ff4]
call fcn.00403180
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x414ff4]
call fcn.00403180
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x414ff4]
call fcn.00403180
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x453690
push eax
push 0
push 0
mov eax, dword [0x46315c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41e760]
call fcn.0041ff74
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41e760]
call fcn.0041ff74
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41e760]
call fcn.0041ff74
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00457694
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x457570
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x457570
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x457570
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x457007
call fcn.0040352c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x457354
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 0x4574ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4574e0
mov dl, 1
mov eax, dword [0x415410]
call fcn.00403180
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403f00
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4574cf
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.00445294
test al, al
je 0x4574c2
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, 0x457510
lea eax, [ebp - 0x254]
call fcn.00408d18
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4574c2
xor eax, eax
push ebp
push 0x4574bb
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 0x457548
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4574a4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404170
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 0x4574a4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404170
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4574c2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4573c5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00418eec
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 0x457506
lea eax, [ebp - 0x260]
call fcn.00403f00
ret

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

Disassembly:
push ecx
mov eax, dword [0x464be0]
cmp byte [eax + 0xa5], 0
jne 0x457ea5
cmp dword [0x464bf8], 0
jne 0x457e66
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x457df0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x464bf8], eax
cmp dword [0x464bf4], 0
jne 0x457e81
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x464bf4], eax
cmp dword [0x464bfc], 0
jne 0x457ea5
push esp
push 0
push 0
push 0x457d94
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x464bfc], eax
pop edx
ret
Function at 0x457f9c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x457fb3
add esp, 0xfffffff0
call fcn.004034d4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ccfc
mov eax, dword [0x463148]
cmp word [eax + 2], 0
jne 0x457fdb
mov eax, dword [0x463148]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00459674
mov eax, dword [0x4631fc]
cmp word [eax + 2], 0
jne 0x457ff5
mov eax, dword [0x4631fc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045986c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x414ff4]
call fcn.00403180
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x414ff4]
call fcn.00403180
mov dword [ebx + 0xa8], 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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41f2e0]
call fcn.00426ce8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45817c
mov eax, dword [0x463064]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004270b8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x459e0c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x463064]
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.0040c470
test eax, eax
je 0x4580ea
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040870c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c498
test eax, eax
je 0x4580fe
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404170
mov eax, dword [0x462f30]
cmp byte [eax], 0
jne 0x458132
mov eax, ebx
call fcn.004582a4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00459fe8
mov eax, ebx
call fcn.0045a9ac
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x458172
call fcn.0040352c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x458524
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x464be0]
cmp dword [eax + 0x30], 0
je 0x4585ce
cmp dword [ebx + 0x94], 0
jne 0x4585c8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4584b4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4585c8
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 0x45858e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4585c8
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.0041735c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45859d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x459130
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x459165
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.00403ff0
jmp 0x459172
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403f54
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45a1c4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45a205
mov eax, esi
call fcn.004408c0
test al, al
je 0x45a205
mov eax, dword [ebx + 0x84]
call fcn.004405bc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45a205
push 0
mov eax, dword [ebx + 0x84]
call fcn.004405bc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45aec4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41458c]
call fcn.00404898
xor eax, eax
push ebp
push 0x45b008
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x462e30], 0
jne 0x45af17
mov ecx, dword [0x462f40]
mov dl, 1
mov eax, dword [0x4070d0]
call fcn.0040b714
call fcn.0040393c
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402bc4
mov eax, ebx
call fcn.00404768
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x45b018
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.0040581c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404778
test eax, eax
jle 0x45afaf
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x45afa8
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404188
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404170
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00407f10
test eax, eax
jne 0x45afa8
mov ebx, 0x15
jmp 0x45afb4
mov ebx, 0x10
jmp 0x45afb4
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x462e30]
call fcn.0045ae1c
mov eax, dword [ebp - 8]
call fcn.0045ae1c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405834
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b00f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00403f24
lea eax, [ebp - 0x10]
mov edx, dword [0x41458c]
call fcn.00404968
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401ab5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x484090]
jne 0x401abf
repz ret
jmp fcn.00403258

Function at 0x40b4b3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040453b
and dword [ebp - 4], 0
cmp dword [0x488640], 0
mov ebx, eax
jne 0x40b564
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b615
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b615
push eax
call fcn.004044c9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x488640], eax
call esi
push eax
call fcn.004044c9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x488644], eax
call esi
push eax
call fcn.004044c9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x488648], eax
call esi
push eax
call fcn.004044c9
pop ecx
mov dword [0x488650], eax
test eax, eax
je 0x40b564
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004044c9
pop ecx
mov dword [0x48864c], eax
mov eax, dword [0x48864c]
cmp eax, ebx
je 0x40b5bc
cmp dword [0x488650], ebx
je 0x40b5bc
push eax
call fcn.00404544
push dword [0x488650]
mov esi, eax
call fcn.00404544
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b5bc
test edi, edi
je 0x40b5bc
call esi
test eax, eax
je 0x40b5b3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b5b3
test byte [ebp - 0xc], 1
jne 0x40b5bc
or dword [ebp + 0x10], 0x200000
jmp 0x40b5f5
mov eax, dword [0x488644]
cmp eax, ebx
je 0x40b5f5
push eax
call fcn.00404544
pop ecx
test eax, eax
je 0x40b5f5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b5f5
mov eax, dword [0x488648]
cmp eax, ebx
je 0x40b5f5
push eax
call fcn.00404544
pop ecx
test eax, eax
je 0x40b5f5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x488640]
call fcn.00404544
pop ecx
test eax, eax
je 0x40b615
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b617
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40670d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x460104], 0
jne 0x40674b
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406721
mov dword [ecx*4 + 0x460100], eax
inc ecx
cmp ecx, 0x100
jl 0x40671c
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x406778
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x460100]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x406759
not eax
pop ebp
ret 0xc

Function at 0x445b40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x30000]
push edi
or ebp, 0xffffffff
jmp 0x445b62
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x445b69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x445b58
mov eax, 1
add ebx, ebx
jne 0x445b7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
ja 0x445b70
jne 0x445b8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x445b70
xor ecx, ecx
sub eax, 3
jb 0x445ba0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x445c12
mov ebp, eax
add ebx, ebx
jne 0x445bab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x445bb8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x445bdc
inc ecx
add ebx, ebx
jne 0x445bc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
ja 0x445bbd
jne 0x445bd9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x445bbd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jle 0x445bfc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x445bed
jmp 0x445b5e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x445bfc
add edi, ecx
jmp 0x445b5e
pop esi
sub edi, dword [edi - 4]
push edi
mov edi, esi
mov ecx, 0xb0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x445c1e
cmp byte [edi], 1
jne 0x445c1e
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 0x445c23
pop edi
mov eax, dword [edi]
or eax, eax
je 0x445c94
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x45000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x45064]
xchg edx, eax
mov al, byte [edi]
inc edi
or al, al
je 0x445c4b
push edx
mov ecx, edi
jns 0x445c7b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push edx
call dword [esi + 0x45068]
pop edx
or eax, eax
je 0x445c92
mov dword [ebx], eax
add ebx, 4
jmp 0x445c68
popal
ret
popal
jmp 0x409e30
Function at 0x402bd7
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
push edi
mov dword [ebp - 0xd0], 0xfa
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x412598
push 0x80000001
call sub.ADVAPI32.DLL_RegCreateKeyExA
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xcc]
push eax
push 0
push 0
push str.Winsock_driver
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
or eax, eax
jne 0x402c48
push str.wuaumqr.exe
lea edi, [ebp - 0xcc]
push edi
call sub.CRTDLL.DLL_strcmp
add esp, 8
or eax, eax
je 0x402c60
push 0x7f
push str.wuaumqr.exe
push 1
push 0
push str.Winsock_driver
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegCloseKey
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.tsm
push 0x80000002
call sub.ADVAPI32.DLL_RegCreateKeyExA
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xcc]
push eax
push 0
push 0
push str.Winsock_driver
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
or eax, eax
jne 0x402cc5
push str.wuaumqr.exe
lea edi, [ebp - 0xcc]
push edi
call sub.CRTDLL.DLL_strcmp
add esp, 8
or eax, eax
je 0x402cdd
push 0x7f
push str.wuaumqr.exe
push 1
push 0
push str.Winsock_driver
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegCloseKey
pop edi
leave
ret

Function at 0x402d2e
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
push edi
push 0xfa
push 0
lea eax, [ebp - 0xfa]
push eax
call sub.CRTDLL.DLL_memset
push 0x64
push 0
push 0x40bec0
call sub.CRTDLL.DLL_memset
add esp, 0x18
push 0x4127f4
lea eax, [ebp - 0xfa]
push eax
call sub.ADVAPI32.DLL_GetUserNameA
or eax, eax
je 0x402d82
lea eax, [ebp - 0xfa]
push eax
push 0x40bdc0
call fcn.00407b2c
push 0x413ae1
lea eax, [ebp - 0xfa]
push eax
call sub.CRTDLL.DLL_strtok
add esp, 8
lea ecx, [ebp - 0xfa]
or eax, 0xffffffff
inc eax
cmp byte [ecx + eax], 0
jne 0x402d9f
cmp eax, 3
jb 0x402dd9
lea ecx, [ebp - 0xfa]
or eax, 0xffffffff
inc eax
cmp byte [ecx + eax], 0
jne 0x402db4
cmp eax, 0x14
ja 0x402dd9
push str.Administrator
lea edi, [ebp - 0xfa]
push edi
call sub.CRTDLL.DLL_strcmp
add esp, 8
cmp eax, 0
jne 0x402de0
call fcn.00402e15
jmp 0x402e12
call sub.KERNEL32.DLL_GetTickCount
push eax
call sub.CRTDLL.DLL_srand
call sub.CRTDLL.DLL_rand
mov ecx, 0x63
cdq
idiv ecx
push edx
lea edi, [ebp - 0xfa]
push edi
push str._s_i
push 0x40bec0
call sub.CRTDLL.DLL_sprintf
add esp, 0x14
pop edi
leave
ret