joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403150
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x409044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40903c]
sub esp, 4
test ebx, ebx
je 0x40319b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x403194
test esi, esi
je 0x403194
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x403170
mov dword [esp], 0x409044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x403380
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
lea esi, [esp + 0x24]
lea ebx, [eax + 0x40]
mov dword [esp + 4], 1
mov dword [esp + 0xc], ebx
mov dword [esp], str.Mingw_runtime_failure:_n
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x4033d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, edx
push esi
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x3c
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x4034a4
mov eax, dword [esp + 0x28]
cmp eax, 0x40
je 0x40340e
cmp eax, 4
jne 0x403430
test esi, esi
je 0x403422
xor eax, eax
movzx ecx, byte [edi + eax]
mov byte [ebx + eax], cl
add eax, 1
cmp eax, esi
jb 0x403414
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x20]
lea ebp, [esp + 0x10]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov ecx, dword [esp + 0x28]
test esi, esi
je 0x40346f
xor edx, edx
movzx eax, byte [edi + edx]
mov byte [ebx + edx], al
add edx, 1
cmp edx, esi
jb 0x403461
cmp ecx, 0x40
je 0x403422
cmp ecx, 4
je 0x403422
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00403380
lea esi, [esi]
Function at 0x403043
Capabilities:
Terminate process

Disassembly:
push 0xc
mov eax, 0x449b33
call fcn.00433846
mov eax, dword [esi + 0xa0]
cmp eax, 1
jge 0x403079
push 0xbd2
lea eax, [ebp - 0x18]
push eax
call fcn.004078b5
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
mov ecx, 0x466540
jmp fcn.004047cd
lea edi, [esi + 0x98]
dec eax
mov ecx, edi
call fcn.00403fdd
mov ebx, str.CFinishedPage
push ebx
mov ecx, eax
call fcn.00401e56
test eax, eax
je 0x4030a3
push ebx
push dword [edi + 8]
mov ecx, edi
call fcn.004252c2
mov eax, dword [esi + 0xa0]
dec eax
lea ecx, [esi + 0x90]
cmp dword [ecx], eax
je 0x4030d6
mov dword [ecx], eax
mov ecx, edi
call fcn.00403fdd
push dword [eax]
call fcn.0042f932
pop ecx
push eax
push 0
push 0x8002
push dword [esi + 0x20]
call dword [0x44b5ac]
call fcn.004338e5
ret

Function at 0x4030ff
Capabilities:
Terminate process

Disassembly:
push 0xc
mov eax, 0x449b33
call fcn.00433846
mov ebx, ecx
lea esi, [ebx + 0xa0]
mov eax, dword [esi]
cmp eax, 1
jne 0x403128
cmp dword [ebx + 0x90], 0
jne 0x403128
call fcn.00403296
mov esi, dword [esi]
cmp esi, 1
jge 0x40314e
push 0xbd2
lea eax, [ebp - 0x18]
push eax
call fcn.004078b5
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
mov ecx, 0x466540
jmp fcn.004047cd
dec esi
cmp dword [ebx + 0x90], esi
je 0x403169
push 0
push 0
push 0x8002
push dword [ebx + 0x20]
call dword [0x44b5ac]
call fcn.004338e5
ret

Function at 0x403296
Capabilities:
Terminate process

Disassembly:
push 0x2c
mov eax, 0x449b0e
call fcn.00433846
lea ecx, [ebp - 0x10]
call fcn.00401b37
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push str.PageOrder
mov ecx, 0x4666bc
call fcn.004230ba
test eax, eax
jne 0x4032e4
push 0xbd3
lea eax, [ebp - 0x24]
push eax
call fcn.004078b5
mov byte [ebp - 4], 1
lea eax, [ebp - 0x24]
mov ecx, 0x466540
jmp fcn.004047cd
lea ecx, [ebp - 0x38]
call fcn.00424faa
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x4517ac
lea edi, [ebp - 0x38]
call fcn.00401555
mov byte [ebp - 4], 3
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00402e23
mov byte [ebp - 4], 4
mov byte [ebp - 4], 2
call fcn.0040afab
mov edi, dword [ebp - 0x30]
xor esi, esi
inc esi
cmp edi, esi
pop ecx
pop ecx
jbe 0x4033a3
test esi, esi
jl 0x4033c1
cmp esi, dword [ebp - 0x30]
jge 0x4033c1
mov eax, dword [ebp - 0x34]
lea eax, [eax + esi*4]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
je 0x40339e
push str.CProgressPage
push eax
call fcn.00403ca3
test al, al
pop ecx
pop ecx
je 0x403367
push ebx
call fcn.00403508
jmp 0x403383
cmp esi, dword [ebp - 0x30]
jge 0x4033c1
mov eax, dword [ebp - 0x34]
lea eax, [eax + esi*4]
push 0x450f10
push eax
call fcn.00403ca3
test al, al
pop ecx
pop ecx
jne 0x40339e
cmp esi, dword [ebp - 0x30]
jge 0x4033c1
mov eax, dword [ebp - 0x34]
lea eax, [eax + esi*4]
lea ecx, [ebx + 0x98]
mov edx, dword [ecx + 8]
push eax
push edx
call fcn.00425272
inc esi
cmp esi, edi
jb 0x40332f
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.0042515b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401b6e
call fcn.004338e5
ret
jmp fcn.00423fc7
Function at 0x407503
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40d004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00403ebb
and dword [ebp - 0x14], 0
cmp dword [0x40eb1c], 0
mov dword [ebp - 0x18], eax
jne 0x4075b6
push 0x40b0b0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40765e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40b0a4
push ebx
call edi
test eax, eax
je 0x40765e
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x40b094
push ebx
mov dword [0x40eb1c], eax
call edi
push eax
call esi
push 0x40b080
push ebx
mov dword [0x40eb20], eax
call edi
push eax
call esi
push 0x40b064
push ebx
mov dword [0x40eb24], eax
call edi
push eax
call esi
mov dword [0x40eb2c], eax
test eax, eax
je 0x4075b6
push 0x40b04c
push ebx
call edi
push eax
call esi
mov dword [0x40eb28], eax
mov eax, dword [0x40eb28]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40760f
cmp dword [0x40eb2c], ecx
je 0x40760f
push eax
call esi
push dword [0x40eb2c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40760f
test ebx, ebx
je 0x40760f
call edi
test eax, eax
je 0x407606
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x407606
test byte [ebp - 8], 1
jne 0x40760f
or dword [ebp + 0x10], 0x200000
jmp 0x407642
mov eax, dword [0x40eb20]
cmp eax, dword [ebp - 0x18]
je 0x407642
push eax
call esi
test eax, eax
je 0x407642
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x407642
mov eax, dword [0x40eb24]
cmp eax, dword [ebp - 0x18]
je 0x407642
push eax
call esi
test eax, eax
je 0x407642
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40eb1c]
call esi
test eax, eax
je 0x40765e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x407660
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004010b8
leave
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 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44d004]
jne 0x40100a
repz ret
jmp fcn.00401587

Function at 0x40444b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44d004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00401e3b
and dword [ebp - 0x14], 0
cmp dword [0x44f8c8], 0
mov dword [ebp - 0x18], eax
jne 0x4044fe
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4045a6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4045a6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x44f8c8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x44f8cc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x44f8d0], eax
call edi
push eax
call esi
mov dword [0x44f8d8], eax
test eax, eax
je 0x4044fe
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x44f8d4], eax
mov eax, dword [0x44f8d4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x404557
cmp dword [0x44f8d8], ecx
je 0x404557
push eax
call esi
push dword [0x44f8d8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404557
test ebx, ebx
je 0x404557
call edi
test eax, eax
je 0x40454e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40454e
test byte [ebp - 8], 1
jne 0x404557
or dword [ebp + 0x10], 0x200000
jmp 0x40458a
mov eax, dword [0x44f8cc]
cmp eax, dword [ebp - 0x18]
je 0x40458a
push eax
call esi
test eax, eax
je 0x40458a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40458a
mov eax, dword [0x44f8d0]
cmp eax, dword [ebp - 0x18]
je 0x40458a
push eax
call esi
test eax, eax
je 0x40458a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44f8c8]
call esi
test eax, eax
je 0x4045a6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4045a8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret

Function at 0x405480
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0x20
add dword [ebp - 4], 0x20
mov edx, dword [0x48b30c]
mov eax, dword [0x48b030]
xor ecx, ecx
mov word [0x48b328], cx
lea ecx, [ebp - 8]
push ecx
push 0x40
push edx
push eax
mov dword [0x48b314], 0x6e0072
mov dword [0x48b318], 0x6c0065
mov dword [0x48b31c], 0x320033
mov dword [0x48b320], 0x64002e
mov dword [0x48b324], 0x6c006c
mov dword [0x48b310], 0x65006b
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret
Function at 0x4056b0
Capabilities:
Create pipe
Get common file path
Get file attributes
Get geographical location
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x444
mov eax, dword [0x44d004]
xor eax, esp
mov dword [esp + 0x440], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
xor ebx, ebx
xor esi, esi
cmp esi, 0x562d05
jne 0x4056e9
mov eax, dword [0x44e934]
mov dword [0x48b694], eax
cmp dword [0x48b30c], 0x3c
jne 0x4056f5
push ebx
call edi
inc esi
cmp esi, 0x5f6c74
jl 0x4056d7
cmp dword [0x48b30c], 0x7c
jne 0x405779
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push ebx
call dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
push ebx
call dword [sym.imp.KERNEL32.dll_FindAtomW]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_RaiseException]
cmp dword [0x48b30c], 0x110a
jne 0x4057e0
push ebx
mov dword [0x48b300], ebx
mov dword [0x48b304], ebx
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push str.migicaranafojoyota_feganowofu_vuj_lelalezecebesijorabifovihapida
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapSize]
push ebx
push ebx
call fcn.0040100f
push ebx
push ebx
call fcn.0040100f
push ebx
push ebx
call fcn.0040104f
add esp, 0x18
push ebx
call fcn.0040137f
call fcn.00405450
xor ecx, ecx
cmp dword [0x48b30c], ebx
jbe 0x40581b
nop
mov eax, dword [0x48b694]
mov dword [esp + 0xc], eax
mov eax, 0xa231
add dword [esp + 0xc], eax
mov edx, dword [esp + 0xc]
mov al, byte [edx + ecx]
mov edx, dword [0x48b030]
mov byte [edx + ecx], al
inc ecx
cmp ecx, dword [0x48b30c]
jb 0x4057f0
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.00405480
call fcn.00405640
call fcn.00405470
mov edi, dword [sym.imp.USER32.dll_GetMonitorInfoA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetAtomNameA]
xor esi, esi
lea eax, [esp + 0x20]
push eax
push 0
call edi
push 0
push 0
push 0
call ebx
cmp esi, 0x1a01e
jle 0x405866
cmp dword [esp + 0x28], 0xf5bed7
jne 0x40586f
inc esi
cmp esi, 0x1ece7a52
jl 0x405843
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
xor esi, esi
lea ecx, [ecx]
cmp esi, 0x12e6c3
jne 0x40588d
call fcn.00405440
cmp dword [0x48b30c], 0x3dc
mov dword [0x48b034], 0x8e46a6f0
jne 0x4058c7
xor ecx, ecx
lea eax, [esp + 0x10]
push eax
push ecx
push ecx
push ecx
push ecx
mov dword [esp + 0x20], ecx
call edi
push 0
push 0
push 0
push 0
push 0
push 0
push str.rixovohucivununiboneb_huzurucurajo_jajonaberewevale_sivakawizematec
call ebx
inc esi
cmp esi, 0x1519a5
jl 0x405880
mov ecx, dword [esp + 0x44c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret
Function at 0x406100
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 0x406166
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.00404618
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.0040306c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406150
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40616d
lea eax, [ebp - 0x10]
call fcn.004043a8
ret

Function at 0x40b1cc
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 0x40b205
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404498
jmp 0x40b20e
mov eax, ebx
mov edx, esi
call fcn.004043fc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b8d0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b738
mov eax, dword [0x454090]
cmp byte [eax], 0
je 0x40b94c
mov eax, dword [0x453eb8]
call fcn.00402ed8
call fcn.00402bb4
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.004089a8
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 0x40b994
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b982
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x453e68]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x455664]
call fcn.0040556c
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
Function at 0x40c1f0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c2c6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404440
lea eax, [ebp - 8]
call fcn.004048b8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404868
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c2b0
mov eax, ebx
call fcn.00402a28
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c2a9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404868
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c293
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c2d8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c293
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c2b0
mov eax, dword [ebp - 0x10]
call fcn.00402a58
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c2cd
lea eax, [ebp - 8]
call fcn.004043a8
ret

Function at 0x40c818
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40c87c
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404618
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004084d0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c883
lea eax, [ebp - 0xc]
call fcn.004043a8
ret
Function at 0x41ab44
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
lea ebx, [ebp - 0xc]
mov esi, 0x455884
cmp dword [esi], 0
jne 0x41abea
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x455880]
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x4533ec
mov ecx, 2
call fcn.00402c48
mov edx, 0x41ab1c
mov eax, dword [ebp - 8]
add eax, 5
call fcn.0041ab3c
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebx], eax
mov eax, dword [ebx]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebx]
call fcn.0041ab3c
mov edx, dword [ebx]
mov dword [edx + 1], eax
mov eax, dword [ebx]
mov edx, dword [esi]
mov dword [eax + 5], edx
mov eax, dword [ebx]
mov dword [esi], eax
add dword [ebx], 0xd
mov eax, dword [ebx]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x41abb1
mov eax, dword [ebp - 8]
mov dword [0x455880], eax
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 5]
mov dword [esi], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41be10
Capabilities:
Encode data using xor

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

Function at 0x41e288
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x41e2d9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41e2c0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41e2b0
jmp 0x41e2d9
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x41e2c1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42b60c
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x42b558
call sub.user32.dll_EnumWindows
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x42b7a9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042b18c
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x42b751
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042ad8c
cmp dword [ebp - 4], 0
je 0x42b793
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404868
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b7b0
lea eax, [ebp - 4]
call fcn.004043a8
ret

Function at 0x42e77c
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 [0x455ae8], 0
je 0x42e8cb
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x454034]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42e8cb
mov eax, dword [0x455aec]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x455ae8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42e89a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x455ae8]
call fcn.00414030
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42e892
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42e892
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42e892
mov eax, dword [ebp - 0x14]
call fcn.0043743c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42e892
push ebp
call fcn.0042e738
pop ecx
test al, al
jne 0x42e892
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42e84e
mov eax, dword [ebp - 0x14]
call fcn.00435f6c
dec eax
jle 0x42e892
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.0040383c
cmp byte [ebp - 1], 0
je 0x42e892
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42e892
mov edx, dword [ebp - 0x14]
mov eax, dword [0x455aec]
call fcn.0042df04
inc edi
dec ebx
jne 0x42e7e1
mov eax, dword [0x455aec]
cmp dword [eax + 8], 0
jle 0x42e8b2
mov eax, dword [0x455aec]
call fcn.0042df94
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42e8cb
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042e5a0
pop ecx
test al, al
jne 0x42e8cb
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