joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406ca0
Capabilities:
Create directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x41c
mov eax, dword [0x5c2f60]
xor eax, esp
mov dword [esp + 0x418], eax
push ebx
push esi
push edi
mov esi, ecx
call fcn.00406bd0
test eax, eax
je 0x406ce2
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.00540fa1
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x218]
sub ecx, esi
nop dword [eax + eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x406cf0
lea ecx, [esp + 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406d10
sub ecx, edx
mov edx, 0x2f2f
sar ecx, 1
movzx eax, word [esp + ecx*2 + 0x216]
cmp ax, dx
je 0x406d36
cmp eax, 0x2f
jne 0x406d43
mov eax, 0x2f30
mov word [esp + ecx*2 + 0x216], ax
lea ebx, [esp + 0x218]
lea ecx, [ebx + 2]
nop dword [eax]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x406d50
push 0x100
lea eax, [esp + 0x1c]
sub ebx, ecx
push 0
push eax
sar ebx, 1
call fcn.00543790
xor esi, esi
add esp, 0xc
mov dword [esp + 0x14], esi
test ebx, ebx
jle 0x406e5f
mov edx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov word [esp + 0x12], ax
nop dword [eax]
nop dword [eax + eax]
movzx eax, word [esp + esi*2 + 0x218]
mov esi, 0x2f2f
cmp ax, si
je 0x406db9
mov word [esp + 0x10], ax
jmp 0x406ddd
push 0
lea eax, [esp + 0x1c]
push eax
call edx
test eax, eax
je 0x406dd2
push 0x80
lea eax, [esp + 0x1c]
push eax
call edi
mov edx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov word [esp + 0x10], si
lea eax, [esp + 0x10]
mov esi, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x406de3
lea edi, [esp + 0x18]
sub eax, esi
add edi, 0xfffffffe
nop word [eax + eax]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x406e00
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebx - 1]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
cmp esi, eax
jne 0x406e46
push 0
lea eax, [esp + 0x1c]
push eax
call edx
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x406e4c
push 0x80
lea eax, [esp + 0x1c]
push eax
call edi
jmp 0x406e4c
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
inc esi
mov dword [esp + 0x14], esi
cmp esi, ebx
jl 0x406da0
lea ecx, [esp + 0x18]
call fcn.00406bd0
mov ecx, dword [esp + 0x424]
neg eax
pop edi
pop esi
sbb eax, eax
pop ebx
xor ecx, esp
neg eax
call fcn.00540fa1
mov esp, ebp
pop ebp
ret
Function at 0x4086b4
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.0040c00c
test eax, eax
je 0x40870b
push esi
mov ebx, 0x811c9dc5
xor edi, edi
call fcn.00547585
xor edx, edx
mov dword [ebp - 4], 0xa
pop ecx
mov ecx, eax
div dword [ebp - 4]
inc eax
test ecx, ecx
je 0x408700
mov edx, ecx
movzx ecx, word [esi + edi*2]
add edi, eax
imul ebx, ebx, 0x1000193
xor ebx, ecx
cmp edi, edx
jb 0x4086ee
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00408199
int3

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

Disassembly:
push 0x10
mov eax, 0x565af6
call fcn.00541874
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 0x40aecf
cmp ebx, dword [esi + 0xc]
jge 0x40aecf
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x40ae1e
cmp ebx, dword [edi + 8]
jl 0x40aeb8
cmp dword [ebp + 0xc], 0
je 0x40aeb8
xor ebx, ebx
jmp 0x40ae55
xor ebx, ebx
push 0x10
mov dword [ebp - 4], ebx
call fcn.0040a9f4
mov edi, eax
test edi, edi
je 0x40ae38
mov dword [edi], vtable.CThreadData.0
jmp 0x40ae3a
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.0040acf3
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.0040868c
pop ecx
pop ecx
test esi, esi
jne 0x40ae75
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x40ae81
push 2
push eax
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov edx, eax
test edx, edx
je 0x40aede
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.00543790
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 0x40aeca
cmp ebx, dword [edi + 8]
jge 0x40aeca
mov eax, dword [ebp + 0xc]
mov dword [ecx + ebx*4], eax
push dword [ebp - 0x18]
jmp 0x40aed0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.005417d2
ret 8
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.004081b3
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.005438ea
int3
Function at 0x40d08f
Capabilities:
Get disk information

Disassembly:
push 0x268
mov eax, 0x565c89
call fcn.0054183d
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x264], eax
test eax, eax
je 0x40d29d
test edi, edi
je 0x40d29d
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 0x40d11e
push 0xffffffffffffffff
push edi
push esi
push dword [ebp - 0x264]
call fcn.0054b363
add esp, 0x10
test eax, eax
je 0x40d110
cmp eax, 0xc
je 0x40d2a2
cmp eax, 0x16
je 0x40d29d
cmp eax, 0x22
je 0x40d29d
cmp eax, 0x50
jne 0x40d29d
push edi
push ebx
call fcn.0040d04d
xor eax, eax
jmp 0x40d268
cmp eax, esi
jb 0x40d148
test ebx, ebx
je 0x40d117
mov dword [ebx + 8], 3
test edi, edi
jne 0x40d135
xor eax, eax
jmp 0x40d13c
push edi
call fcn.00547585
pop ecx
push eax
push edi
lea ecx, [ebx + 0x10]
call fcn.00407bce
jmp 0x40d117
call fcn.004088cc
push eax
lea ecx, [ebp - 0x26c]
call fcn.00407235
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x26c]
push eax
push dword [ebp - 0x264]
call fcn.0040c9a8
mov esi, dword [ebp - 0x26c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsUNCW]
test eax, eax
jne 0x40d25d
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 0x40d1b7
push edi
push ebx
call fcn.0040d04d
lea ecx, [esi - 0x10]
call fcn.004038c0
jmp 0x40d117
mov eax, dword [ebp - 0x270]
test al, 2
jne 0x40d1d3
push dword [ebp - 0x264]
call dword [sym.imp.USER32.dll_CharUpperW]
mov eax, dword [ebp - 0x270]
test al, 4
jne 0x40d25d
lea eax, [ebp - 0x260]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x40d25d
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x268]
test eax, eax
je 0x40d1a3
cmp eax, dword [ebp - 0x264]
jbe 0x40d1a3
lea eax, [ebp - 0x234]
push eax
call fcn.00547585
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 0x40d270
lea eax, [ebp - 0x234]
sub ecx, edx
push eax
push ecx
push dword [ebp - 0x268]
call fcn.0054b232
add esp, 0xc
test eax, eax
je 0x40d25d
cmp eax, 0xc
je 0x40d2a2
cmp eax, 0x16
je 0x40d29d
cmp eax, 0x22
je 0x40d29d
cmp eax, 0x50
jne 0x40d29d
lea ecx, [esi - 0x10]
call fcn.004038c0
xor eax, eax
inc eax
call fcn.005417e7
ret 0xc
test ebx, ebx
je 0x40d1aa
mov dword [ebx + 8], 3
test edi, edi
jne 0x40d287
xor eax, eax
jmp 0x40d28e
push edi
call fcn.00547585
pop ecx
push eax
push edi
lea ecx, [ebx + 0x10]
call fcn.00407bce
jmp 0x40d1aa
call fcn.00408199
call fcn.004081b3
int3
Function at 0x411144
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.0041164f
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.0041137f
cmp esi, 3
je 0x411182
mov dword [edi + 0xc], 1
cmp dword [edi], 0
je 0x4111d8
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 0x4111b3
push ebx
call fcn.00407acd
push ebx
mov ecx, edi
mov esi, eax
call fcn.00407ba3
lea ecx, [ebx + 1]
push ecx
push esi
jmp 0x4111c3
push 0xff
call fcn.00407acd
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00408499
pop ebx
jmp 0x4111fc
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 0x4111fc
push dword [esi]
push dword [ebp - 4]
call fcn.00410671
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4112c5
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.0041137f
cmp dword [esi], 0
mov ebx, eax
mov dword [esi + 0xc], 1
je 0x41131c
push edi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ecx, dword [ebp + 0x10]
mov edi, eax
push edi
call fcn.00407acd
mov ecx, dword [ebp + 0x10]
mov esi, eax
push edi
call fcn.00407ba3
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.00408499
pop edi
jmp 0x411327
mov eax, dword [ebp + 0x10]
push dword [eax]
push ebx
call fcn.00410671
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x411705
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x565b19
call fcn.00541809
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x41172b
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x41179c
call fcn.004088cc
push eax
lea ecx, [ebp - 0x10]
call fcn.00407235
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.005417cc
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0054b363
add esp, 0x10
test eax, eax
je 0x411782
cmp eax, 0xc
je 0x4117a9
cmp eax, 0x16
je 0x4117a4
cmp eax, 0x22
je 0x4117a4
cmp eax, 0x50
jne 0x4117a4
test esi, esi
je 0x41178f
push esi
call fcn.00547585
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004038c0
mov eax, ebx
call fcn.005417d2
ret 8
call fcn.00408199
call fcn.004081b3
int3
Function at 0x41b3a5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x28
mov eax, 0x566235
call fcn.00541874
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.0040a092
xor ebx, ebx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
cmp dword [edi + 0x84], ebx
je 0x41b404
call fcn.0040a092
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 0x41b414
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
jmp 0x41b417
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x41b423
or eax, 0xffffffff
jmp 0x41b5a7
mov ecx, edi
call fcn.0041b9f9
mov esi, eax
mov dword [ebp - 0x28], esi
call fcn.00413a48
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
test esi, esi
je 0x41b4cb
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x41b4cb
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x41b4cb
push ebx
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x30], 1
call fcn.004109f8
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41b48d
mov ecx, dword [eax]
mov esi, dword [ecx + 0x74]
mov ecx, esi
call fcn.005417cc
mov ecx, dword [ebp - 0x14]
call esi
mov esi, eax
mov dword [ebp - 0x14], esi
jmp 0x41b492
mov esi, ebx
mov dword [ebp - 0x14], ebx
test esi, esi
je 0x41b4cb
mov eax, dword [esi]
mov esi, dword [eax + 0x150]
mov ecx, esi
call fcn.005417cc
mov ecx, dword [ebp - 0x14]
call esi
test eax, eax
je 0x41b4cb
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.004117ef
test eax, eax
je 0x41b4cb
push ebx
mov ecx, esi
call fcn.004115aa
mov dword [ebp - 0x2c], 1
push edi
mov dword [ebp - 4], ebx
call fcn.004136e9
mov esi, dword [ebp - 0x28]
push esi
call fcn.00414da9
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.0041b348
test eax, eax
jne 0x41b516
cmp dword [edi + 0x9c], ebx
jne 0x41b516
call fcn.0040a092
push esi
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
call fcn.00414da9
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.0041b348
or dword [ebp - 4], 0xffffffff
mov dword [edi + 0x9c], ebx
jmp 0x41b547
cmp dword [ebp - 0x2c], 0
je 0x41b557
mov ecx, dword [ebp - 0x14]
push 1
call fcn.004115aa
cmp dword [ebp - 0x30], 0
je 0x41b566
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
test esi, esi
je 0x41b57c
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 0x20]
jne 0x41b57c
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [edi]
mov esi, dword [eax + 0x60]
mov ecx, esi
call fcn.005417cc
mov ecx, edi
call esi
mov ecx, edi
call fcn.0041b9b0
cmp dword [edi + 0x84], ebx
je 0x41b5a4
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [edi + 0x68]
call fcn.005417d2
ret
Function at 0x422f8a
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x4230ea
mov ecx, 0x5c9208
call fcn.0040ac13
mov esi, eax
test esi, esi
je 0x4230df
xor eax, eax
cmp word [esi + 8], ax
jne 0x4230a9
push str.comctl32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
je 0x42304b
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [ebp + 0x10]
mov ecx, 0x3ff
and ax, cx
cmp ax, 0x11
jne 0x423011
push 0x579800
call fcn.0042312a
pop ecx
test eax, eax
je 0x423011
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 0x42302c
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 0x42304b
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 0x423051
push ebx
push edi
push eax
call fcn.004216cc
add esp, 0xc
jmp 0x423051
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.0040868c
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 0x4230e4
mov eax, dword [edi]
push eax
mov ecx, dword [eax - 0xc]
lea eax, [ecx + 1]
push eax
push edx
call fcn.0054b232
add esp, 0xc
test eax, eax
je 0x42309e
cmp eax, 0xc
je 0x4230e4
cmp eax, 0x16
je 0x4230df
cmp eax, 0x22
je 0x4230df
cmp eax, 0x50
jne 0x4230df
mov ax, word [ebx]
mov word [esi + 8], ax
xor eax, eax
jmp 0x4230ac
mov ebx, dword [ebp + 0xc]
mov edi, dword [esi + 4]
test edi, edi
je 0x4230ba
push edi
call fcn.00547585
pop ecx
mov ecx, dword [ebp + 8]
push eax
push edi
call fcn.00407bce
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.00408199
call fcn.004081b3
int3
Function at 0x433012
Capabilities:
Get common file path

Disassembly:
push 0x78
mov eax, 0x5673b0
call fcn.00541809
mov ebx, ecx
cmp dword [0x5ca478], 0
je 0x43315a
lea eax, [ebp - 0x14]
xor esi, esi
push eax
push esi
push esi
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
jns 0x433045
xor eax, eax
jmp 0x433154
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x43303e
push 0xc
push 0x40
mov dword [ebp - 0x40], 0x67
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x43315a
mov eax, dword [ebp - 0x14]
mov dword [edi + 8], eax
push dword [ebp - 0x14]
mov ecx, dword [0x5ca478]
call fcn.00469a88
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.005417cc
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.00407acd
mov dword [ebp - 0x30], eax
mov eax, dword [ebx]
push 0
push edi
mov esi, dword [eax + 0x168]
mov ecx, esi
call fcn.005417cc
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.005417cc
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.005417cc
call esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004038c0
xor eax, eax
inc eax
call fcn.005417d2
ret
call fcn.00408199
int3

Function at 0x4333aa
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x5c2f60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test eax, eax
je 0x433410
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 0x4333f3
lea eax, [ebp - 0x2ac]
push eax
jmp 0x4333f8
push 0x57c768
call fcn.0040726d
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00540fa1
mov esp, ebp
pop ebp
ret 8
call fcn.00408199
int3
Function at 0x46a61b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x5c2f60]
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 0x46a63e
xor eax, eax
jmp 0x46a70f
cmp dword [ebp + 0xc], 0
je 0x46a637
xor esi, esi
call fcn.0040a092
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 0x46a637
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x46a637
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x46a725
push eax
call fcn.0054b370
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 0x46a6cf
cmp eax, 0x400
ja 0x46a6b4
call fcn.00541ca0
mov edi, esp
test edi, edi
je 0x46a6ca
mov dword [edi], 0xcccc
jmp 0x46a6c7
push eax
call fcn.0054b16e
mov edi, eax
pop ecx
test edi, edi
je 0x46a6ca
mov dword [edi], 0xdddd
add edi, 8
mov edx, dword [ebp - 0xc]
jmp 0x46a6d1
mov edi, esi
test edi, edi
je 0x46a725
push edx
push dword [ebp - 8]
push edi
call fcn.004088b5
mov dword [ebp - 8], eax
test eax, eax
je 0x46a6ff
mov esi, dword [ebp - 0x10]
push eax
call fcn.00547585
pop ecx
push eax
push dword [ebp - 8]
lea ecx, [esi + 4]
call fcn.00407bce
xor esi, esi
inc esi
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push edi
call fcn.0046c06a
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.00540fa1
mov esp, ebp
pop ebp
ret 8
call fcn.00408199
int3
Function at 0x4bfe4f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
cmc
fcmovb st(0), st(6)
inc ebp
neg dl
mov byte [ebp - 9], 0xbf
call fcn.004bfac2
push eax
push esi
push dword [ebp + 8]
invalid
push cs

Function at 0x4bff34
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.004bfab2
movsd dword es:[edi], dword [esi]
jno 0x4bff57
and byte [edx - 0x3a], 0x45
sbb dword [ebx - 0x3a], 0x45
test byte [ecx - 0x3a], bh
inc ebp
test dword [edx - 0x3a], esi
inc ebp
xchg byte [ebx - 0x3a], ah
inc ebp
xchg dword [edx - 0x3a], edi
inc ebp
mov byte [ebx - 0x3a], dh
inc ebp
mov dword [esi - 0x3a], ebx
inc ebp
mov dh, byte [edi - 0x3a]
inc ebp
mov edi, dword [eax - 0x3a]
inc ebp
invalid
or al, 0x8d
test dword [edi + edi*8 - 1], edi
call dword [eax - 0x18]
sbb al, 0xfb
invalid

Function at 0x4bffc3
Capabilities:
Inspect section memory permissions

Disassembly:
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x4c02ab
invalid
mov ch, 0x4c
invalid
invalid