joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428ee0
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 0x429085
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4331f4]
call fcn.0043fb3c
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00440610
push 0
call sub.USER32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x42905b
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.00432398
test al, al
je 0x42904e
lea eax, [ebp - 0xc]
push eax
push 0xf003f
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, 0x429094
lea eax, [ebp - 0x254]
call fcn.0043b680
push eax
push 0x80000002
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
jne 0x42904e
xor eax, eax
push ebp
push 0x429047
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 0x4290cc
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.dll_RegQueryValueExA
test eax, eax
jne 0x429030
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.0044083c
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x429030
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.0044083c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42904e
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x428f51
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00435f28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42908c
lea eax, [ebp - 0x260]
call fcn.00440610
ret

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

Disassembly:
push ecx
mov eax, dword [0x457be8]
cmp byte [eax + 0x85], 0
jne 0x4292e9
cmp dword [0x457c28], 0
jne 0x4292aa
call sub.KERNEL32.dll_GetCurrentThreadId
push eax
push 0
mov eax, 0x429234
push eax
push 3
call sub.USER32.dll_SetWindowsHookExA
mov dword [0x457c28], eax
cmp dword [0x457c24], 0
jne 0x4292c5
push 0
push 0
push 0
push 0
call sub.KERNEL32.dll_CreateEventA
mov dword [0x457c24], eax
cmp dword [0x457c2c], 0
jne 0x4292e9
push esp
push 0
push 0
push 0x4291d8
push 0x3e8
push 0
call sub.KERNEL32.dll_CreateThread
mov dword [0x457c2c], eax
pop edx
ret
Function at 0x4293d8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4293ef
add esp, 0xfffffff0
call fcn.0043fd98
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00438b90
mov dl, 1
mov eax, dword [0x432eb8]
call fcn.0043fb3c
mov dword [ebx + 0x70], eax
mov dl, 1
mov eax, dword [0x432eb8]
call fcn.0043fb3c
mov dword [ebx + 0x88], eax
xor eax, eax
mov dword [ebx + 0x44], eax
xor eax, eax
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x40], 0x80000018
mov dword [ebx + 0x58], 0x1f4
mov dword [ebx + 0x5c], 0x32
mov dword [ebx + 0x60], 0x9c4
mov byte [ebx + 0x68], 0
mov byte [ebx + 0x7d], 1
mov dl, 1
mov eax, dword [0x41f8b8]
call fcn.004226f4
mov esi, eax
mov dword [ebx + 0x78], esi
push 0x42954c
mov eax, dword [0x456620]
mov eax, dword [eax]
push eax
call sub.USER32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00422a98
mov eax, dword [ebx + 0x78]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x42ab98
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x456620]
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.0043ccc4
test eax, eax
je 0x4294d0
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0043b0d0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0043ccec
test eax, eax
je 0x4294e4
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.USER32.dll_CharLowerA
lea eax, [ebx + 0x6c]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.0044083c
mov eax, dword [0x456624]
cmp byte [eax], 0
jne 0x429515
mov eax, ebx
call fcn.00429634
mov byte [ebx + 0x3d], 1
mov byte [ebx + 0x3e], 1
mov byte [ebx + 0x3f], 1
mov byte [ebx + 0x7e], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x429544
call fcn.0043fde0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x429884
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x457be8]
cmp dword [eax + 0x24], 0
je 0x429914
cmp dword [ebx + 0x74], 0
jne 0x429911
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x429818
call sub.USER32.dll_EnumWindows
mov eax, dword [ebx + 0x70]
cmp dword [eax + 8], 0
je 0x429911
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 0x4298e0
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x70]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x429911
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x70]
call fcn.00434060
push eax
call sub.USER32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4298ec
inc dword [ebx + 0x74]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x42a200
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x84], 0
je 0x42a235
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.USER32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004406f4
jmp 0x42a23f
mov eax, esi
mov edx, dword [ebx + 0x6c]
call fcn.004406a8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x42ae1c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x64]
test esi, esi
je 0x42ae54
mov eax, esi
call fcn.004313bc
test al, al
je 0x42ae54
mov eax, dword [ebx + 0x64]
call fcn.004312c0
push eax
call sub.USER32.dll_IsWindowVisible
test eax, eax
je 0x42ae54
push 0
mov eax, dword [ebx + 0x64]
call fcn.004312c0
push eax
call sub.USER32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x42fcb8
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 + 0x114], 0
je 0x42fcd4
cmp dword [esi + 4], 0
je 0x42fcfb
mov eax, ebx
call fcn.0042ef50
test eax, eax
jne 0x42fced
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x42fe0b
mov edx, esi
mov eax, ebx
call fcn.0042f95c
jmp 0x42fe0b
push 0
call sub.USER32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x30]
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 0x42fe04
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004312c0
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.0042de20
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0042fcb8
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 + 0x30]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x30]
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.004312c0
push eax
call sub.USER32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42fe0b
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 0x438b14
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.dll_ResumeThread
dec eax
jne 0x438b27
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x43b810
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 0x43b849
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004406f4
jmp 0x43b852
mov eax, ebx
mov edx, esi
call fcn.004406a8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x43f9e4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4532b0]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x43fa7c
push 0x80000002
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
jne 0x43fa5c
xor eax, eax
push ebp
push 0x43fa55
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 0x43fa98
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 0x43fa5c
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_RegCloseKey
ret
mov ax, word [0x4532b0]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4532b0], ax
mov esp, ebp
pop ebp
ret

Function at 0x4405c4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.0043f60c
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x457e49], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x44058c
push eax
push esi
push ebx
call sub.KERNEL32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4412d4
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.KERNEL32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x44148c
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
je 0x441335
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x4414a8
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
jne 0x4413a2
xor eax, eax
push ebp
push 0x44139b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.dll_RegQueryValueExA
test eax, eax
je 0x441384
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4414c8
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4413a2
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.dll_GetThreadLocale
push eax
call sub.KERNEL32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x441483
cmp byte [ebp - 0xd], 0
jne 0x4413e4
cmp byte [ebp - 0x12], 0
je 0x441483
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4413fd
dec ebx
cmp byte [ebx], 0x2e
je 0x44140c
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4413fc
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x441483
inc ebx
cmp byte [ebp - 0x12], 0
je 0x441439
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x441483
cmp byte [ebp - 0xd], 0
je 0x441483
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x441483
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x441880
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push ebp
push 0x44192d
push dword fs:[eax]
mov dword fs:[eax], esp
sub dword [0x458210], 1
jae 0x44191f
xor eax, eax
mov dword [0x457e38], eax
xor eax, eax
mov dword [0x457e40], eax
xor eax, eax
mov dword [0x457e44], eax
mov byte [0x457e4a], 2
mov byte [0x457e4b], 2
mov byte [0x457e4c], 3
mov word [0x4581e8], 0
mov word [0x4581f8], 1
call fcn.0043f9b4
test al, al
je 0x4418e8
call fcn.0043f9e4
call fcn.0043faa8
mov eax, 0x457e50
mov edx, 0x441938
call fcn.0043d60a
mov eax, 0x45801c
mov edx, 0x441938
call fcn.0043d60a
call sub.KERNEL32.dll_GetCommandLineA
mov dword [0x457e30], eax
call fcn.0043e2e4
mov dword [0x457e2c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441934
ret
Function at 0x443310
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
call fcn.00443900
test byte [ebp + 0xd], 0xc0
jne 0x443334
mov eax, dword [0x453f08]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x443341
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x44336e
je 0x443380
sub ecx, 0x100
je 0x44338e
sub ecx, 0x100
je 0x443395
sub ecx, 0x100
je 0x443387
jmp 0x44339c
sub ecx, 0x600
je 0x443395
sub ecx, 0x100
je 0x443380
jmp 0x44339c
mov edi, 1
jmp 0x4433a1
mov edi, 2
jmp 0x4433a1
mov edi, 4
jmp 0x4433a1
mov edi, 5
jmp 0x4433a1
mov edi, 3
test byte [ebp + 0xd], 1
je 0x4433c8
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x453984]
test al, 0x80
je 0x4433c1
mov ebx, 0x80
jmp 0x4433da
mov ebx, 1
jmp 0x4433da
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.dll_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x4433da
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x4433ec
je 0x4433f5
dec eax
je 0x4433fe
jmp 0x443407
mov dword [ebp - 4], 0x80000000
jmp 0x443416
mov dword [ebp - 4], 0x40000000
jmp 0x443416
mov dword [ebp - 4], 0xc0000000
jmp 0x443416
push 1
call fcn.00443cc0
pop ecx
mov ebx, eax
jmp 0x443502
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x443432
sub eax, 0x10
je 0x443439
sub eax, 0x10
je 0x443442
sub eax, 0x10
je 0x44344b
jmp 0x44344b
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x443452
mov dword [ebp - 8], 1
jmp 0x443452
mov dword [ebp - 8], 2
jmp 0x443452
mov dword [ebp - 8], 3
mov dword [ebp - 0x14], 0xc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 0xc]
and eax, 0x80
cmp eax, 1
sbb edx, edx
neg edx
mov dword [ebp - 0xc], edx
push 0
push ebx
push edi
push ecx
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_CreateFileA
mov esi, eax
cmp eax, 0xffffffff
jne 0x4434bb
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x4434b0
test byte [ebp + 0xd], 1
mov ebx, 0x50
jne 0x4434b0
add ebx, 0xffffffb2
push ebx
call fcn.00443cc0
pop ecx
mov ebx, eax
jmp 0x443502
mov edi, esi
push edi
call fcn.00443274
pop ecx
test eax, eax
je 0x4434cf
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x4434db
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.00443a00
add esp, 8
mov ebx, eax
inc eax
jne 0x443502
push 4
call fcn.00443cc0
pop ecx
push esi
call sub.KERNEL32.dll_CloseHandle
call fcn.00443934
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447768
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
cmp dword [0x454cf4], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x447820
cmp byte [0x44e287], 0
je 0x4477da
push 0x50
lea eax, [ebp - 0x54]
push eax
push 0
call sub.KERNEL32.dll_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x54]
push edx
call fcn.004476b4
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4477c3
push 0x3a
lea edx, [ebp - 0x54]
push edx
call fcn.004476b4
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4477c3
lea ebx, [ebp - 0x54]
jmp 0x4477c4
inc ebx
call fcn.00447720
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.dll_MessageBoxA
jmp 0x447841
push 0xfffffffffffffff4
call sub.KERNEL32.dll_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x454cf8
push ebx
call sub.KERNEL32.dll_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.0044217c
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.dll_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x454cfb
push ebx
call sub.KERNEL32.dll_WriteFile
jmp 0x447841
cmp dword [0x454cf4], 0xffffffff
je 0x447841
mov eax, dword [0x454cf4]
test eax, eax
je 0x447841
cmp byte [eax], 0
je 0x447841
push esi
push eax
call fcn.004478d0
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447ed8
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x458aa0], 0
jne 0x447f59
cmp dword [0x458abc], 0
jne 0x447f08
call sub.KERNEL32.dll_GetEnvironmentStrings
mov dword [0x458abc], eax
test eax, eax
jne 0x447f08
push str.GetEnvironmentStrings_failed
call fcn.00447858
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x458abc]
jmp 0x447f1c
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.0044217c
pop ecx
mov edi, eax
test eax, eax
jne 0x447f14
lea edi, [ebp + 1]
push edi
call fcn.00441eec
pop ecx
mov ebx, eax
mov dword [0x458aa4], ebx
test ebx, ebx
jne 0x447f46
xor eax, eax
jmp 0x44801c
push edi
mov edx, dword [0x458abc]
push edx
push ebx
call fcn.00441fb0
add esp, 0xc
jmp 0x447f79
xor esi, esi
mov ebx, dword [0x458aa0]
jmp 0x447f73
push eax
call fcn.0044217c
pop ecx
test eax, eax
jne 0x447f6f
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x447f63
lea ebx, [esi + 4]
push 4
mov dword [0x458aa8], ebx
inc ebx
push ebx
call fcn.0044193c
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x447f9c
xor eax, eax
jmp 0x44801c
cmp dword [0x458aa0], 0
jne 0x447fcd
xor esi, esi
mov ebx, dword [0x458aa4]
mov eax, dword [esp]
mov ebp, eax
jmp 0x447fbe
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.0044217c
pop ecx
mov edi, eax
test eax, eax
jne 0x447fb4
jmp 0x447ffe
xor esi, esi
mov ebx, dword [0x458aa0]
mov eax, dword [esp]
mov edi, eax
jmp 0x447ff8
push eax
call fcn.0044217c
pop ecx
test eax, eax
je 0x447fed
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x447ff1
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x447fdc
mov eax, dword [0x458aa0]
test eax, eax
je 0x44800e
push eax
call fcn.00441efc
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x458aa0], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x55ed30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x159000]
push edi
jmp 0x55ed4a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x55ed51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x55ed40
mov eax, 1
add ebx, ebx
jne 0x55ed63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x55ed74
jne 0x55ed93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x55ed93
dec eax
add ebx, ebx
jne 0x55ed80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x55ed58
add ebx, ebx
jne 0x55ed8f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x55ede5
xor ecx, ecx
sub eax, 3
jb 0x55edab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x55ee1a
sar eax, 1
mov ebp, eax
jmp 0x55edb6
add ebx, ebx
jne 0x55edb6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x55ed84
inc ecx
add ebx, ebx
jne 0x55edc4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x55ed84
add ebx, ebx
jne 0x55edd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x55edc6
jne 0x55ede2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x55edc6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x55ee04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x55edf6
jmp 0x55ed46
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x55ee04
add edi, ecx
jmp 0x55ed46
pop esi
mov edi, esi
mov ecx, 0x255
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x55ee22
cmp byte [edi], 1
jne 0x55ee22
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 0x55ee27
lea edi, [esi + 0x15c000]
mov eax, dword [edi]
or eax, eax
je 0x55ee9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x17efc0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x17f074]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x55ee54
mov ecx, edi
jns 0x55ee83
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 + 0x17f078]
or eax, eax
je 0x55ee99
mov dword [ebx], eax
add ebx, 4
jmp 0x55ee71
call dword [esi + 0x17f088]
mov ebp, dword [esi + 0x17f07c]
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 0x55eed3
sub esp, 0xffffff80
jmp 0x40354b