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

Disassembly:
push 0x28
mov eax, 0x56e160
call fcn.00542ddd
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.0040b602
xor ebx, ebx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
cmp dword [edi + 0x84], ebx
je 0x41c971
call fcn.0040b602
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 0x41c981
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
jmp 0x41c984
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x41c990
or eax, 0xffffffff
jmp 0x41cb14
mov ecx, edi
call fcn.0041cf66
mov esi, eax
mov dword [ebp - 0x28], esi
call fcn.00414fbb
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
test esi, esi
je 0x41ca38
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x41ca38
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x41ca38
push ebx
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x30], 1
call fcn.00411f6b
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41c9fa
mov ecx, dword [eax]
mov esi, dword [ecx + 0x74]
mov ecx, esi
call fcn.00542d35
mov ecx, dword [ebp - 0x14]
call esi
mov esi, eax
mov dword [ebp - 0x14], esi
jmp 0x41c9ff
mov esi, ebx
mov dword [ebp - 0x14], ebx
test esi, esi
je 0x41ca38
mov eax, dword [esi]
mov esi, dword [eax + 0x150]
mov ecx, esi
call fcn.00542d35
mov ecx, dword [ebp - 0x14]
call esi
test eax, eax
je 0x41ca38
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.00412d62
test eax, eax
je 0x41ca38
push ebx
mov ecx, esi
call fcn.00412b1d
mov dword [ebp - 0x2c], 1
push edi
mov dword [ebp - 4], ebx
call fcn.00414c5c
mov esi, dword [ebp - 0x28]
push esi
call fcn.0041631c
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.0041c8b5
test eax, eax
jne 0x41ca83
cmp dword [edi + 0x9c], ebx
jne 0x41ca83
call fcn.0040b602
push esi
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
call fcn.0041631c
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.0041c8b5
or dword [ebp - 4], 0xffffffff
mov dword [edi + 0x9c], ebx
jmp 0x41cab4
cmp dword [ebp - 0x2c], 0
je 0x41cac4
mov ecx, dword [ebp - 0x14]
push 1
call fcn.00412b1d
cmp dword [ebp - 0x30], 0
je 0x41cad3
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
test esi, esi
je 0x41cae9
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 0x20]
jne 0x41cae9
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [edi]
mov esi, dword [eax + 0x60]
mov ecx, esi
call fcn.00542d35
mov ecx, edi
call esi
mov ecx, edi
call fcn.0041cf1d
cmp dword [edi + 0x84], ebx
je 0x41cb11
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [edi + 0x68]
call fcn.00542d3b
ret
Function at 0x421d23
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 0x421d79
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x421d52
call fcn.0040fb9d
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x421d67
call fcn.0040fb9d
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x421d79
call fcn.0040fb9d
call fcn.0040b602
cmp dword [eax + 0x3c], 0
je 0x421d8e
push edi
mov ecx, ebx
call fcn.0042145c
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00421f7f
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x421db7
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x421dc3
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 0x4244fd
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x42465d
mov ecx, 0x61f678
call fcn.0040c183
mov esi, eax
test esi, esi
je 0x424652
xor eax, eax
cmp word [esi + 8], ax
jne 0x42461c
push str.comctl32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
je 0x4245be
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [ebp + 0x10]
mov ecx, 0x3ff
and ax, cx
cmp ax, 0x11
jne 0x424584
push 0x581810
call fcn.0042469d
pop ecx
test eax, eax
je 0x424584
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 0x42459f
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 0x4245be
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 0x4245c4
push ebx
push edi
push eax
call fcn.00422c3c
add esp, 0xc
jmp 0x4245c4
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.00409acc
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 0x424657
mov eax, dword [edi]
push eax
mov ecx, dword [eax - 0xc]
lea eax, [ecx + 1]
push eax
push edx
call fcn.0055064d
add esp, 0xc
test eax, eax
je 0x424611
cmp eax, 0xc
je 0x424657
cmp eax, 0x16
je 0x424652
cmp eax, 0x22
je 0x424652
cmp eax, 0x50
jne 0x424652
mov ax, word [ebx]
mov word [esi + 8], ax
xor eax, eax
jmp 0x42461f
mov ebx, dword [ebp + 0xc]
mov edi, dword [esi + 4]
test edi, edi
je 0x42462d
push edi
call fcn.0054c699
pop ecx
mov ecx, dword [ebp + 8]
push eax
push edi
call fcn.0040913e
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.00409709
call fcn.00409723
int3
Function at 0x425105
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x6208e8], 0
push edi
mov edi, ecx
jne 0x42511e
xor eax, eax
jmp 0x4251b8
push ebx
push esi
xor ebx, ebx
push ebx
push 0x40
push ebx
call fcn.00412d8c
push ebx
push 1
mov ecx, edi
call fcn.004250a1
push eax
call fcn.004379e1
push eax
mov ecx, edi
call fcn.00425e6d
push 1
push ebx
mov ecx, edi
call fcn.004250a1
push eax
call fcn.004379e1
push eax
mov ecx, edi
call fcn.00425e6d
mov eax, dword [edi]
mov esi, dword [eax + 0x194]
mov ecx, esi
call fcn.00542d35
mov ecx, edi
call esi
cmp dword [edi + 0x154], ebx
jne 0x4251b3
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 0x4251b3
mov eax, dword [edi]
lea ecx, [ebp - 0xc]
push ecx
mov esi, dword [eax + 0x188]
mov ecx, esi
call fcn.00542d35
mov ecx, edi
call esi
push dword [ebp - 8]
mov ecx, dword [0x6208e8]
call fcn.0046b085
xor eax, eax
pop esi
inc eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x42526e
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xddc
mov eax, dword [0x618f60]
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 0x4254a6
test ebx, ebx
je 0x4254a6
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 0x42546f
sub eax, 1
je 0x425306
sub eax, 1
je 0x4253d7
sub eax, 1
jne 0x425491
lea eax, [ebp - 0x20c]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x42546a
push edi
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0040eeaf
test eax, eax
je 0x42546a
lea eax, [ebp - 0x414]
push eax
push dword [ebx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x425465
push edi
lea eax, [ebp - 0x874]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0040eeaf
test eax, eax
je 0x425465
xor edx, edx
inc edx
cmp dword [ebp + 0x10], edx
jne 0x42542e
test byte [ebp - 0x624], 0x10
jne 0x42546a
test byte [ebp - 0x854], 0x10
jne 0x4253d0
mov ecx, dword [ebp - 0x858]
mov eax, dword [ebp - 0x85c]
cmp dword [ebp - 0x628], ecx
ja 0x4253d0
jb 0x42546a
cmp dword [ebp - 0x62c], eax
jb 0x42546a
cmp dword [ebp - 0x628], ecx
jb 0x425491
ja 0x4253d0
cmp dword [ebp - 0x62c], eax
jbe 0x425491
mov edi, edx
jmp 0x425491
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 0x425491
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 0x425491
lea eax, [ebp - 0x914]
push eax
lea eax, [ebp - 0xbc8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov edi, eax
jmp 0x425491
mov ecx, dword [ebp - 0x868]
mov eax, dword [ebp - 0x86c]
cmp dword [ebp - 0x638], ecx
jg 0x4253d0
jl 0x42546a
cmp dword [ebp - 0x63c], eax
jb 0x42546a
cmp dword [ebp - 0x638], ecx
jl 0x425491
jg 0x4253d0
cmp dword [ebp - 0x63c], eax
jmp 0x4253ca
xor edi, edi
inc edi
jmp 0x425491
or edi, 0xffffffff
jmp 0x425491
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.00542d35
call dword [esi + 0x1c]
test eax, eax
jns 0x42548e
xor eax, eax
jmp 0x425493
movsx edi, ax
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054250a
mov esp, ebp
pop ebp
ret 0xc
call fcn.00409709
int3

Function at 0x425df5
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.0046b73f
call fcn.0040b650
cmp dword [eax + 0x14], 0
jne 0x425e10
mov ecx, esi
pop esi
jmp fcn.00425105
pop esi
ret
Function at 0x434586
Capabilities:
Get common file path

Disassembly:
push 0x78
mov eax, 0x56f2db
call fcn.00542d72
mov ebx, ecx
cmp dword [0x6208e8], 0
je 0x4346ce
lea eax, [ebp - 0x14]
xor esi, esi
push eax
push esi
push esi
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
jns 0x4345b9
xor eax, eax
jmp 0x4346c8
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x4345b2
push 0xc
push 0x40
mov dword [ebp - 0x40], 0x67
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x4346ce
mov eax, dword [ebp - 0x14]
mov dword [edi + 8], eax
push dword [ebp - 0x14]
mov ecx, dword [0x6208e8]
call fcn.0046aff6
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.00542d35
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.0040903d
mov dword [ebp - 0x30], eax
mov eax, dword [ebx]
push 0
push edi
mov esi, dword [eax + 0x168]
mov ecx, esi
call fcn.00542d35
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.00542d35
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.00542d35
call esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00403f40
xor eax, eax
inc eax
call fcn.00542d3b
ret
call fcn.00409709
int3

Function at 0x43491e
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x618f60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test eax, eax
je 0x434984
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 0x434967
lea eax, [ebp - 0x2ac]
push eax
jmp 0x43496c
push 0x584778
call fcn.004087dd
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0054250a
mov esp, ebp
pop ebp
ret 8
call fcn.00409709
int3
Function at 0x443d3e
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 0x443d57
call fcn.0040b602
mov esi, dword [eax + 0xc]
push 0x58682c
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x443dad
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x443dac
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x443d8d
xor esi, esi
jmp 0x443da3
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.00443db5
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 0x4679ee
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 0x467bd0
je 0x467bfa
cmp eax, 0xa1
jb 0x467c3d
cmp eax, 0xa2
jbe 0x467bfa
cmp eax, 0xa3
jbe 0x467c3d
cmp eax, 0xa5
jbe 0x467bfa
cmp eax, 0xa6
jbe 0x467c3d
cmp eax, 0xa8
jbe 0x467bfa
cmp eax, 0x100
jne 0x467c3d
cmp dword [edi + 0xc0], 0xffffffff
je 0x467bfa
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x467bf8
mov eax, dword [esi + 8]
sub eax, 0x21
je 0x467b41
sub eax, 1
jne 0x467bf8
mov eax, dword [edi + 0xc0]
lea ecx, [eax + 1]
jmp 0x467ace
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.00542d35
mov ecx, edi
call esi
test eax, eax
jne 0x467adf
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 0x467aa2
jmp 0x467b39
mov eax, dword [edi]
push dword [ebp - 8]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call fcn.00542d35
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call fcn.00542d35
mov ecx, edi
call esi
mov ecx, eax
call fcn.00412ee4
mov ecx, dword [edi]
mov esi, dword [ecx + 0x270]
push dword [edi + 0xc0]
mov ecx, esi
call fcn.00542d35
mov ecx, edi
call esi
and dword [edi + 0x24c], 0
xor eax, eax
inc eax
jmp 0x467c63
mov eax, dword [edi + 0xbc]
mov ecx, dword [edi + 0xc0]
dec eax
add eax, ecx
cmp eax, ecx
jmp 0x467b82
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.00542d35
mov ecx, edi
call esi
test eax, eax
jne 0x467b89
mov eax, dword [ebp - 4]
dec eax
cmp eax, dword [edi + 0xc0]
mov dword [ebp - 4], eax
jg 0x467b54
jmp 0x467b39
mov eax, dword [edi]
push dword [ebp - 8]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call fcn.00542d35
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call fcn.00542d35
mov ecx, edi
call esi
mov ecx, eax
call fcn.00412ee4
mov eax, dword [edi]
mov esi, dword [eax + 0x270]
jmp 0x467b21
cmp eax, 0x200
jb 0x467c3d
cmp eax, 0x202
jbe 0x467bfa
cmp eax, 0x203
jbe 0x467c3d
cmp eax, 0x205
jbe 0x467bfa
add eax, 0xfffffdf9
cmp eax, 1
ja 0x467c3d
jmp 0x467bfa
xor ecx, ecx
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x467c1a
cmp dword [eax + 0x20], 0
je 0x467c1a
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 0x467c3b
cmp dword [eax + 0x20], 0
je 0x467c3b
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 0x467c5b
lea eax, [edi + 0x2250]
test eax, eax
je 0x467c53
mov ecx, dword [eax + 0x20]
cmp dword [esi], ecx
je 0x467b39
push esi
mov ecx, edi
call fcn.0045f89a
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x46bb89
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x618f60]
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 0x46bbac
xor eax, eax
jmp 0x46bc7d
cmp dword [ebp + 0xc], 0
je 0x46bba5
xor esi, esi
call fcn.0040b602
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 0x46bba5
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x46bba5
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x46bc93
push eax
call fcn.00550790
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 0x46bc3d
cmp eax, 0x400
ja 0x46bc22
call fcn.00543210
mov edi, esp
test edi, edi
je 0x46bc38
mov dword [edi], 0xcccc
jmp 0x46bc35
push eax
call fcn.00550589
mov edi, eax
pop ecx
test edi, edi
je 0x46bc38
mov dword [edi], 0xdddd
add edi, 8
mov edx, dword [ebp - 0xc]
jmp 0x46bc3f
mov edi, esi
test edi, edi
je 0x46bc93
push edx
push dword [ebp - 8]
push edi
call fcn.00409cf5
mov dword [ebp - 8], eax
test eax, eax
je 0x46bc6d
mov esi, dword [ebp - 0x10]
push eax
call fcn.0054c699
pop ecx
push eax
push dword [ebp - 8]
lea ecx, [esi + 4]
call fcn.0040913e
xor esi, esi
inc esi
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push edi
call fcn.0046d5d8
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.0054250a
mov esp, ebp
pop ebp
ret 8
call fcn.00409709
int3
Function at 0x47cdb6
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, ecx
push 5
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
je 0x47ce0d
push edi
push esi
call fcn.00416346
mov edi, eax
test edi, edi
je 0x47cdfd
mov ebx, dword [ebx + 0x20]
cmp ebx, esi
je 0x47cdfa
mov eax, esi
cmp ebx, eax
je 0x47ce15
push eax
call fcn.00414c15
test eax, eax
jne 0x47cdec
mov ebx, dword [ebp - 4]
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x47cdd7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x18000000
cmp dword [ebp + 8], 0
jne 0x47ce3f
cmp eax, 0x10000000
jne 0x47cdfa
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
or dword [edi + 0x60], 2
jmp 0x47cdfa
test eax, eax
jne 0x47cdfa
test byte [edi + 0x60], 2
mov ebx, dword [ebp - 4]
je 0x47cdfd
cmp dword [ebx + 0xe0], eax
jne 0x47cdfd
push 4
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [edi + 0x60], 0xfffffffd
jmp 0x47cdfd
Function at 0x4dd588
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
mov edi, dword [ecx + 0x14]
cmp dword [edi - 0xc], 0
jne 0x4dd59b
xor eax, eax
jmp 0x4dd5ea
mov eax, dword [ecx + 8]
push ebx
push esi
mov esi, dword [ecx + 0xc]
mov dword [ebp - 4], esi
mov dword [ebp - 8], eax
call fcn.00411f6b
mov ebx, eax
test ebx, ebx
je 0x4dd5c9
mov ecx, dword [ebx]
mov esi, dword [ecx + 0x74]
mov ecx, esi
call fcn.00542d35
mov ecx, ebx
call esi
mov esi, dword [ebp - 4]
jmp 0x4dd5cb
xor eax, eax
test eax, eax
je 0x4dd5d2
mov eax, dword [eax + 0x20]
push 1
push esi
push dword [ebp - 8]
push edi
push 0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
pop esi
sbb eax, eax
inc eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x4dd7c7
Capabilities:
Get file system object information

Disassembly:
push 0x4cc
mov eax, 0x575eed
call fcn.00542da6
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00409daf
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x5fbc24
call fcn.004138f5
cmp eax, 0xffffffff
jne 0x4dd8a0
push 0
push 0x5867e8
lea ecx, [ebp - 0x4d0]
call fcn.004138f5
cmp eax, 0xffffffff
jne 0x4dd8a0
push 0
push 0x57f310
lea ecx, [ebp - 0x4d0]
call fcn.004138f5
cmp eax, 0xffffffff
jne 0x4dd8a0
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00409daf
mov edi, eax
pop ecx
mov dword [ebp - 0x4d4], edi
lea ecx, [edi + 0x10]
mov dword [ebp - 0x4d8], ecx
xor edx, edx
mov byte [ebp - 4], 1
push edx
lea eax, [ebp - 0x218]
push eax
push 0x104
push edx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x4dd86f
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.00542d35
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x4d4]
mov edi, eax
call fcn.00403f40
jmp 0x4dd8d8
lea eax, [ebp - 0x218]
push eax
call fcn.0054c699
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.0040913e
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00403f40
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4dd8c6
mov edi, dword [ebp - 0x4cc]
jmp 0x4dd8d8
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.00542d35
mov ecx, ebx
call edi
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.00403f40
mov eax, edi
call fcn.00542d50
ret