joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453b18
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x453b3e
mov eax, esp
push eax
push 0x453ae0
call sub.user32.dll_EnumWindows
jmp 0x453b51
mov eax, esp
push eax
push 0x453ac0
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x453bdc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x453c30]
test si, 4
je 0x453bf1
or bl, 1
test si, 8
je 0x453bfb
or bl, 4
test si, 1
je 0x453c05
or bl, 8
test si, 2
je 0x453c0f
or bl, 0x10
test si, 0x10
je 0x453c19
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x453c28
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x453c34
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x453c70]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x453c4e
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x453c5d
or bl, 4
test esi, 0x20000000
je 0x453c68
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45bcdc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45bcee
add esp, 0xfffffff0
call fcn.00403d30
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a27c
mov eax, dword [0x46591c]
mov dword [eax + 4], ebx
mov dword [eax], 0x45c080
mov eax, dword [0x465928]
mov dword [eax + 4], ebx
mov dword [eax], 0x45c08c
mov eax, ebx
call fcn.0045c098
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41202c]
call fcn.004039f4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41202c]
call fcn.004039f4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41202c]
call fcn.004039f4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41202c]
call fcn.004039f4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41202c]
call fcn.004039f4
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x457540
push eax
push 0
push 0
mov eax, dword [0x465a74]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41e408]
call fcn.0041f928
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41e408]
call fcn.0041f928
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41e408]
call fcn.0041f928
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045c510
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45c3e0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45c3e0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45c3e0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45be2b
call fcn.00403d88
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45c1c4
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 0x45c36f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45c350
mov dl, 1
mov eax, dword [0x412450]
call fcn.004039f4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404838
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45c33f
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.0044d918
test al, al
je 0x45c332
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45c380
lea eax, [ebp - 0x254]
call fcn.00409440
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45c332
xor eax, eax
push ebp
push 0x45c32b
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 0x45c3b8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45c314
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404aa8
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45c314
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404aa8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c332
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45c235
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00416128
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c376
lea eax, [ebp - 0x260]
call fcn.00404838
ret

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

Disassembly:
push ecx
mov eax, dword [0x46ac94]
cmp byte [eax + 0xad], 0
jne 0x45cd59
cmp dword [0x46acb0], 0
jne 0x45cd1a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45cca4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46acb0], eax
cmp dword [0x46acac], 0
jne 0x45cd35
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46acac], eax
cmp dword [0x46acb4], 0
jne 0x45cd59
push esp
push 0
push 0
push 0x45cc48
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x46acb4], eax
pop edx
ret
Function at 0x45cf5c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45cf73
add esp, 0xfffffff0
call fcn.00403d30
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a27c
mov eax, dword [0x465a60]
cmp word [eax + 2], 0
jne 0x45cf9b
mov eax, dword [0x465a60]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045ec4c
mov eax, dword [0x465b04]
cmp word [eax + 2], 0
jne 0x45cfb5
mov eax, dword [0x465b04]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045ee58
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41202c]
call fcn.004039f4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41202c]
call fcn.004039f4
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x41202c]
call fcn.004039f4
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x41ebe4]
call fcn.00424c38
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45d16c
mov eax, dword [0x465988]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042500c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45f51c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x465988]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
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.0040cb7c
test eax, eax
je 0x45d0bc
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408df8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cbb0
test eax, eax
je 0x45d0d0
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404aa8
mov byte [ebx + 0xd4], 0
push ebx
push 0x45e6d8
call fcn.0041b3f8
mov dword [ebx + 0xc8], eax
mov eax, dword [0x46588c]
cmp byte [eax], 0
jne 0x45d121
mov eax, ebx
call fcn.0045d2b0
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045f730
mov eax, ebx
call fcn.00460294
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45d161
call fcn.00403d88
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45d530
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x45d5cf
cmp dword [ebx + 0x94], 0
jne 0x45d5c9
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45d4b8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45d5c9
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 0x45d58f
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45d5c9
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004143d0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45d59e
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45d7e8
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x46ac94]
cmp dword [eax + 0x30], 0
je 0x45d945
test bl, bl
jne 0x45d896
cmp dword [esi + 0x9c], 0
jne 0x45d88b
mov eax, esi
call fcn.00460110
push eax
push 0x45d714
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x45d85c
mov eax, dword [0x46ac94]
call fcn.004607f0
test al, al
je 0x45d85c
mov eax, dword [0x46acb8]
call fcn.004056f4
mov edi, eax
cmp edi, 0
jl 0x45d85c
push 0
mov eax, dword [0x46acb8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45d846
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45d88b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004143d0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45d86b
inc dword [esi + 0x9c]
jmp 0x45d945
cmp dword [esi + 0x9c], 0
jle 0x45d945
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x45d945
cmp dword [esi + 0x44], 0
je 0x45d8f1
mov eax, dword [0x46ac94]
call fcn.004607f0
test al, al
je 0x45d8f1
mov eax, dword [0x46acb8]
call fcn.004056f4
mov edi, eax
cmp edi, 0
jl 0x45d8f1
push 5
mov eax, dword [0x46acb8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45d8db
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45d920
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004143d0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45d900
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x46acb8
mov ecx, 1
mov edx, dword [0x45d6f4]
call fcn.004058a8
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x45e42c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45e496
mov eax, ebx
call fcn.004607f0
test al, al
jne 0x45e496
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404928
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x45e483
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x45e4a3
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040488c
jmp 0x45e4a3
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040488c
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x45f914
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45f982
mov eax, esi
call fcn.00448568
test al, al
je 0x45f982
mov eax, dword [ebx + 0x84]
call fcn.004481c8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45f982
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45f976
push 0
mov eax, dword [ebx + 0x84]
call fcn.004481c8
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00440038
jmp 0x45f982
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045f750
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x403dc4
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
mov eax, 0x4314f9
call fcn.004203b8
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 4]
mov dword [esi], eax
call fcn.0040af60
xor edi, edi
lea ecx, [esi + 0x14]
mov dword [ebp - 4], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
call fcn.0040af50
mov byte [ebp - 4], 1
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
or dword [esi + 0x38], 0xffffffff
lea ecx, [esi + 0x50]
mov dword [esi + 0x30], closesocket
mov dword [esi + 0x3c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
call fcn.00408cc3
lea ecx, [esi + 0xd0]
mov byte [ebp - 4], 2
call fcn.00409c39
mov ebx, str.Trickler
push str.SilentSetup
push ebx
lea ecx, [esi + 0xe8]
mov byte [ebp - 4], 3
call fcn.00407062
push str.Bundle
push ebx
lea ecx, [esi + 0x47d0]
mov byte [ebp - 4], 4
call fcn.00407062
push str.OemResDll
push ebx
lea ecx, [esi + 0x8eb8]
mov byte [ebp - 4], 5
call fcn.00407062
push edi
mov ecx, esi
mov byte [ebp - 4], 6
mov dword [esi + 0xd5a0], edi
call fcn.0040633d
push edi
call fcn.004205fb
or dword [esi + 0x34], 0xffffffff
push 3
push str.MaxUrlChkFailures
mov dword [esi + 0x20], eax
call fcn.0040a1e6
push edi
push str.ForceFileFailure
mov dword [esi + 0x2c], eax
call fcn.0040a1e6
push 0x64
push str.MaxUrlAttempts
mov dword [esi + 0x3c], eax
call fcn.0040a1e6
push 0x64
push str.MaxFileDones
mov dword [esi + 0x40], eax
call fcn.0040a1e6
add esp, 0x24
mov dword [esi + 0x44], eax
mov ecx, esi
call fcn.00404450
mov ecx, esi
call fcn.00404488
mov ecx, dword [ebp - 0xc]
mov eax, 0x403f20
mov dword [esi + 0x2d1c], eax
mov dword [esi + 0x2d20], esi
mov dword [esi + 0x7404], eax
mov dword [esi + 0x7408], esi
mov dword [esi + 0xbaec], eax
mov dword [esi + 0xbaf0], esi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x40847a
Capabilities:
Copy file

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x2c24], 0
je 0x408518
lea ebp, [esi + 0x2be4]
mov ecx, ebp
call fcn.0040b200
test eax, eax
jne 0x408518
lea ebx, [esi + 0x2bec]
mov ecx, ebx
call fcn.0040b220
push eax
call fcn.0040d800
test eax, eax
pop ecx
je 0x408518
mov ecx, ebp
lea edi, [esi + 0x2c18]
call fcn.0040b220
push eax
call fcn.0040a53c
push eax
push edi
call fcn.0040dfc0
add esp, 0xc
mov ecx, edi
push 0
call fcn.0040b220
push eax
mov ecx, ebx
call fcn.0040b220
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x408518
mov ecx, edi
call fcn.0040b220
push eax
push str.StoredFile
mov ecx, esi
call fcn.00407b71
push dword [edi]
push str.Stored__s
call fcn.0041df5d
pop ecx
pop ecx
mov ecx, esi
call fcn.0041ba10
mov ecx, esi
call fcn.004086cf
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x408e37
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x431bc4
call fcn.004203b8
sub esp, 0x18
push ebx
push esi
mov esi, ecx
lea eax, [ebp + 8]
push edi
xor ebx, ebx
push eax
mov dword [esi + 0x7c], ebx
call fcn.0040aa11
pop ecx
push dword [ebp + 8]
push str.TI_map_AIC___s_
call fcn.0041df5d
mov edi, 0x8000
push edi
call fcn.004205ed
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x409028
lea ecx, [esi + 0x18]
call fcn.0040b220
push eax
push edi
mov edi, dword [ebp - 0x18]
push edi
push 0x443a24
push ebx
push 0x43b088
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, edi
mov dword [ebp - 0x14], edi
cmp byte [eax], bl
je 0x409005
jmp 0x408eaf
mov edi, dword [ebp - 0x14]
cmp dword [esi + 0x7c], ebx
jne 0x40901d
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [eax + edi - 1], 0x2a
lea ecx, [eax + edi]
mov dword [ebp - 0x24], ecx
jne 0x408edc
dec eax
push eax
push edi
push dword [ebp + 8]
call fcn.0042a2d0
add esp, 0xc
jmp 0x408ee7
push edi
push dword [ebp + 8]
call fcn.00421240
pop ecx
pop ecx
cmp eax, ebx
je 0x408ef7
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x14], eax
jmp 0x408ffa
cmp edi, ebx
mov eax, edi
jne 0x408f02
mov eax, 0x44386c
push eax
push str._tmapped_to___s_
call fcn.0041df5d
pop ecx
pop ecx
lea ecx, [ebp - 0x10]
call fcn.0040af50
push ebx
push edi
push 0x43b088
lea ecx, [esi + 0x18]
mov dword [ebp - 4], ebx
call fcn.0040b220
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040a2c5
add esp, 0x14
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0040b220
push eax
push str.brand_
lea eax, [ebp - 0x10]
push 0x43b068
push eax
call fcn.0040c040
add esp, 0x10
lea ecx, [esi + 0x18]
lea edi, [esi + 0x1c]
push ebx
push str._defaults
call fcn.0040b220
push eax
mov ecx, edi
call fcn.004014e1
push ebx
push str.Inherit
lea ecx, [ebp - 0x10]
call fcn.0040b220
push eax
lea ecx, [esi + 0x18]
call fcn.0040b220
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040a2c5
add esp, 0x14
push 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0040b220
push eax
lea ecx, [esi + 0x18]
call fcn.0040b220
push eax
mov ecx, edi
call fcn.004014e1
push 2
lea ecx, [ebp - 0x10]
call fcn.0040b220
push eax
lea ecx, [esi + 0x18]
call fcn.0040b220
push eax
mov ecx, edi
call fcn.004014e1
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x7c], 1
mov byte [ebp - 4], 1
call fcn.0040af80
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.0040af80
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040af80
mov eax, dword [ebp - 0x14]
cmp byte [eax], bl
jne 0x408eac
cmp dword [esi + 0x7c], ebx
jne 0x40901d
push dword [ebp + 8]
push str.AIC__s_
push dword [ebp + 0xc]
call fcn.0040c040
add esp, 0xc
push dword [ebp - 0x18]
call fcn.004203d7
pop ecx
jmp 0x40903b
push dword [ebp + 8]
push str.AIC__s___buf_alloc_err
push dword [ebp + 0xc]
call fcn.0040c040
add esp, 0xc
cmp dword [esi + 0x7c], ebx
jne 0x40904b
push str._tERROR:_nomap
call fcn.0041df5d
pop ecx
mov eax, dword [esi + 0x7c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x40a101
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x431e48
call fcn.004203b8
sub esp, 0x144
push ebx
push edi
call fcn.0040a499
xor ebx, ebx
mov edi, eax
cmp dword [ebp + 8], ebx
je 0x40a1cd
push esi
lea ecx, [ebp - 0x10]
call fcn.0040af50
push 0x43b3f8
lea eax, [ebp - 0x10]
push edi
push eax
mov dword [ebp - 4], ebx
call fcn.0040dfc0
add esp, 0xc
lea eax, [ebp - 0x150]
lea ecx, [ebp - 0x10]
push eax
call fcn.0040b220
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40a1be
test byte [ebp - 0x150], 0x10
jne 0x40a1a5
lea ecx, [ebp + 8]
call fcn.0040af50
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp + 8]
push edi
push eax
call fcn.0040dfc0
add esp, 0xc
lea ecx, [ebp + 8]
push ebx
call fcn.0040b220
push eax
call fcn.0040ae25
pop ecx
mov byte [ebp - 4], bl
pop ecx
lea ecx, [ebp + 8]
call fcn.0040af80
lea eax, [ebp - 0x150]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40a160
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040af80
pop esi
jmp 0x40a1d8
push ebx
push ebx
push edi
call fcn.0040d8b0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40a855
Capabilities:
Persist via run registry key

Disassembly:
mov eax, 0x431f14
call fcn.004203b8
push ecx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
mov dword [ebp - 0x10], edi
jne 0x40a874
call fcn.0040a631
mov dword [ebp + 0xc], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.StartWithWindows:__d__s
call fcn.0041df5d
add esp, 0xc
cmp dword [ebp + 8], edi
je 0x40a8ff
push edi
push str.DontStartWithWindows
call fcn.0040a1e6
pop ecx
test eax, eax
pop ecx
jne 0x40a8ef
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 0x32
push eax
call fcn.004205ed
mov esi, eax
pop ecx
cmp esi, edi
je 0x40a97f
push dword [ebp + 0xc]
push 0x43b508
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
push esi
push str.Trickler
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.WSOCK32.dll_bind
call fcn.0040cdb0
push esi
mov dword [ebp - 0x10], eax
call fcn.004203d7
add esp, 0x20
jmp 0x40a97f
push str._t__Inhibited_by_test_setting
call fcn.0041df5d
pop ecx
jmp 0x40a97f
push ebx
push edi
mov ebx, str.Trickler
mov edi, str.SoftwareMicrosoftWindowsCurrentVersionRun
push ebx
mov esi, reloc.WSOCK32.dll_bind
push edi
lea eax, [ebp + 8]
push esi
push eax
call fcn.0040a263
add esp, 0x14
and dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0040b200
test eax, eax
jne 0x40a96b
push eax
lea eax, [ebp + 8]
push eax
call fcn.0040d740
pop ecx
pop ecx
push dword [ebp + 0xc]
lea ecx, [ebp + 8]
call fcn.0040b270
test eax, eax
jne 0x40a95a
push ebx
push edi
push esi
call fcn.0040cf30
add esp, 0xc
mov dword [ebp - 0x10], eax
jmp 0x40a972
push dword [ebp + 8]
push str.StartWithWindows:_NOT_removing_app_startup:_Different_paths_____s_
call fcn.0041df5d
pop ecx
pop ecx
jmp 0x40a972
mov dword [ebp - 0x10], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040af80
pop ebx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40b140
Capabilities:
Get graphical window text

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.0040b440
mov ebx, dword [esp + 0x14]
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40b18f
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov edi, eax
add edi, 0xa
push edi
call fcn.004205ed
mov esi, eax
add esp, 4
test esi, esi
je 0x40b18f
push edi
push esi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push esi
mov ecx, ebp
call fcn.0040b700
push esi
call fcn.004203d7
add esp, 4
mov ecx, ebp
call fcn.0040b1f0
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x40b5c0
Capabilities:
Print debug messages

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
call fcn.0040b1e0
mov esi, dword [esp + 0x10]
test esi, esi
je 0x40b5fe
mov eax, esi
shr eax, 0x10
jne 0x40b5fe
and esi, 0xffff
mov ecx, ebx
push esi
call fcn.0040c880
test eax, eax
jne 0x40b628
push str.Warning:_implicit_LoadString___in_CMsString_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
mov eax, ebx
pop esi
pop ebx
ret 4
push esi
call fcn.0040b230
mov edi, eax
test edi, edi
je 0x40b628
push edi
mov ecx, ebx
call fcn.0040b340
test eax, eax
je 0x40b628
mov ecx, edi
mov edi, dword [ebx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
mov eax, ebx
pop esi
pop ebx
ret 4