joyce8/EMBER2024-capa huggingface dataset:
Function at 0x470160
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47030d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4702ee
mov dl, 1
mov eax, dword [0x42f220]
call fcn.0043b298
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
call fcn.00406f30
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4702dd
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.004a7c20
test al, al
je 0x4702d0
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x47031c
lea eax, [ebp - 0x394]
call fcn.00412bf8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4702d0
xor eax, eax
push ebp
push 0x4702c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x47038c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4702b2
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407128
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
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 + 0x40]
jne 0x4702b2
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407128
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4702d0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4701d3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.0043b1d4
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470314
lea eax, [ebp - 0x3a0]
call fcn.00406f20
ret

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

Disassembly:
push ecx
mov eax, dword [0x4f41f4]
cmp byte [eax + 0xad], 0
jne 0x470ede
cmp dword [0x4f420c], 0
jne 0x470e9e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x4eca74]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4f420c], eax
cmp dword [0x4f4208], 0
jne 0x470eb9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x4f4208], eax
cmp dword [0x4f4210], 0
jne 0x470ede
push esp
push 0
push 0
mov eax, dword [0x4eca70]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4f4210], eax
pop edx
ret
Function at 0x471204
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x47121b
add esp, 0xfffffff0
call fcn.00405698
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00443820
mov eax, dword [0x4edd78]
cmp byte [eax], 0
jne 0x471248
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4ee04c]
cmp word [eax + 2], 0
jne 0x471262
mov eax, dword [0x4ee04c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004732fc
mov eax, dword [0x4ee150]
cmp word [eax + 2], 0
jne 0x47127c
mov eax, dword [0x4ee150]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0047350c
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x44ab80]
call fcn.0044fb88
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x473abc
mov dl, 1
mov eax, dword [0x42cc58]
call fcn.00405138
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x42cc58]
call fcn.00405138
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 [0x44e218]
call fcn.00456980
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x47145c
mov eax, dword [0x4edf18]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00456e14
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x473da4
mov dl, 1
mov eax, dword [0x42cc58]
call fcn.00405138
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4edf18]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00412a44
test eax, eax
je 0x47138d
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00412828
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00412a28
test eax, eax
je 0x4713a5
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00407128
push ebx
push 0x472ccc
call fcn.00466f14
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x4edd78]
cmp byte [eax], 0
jne 0x4713f6
mov eax, ebx
call fcn.004715d0
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00473fd0
mov eax, ebx
call fcn.00474c04
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x471453
call fcn.004056f0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4718a4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x471946
cmp dword [ebx + 0x94], 0
jne 0x471940
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4717f0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x471940
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_GetWindowLongW
test al, 8
je 0x471906
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x471940
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.00437a2c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x471915
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4f41f4]
cmp dword [eax + 0x170], 0
je 0x471cc9
test bl, bl
jne 0x471c17
cmp dword [esi + 0x9c], 0
jne 0x471c0c
mov eax, esi
call fcn.00474a54
push eax
push 0x471a70
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x471bdd
mov eax, dword [0x4f41f4]
cmp byte [eax + 0xd3], 0
je 0x471bdd
mov eax, dword [esi + 0xd8]
call fcn.00408944
mov edi, eax
cmp edi, 0
jl 0x471bdd
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x471bc6
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x471c0c
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00437a2c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x471bec
inc dword [esi + 0x9c]
jmp 0x471cc9
cmp dword [esi + 0x9c], 0
jle 0x471cc9
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x471cc9
cmp dword [esi + 0x44], 0
je 0x471c74
mov eax, dword [0x4f41f4]
cmp byte [eax + 0xd3], 0
je 0x471c74
mov eax, dword [esi + 0xd8]
call fcn.00408944
mov edi, eax
cmp edi, 0
jl 0x471c74
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x471c5d
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x471ca3
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00437a2c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x471c83
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x464dec]
call fcn.00408b04
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x472918
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x472983
cmp byte [ebx + 0xd3], 0
jne 0x472983
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040706c
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x472970
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x472990
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406f30
jmp 0x472990
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406f30
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4741b8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x474226
mov eax, esi
call fcn.004a1d84
test al, al
je 0x474226
mov eax, dword [ebx + 0x84]
call fcn.004a1a04
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x474226
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x47421a
push 0
mov eax, dword [ebx + 0x84]
call fcn.004a1a04
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00498a90
jmp 0x474226
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00473ff0
pop esi
pop ebx
ret

Function at 0x4779ec
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.00406f30
push 0
mov eax, esi
movzx eax, al
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x477a33
push pe_nt_image_headers32
lea edx, [esp + 4]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00407128
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x47d230
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47d369
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x447454]
call fcn.00448658
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x47d33f
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00448740
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.00407128
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x47d384
call fcn.004073fc
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.004489bc
test al, al
je 0x47d329
lea ecx, [ebp - 4]
mov edx, 0x47d3f8
mov eax, dword [ebp - 0xc]
call fcn.004492b8
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.00419b84
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x47d322
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x47d410
mov eax, dword [ebp - 8]
push eax
call fcn.0040c084
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x4ecbe4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d329
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d346
mov eax, dword [ebp - 0xc]
call fcn.00405168
ret

Function at 0x47d474
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x47d4bb
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x47d49e
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x47d4af
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x47d4bb
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x4960e8
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 - 0xc]
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 [0x4f4290], 0
je 0x496229
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4ee128]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x496229
mov eax, dword [0x4f4294]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4f4290]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4961f8
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4f4290]
call fcn.00437a2c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4961f0
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1ea], 0
je 0x4961f0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x5c]
test al, al
je 0x4961f0
mov eax, dword [ebp - 0x14]
call fcn.004a1a04
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4961f0
push ebp
call fcn.004960a4
pop ecx
test al, al
jne 0x4961f0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00405408
test al, al
je 0x4961f0
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.00405408
cmp byte [ebp - 1], 0
je 0x4961f0
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.0040b264
test al, al
je 0x4961f0
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4f4294]
call fcn.00495800
inc edi
dec ebx
jne 0x49614d
mov eax, dword [0x4f4294]
cmp dword [eax + 8], 0
jle 0x496210
mov eax, dword [0x4f4294]
call fcn.004958b8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x496229
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00495f08
pop ecx
test al, al
jne 0x496229
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
Function at 0x49e5b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.0040b24c
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.004986b0
test ebx, ebx
jne 0x49e603
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0049e42c
mov ebx, eax
test ebx, ebx
je 0x49e6f9
cmp esi, ebx
je 0x49e62c
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x49e641
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x49e679
add eax, 0xffffff5f
sub eax, 2
jb 0x49e691
dec eax
sub eax, 2
jb 0x49e6a5
dec eax
sub eax, 2
jb 0x49e69b
jmp 0x49e6af
add eax, 0xfffffdff
sub eax, 2
jb 0x49e691
dec eax
sub eax, 2
jb 0x49e6a5
dec eax
sub eax, 2
jb 0x49e69b
jmp 0x49e6af
mov byte [esp + 0x120], 0
jmp 0x49e6b7
mov byte [esp + 0x120], 2
jmp 0x49e6b7
mov byte [esp + 0x120], 1
jmp 0x49e6b7
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00466fc4
mov esi, eax
call fcn.00494fb4
or si, ax
mov word [esp + 0x121], si
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0049a034
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x49e6fb
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x401300
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
xor edi, edi
add eax, 0x20
mov edi, edi
mov ecx, dword [ebp + edi*4]
mov esi, ecx
shl esi, 8
shr esi, 0x18
mov dword [esp + 0x10], esi
mov esi, ecx
shl esi, 0x10
mov edx, ecx
shr edx, 0x18
shr esi, 0x18
mov ebx, esi
movzx esi, dl
mov edx, dword [eax - 0x20]
xor edx, esi
movzx esi, byte [esp + 0x10]
mov dword [eax - 0x20], edx
mov edx, dword [eax - 0x10]
xor edx, esi
mov dword [eax - 0x10], edx
mov edx, dword [eax]
shl ecx, 0x18
movzx esi, bl
shr ecx, 0x18
xor edx, esi
mov dword [eax], edx
movzx edx, cl
mov ecx, dword [eax + 0x10]
xor ecx, edx
mov dword [eax + 0x10], ecx
inc edi
add eax, 4
cmp edi, 4
jl 0x401310
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x4013e0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
add eax, 0x20
mov dword [esp + 0x10], 4
mov ecx, dword [eax - 0x20]
mov edx, dword [eax - 0x10]
mov ebx, dword [ecx*4 + 0x5a0dc80]
xor ebx, dword [edx*4 + 0x5a0d480]
mov esi, dword [eax]
mov edi, dword [eax + 0x10]
mov ebp, dword [esi*4 + 0x5a0d880]
xor ebp, ebx
mov ebx, dword [edi*4 + 0x5a0d080]
xor ebx, ebp
mov dword [eax - 0x20], ebx
mov ebx, dword [ecx*4 + 0x5a0d080]
xor ebx, dword [edx*4 + 0x5a0dc80]
mov ebp, dword [esi*4 + 0x5a0d480]
xor ebp, ebx
mov ebx, dword [edi*4 + 0x5a0d880]
xor ebx, ebp
mov dword [eax - 0x10], ebx
mov ebx, dword [ecx*4 + 0x5a0d880]
xor ebx, dword [edx*4 + 0x5a0d080]
mov ebp, dword [esi*4 + 0x5a0dc80]
xor ebp, ebx
mov ebx, dword [edi*4 + 0x5a0d480]
xor ebx, ebp
mov dword [eax], ebx
mov ecx, dword [ecx*4 + 0x5a0d480]
xor ecx, dword [edx*4 + 0x5a0d880]
mov esi, dword [esi*4 + 0x5a0d080]
xor esi, ecx
mov ecx, dword [edi*4 + 0x5a0dc80]
xor ecx, esi
mov dword [eax + 0x10], ecx
add eax, 4
sub dword [esp + 0x10], 1
jne 0x4013f0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x402130
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450ac0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5a0abb0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x5a05564
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x20], 0x2e
call fcn.0043dab4
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
movzx edx, word [eax + 0x14]
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], ebx
lea esi, [edx + eax + 0x18]
mov dword [ebp - 0x14], 0
mov eax, dword [ecx]
movzx ecx, word [eax + 6]
cmp dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], esi
jge 0x40225a
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4021e9
mov edx, dword [ebp + 0xc]
mov edi, dword [edx + 0x38]
test edi, edi
jle 0x40224c
mov eax, dword [esi + 0xc]
push 4
push 0x1000
push edi
add eax, ebx
push eax
call dword [0x5a10e10]
push edi
push 0
push eax
mov dword [esi + 8], eax
call fcn.0043ce70
inc dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
add esp, 0xc
add esi, 0x28
jmp 0x402194
mov ecx, dword [esi + 0xc]
push 4
push 0x1000
push eax
add ecx, ebx
push ecx
call dword [0x5a10e10]
push 0x5a05564
lea edx, [ebp - 0x24]
mov byte [ebp - 4], 2
push edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], 0x63
call fcn.0043dab4
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
add edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
push ecx
push edx
push eax
call fcn.00441a30
add esp, 0xc
mov dword [ebp - 4], 1
mov eax, 0x402240
ret
inc dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
add esi, 0x28
jmp 0x402194
mov eax, 0x402260
ret
Function at 0x402c60
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Extract resource via kernel32 functions

Disassembly:
sub esp, 0xbc
mov eax, dword [0x5a0abb0]
xor eax, esp
mov dword [esp + 0xb8], eax
mov al, 0xe
mov byte [esp + 0x94], al
mov byte [esp + 0x97], al
mov al, 0xf3
mov byte [esp + 0x9f], al
mov byte [esp + 0xa2], al
xor eax, eax
mov cl, 0x4c
push ebp
mov word [esp + 0xa8], ax
mov al, 0x77
push esi
mov esi, dword [esp + 0xc8]
mov byte [esp + 0xa1], cl
mov byte [esp + 0xa8], cl
mov cl, 0xc
mov byte [esp + 0xb8], al
mov byte [esp + 0xba], al
push edi
mov byte [esp + 0xa1], 0x1c
mov byte [esp + 0xa2], 0x2a
mov byte [esp + 0xa4], 0x53
mov byte [esp + 0xa6], 0x26
mov byte [esp + 0xa7], 0x22
mov byte [esp + 0xa8], 0x14
mov byte [esp + 0xa9], 0x74
mov byte [esp + 0xaa], 0x1b
mov byte [esp + 0xad], 1
mov byte [esp + 0xaf], 0xeb
mov byte [esp + 0xb4], 0x31
mov byte [esp + 0xb5], 0x23
mov byte [esp + 0xb6], 0x68
mov byte [esp + 0xb7], 0x67
mov byte [esp + 0xb8], 0x37
mov byte [esp + 0xb9], cl
mov byte [esp + 0xba], 0x4a
mov byte [esp + 0xbb], 0x4d
mov byte [esp + 0xbd], 0x15
mov byte [esp + 0xbf], 0x96
mov byte [esp + 0xc0], cl
mov byte [esp + 0xc1], 0x72
mov byte [esp + 0xc2], 0x87
mov byte [esp + 0xc3], 0x8f
xor eax, eax
lea ebx, [ebx]
mov cl, byte [esp + eax + 0xb4]
xor byte [esp + eax + 0xa0], cl
inc eax
cmp eax, 0x10
jl 0x402d90
push 0x59fcfe8
push 0x98
mov byte [esp + eax + 0xa8], 0
push esi
mov byte [esp + eax + 0xad], 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x402ee6
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x402ee6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
je 0x402ee6
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x402ee6
push esi
call fcn.004035b9
push esi
mov edi, eax
push ebp
push edi
call fcn.00441a30
add esp, 0x10
lea edx, [esp + 0xc]
push edx
lea edx, [esp + 0xa4]
call fcn.004018d0
push edi
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00401990
test al, al
je 0x402e4b
movsx eax, byte [edi + esi - 1]
lea ecx, [eax - 1]
cmp ecx, 0xf
ja 0x402e77
sub esi, eax
cmp esi, 0xffffffff
jne 0x402e8b
push 0
push 0x59fd02c
push 0x59fd018
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
call fcn.004035ae
mov edx, dword [esp + 0x20]
push edx
call fcn.004035ae
add esp, 8
jmp 0x402efa
push eax
push 0x45c388
lea edx, [esp + 0x28]
call fcn.00401f90
add esp, 8
jmp 0x402e4b
push edi
call fcn.00402980
mov esi, eax
add esp, 4
test esi, esi
jne 0x402ec1
push eax
push 0x59fd050
push 0x59fd018
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
call fcn.004035ae
mov eax, dword [esp + 0x20]
push eax
call fcn.004035ae
add esp, 8
jmp 0x402efa
push esi
call fcn.00402860
add esp, 4
test eax, eax
je 0x402ed0
call eax
push esi
call fcn.00402770
push edi
call fcn.004035ae
add esp, 8
push 1
call fcn.0043b465
push 0
push 0x59fcff0
push 0x59fd018
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.0043ab25
add esp, 0xbc
ret 0x10