joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ae578
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 0x4ae594
cmp dword [esi + 4], 0
je 0x4ae5c1
test byte [ebx + 0x55], 1
jne 0x4ae5b3
mov eax, ebx
call fcn.004ad1d0
test eax, eax
jne 0x4ae5b3
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4ae6d1
mov edx, esi
mov eax, ebx
call fcn.004ae098
jmp 0x4ae6d1
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 0x4ae6ca
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004b0380
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.004aae24
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004ae578
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.004b0380
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ae6d1
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 0x4b4be8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4ed248]
cmp byte [eax + 0xc], 0
je 0x4b4d55
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b4d4e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4ee618], 0
jne 0x4b4c3c
push 0x4b4d5c
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x4b4d64
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4ee618], eax
cmp dword [0x4e8a68], 0
jne 0x4b4d37
push 0x4b4d74
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x4e8a68], eax
cmp dword [0x4e8a68], 0
je 0x4b4d37
push 0x4b4d80
mov eax, dword [0x4e8a68]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4ee61c], eax
push 0x4b4d90
mov eax, dword [0x4e8a68]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4ee620], eax
push 0x4b4da4
mov eax, dword [0x4e8a68]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4ee624], eax
push 0x4b4dbc
mov eax, dword [0x4e8a68]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4ee628], eax
push 0x4b4dd4
mov eax, dword [0x4e8a68]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4ee62c], eax
push 0x4b4de8
mov eax, dword [0x4e8a68]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4ee630], eax
push 0x4b4e00
mov eax, dword [0x4e8a68]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4ee634], eax
push 0x4b4e18
mov eax, dword [0x4e8a68]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4ee638], eax
push 0x4b4e34
mov eax, dword [0x4e8a68]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4ee63c], eax
push 0x4b4e40
mov eax, dword [0x4e8a68]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4ee640], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b4d55
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4b5448
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
push 1
call sub.USER32.DLL_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4b54ba
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x4b548e
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00467d54
jmp 0x4b5495
mov eax, ebx
call fcn.00467b64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b54c1
cmp dword [ebp - 8], 0
je 0x4b54b1
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x4b54c8
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x4b556a
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x4b553d
mov edx, ebx
mov eax, dword [0x48990c]
call fcn.0048e2c0
test al, al
je 0x4b552d
movzx eax, bx
push eax
call sub.USER32.DLL_GetClipboardData
mov esi, eax
push 9
call sub.USER32.DLL_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.0048e1d0
call fcn.004676ac
jmp 0x4b5571
movzx eax, bx
push eax
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x4b54f8
mov ecx, dword [0x4ed5bc]
mov dl, 1
mov eax, dword [0x454508]
call fcn.004596a8
call fcn.00467600
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b5571
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4b5578
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x4b55d0
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.USER32.DLL_GetClipboardData
mov ebx, eax
push 9
call sub.USER32.DLL_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b55d7
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4b55e0
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x4b5635
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.USER32.DLL_GetClipboardData
mov ebx, eax
push 9
call sub.USER32.DLL_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b563c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x4b56ac
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x4b5721
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004b5384
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.0048e294
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.USER32.DLL_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x4b570b
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b5728
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4b5730
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x4b57a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004b5384
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.USER32.DLL_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x4b578f
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b57ac
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4ba1a0
Capabilities:
Get common file path
Set current directory
Set environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_SetCurrentDirectoryA
dec eax
je 0x4ba1bc
call fcn.004ba8c4
jmp 0x4ba22b
lea edx, [ebp - 0x108]
push edx
push 0x104
call sub.KERNEL32.DLL_GetCurrentDirectoryA
test eax, eax
jne 0x4ba1d8
call fcn.004ba8c4
jmp 0x4ba22b
cmp dword [0x4eeec0], 1
je 0x4ba229
movsx ecx, byte [ebp - 0x108]
push ecx
call fcn.004bdff8
pop ecx
cmp al, 0x41
jl 0x4ba229
cmp al, 0x5a
jg 0x4ba229
cmp byte [ebp - 0x107], 0x3a
jne 0x4ba229
mov byte [ebp - 4], 0x3d
mov byte [ebp - 3], al
lea eax, [ebp - 0x108]
mov byte [ebp - 2], 0x3a
mov byte [ebp - 1], 0
push eax
lea edx, [ebp - 4]
push edx
call sub.KERNEL32.DLL_SetEnvironmentVariableA
dec eax
je 0x4ba229
call fcn.004ba8c4
jmp 0x4ba22b
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4ba230
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
lea eax, [ebp - 0x104]
push eax
push 0x104
call sub.KERNEL32.DLL_GetCurrentDirectoryA
cmp byte [ebp - 0x104], 0x61
jl 0x4ba25f
movsx edx, byte [ebp - 0x104]
add edx, 0xffffffa0
jmp 0x4ba269
movsx edx, byte [ebp - 0x104]
add edx, 0xffffffc0
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov esp, ebp
pop ebp
ret
Function at 0x4ba274
Capabilities:
Get disk information
Query environment variable
Set current directory
Set environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
xor eax, eax
lea ecx, [ebp - 4]
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x108]
mov dword [esi], eax
mov byte [ebp - 4], 0x3d
mov dl, byte [ebp + 8]
add dl, 0x40
mov byte [ebp - 3], dl
mov byte [ebp - 2], 0x3a
mov byte [ebp - 1], 0
push 0x104
push edi
push ecx
call sub.KERNEL32.DLL_GetEnvironmentVariableA
test eax, eax
jne 0x4ba2da
mov al, byte [ebp - 3]
mov byte [edi], al
mov byte [edi + 1], 0x3a
mov byte [edi + 2], 0x5c
mov byte [edi + 3], 0
push edi
lea edx, [ebp - 4]
push edx
call sub.KERNEL32.DLL_SetEnvironmentVariableA
dec eax
je 0x4ba2da
call fcn.004ba8c4
jmp 0x4ba315
push edi
call sub.KERNEL32.DLL_SetCurrentDirectoryA
dec eax
je 0x4ba2ea
call fcn.004ba8c4
jmp 0x4ba315
mov byte [edi + 1], 0x3a
mov byte [edi + 2], 0x5c
mov byte [edi + 3], 0
mov byte [edi], 0x41
jmp 0x4ba310
push edi
call sub.KERNEL32.DLL_GetDriveTypeA
mov ebx, eax
test eax, eax
je 0x4ba30e
cmp ebx, 1
je 0x4ba30e
inc dword [esi]
inc byte [edi]
cmp byte [edi], 0x5a
jle 0x4ba2fb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4be110
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 0x4be172
call fcn.004be0c0
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.004b8cd8
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.004b8cd8
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 0x4be1f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x4ea8ac], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x4be2ca
cmp dword [0x4ea8a8], 0
jne 0x4be2ca
cmp dword [0x4eaab4], 0
je 0x4be284
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.004bdfa0
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4be26a
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.004bdfa0
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4be26a
lea ebx, [ebp - 0x84]
jmp 0x4be26b
inc ebx
call fcn.004be1ac
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x4be305
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x4ea8b0
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.004b8cd8
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x4ea8b3
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x4be305
cmp dword [0x4ea8a8], 0
je 0x4be2e4
cmp dword [0x4ea8a8], 0xffffffff
je 0x4be305
push esi
call dword [0x4ea8a8]
pop ecx
mov eax, dword [0x4ea8ac]
test eax, eax
je 0x4be305
cmp dword [0x4ea8ac], 0xffffffff
je 0x4be305
cmp byte [eax], 0
je 0x4be305
push esi
push eax
call fcn.004be110
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4beb28
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x4eeed8], 0
jne 0x4beba9
cmp dword [0x4eeef8], 0
jne 0x4beb58
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x4eeef8], eax
test eax, eax
jne 0x4beb58
push str.GetEnvironmentStrings_failed
call fcn.004be31c
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x4eeef8]
jmp 0x4beb6c
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.004b8cd8
pop ecx
mov edi, eax
test eax, eax
jne 0x4beb64
lea edi, [ebp + 1]
push edi
call fcn.004b85ac
pop ecx
mov ebx, eax
mov dword [0x4eeedc], ebx
test ebx, ebx
jne 0x4beb96
xor eax, eax
jmp 0x4bec6c
push edi
mov edx, dword [0x4eeef8]
push edx
push ebx
call fcn.004b8b58
add esp, 0xc
jmp 0x4bebc9
xor esi, esi
mov ebx, dword [0x4eeed8]
jmp 0x4bebc3
push eax
call fcn.004b8cd8
pop ecx
test eax, eax
jne 0x4bebbf
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x4bebb3
lea ebx, [esi + 4]
push 4
mov dword [0x4eeee0], ebx
inc ebx
push ebx
call fcn.004b8084
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x4bebec
xor eax, eax
jmp 0x4bec6c
cmp dword [0x4eeed8], 0
jne 0x4bec1d
xor esi, esi
mov ebx, dword [0x4eeedc]
mov eax, dword [esp]
mov ebp, eax
jmp 0x4bec0e
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.004b8cd8
pop ecx
mov edi, eax
test eax, eax
jne 0x4bec04
jmp 0x4bec4e
xor esi, esi
mov ebx, dword [0x4eeed8]
mov eax, dword [esp]
mov edi, eax
jmp 0x4bec48
push eax
call fcn.004b8cd8
pop ecx
test eax, eax
je 0x4bec3d
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x4bec41
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x4bec2c
mov eax, dword [0x4eeed8]
test eax, eax
je 0x4bec5e
push eax
call fcn.004b85bc
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x4eeed8], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4c5530
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x4c555e
mov eax, ebx
call fcn.004c5fe8
cmp dword [ebx + 0x3c], 0
je 0x4c5557
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x4c55cf
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x4c55c1
cmp dword [ebx + 8], 0
je 0x4c5580
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x4c5592
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4c55c1
cmp dword [ebx + 8], 0
je 0x4c5573
cmp eax, 3
je 0x4c55a5
dec eax
jne 0x4c5573
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4c5573
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x4c5573
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x4c55ed
cmp dword [ebx + 0x10], 0xcc
je 0x4c55ed
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004c55f8
pop ebx
ret
Function at 0x405d6a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x405d79
pop dword [ebp - 0x38]
mov eax, 0xa737211d
add eax, 0x59093c5c
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x9017bea5
sub dword [ebp - 0x48], 0x41c5795a
mov dword [ebp - 0x44], 0xdfa86e3
add dword [ebp - 0x44], 0x2438c562
mov dword [ebp - 0x40], 0x982a9318
sub dword [ebp - 0x40], 0x4bde4eea
mov dword [ebp - 0x3c], 0x855cd1ad
add dword [ebp - 0x3c], 0x7aa32e53
lea eax, [ebp - 0x48]
push eax
mov eax, 0x99cec330
sub eax, 0x998e5314
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0xfe7b59f0
add dword [ebp - 0x48], 0x75f70f66
mov dword [ebp - 0x44], 0x1d00440d
sub dword [ebp - 0x44], 0xdb93e298
mov dword [ebp - 0x40], 0xef495ce
sub dword [ebp - 0x40], 0xab852962
mov dword [ebp - 0x3c], 0xa4110195
sub dword [ebp - 0x3c], 0xa4110195
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0xc2904ccf
add eax, 0x3db02351
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x38b4b
push 0
call eax
mov ecx, 0x4bf7
mov edi, eax
mov ebx, 0x40c800
add ebx, dword [ebp - 0x38]
mov edx, 0x3268130e
add edx, 0x82a406d
sub dword [ebp - 0x2c], ecx
mov esi, dword [ebx]
add dword [ebp - 0x34], ecx
xor esi, edx
sub dword [ebp - 0x1c], 0x7ce22995
mov dword [edi], esi
sub dword [ebp - 0x30], 0xddce4473
add edi, 0x2d8f4c4b
add edi, 0xd270b3b9
add ebx, 0xa8a55e73
sub ebx, 0xa8a55e6f
loop 0x405e8f
add eax, 0xc9474899
add eax, 0x36b9da16
xor ebx, ebx
add ebx, eax
add eax, 0xcfef411c
sub eax, 0xcfef4117
mov ecx, 0x400000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x11670f09
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data_1
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0xd0c689a
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x405b4c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405bb2
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404208
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402c84
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405b9c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405bb9
lea eax, [ebp - 0x10]
call fcn.00403f98
ret

Function at 0x40accc
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 pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40ad05
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404088
jmp 0x40ad0e
mov eax, ebx
mov edx, esi
call fcn.00403fec
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40ad18
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_1
test eax, eax
jle 0x40ad39
mov al, byte [esp]
jmp 0x40ad3b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b3c0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b238
mov eax, dword [0x45911c]
cmp byte [eax], 0
je 0x40b43c
mov eax, dword [0x458f38]
call fcn.00402af0
call fcn.00402824
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408540
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40b484
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b472
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x458ee8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x45a664]
call fcn.00405060
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret