joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b9040
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 0x4b91ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4b91ce
mov dl, 1
mov eax, dword [0x42c3e4]
call fcn.004384a4
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
call fcn.00406a40
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4b91bd
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.0049b768
test al, al
je 0x4b91b0
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, 0x4b91fc
lea eax, [ebp - 0x394]
call fcn.00413e5c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4b91b0
xor eax, eax
push ebp
push 0x4b91a9
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 0x4b926c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4b9192
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406c38
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 0x4b9192
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406c38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b91b0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4b90b3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.004383e0
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 0x4b91f4
lea eax, [ebp - 0x3a0]
call fcn.00406a30
ret

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

Disassembly:
push ecx
mov eax, dword [0x5582bc]
cmp byte [eax + 0xad], 0
jne 0x4b9dbe
cmp dword [0x5582d4], 0
jne 0x4b9d7e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x54b0e8]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x5582d4], eax
cmp dword [0x5582d0], 0
jne 0x4b9d99
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x5582d0], eax
cmp dword [0x5582d8], 0
jne 0x4b9dbe
push esp
push 0
push 0
mov eax, dword [0x54b0e4]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5582d8], eax
pop edx
ret
Function at 0x4ba0e4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4ba0fb
add esp, 0xfffffff0
call fcn.0040531c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00440b20
mov eax, dword [0x55174c]
cmp byte [eax], 0
jne 0x4ba128
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x551c30]
cmp word [eax + 2], 0
jne 0x4ba142
mov eax, dword [0x551c30]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004bc1dc
mov eax, dword [0x551df0]
cmp word [eax + 2], 0
jne 0x4ba15c
mov eax, dword [0x551df0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004bc3ec
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x450ed4]
call fcn.004571a8
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4bc99c
mov dl, 1
mov eax, dword [0x429ce4]
call fcn.00404db8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x429ce4]
call fcn.00404db8
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 [0x45536c]
call fcn.00460618
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4ba33c
mov eax, dword [0x551a34]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00460aac
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4bcc84
mov dl, 1
mov eax, dword [0x429ce4]
call fcn.00404db8
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x551a34]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00413c50
test eax, eax
je 0x4ba26d
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.004139e0
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00413c34
test eax, eax
je 0x4ba285
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.00406c38
push ebx
push 0x4bbbac
call fcn.004afdf4
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x55174c]
cmp byte [eax], 0
jne 0x4ba2d6
mov eax, ebx
call fcn.004ba4b0
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.004bceb0
mov eax, ebx
call fcn.004bdae4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4ba333
call fcn.00405374
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ba784
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4ba826
cmp dword [ebx + 0x94], 0
jne 0x4ba820
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4ba6d0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4ba820
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 0x4ba7e6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4ba820
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.00434bf0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4ba7f5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x5582bc]
cmp dword [eax + 0x170], 0
je 0x4baba9
test bl, bl
jne 0x4baaf7
cmp dword [esi + 0x9c], 0
jne 0x4baaec
mov eax, esi
call fcn.004bd934
push eax
push 0x4ba950
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4baabd
mov eax, dword [0x5582bc]
cmp byte [eax + 0xd3], 0
je 0x4baabd
mov eax, dword [esi + 0xd8]
call fcn.00408080
mov edi, eax
cmp edi, 0
jl 0x4baabd
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 0x4baaa6
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4baaec
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00434bf0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4baacc
inc dword [esi + 0x9c]
jmp 0x4baba9
cmp dword [esi + 0x9c], 0
jle 0x4baba9
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4baba9
cmp dword [esi + 0x44], 0
je 0x4bab54
mov eax, dword [0x5582bc]
cmp byte [eax + 0xd3], 0
je 0x4bab54
mov eax, dword [esi + 0xd8]
call fcn.00408080
mov edi, eax
cmp edi, 0
jl 0x4bab54
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 0x4bab3d
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4bab83
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00434bf0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4bab63
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 [0x4adccc]
call fcn.00408240
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4bb7f8
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 0x4bb863
cmp byte [ebx + 0xd3], 0
jne 0x4bb863
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.00406b7c
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4bb850
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4bb870
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406a40
jmp 0x4bb870
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406a40
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4bd098
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4bd106
mov eax, esi
call fcn.004956bc
test al, al
je 0x4bd106
mov eax, dword [ebx + 0x84]
call fcn.00495310
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4bd106
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4bd0fa
push 0
mov eax, dword [ebx + 0x84]
call fcn.00495310
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0048c2e4
jmp 0x4bd106
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004bced0
pop esi
pop ebx
ret

Function at 0x4d261c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
push ecx
mov ebx, 0x54b730
test edx, edx
jne 0x4d262f
xor eax, eax
jmp 0x4d2744
mov dword [esp], 1
cmp byte [esp], 0
je 0x4d264c
push ecx
push edx
push eax
call fcn.004d2748
add esp, 0xc
jmp 0x4d2744
push ecx
push edx
push eax
call fcn.004d2a08
add esp, 0xc
jmp 0x4d2744
pop edx
pop esi
pop ebx
ret
Function at 0x4d42b8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov esi, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x3c]
sub eax, dword [ebx + 0x74]
sub eax, dword [ebx + 0x6c]
mov dword [ebp - 8], eax
jmp 0x4d42f5
mov edx, dword [ebx + 0x2c]
sub edx, 0x106
add edx, esi
cmp edx, dword [ebx + 0x6c]
ja 0x4d4376
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov edi, esi
add edx, edi
push edx
push eax
call fcn.004d2204
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], edi
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
cmp esi, dword [ebp - 4]
ja 0x4d4343
mov cx, word [ebp - 4]
sub cx, si
jmp 0x4d4345
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4d432c
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
cmp esi, dword [ebp - 4]
ja 0x4d436b
mov cx, word [ebp - 4]
sub cx, si
jmp 0x4d436d
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4d4354
add dword [ebp - 8], esi
mov edi, dword [ebx]
cmp dword [edi + 4], 0
je 0x4d43d8
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebx + 0x38]
add edx, dword [ebx + 0x6c]
add edx, dword [ebx + 0x74]
push edx
push edi
call fcn.004d3f84
add esp, 0xc
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x4d43c3
mov ecx, dword [ebx + 0x38]
mov eax, dword [ebx + 0x6c]
movzx eax, byte [ecx + eax]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x4d43d8
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4d42c7
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x53e080
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x244], edx
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x248], edx
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x240], edx
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x23c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406a28
xor eax, eax
push ebp
push 0x53e1fb
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
xor edx, edx
mov eax, 2
call fcn.0053d624
mov esi, eax
mov dword [ebp - 0x230], 0x22c
lea edx, [ebp - 0x230]
mov eax, esi
call fcn.0053d644
mov ebx, eax
jmp 0x53e1cd
lea eax, [ebp - 0x23c]
lea edx, [ebp - 0x20c]
mov ecx, 0x104
call fcn.00406c38
mov eax, dword [ebp - 0x23c]
lea edx, [ebp - 0x238]
call fcn.0041374c
mov eax, dword [ebp - 0x238]
lea edx, [ebp - 0x234]
call fcn.00411e64
mov eax, dword [ebp - 0x234]
push eax
lea edx, [ebp - 0x240]
mov eax, dword [ebp - 4]
call fcn.00411e64
mov edx, dword [ebp - 0x240]
pop eax
call fcn.00407110
je 0x53e1a4
lea eax, [ebp - 0x248]
lea edx, [ebp - 0x20c]
mov ecx, 0x104
call fcn.00406c38
mov eax, dword [ebp - 0x248]
lea edx, [ebp - 0x244]
call fcn.00411e64
mov eax, dword [ebp - 0x244]
push eax
lea edx, [ebp - 0x24c]
mov eax, dword [ebp - 4]
call fcn.00411e64
mov edx, dword [ebp - 0x24c]
pop eax
call fcn.00407110
jne 0x53e1be
push 0
mov eax, dword [ebp - 0x228]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edi, eax
lea edx, [ebp - 0x230]
mov eax, esi
call fcn.0053d664
mov ebx, eax
test ebx, ebx
jne 0x53e0ff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53e202
lea eax, [ebp - 0x24c]
mov edx, 7
call fcn.00406a38
lea eax, [ebp - 4]
call fcn.00406a30
ret
Function at 0x401430
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401449
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401484
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401480
lea ebx, [ebx]
cmp esi, eax
jae 0x401484
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401470
cmp esi, eax
jb 0x40148a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x405ac0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebp
push esi
push edi
mov dword [esp + 0xc], ecx
call fcn.0041def7
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x18]
movzx ecx, word [esp + 0x14]
push eax
push ecx
push esi
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x405b4b
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x405b41
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x405b41
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x405b41
push ebx
push edi
push esi
call fcn.00435c30
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push esi
call fcn.004059c0
test eax, eax
je 0x405b3a
mov ebp, 1
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
pop edi
pop esi
mov eax, ebp
pop ebp
pop ecx
ret 8
pop edi
pop esi
mov eax, ebp
pop ebp
pop ecx
ret 8
Function at 0x40a890
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x104
mov eax, dword [0x464a38]
xor eax, esp
mov dword [esp + 0x100], eax
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyboardState]
lea eax, [esp + 8]
push eax
call edi
test byte [esp + 0x98], 1
mov esi, dword [sym.imp.USER32.dll_keybd_event]
je 0x40a917
mov ecx, dword [sym.imp.StrokeMBHandle.dll_struct_tagImePara__ImePara]
mov edx, dword [ecx]
cmp dword [edx], 0
je 0x40a90d
push 0
push 1
push 0x90
push 0x90
call esi
push 0
push 3
push 0x90
push 0x90
call esi
lea eax, [esp + 8]
push eax
call edi
test byte [esp + 0x98], 1
jne 0x40a944
mov ecx, dword [sym.imp.StrokeMBHandle.dll_int_uNumLock]
mov dword [ecx], 0
test byte [esp + 0x98], 1
jne 0x40a944
mov edx, dword [sym.imp.StrokeMBHandle.dll_struct_tagImePara__ImePara]
mov eax, dword [edx]
cmp dword [eax], 0
jne 0x40a944
push 0
push 1
push 0x90
push 0x90
call esi
push 0
push 3
push 0x90
push 0x90
call esi
mov ecx, dword [esp + 0x108]
pop edi
pop esi
xor ecx, esp
call fcn.00434975
add esp, 0x104
ret
Function at 0x415415
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x41544e
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004153b0
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00404840
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x41714d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x417190
call fcn.0041def7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x417190
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4171ab
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00416d04
test ebx, ebx
mov esi, eax
je 0x4171a9
test edi, edi
je 0x4171a9
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x41c737
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0041def7
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41c76e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0041c359
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x41c7c6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x41c7e6
cmp dword [edi + 0x54], 0
jne 0x41c7e6
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0041def7
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0041c78d
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8
Function at 0x41cc6c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x41ccb2
call fcn.0041def7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41ccb2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x41ccf5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x41ccde
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x41ccde
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41ccf2
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x42df7d
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x42dfab
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42dfc9
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0042dee7
jmp 0x42dfc9
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42dfc9
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0042dee7
test edi, edi
mov eax, edi
jne 0x42dfb3
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x467fe4]
test ecx, ecx
je 0x42e08c
jmp 0x42df7c
ret 8

Function at 0x434975
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x464a38]
jne 0x43497f
repz ret
jmp fcn.00439803