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

Disassembly:
push 0x28
mov eax, 0x57742c
call fcn.0054ae49
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.00413c54
xor ebx, ebx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
cmp dword [edi + 0x84], ebx
je 0x424fa6
call fcn.00413c54
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 0x424fb6
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
jmp 0x424fb9
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x424fc5
or eax, 0xffffffff
jmp 0x425149
mov ecx, edi
call fcn.0042559b
mov esi, eax
mov dword [ebp - 0x28], esi
call fcn.0041e09a
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
test esi, esi
je 0x42506d
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x42506d
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x42506d
push ebx
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x30], 1
call fcn.0041b047
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42502f
mov ecx, dword [eax]
mov esi, dword [ecx + 0x74]
mov ecx, esi
call fcn.0054ada1
mov ecx, dword [ebp - 0x14]
call esi
mov esi, eax
mov dword [ebp - 0x14], esi
jmp 0x425034
mov esi, ebx
mov dword [ebp - 0x14], ebx
test esi, esi
je 0x42506d
mov eax, dword [esi]
mov esi, dword [eax + 0x150]
mov ecx, esi
call fcn.0054ada1
mov ecx, dword [ebp - 0x14]
call esi
test eax, eax
je 0x42506d
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.0041be3e
test eax, eax
je 0x42506d
push ebx
mov ecx, esi
call fcn.0041bbf9
mov dword [ebp - 0x2c], 1
push edi
mov dword [ebp - 4], ebx
call fcn.0041dd3b
mov esi, dword [ebp - 0x28]
push esi
call fcn.0041f3fb
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.00424ee8
test eax, eax
jne 0x4250b8
cmp dword [edi + 0x9c], ebx
jne 0x4250b8
call fcn.00413c54
push esi
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
call fcn.0041f3fb
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.00424ee8
or dword [ebp - 4], 0xffffffff
mov dword [edi + 0x9c], ebx
jmp 0x4250e9
cmp dword [ebp - 0x2c], 0
je 0x4250f9
mov ecx, dword [ebp - 0x14]
push 1
call fcn.0041bbf9
cmp dword [ebp - 0x30], 0
je 0x425108
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
test esi, esi
je 0x42511e
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 0x20]
jne 0x42511e
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [edi]
mov esi, dword [eax + 0x60]
mov ecx, esi
call fcn.0054ada1
mov ecx, edi
call esi
mov ecx, edi
call fcn.00425552
cmp dword [edi + 0x84], ebx
je 0x425146
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [edi + 0x68]
call fcn.0054ada7
ret
Function at 0x42a355
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 0x42a3ab
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x42a384
call fcn.00418c7c
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x42a399
call fcn.00418c7c
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x42a3ab
call fcn.00418c7c
call fcn.00413c54
cmp dword [eax + 0x3c], 0
je 0x42a3c0
push edi
mov ecx, ebx
call fcn.00429a8e
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0042a5b1
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x42a3e9
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x42a3f5
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 0x42cb05
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x42cc65
mov ecx, 0x62f670
call fcn.004147d5
mov esi, eax
test esi, esi
je 0x42cc5a
xor eax, eax
cmp word [esi + 8], ax
jne 0x42cc24
push str.comctl32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
je 0x42cbc6
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [ebp + 0x10]
mov ecx, 0x3ff
and ax, cx
cmp ax, 0x11
jne 0x42cb8c
push 0x58a8b0
call fcn.0042cca5
pop ecx
test eax, eax
je 0x42cb8c
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 0x42cba7
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 0x42cbc6
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 0x42cbcc
push ebx
push edi
push eax
call fcn.0042b247
add esp, 0xc
jmp 0x42cbcc
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.00411c3c
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 0x42cc5f
mov eax, dword [edi]
push eax
mov ecx, dword [eax - 0xc]
lea eax, [ecx + 1]
push eax
push edx
call fcn.00558709
add esp, 0xc
test eax, eax
je 0x42cc19
cmp eax, 0xc
je 0x42cc5f
cmp eax, 0x16
je 0x42cc5a
cmp eax, 0x22
je 0x42cc5a
cmp eax, 0x50
jne 0x42cc5a
mov ax, word [ebx]
mov word [esi + 8], ax
xor eax, eax
jmp 0x42cc27
mov ebx, dword [ebp + 0xc]
mov edi, dword [esi + 4]
test edi, edi
je 0x42cc35
push edi
call fcn.00554749
pop ecx
mov ecx, dword [ebp + 8]
push eax
push edi
call fcn.0041117e
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.00411749
call fcn.00411763
int3
Function at 0x42d70d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x6308e0], 0
push edi
mov edi, ecx
jne 0x42d726
xor eax, eax
jmp 0x42d7c0
push ebx
push esi
xor ebx, ebx
push ebx
push 0x40
push ebx
call fcn.0041be68
push ebx
push 1
mov ecx, edi
call fcn.0042d6a9
push eax
call fcn.0043ffeb
push eax
mov ecx, edi
call fcn.0042e475
push 1
push ebx
mov ecx, edi
call fcn.0042d6a9
push eax
call fcn.0043ffeb
push eax
mov ecx, edi
call fcn.0042e475
mov eax, dword [edi]
mov esi, dword [eax + 0x194]
mov ecx, esi
call fcn.0054ada1
mov ecx, edi
call esi
cmp dword [edi + 0x154], ebx
jne 0x42d7bb
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 0x42d7bb
mov eax, dword [edi]
lea ecx, [ebp - 0xc]
push ecx
mov esi, dword [eax + 0x188]
mov ecx, esi
call fcn.0054ada1
mov ecx, edi
call esi
push dword [ebp - 8]
mov ecx, dword [0x6308e0]
call fcn.0047368f
xor eax, eax
pop esi
inc eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x42d876
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xddc
mov eax, dword [0x628f58]
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 0x42daae
test ebx, ebx
je 0x42daae
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 0x42da77
sub eax, 1
je 0x42d90e
sub eax, 1
je 0x42d9df
sub eax, 1
jne 0x42da99
lea eax, [ebp - 0x20c]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x42da72
push edi
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00417f8e
test eax, eax
je 0x42da72
lea eax, [ebp - 0x414]
push eax
push dword [ebx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x42da6d
push edi
lea eax, [ebp - 0x874]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.00417f8e
test eax, eax
je 0x42da6d
xor edx, edx
inc edx
cmp dword [ebp + 0x10], edx
jne 0x42da36
test byte [ebp - 0x624], 0x10
jne 0x42da72
test byte [ebp - 0x854], 0x10
jne 0x42d9d8
mov ecx, dword [ebp - 0x858]
mov eax, dword [ebp - 0x85c]
cmp dword [ebp - 0x628], ecx
ja 0x42d9d8
jb 0x42da72
cmp dword [ebp - 0x62c], eax
jb 0x42da72
cmp dword [ebp - 0x628], ecx
jb 0x42da99
ja 0x42d9d8
cmp dword [ebp - 0x62c], eax
jbe 0x42da99
mov edi, edx
jmp 0x42da99
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 0x42da99
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 0x42da99
lea eax, [ebp - 0x914]
push eax
lea eax, [ebp - 0xbc8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov edi, eax
jmp 0x42da99
mov ecx, dword [ebp - 0x868]
mov eax, dword [ebp - 0x86c]
cmp dword [ebp - 0x638], ecx
jg 0x42d9d8
jl 0x42da72
cmp dword [ebp - 0x63c], eax
jb 0x42da72
cmp dword [ebp - 0x638], ecx
jl 0x42da99
jg 0x42d9d8
cmp dword [ebp - 0x63c], eax
jmp 0x42d9d2
xor edi, edi
inc edi
jmp 0x42da99
or edi, 0xffffffff
jmp 0x42da99
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.0054ada1
call dword [esi + 0x1c]
test eax, eax
jns 0x42da96
xor eax, eax
jmp 0x42da9b
movsx edi, ax
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054a576
mov esp, ebp
pop ebp
ret 0xc
call fcn.00411749
int3

Function at 0x42e3fd
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.00473d49
call fcn.00413ca2
cmp dword [eax + 0x14], 0
jne 0x42e418
mov ecx, esi
pop esi
jmp fcn.0042d70d
pop esi
ret
Function at 0x43cb8d
Capabilities:
Get common file path

Disassembly:
push 0x78
mov eax, 0x5785a9
call fcn.0054adde
mov ebx, ecx
cmp dword [0x6308e0], 0
je 0x43ccd5
lea eax, [ebp - 0x14]
xor esi, esi
push eax
push esi
push esi
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
jns 0x43cbc0
xor eax, eax
jmp 0x43cccf
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x43cbb9
push 0xc
push 0x40
mov dword [ebp - 0x40], 0x67
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x43ccd5
mov eax, dword [ebp - 0x14]
mov dword [edi + 8], eax
push dword [ebp - 0x14]
mov ecx, dword [0x6308e0]
call fcn.00473600
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.0054ada1
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.0041107d
mov dword [ebp - 0x30], eax
mov eax, dword [ebx]
push 0
push edi
mov esi, dword [eax + 0x168]
mov ecx, esi
call fcn.0054ada1
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.0054ada1
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.0054ada1
call esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00404520
xor eax, eax
inc eax
call fcn.0054ada7
ret
call fcn.00411749
int3

Function at 0x43cf25
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x628f58]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test eax, eax
je 0x43cf8b
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 0x43cf6e
lea eax, [ebp - 0x2ac]
push eax
jmp 0x43cf73
push 0x58d818
call fcn.0041081d
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0054a576
mov esp, ebp
pop ebp
ret 8
call fcn.00411749
int3
Function at 0x44c347
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 0x44c360
call fcn.00413c54
mov esi, dword [eax + 0xc]
push 0x58f8cc
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x44c3b6
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x44c3b5
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x44c396
xor esi, esi
jmp 0x44c3ac
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.0044c3be
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 0x46fff8
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 0x4701da
je 0x470204
cmp eax, 0xa1
jb 0x470247
cmp eax, 0xa2
jbe 0x470204
cmp eax, 0xa3
jbe 0x470247
cmp eax, 0xa5
jbe 0x470204
cmp eax, 0xa6
jbe 0x470247
cmp eax, 0xa8
jbe 0x470204
cmp eax, 0x100
jne 0x470247
cmp dword [edi + 0xc0], 0xffffffff
je 0x470204
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x470202
mov eax, dword [esi + 8]
sub eax, 0x21
je 0x47014b
sub eax, 1
jne 0x470202
mov eax, dword [edi + 0xc0]
lea ecx, [eax + 1]
jmp 0x4700d8
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.0054ada1
mov ecx, edi
call esi
test eax, eax
jne 0x4700e9
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 0x4700ac
jmp 0x470143
mov eax, dword [edi]
push dword [ebp - 8]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call fcn.0054ada1
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call fcn.0054ada1
mov ecx, edi
call esi
mov ecx, eax
call fcn.0041bfc3
mov ecx, dword [edi]
mov esi, dword [ecx + 0x270]
push dword [edi + 0xc0]
mov ecx, esi
call fcn.0054ada1
mov ecx, edi
call esi
and dword [edi + 0x24c], 0
xor eax, eax
inc eax
jmp 0x47026d
mov eax, dword [edi + 0xbc]
mov ecx, dword [edi + 0xc0]
dec eax
add eax, ecx
cmp eax, ecx
jmp 0x47018c
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.0054ada1
mov ecx, edi
call esi
test eax, eax
jne 0x470193
mov eax, dword [ebp - 4]
dec eax
cmp eax, dword [edi + 0xc0]
mov dword [ebp - 4], eax
jg 0x47015e
jmp 0x470143
mov eax, dword [edi]
push dword [ebp - 8]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call fcn.0054ada1
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call fcn.0054ada1
mov ecx, edi
call esi
mov ecx, eax
call fcn.0041bfc3
mov eax, dword [edi]
mov esi, dword [eax + 0x270]
jmp 0x47012b
cmp eax, 0x200
jb 0x470247
cmp eax, 0x202
jbe 0x470204
cmp eax, 0x203
jbe 0x470247
cmp eax, 0x205
jbe 0x470204
add eax, 0xfffffdf9
cmp eax, 1
ja 0x470247
jmp 0x470204
xor ecx, ecx
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x470224
cmp dword [eax + 0x20], 0
je 0x470224
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 0x470245
cmp dword [eax + 0x20], 0
je 0x470245
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 0x470265
lea eax, [edi + 0x2250]
test eax, eax
je 0x47025d
mov ecx, dword [eax + 0x20]
cmp dword [esi], ecx
je 0x470143
push esi
mov ecx, edi
call fcn.00467ea4
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x474193
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x628f58]
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 0x4741b6
xor eax, eax
jmp 0x474287
cmp dword [ebp + 0xc], 0
je 0x4741af
xor esi, esi
call fcn.00413c54
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 0x4741af
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4741af
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x47429d
push eax
call fcn.00558850
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 0x474247
cmp eax, 0x400
ja 0x47422c
call fcn.0054b280
mov edi, esp
test edi, edi
je 0x474242
mov dword [edi], 0xcccc
jmp 0x47423f
push eax
call fcn.00558645
mov edi, eax
pop ecx
test edi, edi
je 0x474242
mov dword [edi], 0xdddd
add edi, 8
mov edx, dword [ebp - 0xc]
jmp 0x474249
mov edi, esi
test edi, edi
je 0x47429d
push edx
push dword [ebp - 8]
push edi
call fcn.00411e65
mov dword [ebp - 8], eax
test eax, eax
je 0x474277
mov esi, dword [ebp - 0x10]
push eax
call fcn.00554749
pop ecx
push eax
push dword [ebp - 8]
lea ecx, [esi + 4]
call fcn.0041117e
xor esi, esi
inc esi
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push edi
call fcn.00475be2
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.0054a576
mov esp, ebp
pop ebp
ret 8
call fcn.00411749
int3
Function at 0x4853c0
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 0x485417
push edi
push esi
call fcn.0041f425
mov edi, eax
test edi, edi
je 0x485407
mov ebx, dword [ebx + 0x20]
cmp ebx, esi
je 0x485404
mov eax, esi
cmp ebx, eax
je 0x48541f
push eax
call fcn.0041dcf4
test eax, eax
jne 0x4853f6
mov ebx, dword [ebp - 4]
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x4853e1
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 0x485449
cmp eax, 0x10000000
jne 0x485404
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
or dword [edi + 0x60], 2
jmp 0x485404
test eax, eax
jne 0x485404
test byte [edi + 0x60], 2
mov ebx, dword [ebp - 4]
je 0x485407
cmp dword [ebx + 0xe0], eax
jne 0x485407
push 4
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [edi + 0x60], 0xfffffffd
jmp 0x485407
Function at 0x4e5b93
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 0x4e5ba6
xor eax, eax
jmp 0x4e5bf5
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.0041b047
mov ebx, eax
test ebx, ebx
je 0x4e5bd4
mov ecx, dword [ebx]
mov esi, dword [ecx + 0x74]
mov ecx, esi
call fcn.0054ada1
mov ecx, ebx
call esi
mov esi, dword [ebp - 4]
jmp 0x4e5bd6
xor eax, eax
test eax, eax
je 0x4e5bdd
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 0x4e5dd2
Capabilities:
Get file system object information

Disassembly:
push 0x4cc
mov eax, 0x57f1bb
call fcn.0054ae12
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00411f1f
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x604c34
call fcn.0041c9d4
cmp eax, 0xffffffff
jne 0x4e5eab
push 0
push 0x58f888
lea ecx, [ebp - 0x4d0]
call fcn.0041c9d4
cmp eax, 0xffffffff
jne 0x4e5eab
push 0
push 0x5883c0
lea ecx, [ebp - 0x4d0]
call fcn.0041c9d4
cmp eax, 0xffffffff
jne 0x4e5eab
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00411f1f
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 0x4e5e7a
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.0054ada1
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x4d4]
mov edi, eax
call fcn.00404520
jmp 0x4e5ee3
lea eax, [ebp - 0x218]
push eax
call fcn.00554749
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.0041117e
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00404520
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 0x4e5ed1
mov edi, dword [ebp - 0x4cc]
jmp 0x4e5ee3
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.0054ada1
mov ecx, ebx
call edi
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.00404520
mov eax, edi
call fcn.0054adbc
ret