joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c556
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [edi + 4]
call fcn.0041ca61
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
mov esi, eax
mov ecx, edi
and esi, 3
call fcn.0041c791
cmp esi, 3
je 0x41c594
mov dword [edi + 0xc], 1
cmp dword [edi], 0
je 0x41c5ea
push ebx
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, dword [ebp + 0x10]
mov ebx, eax
mov ecx, edi
test ebx, ebx
jle 0x41c5c5
push ebx
call fcn.00411e3d
push ebx
mov ecx, edi
mov esi, eax
call fcn.00411f13
lea ecx, [ebx + 1]
push ecx
push esi
jmp 0x41c5d5
push 0xff
call fcn.00411e3d
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00412809
pop ebx
jmp 0x41c60e
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x41c60e
push dword [esi]
push dword [ebp - 4]
call fcn.0041ba83
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x41c6d7
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0041c791
cmp dword [esi], 0
mov ebx, eax
mov dword [esi + 0xc], 1
je 0x41c72e
push edi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ecx, dword [ebp + 0x10]
mov edi, eax
push edi
call fcn.00411e3d
mov ecx, dword [ebp + 0x10]
mov esi, eax
push edi
call fcn.00411f13
lea edx, [edi + 1]
push edx
push esi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00412809
pop edi
jmp 0x41c739
mov eax, dword [ebp + 0x10]
push dword [eax]
push ebx
call fcn.0041ba83
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x41cb17
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x577ccb
call fcn.0054bbb4
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x41cb3d
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x41cbae
call fcn.00412c3c
push eax
lea ecx, [ebp - 0x10]
call fcn.004115a5
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call fcn.0054bb77
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.005595fa
add esp, 0x10
test eax, eax
je 0x41cb94
cmp eax, 0xc
je 0x41cbbb
cmp eax, 0x16
je 0x41cbb6
cmp eax, 0x22
je 0x41cbb6
cmp eax, 0x50
jne 0x41cbb6
test esi, esi
je 0x41cba1
push esi
call fcn.0055550b
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00404520
mov eax, ebx
call fcn.0054bb7d
ret 8
call fcn.00412509
call fcn.00412523
int3
Function at 0x420135
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 0x42017a
call fcn.00414a14
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42017a
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x420196
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00428a7f
mov ebx, eax
test edi, edi
je 0x420194
test esi, esi
je 0x420194
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 0x420b91
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 0x420c4f
cmp dword [esi + 0x20], 0
je 0x420c4f
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x420c4f
cmp dword [ebp + 8], 0
je 0x420c4f
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.00414a14
push 0x58a078
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 0x420c20
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 0x420c4f
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.004295b8
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x420c40
test edi, edi
je 0x420c40
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x420c4b
mov ecx, esi
call fcn.00420934
mov eax, ebx
jmp 0x420c51
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x425895
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 0x4258da
call fcn.00414a14
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 0x4258ea
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 0x425936
mov edx, dword [edi]
mov eax, edx
shr eax, 0x10
mov dword [ebp - 4], 0xffff
cmp ax, word [ebp - 4]
jne 0x425915
movzx eax, word [edi + 0x12]
mov edx, dword [edi + 0xc]
mov dword [ebp - 4], eax
movzx eax, word [edi + 0x14]
jmp 0x425920
movzx eax, word [edi + 0xa]
mov dword [ebp - 4], eax
movzx eax, word [edi + 0xc]
test edx, 0x1801
jne 0x425934
cmp word [ebp - 4], 0
jne 0x425934
test ax, ax
je 0x425936
xor esi, esi
cmp dword [ebx + 0x84], 0
je 0x425946
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 0x42594f
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 0x42597a
cmp dword [ebx + 0x80], 0
jne 0x42597a
movzx eax, di
mov dword [ebx + 0x80], eax
call fcn.00414a14
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.00425c0d
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 0x4259b4
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.00414a14
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 0x4259eb
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.00425a0c
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 0x425d07
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x28
mov eax, 0x5783e7
call fcn.0054bc1f
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.00414a14
xor ebx, ebx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
cmp dword [edi + 0x84], ebx
je 0x425d66
call fcn.00414a14
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 0x425d76
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
jmp 0x425d79
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x425d85
or eax, 0xffffffff
jmp 0x425f09
mov ecx, edi
call fcn.0042635b
mov esi, eax
mov dword [ebp - 0x28], esi
call fcn.0041ee5a
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
test esi, esi
je 0x425e2d
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x425e2d
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x425e2d
push ebx
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x30], 1
call fcn.0041be0a
mov dword [ebp - 0x14], eax
test eax, eax
je 0x425def
mov ecx, dword [eax]
mov esi, dword [ecx + 0x74]
mov ecx, esi
call fcn.0054bb77
mov ecx, dword [ebp - 0x14]
call esi
mov esi, eax
mov dword [ebp - 0x14], esi
jmp 0x425df4
mov esi, ebx
mov dword [ebp - 0x14], ebx
test esi, esi
je 0x425e2d
mov eax, dword [esi]
mov esi, dword [eax + 0x150]
mov ecx, esi
call fcn.0054bb77
mov ecx, dword [ebp - 0x14]
call esi
test eax, eax
je 0x425e2d
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.0041cc01
test eax, eax
je 0x425e2d
push ebx
mov ecx, esi
call fcn.0041c9bc
mov dword [ebp - 0x2c], 1
push edi
mov dword [ebp - 4], ebx
call fcn.0041eafb
mov esi, dword [ebp - 0x28]
push esi
call fcn.004201bd
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.00425caa
test eax, eax
jne 0x425e78
cmp dword [edi + 0x9c], ebx
jne 0x425e78
call fcn.00414a14
push esi
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
call fcn.004201bd
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.00425caa
or dword [ebp - 4], 0xffffffff
mov dword [edi + 0x9c], ebx
jmp 0x425ea9
cmp dword [ebp - 0x2c], 0
je 0x425eb9
mov ecx, dword [ebp - 0x14]
push 1
call fcn.0041c9bc
cmp dword [ebp - 0x30], 0
je 0x425ec8
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
test esi, esi
je 0x425ede
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 0x20]
jne 0x425ede
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [edi]
mov esi, dword [eax + 0x60]
mov ecx, esi
call fcn.0054bb77
mov ecx, edi
call esi
mov ecx, edi
call fcn.00426312
cmp dword [edi + 0x84], ebx
je 0x425f06
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [edi + 0x68]
call fcn.0054bb7d
ret
Function at 0x42b117
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 0x42b16d
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x42b146
call fcn.00419a3f
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x42b15b
call fcn.00419a3f
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x42b16d
call fcn.00419a3f
call fcn.00414a14
cmp dword [eax + 0x3c], 0
je 0x42b182
push edi
mov ecx, ebx
call fcn.0042a84e
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0042b373
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x42b1ab
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x42b1b7
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 0x42d8c9
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x42da29
mov ecx, 0x62f670
call fcn.00415595
mov esi, eax
test esi, esi
je 0x42da1e
xor eax, eax
cmp word [esi + 8], ax
jne 0x42d9e8
push str.comctl32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
je 0x42d98a
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [ebp + 0x10]
mov ecx, 0x3ff
and ax, cx
cmp ax, 0x11
jne 0x42d950
push 0x58b8c0
call fcn.0042da69
pop ecx
test eax, eax
je 0x42d950
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 0x42d96b
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 0x42d98a
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 0x42d990
push ebx
push edi
push eax
call fcn.0042c00b
add esp, 0xc
jmp 0x42d990
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.004129fc
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 0x42da23
mov eax, dword [edi]
push eax
mov ecx, dword [eax - 0xc]
lea eax, [ecx + 1]
push eax
push edx
call fcn.005594c9
add esp, 0xc
test eax, eax
je 0x42d9dd
cmp eax, 0xc
je 0x42da23
cmp eax, 0x16
je 0x42da1e
cmp eax, 0x22
je 0x42da1e
cmp eax, 0x50
jne 0x42da1e
mov ax, word [ebx]
mov word [esi + 8], ax
xor eax, eax
jmp 0x42d9eb
mov ebx, dword [ebp + 0xc]
mov edi, dword [esi + 4]
test edi, edi
je 0x42d9f9
push edi
call fcn.0055550b
pop ecx
mov ecx, dword [ebp + 8]
push eax
push edi
call fcn.00411f3e
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.00412509
call fcn.00412523
int3
Function at 0x42e4d1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x6308e0], 0
push edi
mov edi, ecx
jne 0x42e4ea
xor eax, eax
jmp 0x42e584
push ebx
push esi
xor ebx, ebx
push ebx
push 0x40
push ebx
call fcn.0041cc2b
push ebx
push 1
mov ecx, edi
call fcn.0042e46d
push eax
call fcn.00440dab
push eax
mov ecx, edi
call fcn.0042f239
push 1
push ebx
mov ecx, edi
call fcn.0042e46d
push eax
call fcn.00440dab
push eax
mov ecx, edi
call fcn.0042f239
mov eax, dword [edi]
mov esi, dword [eax + 0x194]
mov ecx, esi
call fcn.0054bb77
mov ecx, edi
call esi
cmp dword [edi + 0x154], ebx
jne 0x42e57f
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 0x42e57f
mov eax, dword [edi]
lea ecx, [ebp - 0xc]
push ecx
mov esi, dword [eax + 0x188]
mov ecx, esi
call fcn.0054bb77
mov ecx, edi
call esi
push dword [ebp - 8]
mov ecx, dword [0x6308e0]
call fcn.00474458
xor eax, eax
pop esi
inc eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x42e63a
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 0x42e872
test ebx, ebx
je 0x42e872
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 0x42e83b
sub eax, 1
je 0x42e6d2
sub eax, 1
je 0x42e7a3
sub eax, 1
jne 0x42e85d
lea eax, [ebp - 0x20c]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x42e836
push edi
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00418d4e
test eax, eax
je 0x42e836
lea eax, [ebp - 0x414]
push eax
push dword [ebx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x42e831
push edi
lea eax, [ebp - 0x874]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.00418d4e
test eax, eax
je 0x42e831
xor edx, edx
inc edx
cmp dword [ebp + 0x10], edx
jne 0x42e7fa
test byte [ebp - 0x624], 0x10
jne 0x42e836
test byte [ebp - 0x854], 0x10
jne 0x42e79c
mov ecx, dword [ebp - 0x858]
mov eax, dword [ebp - 0x85c]
cmp dword [ebp - 0x628], ecx
ja 0x42e79c
jb 0x42e836
cmp dword [ebp - 0x62c], eax
jb 0x42e836
cmp dword [ebp - 0x628], ecx
jb 0x42e85d
ja 0x42e79c
cmp dword [ebp - 0x62c], eax
jbe 0x42e85d
mov edi, edx
jmp 0x42e85d
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 0x42e85d
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 0x42e85d
lea eax, [ebp - 0x914]
push eax
lea eax, [ebp - 0xbc8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov edi, eax
jmp 0x42e85d
mov ecx, dword [ebp - 0x868]
mov eax, dword [ebp - 0x86c]
cmp dword [ebp - 0x638], ecx
jg 0x42e79c
jl 0x42e836
cmp dword [ebp - 0x63c], eax
jb 0x42e836
cmp dword [ebp - 0x638], ecx
jl 0x42e85d
jg 0x42e79c
cmp dword [ebp - 0x63c], eax
jmp 0x42e796
xor edi, edi
inc edi
jmp 0x42e85d
or edi, 0xffffffff
jmp 0x42e85d
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.0054bb77
call dword [esi + 0x1c]
test eax, eax
jns 0x42e85a
xor eax, eax
jmp 0x42e85f
movsx edi, ax
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054b34c
mov esp, ebp
pop ebp
ret 0xc
call fcn.00412509
int3

Function at 0x42f1c1
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.00474b12
call fcn.00414a62
cmp dword [eax + 0x14], 0
jne 0x42f1dc
mov ecx, esi
pop esi
jmp fcn.0042e4d1
pop esi
ret
Function at 0x43d950
Capabilities:
Get common file path

Disassembly:
push 0x78
mov eax, 0x579562
call fcn.0054bbb4
mov ebx, ecx
cmp dword [0x6308e0], 0
je 0x43da98
lea eax, [ebp - 0x14]
xor esi, esi
push eax
push esi
push esi
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
jns 0x43d983
xor eax, eax
jmp 0x43da92
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x43d97c
push 0xc
push 0x40
mov dword [ebp - 0x40], 0x67
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x43da98
mov eax, dword [ebp - 0x14]
mov dword [edi + 8], eax
push dword [ebp - 0x14]
mov ecx, dword [0x6308e0]
call fcn.004743c9
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.0054bb77
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.00411e3d
mov dword [ebp - 0x30], eax
mov eax, dword [ebx]
push 0
push edi
mov esi, dword [eax + 0x168]
mov ecx, esi
call fcn.0054bb77
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.0054bb77
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.0054bb77
call esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00404520
xor eax, eax
inc eax
call fcn.0054bb7d
ret
call fcn.00412509
int3

Function at 0x43dce8
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 0x43dd4e
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 0x43dd31
lea eax, [ebp - 0x2ac]
push eax
jmp 0x43dd36
push 0x58e828
call fcn.004115dd
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0054b34c
mov esp, ebp
pop ebp
ret 8
call fcn.00412509
int3
Function at 0x44d108
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 0x44d121
call fcn.00414a14
mov esi, dword [eax + 0xc]
push 0x5908dc
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x44d177
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x44d176
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x44d157
xor esi, esi
jmp 0x44d16d
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.0044d17f
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