joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4146b4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0xffffffffffffffff
push esi
call fcn.00418621
test eax, eax
je 0x41470b
push esi
mov ebx, 0x811c9dc5
xor edi, edi
call fcn.00559339
xor edx, edx
mov dword [ebp - 4], 0xa
pop ecx
mov ecx, eax
div dword [ebp - 4]
inc eax
test ecx, ecx
je 0x414700
mov edx, ecx
movzx ecx, word [esi + edi*2]
add edi, eax
imul ebx, ebx, 0x1000193
xor ebx, ecx
cmp edi, edx
jb 0x4146ee
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00414199
int3

Function at 0x4173dc
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0x10
mov eax, 0x5804e8
call fcn.0054d89b
mov esi, ecx
mov dword [ebp - 0x14], esi
lea edi, [esi + 0x1c]
push edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [ebp + 8]
test ebx, ebx
jle 0x4174e4
cmp ebx, dword [esi + 0xc]
jge 0x4174e4
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x417433
cmp ebx, dword [edi + 8]
jl 0x4174cd
cmp dword [ebp + 0xc], 0
je 0x4174cd
xor ebx, ebx
jmp 0x41746a
xor ebx, ebx
push 0x10
mov dword [ebp - 4], ebx
call fcn.00417009
mov edi, eax
test edi, edi
je 0x41744d
mov dword [edi], vtable.CThreadData.0
jmp 0x41744f
mov edi, ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x14]
push edi
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
call fcn.00417308
mov ecx, dword [esi + 0x14]
mov dword [eax], ecx
mov dword [esi + 0x14], edi
mov eax, dword [ebp - 0x14]
mov esi, dword [edi + 0xc]
push 4
push dword [eax + 0xc]
call fcn.0041468c
pop ecx
pop ecx
test esi, esi
jne 0x41748a
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x417496
push 2
push eax
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov edx, eax
test edx, edx
je 0x4174f3
mov esi, dword [ebp - 0x14]
mov ecx, dword [edi + 8]
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0xc]
sub eax, ecx
shl eax, 2
push eax
lea eax, [edx + ecx*4]
push ebx
push eax
call fcn.005552b0
mov eax, dword [esi + 0xc]
add esp, 0xc
mov dword [edi + 8], eax
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ebx, dword [ebp + 8]
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4174df
cmp ebx, dword [edi + 8]
jge 0x4174df
mov eax, dword [ebp + 0xc]
mov dword [ecx + ebx*4], eax
push dword [ebp - 0x18]
jmp 0x4174e5
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0054d7f9
ret 8
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.004141b3
mov eax, dword [ebp - 0x14]
add eax, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebx, ebx
push ebx
push ebx
call fcn.0055540a
int3
Function at 0x41a131
Capabilities:
Get disk information

Disassembly:
push 0x268
mov eax, 0x5806e7
call fcn.0054d864
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x264], eax
test eax, eax
je 0x41a33f
test edi, edi
je 0x41a33f
lea ecx, [ebp - 0x268]
mov esi, 0x104
push ecx
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x41a1c0
push 0xffffffffffffffff
push edi
push esi
push dword [ebp - 0x264]
call fcn.0055d44a
add esp, 0x10
test eax, eax
je 0x41a1b2
cmp eax, 0xc
je 0x41a344
cmp eax, 0x16
je 0x41a33f
cmp eax, 0x22
je 0x41a33f
cmp eax, 0x50
jne 0x41a33f
push edi
push ebx
call fcn.0041a0ef
xor eax, eax
jmp 0x41a30a
cmp eax, esi
jb 0x41a1ea
test ebx, ebx
je 0x41a1b9
mov dword [ebx + 8], 3
test edi, edi
jne 0x41a1d7
xor eax, eax
jmp 0x41a1de
push edi
call fcn.00559339
pop ecx
push eax
push edi
lea ecx, [ebx + 0x10]
call fcn.00413bce
jmp 0x41a1b9
call fcn.004148cc
push eax
lea ecx, [ebp - 0x26c]
call fcn.00413235
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x26c]
push eax
push dword [ebp - 0x264]
call fcn.00419a4a
mov esi, dword [ebp - 0x26c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsUNCW]
test eax, eax
jne 0x41a2ff
push eax
push eax
lea ecx, [ebp - 0x270]
push ecx
lea ecx, [ebp - 0x274]
push ecx
push eax
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x41a259
push edi
push ebx
call fcn.0041a0ef
lea ecx, [esi - 0x10]
call fcn.00404600
jmp 0x41a1b9
mov eax, dword [ebp - 0x270]
test al, 2
jne 0x41a275
push dword [ebp - 0x264]
call dword [sym.imp.USER32.dll_CharUpperW]
mov eax, dword [ebp - 0x270]
test al, 4
jne 0x41a2ff
lea eax, [ebp - 0x260]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x41a2ff
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x268]
test eax, eax
je 0x41a245
cmp eax, dword [ebp - 0x264]
jbe 0x41a245
lea eax, [ebp - 0x234]
push eax
call fcn.00559339
mov edx, dword [ebp - 0x268]
sub edx, dword [ebp - 0x264]
sar edx, 1
pop ecx
add eax, edx
mov ecx, 0x104
cmp eax, ecx
jge 0x41a312
lea eax, [ebp - 0x234]
sub ecx, edx
push eax
push ecx
push dword [ebp - 0x268]
call fcn.0055d319
add esp, 0xc
test eax, eax
je 0x41a2ff
cmp eax, 0xc
je 0x41a344
cmp eax, 0x16
je 0x41a33f
cmp eax, 0x22
je 0x41a33f
cmp eax, 0x50
jne 0x41a33f
lea ecx, [esi - 0x10]
call fcn.00404600
xor eax, eax
inc eax
call fcn.0054d80e
ret 0xc
test ebx, ebx
je 0x41a24c
mov dword [ebx + 8], 3
test edi, edi
jne 0x41a329
xor eax, eax
jmp 0x41a330
push edi
call fcn.00559339
pop ecx
push eax
push edi
lea ecx, [ebx + 0x10]
call fcn.00413bce
jmp 0x41a24c
call fcn.00414199
call fcn.004141b3
int3
Function at 0x41e1e6
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.0041e6f1
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.0041e421
cmp esi, 3
je 0x41e224
mov dword [edi + 0xc], 1
cmp dword [edi], 0
je 0x41e27a
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 0x41e255
push ebx
call fcn.00413acd
push ebx
mov ecx, edi
mov esi, eax
call fcn.00413ba3
lea ecx, [ebx + 1]
push ecx
push esi
jmp 0x41e265
push 0xff
call fcn.00413acd
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00414499
pop ebx
jmp 0x41e29e
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 0x41e29e
push dword [esi]
push dword [ebp - 4]
call fcn.0041d713
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x41e367
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.0041e421
cmp dword [esi], 0
mov ebx, eax
mov dword [esi + 0xc], 1
je 0x41e3be
push edi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ecx, dword [ebp + 0x10]
mov edi, eax
push edi
call fcn.00413acd
mov ecx, dword [ebp + 0x10]
mov esi, eax
push edi
call fcn.00413ba3
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.00414499
pop edi
jmp 0x41e3c9
mov eax, dword [ebp + 0x10]
push dword [eax]
push ebx
call fcn.0041d713
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x41e7a7
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x58050b
call fcn.0054d830
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x41e7cd
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x41e83e
call fcn.004148cc
push eax
lea ecx, [ebp - 0x10]
call fcn.00413235
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.0054d7f3
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0055d44a
add esp, 0x10
test eax, eax
je 0x41e824
cmp eax, 0xc
je 0x41e84b
cmp eax, 0x16
je 0x41e846
cmp eax, 0x22
je 0x41e846
cmp eax, 0x50
jne 0x41e846
test esi, esi
je 0x41e831
push esi
call fcn.00559339
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00404600
mov eax, ebx
call fcn.0054d7f9
ret 8
call fcn.00414199
call fcn.004141b3
int3
Function at 0x421dc3
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 0x421e08
call fcn.004166a7
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x421e08
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x421e24
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0042a70d
mov ebx, eax
test edi, edi
je 0x421e22
test esi, esi
je 0x421e22
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 0x42281f
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 0x4228dd
cmp dword [esi + 0x20], 0
je 0x4228dd
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4228dd
cmp dword [ebp + 8], 0
je 0x4228dd
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.004166a7
push 0x5920c8
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 0x4228ae
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 0x4228dd
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.0042b246
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x4228ce
test edi, edi
je 0x4228ce
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x4228d9
mov ecx, esi
call fcn.004225c2
mov eax, ebx
jmp 0x4228df
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x427523
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 0x427568
call fcn.004166a7
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 0x427578
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 0x4275c4
mov edx, dword [edi]
mov eax, edx
shr eax, 0x10
mov dword [ebp - 4], 0xffff
cmp ax, word [ebp - 4]
jne 0x4275a3
movzx eax, word [edi + 0x12]
mov edx, dword [edi + 0xc]
mov dword [ebp - 4], eax
movzx eax, word [edi + 0x14]
jmp 0x4275ae
movzx eax, word [edi + 0xa]
mov dword [ebp - 4], eax
movzx eax, word [edi + 0xc]
test edx, 0x1801
jne 0x4275c2
cmp word [ebp - 4], 0
jne 0x4275c2
test ax, ax
je 0x4275c4
xor esi, esi
cmp dword [ebx + 0x84], 0
je 0x4275d4
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 0x4275dd
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 0x427608
cmp dword [ebx + 0x80], 0
jne 0x427608
movzx eax, di
mov dword [ebx + 0x80], eax
call fcn.004166a7
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.0042789b
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 0x427642
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.004166a7
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 0x427679
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.0042769a
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 0x427995
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x28
mov eax, 0x580c0c
call fcn.0054d89b
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.004166a7
xor ebx, ebx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
cmp dword [edi + 0x84], ebx
je 0x4279f4
call fcn.004166a7
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 0x427a04
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
jmp 0x427a07
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x427a13
or eax, 0xffffffff
jmp 0x427b97
mov ecx, edi
call fcn.00427fe9
mov esi, eax
mov dword [ebp - 0x28], esi
call fcn.00420aea
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
test esi, esi
je 0x427abb
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x427abb
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x427abb
push ebx
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x30], 1
call fcn.0041da9a
mov dword [ebp - 0x14], eax
test eax, eax
je 0x427a7d
mov ecx, dword [eax]
mov esi, dword [ecx + 0x74]
mov ecx, esi
call fcn.0054d7f3
mov ecx, dword [ebp - 0x14]
call esi
mov esi, eax
mov dword [ebp - 0x14], esi
jmp 0x427a82
mov esi, ebx
mov dword [ebp - 0x14], ebx
test esi, esi
je 0x427abb
mov eax, dword [esi]
mov esi, dword [eax + 0x150]
mov ecx, esi
call fcn.0054d7f3
mov ecx, dword [ebp - 0x14]
call esi
test eax, eax
je 0x427abb
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.0041e891
test eax, eax
je 0x427abb
push ebx
mov ecx, esi
call fcn.0041e64c
mov dword [ebp - 0x2c], 1
push edi
mov dword [ebp - 4], ebx
call fcn.0042078b
mov esi, dword [ebp - 0x28]
push esi
call fcn.00421e4b
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.00427938
test eax, eax
jne 0x427b06
cmp dword [edi + 0x9c], ebx
jne 0x427b06
call fcn.004166a7
push esi
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
call fcn.00421e4b
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.00427938
or dword [ebp - 4], 0xffffffff
mov dword [edi + 0x9c], ebx
jmp 0x427b37
cmp dword [ebp - 0x2c], 0
je 0x427b47
mov ecx, dword [ebp - 0x14]
push 1
call fcn.0041e64c
cmp dword [ebp - 0x30], 0
je 0x427b56
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
test esi, esi
je 0x427b6c
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 0x20]
jne 0x427b6c
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [edi]
mov esi, dword [eax + 0x60]
mov ecx, esi
call fcn.0054d7f3
mov ecx, edi
call esi
mov ecx, edi
call fcn.00427fa0
cmp dword [edi + 0x84], ebx
je 0x427b94
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [edi + 0x68]
call fcn.0054d7f9
ret
Function at 0x42cda3
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 0x42cdf9
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x42cdd2
call fcn.0041b6cf
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x42cde7
call fcn.0041b6cf
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x42cdf9
call fcn.0041b6cf
call fcn.004166a7
cmp dword [eax + 0x3c], 0
je 0x42ce0e
push edi
mov ecx, ebx
call fcn.0042c4dc
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0042cfff
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x42ce37
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x42ce43
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 0x42f553
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x42f6b3
mov ecx, 0x63ba40
call fcn.00417228
mov esi, eax
test esi, esi
je 0x42f6a8
xor eax, eax
cmp word [esi + 8], ax
jne 0x42f672
push str.comctl32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
je 0x42f614
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [ebp + 0x10]
mov ecx, 0x3ff
and ax, cx
cmp ax, 0x11
jne 0x42f5da
push 0x593910
call fcn.0042f6f3
pop ecx
test eax, eax
je 0x42f5da
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 0x42f5f5
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 0x42f614
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 0x42f61a
push ebx
push edi
push eax
call fcn.0042dc95
add esp, 0xc
jmp 0x42f61a
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.0041468c
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 0x42f6ad
mov eax, dword [edi]
push eax
mov ecx, dword [eax - 0xc]
lea eax, [ecx + 1]
push eax
push edx
call fcn.0055d319
add esp, 0xc
test eax, eax
je 0x42f667
cmp eax, 0xc
je 0x42f6ad
cmp eax, 0x16
je 0x42f6a8
cmp eax, 0x22
je 0x42f6a8
cmp eax, 0x50
jne 0x42f6a8
mov ax, word [ebx]
mov word [esi + 8], ax
xor eax, eax
jmp 0x42f675
mov ebx, dword [ebp + 0xc]
mov edi, dword [esi + 4]
test edi, edi
je 0x42f683
push edi
call fcn.00559339
pop ecx
mov ecx, dword [ebp + 8]
push eax
push edi
call fcn.00413bce
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.00414199
call fcn.004141b3
int3
Function at 0x43015b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x63ccb0], 0
push edi
mov edi, ecx
jne 0x430174
xor eax, eax
jmp 0x43020e
push ebx
push esi
xor ebx, ebx
push ebx
push 0x40
push ebx
call fcn.0041e8bb
push ebx
push 1
mov ecx, edi
call fcn.004300f7
push eax
call fcn.00442a35
push eax
mov ecx, edi
call fcn.00430ec3
push 1
push ebx
mov ecx, edi
call fcn.004300f7
push eax
call fcn.00442a35
push eax
mov ecx, edi
call fcn.00430ec3
mov eax, dword [edi]
mov esi, dword [eax + 0x194]
mov ecx, esi
call fcn.0054d7f3
mov ecx, edi
call esi
cmp dword [edi + 0x154], ebx
jne 0x430209
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 0x430209
mov eax, dword [edi]
lea ecx, [ebp - 0xc]
push ecx
mov esi, dword [eax + 0x188]
mov ecx, esi
call fcn.0054d7f3
mov ecx, edi
call esi
push dword [ebp - 8]
mov ecx, dword [0x63ccb0]
call fcn.004760de
xor eax, eax
pop esi
inc eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4302c4
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xddc
mov eax, dword [0x634f58]
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 0x4304fc
test ebx, ebx
je 0x4304fc
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 0x4304c5
sub eax, 1
je 0x43035c
sub eax, 1
je 0x43042d
sub eax, 1
jne 0x4304e7
lea eax, [ebp - 0x20c]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4304c0
push edi
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0041a9e1
test eax, eax
je 0x4304c0
lea eax, [ebp - 0x414]
push eax
push dword [ebx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4304bb
push edi
lea eax, [ebp - 0x874]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0041a9e1
test eax, eax
je 0x4304bb
xor edx, edx
inc edx
cmp dword [ebp + 0x10], edx
jne 0x430484
test byte [ebp - 0x624], 0x10
jne 0x4304c0
test byte [ebp - 0x854], 0x10
jne 0x430426
mov ecx, dword [ebp - 0x858]
mov eax, dword [ebp - 0x85c]
cmp dword [ebp - 0x628], ecx
ja 0x430426
jb 0x4304c0
cmp dword [ebp - 0x62c], eax
jb 0x4304c0
cmp dword [ebp - 0x628], ecx
jb 0x4304e7
ja 0x430426
cmp dword [ebp - 0x62c], eax
jbe 0x4304e7
mov edi, edx
jmp 0x4304e7
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 0x4304e7
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 0x4304e7
lea eax, [ebp - 0x914]
push eax
lea eax, [ebp - 0xbc8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov edi, eax
jmp 0x4304e7
mov ecx, dword [ebp - 0x868]
mov eax, dword [ebp - 0x86c]
cmp dword [ebp - 0x638], ecx
jg 0x430426
jl 0x4304c0
cmp dword [ebp - 0x63c], eax
jb 0x4304c0
cmp dword [ebp - 0x638], ecx
jl 0x4304e7
jg 0x430426
cmp dword [ebp - 0x63c], eax
jmp 0x430420
xor edi, edi
inc edi
jmp 0x4304e7
or edi, 0xffffffff
jmp 0x4304e7
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.0054d7f3
call dword [esi + 0x1c]
test eax, eax
jns 0x4304e4
xor eax, eax
jmp 0x4304e9
movsx edi, ax
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054cfc8
mov esp, ebp
pop ebp
ret 0xc
call fcn.00414199
int3

Function at 0x430e4b
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.00476798
call fcn.004166f5
cmp dword [eax + 0x14], 0
jne 0x430e66
mov ecx, esi
pop esi
jmp fcn.0043015b
pop esi
ret