joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416285
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x4162ca
call fcn.0040b5f3
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4162ca
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4162e6
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041f67b
mov ebx, eax
test edi, edi
je 0x4162e4
test esi, esi
je 0x4162e4
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x416ce1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x416d9f
cmp dword [esi + 0x20], 0
je 0x416d9f
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x416d9f
cmp dword [ebp + 8], 0
je 0x416d9f
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.0040b5f3
push 0x57efb8
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x416d70
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x416d9f
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.004201b4
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x416d90
test edi, edi
je 0x416d90
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x416d9b
mov ecx, esi
call fcn.00416a84
mov eax, ebx
jmp 0x416da1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41c491
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x84], 0
mov ecx, dword [ebx + 0x88]
mov edi, dword [ebx + 0x8c]
mov dword [ebp - 4], ecx
je 0x41c4d6
call fcn.0040b5f3
push 5
push dword [ebx + 0x84]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ecx, eax
mov dword [ebp - 4], eax
test ecx, ecx
je 0x41c4e6
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [ebp - 4]
mov edi, eax
xor esi, esi
inc esi
test edi, edi
je 0x41c532
mov edx, dword [edi]
mov eax, edx
shr eax, 0x10
mov dword [ebp - 4], 0xffff
cmp ax, word [ebp - 4]
jne 0x41c511
movzx eax, word [edi + 0x12]
mov edx, dword [edi + 0xc]
mov dword [ebp - 4], eax
movzx eax, word [edi + 0x14]
jmp 0x41c51c
movzx eax, word [edi + 0xa]
mov dword [ebp - 4], eax
movzx eax, word [edi + 0xc]
test edx, 0x1801
jne 0x41c530
cmp word [ebp - 4], 0
jne 0x41c530
test ax, ax
je 0x41c532
xor esi, esi
cmp dword [ebx + 0x84], 0
je 0x41c542
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41c54b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebx + 0x84], edi
test edi, 0xffff0000
jne 0x41c576
cmp dword [ebx + 0x80], 0
jne 0x41c576
movzx eax, di
mov dword [ebx + 0x80], eax
call fcn.0040b5f3
push 5
push edi
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov edi, eax
mov ecx, ebx
push edi
call fcn.0041c809
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41c5b0
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 esi, esi
call fcn.0040b5f3
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41c5e7
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.0041c608
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41c903
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x28
mov eax, 0x56de05
call fcn.00542dbf
mov edi, ecx
mov dword [ebp - 0x24], edi
mov eax, dword [edi + 0x8c]
mov esi, dword [edi + 0x88]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esi
call fcn.0040b5f3
xor ebx, ebx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
cmp dword [edi + 0x84], ebx
je 0x41c962
call fcn.0040b5f3
push 5
push dword [edi + 0x84]
mov esi, dword [eax + 0xc]
push esi
mov dword [ebp - 0x20], esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
mov dword [ebp - 0x1c], eax
test esi, esi
je 0x41c972
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
jmp 0x41c975
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x41c981
or eax, 0xffffffff
jmp 0x41cb05
mov ecx, edi
call fcn.0041cf57
mov esi, eax
mov dword [ebp - 0x28], esi
call fcn.00414fac
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
test esi, esi
je 0x41ca29
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x41ca29
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x41ca29
push ebx
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x30], 1
call fcn.00411f5c
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41c9eb
mov ecx, dword [eax]
mov esi, dword [ecx + 0x74]
mov ecx, esi
call fcn.00542d17
mov ecx, dword [ebp - 0x14]
call esi
mov esi, eax
mov dword [ebp - 0x14], esi
jmp 0x41c9f0
mov esi, ebx
mov dword [ebp - 0x14], ebx
test esi, esi
je 0x41ca29
mov eax, dword [esi]
mov esi, dword [eax + 0x150]
mov ecx, esi
call fcn.00542d17
mov ecx, dword [ebp - 0x14]
call esi
test eax, eax
je 0x41ca29
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.00412d53
test eax, eax
je 0x41ca29
push ebx
mov ecx, esi
call fcn.00412b0e
mov dword [ebp - 0x2c], 1
push edi
mov dword [ebp - 4], ebx
call fcn.00414c4d
mov esi, dword [ebp - 0x28]
push esi
call fcn.0041630d
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.0041c8a6
test eax, eax
jne 0x41ca74
cmp dword [edi + 0x9c], ebx
jne 0x41ca74
call fcn.0040b5f3
push esi
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
call fcn.0041630d
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.0041c8a6
or dword [ebp - 4], 0xffffffff
mov dword [edi + 0x9c], ebx
jmp 0x41caa5
cmp dword [ebp - 0x2c], 0
je 0x41cab5
mov ecx, dword [ebp - 0x14]
push 1
call fcn.00412b0e
cmp dword [ebp - 0x30], 0
je 0x41cac4
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
test esi, esi
je 0x41cada
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 0x20]
jne 0x41cada
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [edi]
mov esi, dword [eax + 0x60]
mov ecx, esi
call fcn.00542d17
mov ecx, edi
call esi
mov ecx, edi
call fcn.0041cf0e
cmp dword [edi + 0x84], ebx
je 0x41cb02
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [edi + 0x68]
call fcn.00542d1d
ret
Function at 0x421d11
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
mov edi, dword [esi + 0xc]
jne 0x421d67
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x421d40
call fcn.0040fb8e
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x421d55
call fcn.0040fb8e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x421d67
call fcn.0040fb8e
call fcn.0040b5f3
cmp dword [eax + 0x3c], 0
je 0x421d7c
push edi
mov ecx, ebx
call fcn.0042144a
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00421f6d
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x421da5
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x421db1
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4244e8
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x424648
mov ecx, 0x61e268
call fcn.0040c174
mov esi, eax
test esi, esi
je 0x42463d
xor eax, eax
cmp word [esi + 8], ax
jne 0x424607
push str.comctl32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
je 0x4245a9
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [ebp + 0x10]
mov ecx, 0x3ff
and ax, cx
cmp ax, 0x11
jne 0x42456f
push 0x580810
call fcn.00424688
pop ecx
test eax, eax
je 0x42456f
mov eax, edi
neg eax
push 0xfc11
sbb eax, eax
and eax, 0xe
add eax, 0x3ee
push eax
push 5
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
jne 0x42458a
neg edi
push 5
sbb edi, edi
and edi, 0xe
add edi, 0x3ee
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4245a9
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
test eax, eax
je 0x4245af
push ebx
push edi
push eax
call fcn.00422c2a
add esp, 0xc
jmp 0x4245af
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov eax, dword [edi]
push 2
mov eax, dword [eax - 0xc]
inc eax
push eax
call fcn.00409bec
pop ecx
pop ecx
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, eax
mov dword [esi + 4], edx
test edx, edx
je 0x424642
mov eax, dword [edi]
push eax
mov ecx, dword [eax - 0xc]
lea eax, [ecx + 1]
push eax
push edx
call fcn.00550669
add esp, 0xc
test eax, eax
je 0x4245fc
cmp eax, 0xc
je 0x424642
cmp eax, 0x16
je 0x42463d
cmp eax, 0x22
je 0x42463d
cmp eax, 0x50
jne 0x42463d
mov ax, word [ebx]
mov word [esi + 8], ax
xor eax, eax
jmp 0x42460a
mov ebx, dword [ebp + 0xc]
mov edi, dword [esi + 4]
test edi, edi
je 0x424618
push edi
call fcn.0054c6a9
pop ecx
mov ecx, dword [ebp + 8]
push eax
push edi
call fcn.0040912e
movzx ecx, word [esi + 8]
mov edx, 0xffff
xor eax, eax
mov word [ebx], cx
pop edi
cmp cx, dx
pop esi
setne al
pop ebx
pop ebp
ret 0xc
call fcn.004096f9
call fcn.00409713
int3
Function at 0x4250f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x61f4d8], 0
push edi
mov edi, ecx
jne 0x425109
xor eax, eax
jmp 0x4251a3
push ebx
push esi
xor ebx, ebx
push ebx
push 0x40
push ebx
call fcn.00412d7d
push ebx
push 1
mov ecx, edi
call fcn.0042508c
push eax
call fcn.004379c9
push eax
mov ecx, edi
call fcn.00425e58
push 1
push ebx
mov ecx, edi
call fcn.0042508c
push eax
call fcn.004379c9
push eax
mov ecx, edi
call fcn.00425e58
mov eax, dword [edi]
mov esi, dword [eax + 0x194]
mov ecx, esi
call fcn.00542d17
mov ecx, edi
call esi
cmp dword [edi + 0x154], ebx
jne 0x42519e
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ebx
push eax
push ebx
push ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
js 0x42519e
mov eax, dword [edi]
lea ecx, [ebp - 0xc]
push ecx
mov esi, dword [eax + 0x188]
mov ecx, esi
call fcn.00542d17
mov ecx, edi
call esi
push dword [ebp - 8]
mov ecx, dword [0x61f4d8]
call fcn.0046b06b
xor eax, eax
pop esi
inc eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x425259
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xddc
mov eax, dword [0x617f60]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
test ecx, ecx
je 0x425491
test ebx, ebx
je 0x425491
mov eax, dword [ebp + 0x10]
xor edi, edi
mov dword [ebp - 0x644], edi
mov dword [ebp - 0x640], edi
mov dword [ebp - 0x63c], edi
mov dword [ebp - 0x638], edi
mov dword [ebp - 0x634], edi
mov dword [ebp - 0x630], edi
mov dword [ebp - 0x874], edi
mov dword [ebp - 0x870], edi
mov dword [ebp - 0x86c], edi
mov dword [ebp - 0x868], edi
mov dword [ebp - 0x864], edi
mov dword [ebp - 0x860], edi
sub eax, edi
je 0x42545a
sub eax, 1
je 0x4252f1
sub eax, 1
je 0x4253c2
sub eax, 1
jne 0x42547c
lea eax, [ebp - 0x20c]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x425455
push edi
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0040eea0
test eax, eax
je 0x425455
lea eax, [ebp - 0x414]
push eax
push dword [ebx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x425450
push edi
lea eax, [ebp - 0x874]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0040eea0
test eax, eax
je 0x425450
xor edx, edx
inc edx
cmp dword [ebp + 0x10], edx
jne 0x425419
test byte [ebp - 0x624], 0x10
jne 0x425455
test byte [ebp - 0x854], 0x10
jne 0x4253bb
mov ecx, dword [ebp - 0x858]
mov eax, dword [ebp - 0x85c]
cmp dword [ebp - 0x628], ecx
ja 0x4253bb
jb 0x425455
cmp dword [ebp - 0x62c], eax
jb 0x425455
cmp dword [ebp - 0x628], ecx
jb 0x42547c
ja 0x4253bb
cmp dword [ebp - 0x62c], eax
jbe 0x42547c
mov edi, edx
jmp 0x42547c
mov esi, 0x408
lea eax, [ebp - 0xddc]
push esi
push 0x2b4
push eax
push edi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x42547c
push esi
push 0x2b4
lea eax, [ebp - 0xb28]
push eax
push edi
push dword [ebx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x42547c
lea eax, [ebp - 0x914]
push eax
lea eax, [ebp - 0xbc8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov edi, eax
jmp 0x42547c
mov ecx, dword [ebp - 0x868]
mov eax, dword [ebp - 0x86c]
cmp dword [ebp - 0x638], ecx
jg 0x4253bb
jl 0x425455
cmp dword [ebp - 0x63c], eax
jb 0x425455
cmp dword [ebp - 0x638], ecx
jl 0x42547c
jg 0x4253bb
cmp dword [ebp - 0x63c], eax
jmp 0x4253b5
xor edi, edi
inc edi
jmp 0x42547c
or edi, 0xffffffff
jmp 0x42547c
mov eax, dword [ecx]
push dword [ebx + 8]
push dword [ecx + 8]
mov esi, dword [eax]
push edi
push eax
mov ecx, dword [esi + 0x1c]
call fcn.00542d17
call dword [esi + 0x1c]
test eax, eax
jns 0x425479
xor eax, eax
jmp 0x42547e
movsx edi, ax
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005424ec
mov esp, ebp
pop ebp
ret 0xc
call fcn.004096f9
int3

Function at 0x425de0
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.0046b725
call fcn.0040b641
cmp dword [eax + 0x14], 0
jne 0x425dfb
mov ecx, esi
pop esi
jmp fcn.004250f0
pop esi
ret
Function at 0x43456e
Capabilities:
Get common file path

Disassembly:
push 0x78
mov eax, 0x56ef80
call fcn.00542d54
mov ebx, ecx
cmp dword [0x61f4d8], 0
je 0x4346b6
lea eax, [ebp - 0x14]
xor esi, esi
push eax
push esi
push esi
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
jns 0x4345a1
xor eax, eax
jmp 0x4346b0
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x43459a
push 0xc
push 0x40
mov dword [ebp - 0x40], 0x67
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x4346b6
mov eax, dword [ebp - 0x14]
mov dword [edi + 8], eax
push dword [ebp - 0x14]
mov ecx, dword [0x61f4d8]
call fcn.0046afdc
mov dword [edi], esi
lea ecx, [ebp - 0x10]
mov dword [edi + 4], eax
mov eax, dword [ebx]
push edi
push ecx
mov dword [ebp - 0x1c], edi
mov esi, dword [eax + 0x164]
mov ecx, esi
call fcn.00542d17
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
and dword [ebp - 4], 0
push dword [eax - 0xc]
call fcn.0040902d
mov dword [ebp - 0x30], eax
mov eax, dword [ebx]
push 0
push edi
mov esi, dword [eax + 0x168]
mov ecx, esi
call fcn.00542d17
mov ecx, ebx
call esi
mov dword [ebp - 0x28], eax
mov eax, dword [ebx]
push 1
push edi
mov esi, dword [eax + 0x168]
mov ecx, esi
call fcn.00542d17
mov ecx, ebx
call esi
push 0xa
pop ecx
mov dword [ebp - 0x24], eax
lea esi, [ebp - 0x40]
lea eax, [ebp - 0x84]
mov dword [ebp - 0x20], 1
push eax
push 0
push 0x1132
push dword [ebx + 0x20]
lea edi, [ebp - 0x7c]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x80], 0xffff0002
mov dword [ebp - 0x84], 0xffff0000
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 2
push 0x1102
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call fcn.00542d17
call esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00404310
xor eax, eax
inc eax
call fcn.00542d1d
ret
call fcn.004096f9
int3

Function at 0x434906
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x617f60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test eax, eax
je 0x43496c
push 0x208
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
push 0
push dword [eax + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, esi
test eax, eax
je 0x43494f
lea eax, [ebp - 0x2ac]
push eax
jmp 0x434954
push 0x583778
call fcn.004087cd
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.005424ec
mov esp, ebp
pop ebp
ret 8
call fcn.004096f9
int3
Function at 0x443d23
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
test esi, esi
jne 0x443d3c
call fcn.0040b5f3
mov esi, dword [eax + 0xc]
push 0x58582c
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x443d92
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x443d91
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x443d72
xor esi, esi
jmp 0x443d88
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.00443d9a
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4679d4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
mov edx, 0x104
push edi
mov edi, ecx
xor ecx, ecx
mov eax, dword [esi + 4]
cmp eax, edx
ja 0x467bb6
je 0x467be0
cmp eax, 0xa1
jb 0x467c23
cmp eax, 0xa2
jbe 0x467be0
cmp eax, 0xa3
jbe 0x467c23
cmp eax, 0xa5
jbe 0x467be0
cmp eax, 0xa6
jbe 0x467c23
cmp eax, 0xa8
jbe 0x467be0
cmp eax, 0x100
jne 0x467c23
cmp dword [edi + 0xc0], 0xffffffff
je 0x467be0
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x467bde
mov eax, dword [esi + 8]
sub eax, 0x21
je 0x467b27
sub eax, 1
jne 0x467bde
mov eax, dword [edi + 0xc0]
lea ecx, [eax + 1]
jmp 0x467ab4
mov eax, ecx
cdq
idiv esi
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 8], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call fcn.00542d17
mov ecx, edi
call esi
test eax, eax
jne 0x467ac5
mov ecx, dword [ebp - 4]
mov eax, dword [edi + 0xc0]
inc ecx
mov esi, dword [edi + 0xbc]
add eax, esi
mov dword [ebp - 4], ecx
cmp ecx, eax
jl 0x467a88
jmp 0x467b1f
mov eax, dword [edi]
push dword [ebp - 8]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call fcn.00542d17
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call fcn.00542d17
mov ecx, edi
call esi
mov ecx, eax
call fcn.00412ed5
mov ecx, dword [edi]
mov esi, dword [ecx + 0x270]
push dword [edi + 0xc0]
mov ecx, esi
call fcn.00542d17
mov ecx, edi
call esi
and dword [edi + 0x24c], 0
xor eax, eax
inc eax
jmp 0x467c49
mov eax, dword [edi + 0xbc]
mov ecx, dword [edi + 0xc0]
dec eax
add eax, ecx
cmp eax, ecx
jmp 0x467b68
cdq
idiv dword [edi + 0xbc]
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 8], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call fcn.00542d17
mov ecx, edi
call esi
test eax, eax
jne 0x467b6f
mov eax, dword [ebp - 4]
dec eax
cmp eax, dword [edi + 0xc0]
mov dword [ebp - 4], eax
jg 0x467b3a
jmp 0x467b1f
mov eax, dword [edi]
push dword [ebp - 8]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call fcn.00542d17
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call fcn.00542d17
mov ecx, edi
call esi
mov ecx, eax
call fcn.00412ed5
mov eax, dword [edi]
mov esi, dword [eax + 0x270]
jmp 0x467b07
cmp eax, 0x200
jb 0x467c23
cmp eax, 0x202
jbe 0x467be0
cmp eax, 0x203
jbe 0x467c23
cmp eax, 0x205
jbe 0x467be0
add eax, 0xfffffdf9
cmp eax, 1
ja 0x467c23
jmp 0x467be0
xor ecx, ecx
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x467c00
cmp dword [eax + 0x20], 0
je 0x467c00
push esi
push ecx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x467c21
cmp dword [eax + 0x20], 0
je 0x467c21
push esi
push 0
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
cmp dword [esi + 4], 0x203
jne 0x467c41
lea eax, [edi + 0x2250]
test eax, eax
je 0x467c39
mov ecx, dword [eax + 0x20]
cmp dword [esi], ecx
je 0x467b1f
push esi
mov ecx, edi
call fcn.0045f880
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x46bb6f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x617f60]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
jne 0x46bb92
xor eax, eax
jmp 0x46bc63
cmp dword [ebp + 0xc], 0
je 0x46bb8b
xor esi, esi
call fcn.0040b5f3
push dword [ebp + 0xc]
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x46bb8b
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x46bb8b
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x46bc79
push eax
call fcn.005507b0
pop ecx
lea edx, [eax + 1]
lea eax, [edx + edx]
mov dword [ebp - 0xc], edx
lea ecx, [eax + 8]
cmp eax, ecx
sbb eax, eax
and eax, ecx
je 0x46bc23
cmp eax, 0x400
ja 0x46bc08
call fcn.005431f0
mov edi, esp
test edi, edi
je 0x46bc1e
mov dword [edi], 0xcccc
jmp 0x46bc1b
push eax
call fcn.005505a5
mov edi, eax
pop ecx
test edi, edi
je 0x46bc1e
mov dword [edi], 0xdddd
add edi, 8
mov edx, dword [ebp - 0xc]
jmp 0x46bc25
mov edi, esi
test edi, edi
je 0x46bc79
push edx
push dword [ebp - 8]
push edi
call fcn.00409e15
mov dword [ebp - 8], eax
test eax, eax
je 0x46bc53
mov esi, dword [ebp - 0x10]
push eax
call fcn.0054c6a9
pop ecx
push eax
push dword [ebp - 8]
lea ecx, [esi + 4]
call fcn.0040912e
xor esi, esi
inc esi
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push edi
call fcn.0046d5be
pop ecx
mov eax, esi
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005424ec
mov esp, ebp
pop ebp
ret 8
call fcn.004096f9
int3