joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44ba98
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 0x44bc43
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44bc24
mov dl, 1
mov eax, dword [0x40c23c]
call fcn.0042b5ec
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0042c150
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44bc13
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.0045fc40
test al, al
je 0x44bc06
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, 0x44bc54
lea eax, [ebp - 0x254]
call fcn.0041b5b0
push eax
push closesocket
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x44bc06
xor eax, eax
push ebp
push 0x44bbff
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x100
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x44bc8c
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x44bbe8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.0042c3b8
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 0x44bbe8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.0042c3b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44bc06
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44bb09
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041065c
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 0x44bc4a
lea eax, [ebp - 0x260]
call fcn.0042c150
ret

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

Disassembly:
push ecx
mov eax, dword [0x471ae0]
cmp byte [eax + 0xa5], 0
jne 0x44c5e9
cmp dword [0x471af8], 0
jne 0x44c5aa
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x44c534
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x471af8], eax
cmp dword [0x471af4], 0
jne 0x44c5c5
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x471af4], eax
cmp dword [0x471afc], 0
jne 0x44c5e9
push esp
push 0
push 0
push 0x44c4d8
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x471afc], eax
pop edx
ret
Function at 0x44c6e0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44c6f7
add esp, 0xfffffff0
call fcn.0042b968
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004160e4
mov eax, dword [0x470da8]
cmp word [eax + 2], 0
jne 0x44c71f
mov eax, dword [0x470da8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044dd2c
mov eax, dword [0x470dac]
cmp word [eax + 2], 0
jne 0x44c739
mov eax, dword [0x470dac]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044df24
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x40bd0c]
call fcn.0042b5ec
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x40bd0c]
call fcn.0042b5ec
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], SafeArrayPutElement
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 [0x43b264]
call fcn.00440eb0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44c8c0
mov eax, dword [0x470d70]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00441280
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44e4a4
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x470d70]
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.0041edd0
test eax, eax
je 0x44c82e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0041af0c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0041edf8
test eax, eax
je 0x44c842
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, 0x100
call fcn.0042c3b8
mov eax, dword [0x470d78]
cmp byte [eax], 0
jne 0x44c876
mov eax, ebx
call fcn.0044c9e8
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.0044e680
mov eax, ebx
call fcn.0044f030
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44c8b6
call fcn.0042b9c0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44cc5c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x471ae0]
cmp dword [eax + 0x30], 0
je 0x44cd06
cmp dword [ebx + 0x94], 0
jne 0x44cd00
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44cbec
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44cd00
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 0x44ccc6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44cd00
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.0040e3a0
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44ccd5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44d7e4
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 0x44d819
push 0x100
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.0042c240
jmp 0x44d826
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0042c1a4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44e85c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44e89d
mov eax, esi
call fcn.0045b508
test al, al
je 0x44e89d
mov eax, dword [ebx + 0x84]
call fcn.0045b204
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x44e89d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0045b204
push eax
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
ret
Function at 0x45273c
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 - 9]
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
cmp dword [0x471b84], 0
je 0x45288b
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x470d94]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x45288b
mov eax, dword [0x471b88]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x471b84]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x45285a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x471b84]
call fcn.0040e3a0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x452852
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x452852
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x452852
mov eax, dword [ebp - 0x14]
call fcn.0045b204
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x452852
push ebp
call fcn.004526f8
pop ecx
test al, al
jne 0x452852
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x45280e
mov eax, dword [ebp - 0x14]
call fcn.00459d98
dec eax
jle 0x452852
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.0042b818
cmp byte [ebp - 1], 0
je 0x452852
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x452852
mov edx, dword [ebp - 0x14]
mov eax, dword [0x471b88]
call fcn.00451ec0
inc edi
dec ebx
jne 0x4527a1
mov eax, dword [0x471b88]
cmp dword [eax + 8], 0
jle 0x452872
mov eax, dword [0x471b88]
call fcn.00451f50
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x45288b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00452560
pop ecx
test al, al
jne 0x45288b
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 0x455e54
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x455ea0
mov eax, esi
call fcn.00444d80
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x455ea0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x455ea0
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x455fdf
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x455ee0
cmp eax, 0x108
ja 0x455ee0
mov eax, esi
call fcn.00444d80
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x455fd6
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x455fdf
jmp 0x455fd6
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x455fbf
cmp eax, 0x20a
ja 0x455fbf
test byte [esi + 0x50], 0x80
jne 0x455f12
sub eax, 0x203
je 0x455f0f
sub eax, 3
je 0x455f0f
sub eax, 3
jne 0x455f12
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x455f26
dec eax
je 0x455f3b
dec eax
je 0x455f58
dec eax
je 0x455f3b
jmp 0x455f5f
mov ecx, ebx
mov eax, dword [0x470d94]
mov eax, dword [eax]
mov edx, esi
call fcn.0044e714
jmp 0x455fd6
cmp byte [esi + 0x5d], 1
jne 0x455f51
mov eax, esi
mov si, 0xffed
call fcn.0042b818
jmp 0x455fdf
or word [esi + 0x54], 1
jmp 0x455fd6
and word [esi + 0x54], 0xfffe
jmp 0x455fd6
mov eax, dword [0x471b40]
cmp byte [eax + 0x20], 0
je 0x455fd6
mov eax, dword [0x471b40]
cmp dword [eax + 0x1c], 0
je 0x455fd6
mov eax, dword [ebx]
mov edx, dword [0x471b40]
cmp eax, dword [edx + 0x1c]
jne 0x455fd6
lea eax, [ebp - 0x114]
push eax
call sub.USER32.DLL_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00444cc4
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.0042b818
jmp 0x455fdf
cmp eax, 0xb00b
jne 0x455fd6
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00454774
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459434
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 + 0x1f8], 0
je 0x459450
cmp dword [esi + 4], 0
je 0x45947d
test byte [ebx + 0x55], 1
jne 0x45946f
mov eax, ebx
call fcn.0045808c
test eax, eax
jne 0x45946f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x45958d
mov edx, esi
mov eax, ebx
call fcn.00458f54
jmp 0x45958d
push 0
call sub.USER32.DLL_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
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 0x459586
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0045b204
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.00455d88
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00459434
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 + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
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.0045b204
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45958d
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 0x45f8e0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x470bc0]
cmp byte [eax + 0xc], 0
je 0x45fa4d
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45fa46
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x471b94], 0
jne 0x45f934
push 0x45fa54
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x45fa5c
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x471b94], eax
cmp dword [0x46d6e8], 0
jne 0x45fa2f
push 0x45fa6c
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x46d6e8], eax
cmp dword [0x46d6e8], 0
je 0x45fa2f
push 0x45fa78
mov eax, dword [0x46d6e8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x471b98], eax
push 0x45fa88
mov eax, dword [0x46d6e8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x471b9c], eax
push 0x45fa9c
mov eax, dword [0x46d6e8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x471ba0], eax
push 0x45fab4
mov eax, dword [0x46d6e8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x471ba4], eax
push 0x45facc
mov eax, dword [0x46d6e8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x471ba8], eax
push 0x45fae0
mov eax, dword [0x46d6e8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x471bac], eax
push 0x45faf8
mov eax, dword [0x46d6e8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x471bb0], eax
push 0x45fb10
mov eax, dword [0x46d6e8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x471bb4], eax
push 0x45fb2c
mov eax, dword [0x46d6e8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x471bb8], eax
push 0x45fb38
mov eax, dword [0x46d6e8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x471bbc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45fa4d
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x464ba0
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 0x464c02
call fcn.00464b50
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.00460ea0
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.00460ea0
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 0x464c80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x46f2d0], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x464d5a
cmp dword [0x46f2cc], 0
jne 0x464d5a
cmp dword [0x46f4b0], 0
je 0x464d14
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.00464a50
add esp, 8
mov ebx, eax
test eax, eax
jne 0x464cfa
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.00464a50
add esp, 8
mov ebx, eax
test eax, eax
jne 0x464cfa
lea ebx, [ebp - 0x84]
jmp 0x464cfb
inc ebx
call fcn.00464c3c
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x464d95
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x46f2d4
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00460ea0
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x46f2d7
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x464d95
cmp dword [0x46f2cc], 0
je 0x464d74
cmp dword [0x46f2cc], 0xffffffff
je 0x464d95
push esi
call dword [0x46f2cc]
pop ecx
mov eax, dword [0x46f2d0]
test eax, eax
je 0x464d95
cmp dword [0x46f2d0], 0xffffffff
je 0x464d95
cmp byte [eax], 0
je 0x464d95
push esi
push eax
call fcn.00464ba0
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46552c
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x472420], 0
jne 0x4655ad
cmp dword [0x472440], 0
jne 0x46555c
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x472440], eax
test eax, eax
jne 0x46555c
push str.GetEnvironmentStrings_failed
call fcn.00464dac
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x472440]
jmp 0x465570
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.00460ea0
pop ecx
mov edi, eax
test eax, eax
jne 0x465568
lea edi, [ebp + 1]
push edi
call fcn.004607a4
pop ecx
mov ebx, eax
mov dword [0x472424], ebx
test ebx, ebx
jne 0x46559a
xor eax, eax
jmp 0x465670
push edi
mov edx, dword [0x472440]
push edx
push ebx
call fcn.00460d50
add esp, 0xc
jmp 0x4655cd
xor esi, esi
mov ebx, dword [0x472420]
jmp 0x4655c7
push eax
call fcn.00460ea0
pop ecx
test eax, eax
jne 0x4655c3
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x4655b7
lea ebx, [esi + 4]
push 4
mov dword [0x472428], ebx
inc ebx
push ebx
call fcn.0046027c
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x4655f0
xor eax, eax
jmp 0x465670
cmp dword [0x472420], 0
jne 0x465621
xor esi, esi
mov ebx, dword [0x472424]
mov eax, dword [esp]
mov ebp, eax
jmp 0x465612
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.00460ea0
pop ecx
mov edi, eax
test eax, eax
jne 0x465608
jmp 0x465652
xor esi, esi
mov ebx, dword [0x472420]
mov eax, dword [esp]
mov edi, eax
jmp 0x46564c
push eax
call fcn.00460ea0
pop ecx
test eax, eax
je 0x465641
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x465645
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x465630
mov eax, dword [0x472420]
test eax, eax
je 0x465662
push eax
call fcn.004607b4
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x472420], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x48ed90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x56000]
push edi
jmp 0x48edaa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x48edb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48eda0
mov eax, 1
add ebx, ebx
jne 0x48edc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x48edd4
jne 0x48edf3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48edf3
dec eax
add ebx, ebx
jne 0x48ede0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x48edb8
add ebx, ebx
jne 0x48edef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x48ee45
xor ecx, ecx
sub eax, 3
jb 0x48ee0b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x48ee7a
sar eax, 1
mov ebp, eax
jmp 0x48ee16
add ebx, ebx
jne 0x48ee16
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48ede4
inc ecx
add ebx, ebx
jne 0x48ee24
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48ede4
add ebx, ebx
jne 0x48ee31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x48ee26
jne 0x48ee42
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x48ee26
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x48ee64
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x48ee56
jmp 0x48eda6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x48ee64
add edi, ecx
jmp 0x48eda6
pop esi
mov edi, esi
mov ecx, 0x1dc0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x48ee82
cmp byte [edi], 0x17
jne 0x48ee82
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 0x48ee87
lea edi, [esi + 0x8b000]
mov eax, dword [edi]
or eax, eax
je 0x48eeff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x92250]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x92354]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x48eeb4
mov ecx, edi
jns 0x48eee3
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 + 0x92358]
or eax, eax
je 0x48eef9
mov dword [ebx], eax
add ebx, 4
jmp 0x48eed1
call dword [esi + 0x92368]
mov ebp, dword [esi + 0x9235c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x48ef33
sub esp, 0xffffff80
jmp 0x418251
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219