joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44cbec
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 0x44cd91
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41068c]
call fcn.004030a4
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403d64
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 0x44cd67
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.0043c348
test al, al
je 0x44cd5a
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, 0x44cda0
lea eax, [ebp - 0x254]
call fcn.0040a204
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44cd5a
xor eax, eax
push ebp
push 0x44cd53
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x44cdd8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44cd3c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403f90
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 0x44cd3c
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403f90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44cd5a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44cc5d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00414180
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44cd98
lea eax, [ebp - 0x260]
call fcn.00403d64
ret

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

Disassembly:
push ecx
mov eax, dword [0x4db7b4]
cmp byte [eax + 0x8d], 0
jne 0x44d5a5
cmp dword [0x4db7f4], 0
jne 0x44d566
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44d4f0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4db7f4], eax
cmp dword [0x4db7f0], 0
jne 0x44d581
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4db7f0], eax
cmp dword [0x4db7f8], 0
jne 0x44d5a5
push esp
push 0
push 0
push 0x44d494
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4db7f8], eax
pop edx
ret
Function at 0x44d69c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44d6b3
add esp, 0xfffffff0
call fcn.00403414
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004186e8
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x410160]
call fcn.004030a4
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x410160]
call fcn.004030a4
mov dword [ebx + 0x90], eax
xor eax, eax
mov dword [ebx + 0x48], eax
xor eax, eax
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x44], 0x80000018
mov dword [ebx + 0x60], 0x1f4
mov byte [ebx + 0x64], 1
xor eax, eax
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x5c], 0x9c4
mov byte [ebx + 0x70], 0
mov byte [ebx + 0x85], 1
mov dl, 1
mov eax, dword [0x41a554]
call fcn.00421e80
mov esi, eax
mov dword [ebx + 0x80], esi
push 0x44d824
mov eax, dword [0x4da76c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00422224
mov eax, dword [ebx + 0x80]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x44f160
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4da76c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
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.0040d5ec
test eax, eax
je 0x44d7a3
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409b1c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d614
test eax, eax
je 0x44d7b7
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x74]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403f90
mov eax, dword [0x4da4d8]
cmp byte [eax], 0
jne 0x44d7e8
mov eax, ebx
call fcn.0044d910
mov byte [ebx + 0x41], 1
mov byte [ebx + 0x42], 1
mov byte [ebx + 0x43], 1
mov byte [ebx + 0x86], 1
xor eax, eax
mov dword [ebx + 0x88], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44d81a
call fcn.0040346c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44db6c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4db7b4]
cmp dword [eax + 0x24], 0
je 0x44dbfc
cmp dword [ebx + 0x7c], 0
jne 0x44dbf9
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44db00
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x78]
cmp dword [eax + 8], 0
je 0x44dbf9
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 0x44dbc8
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x78]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44dbf9
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x78]
call fcn.00411b94
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44dbd4
inc dword [ebx + 0x7c]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x44e54c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x8c], 0
je 0x44e581
push pe_nt_image_headers32
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.00403e48
jmp 0x44e58b
mov eax, esi
mov edx, dword [ebx + 0x74]
call fcn.00403dfc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44f490
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x44f4c8
mov eax, esi
call fcn.00437f88
test al, al
je 0x44f4c8
mov eax, dword [ebx + 0x6c]
call fcn.00437b60
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44f4c8
push 0
mov eax, dword [ebx + 0x6c]
call fcn.00437b60
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x458288
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x458360
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4db85c], 0
jne 0x458344
lea eax, [ebp - 4]
mov edx, 0x458378
call fcn.00403dfc
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004041a4
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x458344
mov eax, ebx
call fcn.004027c8
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x45833d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x458327
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x458388
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x458327
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x4db85c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458344
mov eax, dword [ebp - 0xc]
call fcn.004027e0
ret
mov ebx, dword [0x4db85c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458367
lea eax, [ebp - 4]
call fcn.00403d64
ret
Function at 0x464738
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x204], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x46491a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x464782
lea edx, [ebp - 0x204]
mov eax, esi
call fcn.00464208
mov eax, dword [ebp - 0x204]
mov edx, ebx
call fcn.0040d198
cmp al, 1
jne 0x464782
dec ebx
mov edi, ebx
mov eax, esi
call fcn.0046451c
test al, al
je 0x4648ba
test edi, edi
jge 0x464799
xor edi, edi
lea ebx, [edi + 1]
lea edx, [ebp - 0x204]
mov eax, esi
call fcn.00464208
mov eax, dword [ebp - 0x204]
call fcn.00403fe0
cmp ebx, eax
jge 0x4647e0
lea edx, [ebp - 0x204]
mov eax, esi
call fcn.00464208
mov eax, dword [ebp - 0x204]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4dacf4]
and eax, 0xff
bt dword [edx], eax
jae 0x4647e0
inc ebx
mov eax, dword [esi + 0x20c]
cmp edi, eax
jl 0x4647ee
mov edi, eax
mov ebx, edi
mov ecx, ebx
mov edx, ebx
mov eax, esi
call fcn.00464714
cmp ebx, edi
je 0x4648b2
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x200]
mov byte [eax], 0
inc eax
dec edx
jne 0x464818
mov byte [ebp - 0x1f0], 0x81
mov eax, esi
mov bx, 0xffcf
call fcn.004032b0
and eax, 0x7f
movzx eax, word [eax*2 + 0x4d8dac]
mov byte [ebp + eax - 0x200], 0x81
lea eax, [ebp - 0x200]
push eax
call sub.user32.dll_SetKeyboardState
push 1
mov eax, esi
mov bx, 0xffcf
call fcn.004032b0
and eax, 0x7f
movzx eax, word [eax*2 + 0x4d8dac]
push eax
push pe_nt_image_headers32
mov eax, esi
call fcn.00437b60
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, esi
mov bx, 0xffcf
call fcn.004032b0
and eax, 0x7f
movzx eax, word [eax*2 + 0x4d8dac]
push eax
push 0x101
mov eax, esi
call fcn.00437b60
push eax
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_SetKeyboardState
mov dword [esi + 0x214], edi
jmp 0x464901
test edi, edi
jge 0x4648c0
xor edi, edi
lea edx, [ebp - 0x204]
mov eax, esi
call fcn.00464208
mov eax, dword [ebp - 0x204]
call fcn.00403fe0
cmp edi, eax
jl 0x4648f6
lea edx, [ebp - 0x204]
mov eax, esi
call fcn.00464208
mov eax, dword [ebp - 0x204]
call fcn.00403fe0
mov edi, eax
mov ecx, edi
mov edx, edi
mov eax, esi
call fcn.00464714
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464921
lea eax, [ebp - 0x204]
call fcn.00403d64
ret
Function at 0x468a84
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x1ec]
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x468c27
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x224]
mov eax, dword [ebx + 0x10]
call fcn.0041b8e0
cmp byte [ebp + 8], 0
je 0x468add
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [ebx + 0x10]
call fcn.0041b7b0
jmp 0x468aeb
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [ebx + 0x10]
call fcn.0041b7b0
mov eax, dword [ebx + 0x10]
call fcn.0041b8d8
dec eax
jle 0x468b31
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x10]
call fcn.0041b7a8
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
push 0
push 0
lea eax, [ebp - 0x24]
push eax
mov edi, dword [ebx + 0x10]
mov eax, edi
call fcn.0041b8d8
push eax
push 0x12200
call sub.gdi32.dll_ExtCreatePen
mov edx, eax
mov eax, edi
call fcn.0041b870
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov edi, dword [eax - 8]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x28]
call dword [ebx + 0x24]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + esi*4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
shr ecx, 1
add edx, ecx
add eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov bx, 0xffcf
call fcn.004032b0
test al, al
je 0x468b7a
test esi, esi
jne 0x468b7a
inc dword [ebp - 0xc]
mov eax, esi
xor eax, 1
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + eax*4]
mov dword [ebp - 0x14], edx
add eax, 2
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x18], eax
lea eax, [esi + 2]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
add eax, dword [edx]
mov dword [ebp - 0x10], eax
xor ebx, ebx
lea eax, [esi + ebx]
mov edx, dword [ebp - 0xc]
mov dword [edi + eax*4], edx
mov eax, esi
xor eax, 1
mov edx, eax
add edx, ebx
mov ecx, dword [ebp - 0x14]
mov dword [edi + edx*4], ecx
add ebx, 2
lea edx, [esi + ebx]
mov ecx, dword [ebp - 0xc]
mov dword [edi + edx*4], ecx
add eax, ebx
mov edx, dword [ebp - 0x18]
mov dword [edi + eax*4], edx
add ebx, 2
inc dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + 0x28]
call dword [ecx + 0x24]
mov edx, dword [ebp - 4]
add eax, dword [edx]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jle 0x468bb0
shr ebx, 2
push ebx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 0xc]
push eax
push edi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x1ec]
call fcn.0041c404
push eax
call sub.gdi32.dll_PolyPolyline
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x48f2c3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4d9b6a
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x48f31b
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x4d9b8b
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x48f311
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x48f31f
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x4b6ef4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b6f85
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebp + 8]
call fcn.004b6b60
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.004041a4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x4b6f6f
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x4da95c]
call fcn.00406798
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x4b6a18]
call fcn.0040c934
call fcn.00403840
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b6f8c
lea eax, [ebp - 0x10]
call fcn.00403d64
ret

Function at 0x4b6f98
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b7033
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004041a4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4b700d
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x4dad24]
call fcn.00406798
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x4b6a18]
call fcn.0040c934
call fcn.00403840
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004b6b90
mov edx, dword [ebp + 8]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b703a
lea eax, [ebp - 0x10]
call fcn.00403d64
ret

Function at 0x4b8d24
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, eax
lea eax, [esp + 0x100]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
push esp
push 0
push 0x4b8d68
lea eax, [esp + 0x10c]
push eax
call sub.kernel32.dll_GetTempFileNameA
mov edx, ebx
mov eax, esp
call fcn.00409d24
add esp, 0x200
pop ebx
ret
Function at 0x4d6078
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404194
mov eax, dword [ebp - 8]
call fcn.00404194
mov eax, dword [ebp - 0xc]
call fcn.00404194
xor eax, eax
push ebp
push 0x4d6147
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x4d6160
call fcn.00403fe8
lea eax, [ebp - 8]
mov edx, 0x4d6160
call fcn.00403fe8
lea eax, [ebp - 0xc]
mov edx, 0x4d6160
call fcn.00403fe8
mov bl, 1
push 1
lea eax, [ebp - 0xc]
call fcn.004041b0
push eax
lea eax, [ebp - 8]
call fcn.004041b0
push eax
lea eax, [ebp - 4]
call fcn.004041b0
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
jae 0x4d612c
xor ebx, ebx
push 0
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, 0x4d616c
call fcn.0040402c
mov eax, dword [ebp - 0x10]
mov cx, word [0x4d6180]
mov dl, 1
call fcn.0045456c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d614e
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00403d88
ret
Function at 0x41ecdc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42a520]
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.00415fe2
and dword [ebp - 0x14], 0
cmp dword [0x46b270], 0
mov dword [ebp - 0x18], eax
jne 0x41ed8f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41ee37
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41ee37
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x46b270], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x46b274], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x46b278], eax
call edi
push eax
call esi
mov dword [0x46b280], eax
test eax, eax
je 0x41ed8f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x46b27c], eax
mov eax, dword [0x46b27c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41ede8
cmp dword [0x46b280], ecx
je 0x41ede8
push eax
call esi
push dword [0x46b280]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41ede8
test ebx, ebx
je 0x41ede8
call edi
test eax, eax
je 0x41eddf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41eddf
test byte [ebp - 8], 1
jne 0x41ede8
or dword [ebp + 0x10], 0x200000
jmp 0x41ee1b
mov eax, dword [0x46b274]
cmp eax, dword [ebp - 0x18]
je 0x41ee1b
push eax
call esi
test eax, eax
je 0x41ee1b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41ee1b
mov eax, dword [0x46b278]
cmp eax, dword [ebp - 0x18]
je 0x41ee1b
push eax
call esi
test eax, eax
je 0x41ee1b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x46b270]
call esi
test eax, eax
je 0x41ee37
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41ee39
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410717
leave
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0xac0110
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0xa7fc54]
xor eax, esp
mov dword [esp + 0x210], eax
push edi
push 0x206
xor edi, edi
lea ecx, [esp + 0x12]
xor eax, eax
push edi
push ecx
mov word [esp + 0x18], ax
call fcn.00adbd80
add esp, 0xc
mov dword [esp + 4], edi
cmp esi, edi
je 0xac01df
mov eax, 0xa785c4
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0xac0155
sub eax, edx
sar eax, 1
je 0xac01df
lea edx, [esp + 0xc]
push edx
push 0x104
call dword [fcn.00a73238]
push 0xa785c4
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.00ada2c8
push 0xa785bc
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00ad9d6f
mov eax, dword [esp + 0x1c]
add esp, 0x18
cmp eax, edi
je 0xac01df
push eax
push 1
push 0x200
push esi
call fcn.00ada5e5
mov eax, dword [esp + 0x14]
push eax
call fcn.00ada01d
add esp, 0x14
mov eax, 1
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00ad9af3
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
mov eax, edi
pop edi
xor ecx, esp
call fcn.00ad9af3
add esp, 0x214
ret

Function at 0xac03c0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 8
push ebx
push esi
push edi
push 0x3e8
mov dword [esp + 0x10], 0
call dword [0xa73250]
push 0xa785bc
lea eax, [esp + 0x10]
push 0xaa4960
push eax
call fcn.00ad9d6f
mov eax, dword [esp + 0x18]
add esp, 0xc
test eax, eax
je 0xac04f1
push 2
push 0
push eax
call fcn.00adaa5f
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ecx
call fcn.00adac81
mov esi, eax
add esp, 4
push esi
call fcn.00acf788
mov edx, dword [esp + 0x10]
add esp, 4
push 0
push 0
push edx
mov edi, eax
call fcn.00adaa5f
mov eax, dword [esp + 0x18]
add esp, 0xc
push eax
push esi
push 1
push edi
call fcn.00ada5e5
add esp, 0x10
cmp esi, eax
jne 0xac04d3
call dword [0xa7323c]
push eax
call fcn.00ada9a1
add esp, 4
call fcn.00ada9b3
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul qword [0xa7a7a8]
fmul qword [0xa7a7a0]
fadd qword [0xa7a798]
call fcn.00adc620
cmp esi, eax
jl 0xac04d3
mov ebx, edi
sub ebx, eax
add ebx, esi
call fcn.00ac0370
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00ada01d
add esp, 4
push 0xaa4960
call dword [0xa73230]
push 0xa782cc
lea edx, [esp + 0x10]
push 0xaa4960
push edx
call fcn.00ad9d6f
mov eax, dword [esp + 0x18]
add esp, 0xc
test eax, eax
je 0xac04f1
push eax
push esi
push 1
push edi
call fcn.00ad9f24
add esp, 0x10
mov eax, dword [esp + 0xc]
test eax, eax
je 0xac04e4
push eax
call fcn.00ada01d
add esp, 4
test edi, edi
je 0xac04f1
push edi
call fcn.00acf77d
add esp, 4
pop edi
pop esi
pop ebx
add esp, 8
ret