joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410c20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474193
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0042e36f
lea ebx, [esi + 0x10]
mov dword [esi], vtable.BCMenuMemDC.0
mov dword [ebp - 4], 0
mov dword [ebx + 4], 0
mov dword [ebx], vtable.CBitmap.0
push dword [ebp + 0xc]
lea eax, [esi + 0x20]
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_CopyRect]
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], 0
cmp dword [edi + 0xc], eax
sete al
mov dword [esi + 0x30], eax
test eax, eax
je 0x410cec
push dword [edi + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.0042e856
mov ecx, dword [esi + 0x2c]
sub ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x28]
sub eax, dword [esi + 0x20]
push ecx
push eax
push dword [edi + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebx
call fcn.0042eb28
test ebx, ebx
jne 0x410cca
xor eax, eax
jmp 0x410ccd
mov eax, dword [ebx + 4]
push eax
push dword [esi + 4]
call fcn.0042ebb7
push dword [esi + 0x24]
mov dword [esi + 0x18], eax
push dword [esi + 0x20]
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.0042e48b
jmp 0x410cfe
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x415c30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
cmp dword [0x4a4804], 0
jne 0x415d45
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftPlus_ThemesCurrent
push reloc.WS2_32.dll_accept
mov dword [0x4a4804], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x415d45
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push dword [ebp - 4]
mov dword [ebp - 0xc], 0x104
mov dword [ebp - 8], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x415d3c
movq xmm0, qword [str.Windows_Classic.theme]
mov eax, dword [0x47f628]
movq qword [ebp - 0x38], xmm0
movq xmm0, qword [0x47f608]
movq qword [ebp - 0x30], xmm0
movq xmm0, qword [0x47f610]
movq qword [ebp - 0x28], xmm0
movq xmm0, qword [0x47f618]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x10], eax
movq qword [ebp - 0x20], xmm0
movq xmm0, qword [0x47f620]
lea eax, [ebp - 0x254]
push eax
movq qword [ebp - 0x18], xmm0
call edi
mov esi, eax
lea eax, [ebp - 0x38]
push eax
call edi
cmp esi, eax
jl 0x415d3a
lea eax, [ebp - 0x38]
push eax
push eax
call edi
sub esi, eax
lea eax, [ebp - 0x254]
lea eax, [eax + esi*2]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ecx, dword [0x4a4800]
mov edx, 1
test eax, eax
cmove ecx, edx
mov dword [0x4a4800], ecx
pop edi
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x4a4800]
mov esp, ebp
pop ebp
ret

Function at 0x415f70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.00415f80

Function at 0x416440
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
call fcn.0042df99
movzx esi, word [ebp + 8]
mov ebx, dword [eax + 0xc]
push 2
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x41647b
push 2
push esi
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x41647b
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 8], eax
test eax, eax
je 0x416474
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x416474
push eax
call fcn.00416940
add esp, 4
movzx esi, ax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp esi, 0x10
jne 0x416474
push 0
push edi
push ebx
call fcn.0043876c
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4194c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0043affc
Function at 0x41d570
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x476838
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push edi
push 0x2273
push 0
push 0x482964
push dword [0x4a46c8]
call fcn.0046a660
mov eax, dword [0x4a46c8]
add eax, 0xfffffff0
push eax
call fcn.00402a30
add eax, 0x10
add esp, 0x14
mov dword [ebp - 0x10], eax
push 0x479cd0
push 0x47e5ac
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.00408880
push 0x479cd0
push str..rar
lea ecx, [ebp - 0x10]
call fcn.00408880
mov edi, dword [ebp - 0x10]
push edi
call fcn.00404280
add esp, 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 1
push edi
push dword [0x4a46c8]
call fcn.00410050
add esp, 0xc
test eax, eax
jne 0x41d621
push eax
push 0x483404
push 0x484688
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push ebx
or ebx, 0xffffffff
cmp dword [0x4a3eb4], 0
jne 0x41d6ca
call fcn.00429930
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x41d64e
push 0x80004005
call fcn.00402670
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x484258
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.00402190
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00401e70
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41d6a1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push esi
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esi, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41d6c9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
pop esi
push edi
call fcn.00404410
add edi, 0xfffffff0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
pop ebx
jg 0x41d6f2
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x427750
Capabilities:
Create process on windows
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x476698
push eax
mov dword fs:[0], esp
sub esp, 0x204
call fcn.00429930
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x42778a
push 0x80004005
call fcn.00402670
mov eax, dword [edx]
push esi
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0
push 0x26
lea eax, [ebp - 0x210]
push eax
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x10]
push str._sInternet_ExplorerIEXPLORE.EXE
push eax
call fcn.00405230
mov esi, dword [ebp - 0x10]
add esp, 0xc
push 1
push 0
push dword [ebp + 8]
push esi
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x427800
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x427940
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x476698
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
push 0x2265
push 0
push 0x482964
push dword [0x4a46cc]
call fcn.0046a660
mov eax, dword [0x4a46cc]
add eax, 0xfffffff0
push eax
call fcn.00402a30
add eax, 0x10
add esp, 0x14
mov dword [ebp - 0x10], eax
push 0x479cd0
push 0x47e5ac
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.00408880
push 0x479cd0
push str..rar
lea ecx, [ebp - 0x10]
call fcn.00408880
mov esi, dword [ebp - 0x10]
push esi
call fcn.00404280
add esp, 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 1
push esi
push dword [0x4a46cc]
call fcn.00410050
add esp, 0xc
test eax, eax
jne 0x4279f4
push eax
push 0x483404
push str.S1Y_
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
xor edi, edi
jmp 0x4279f9
mov edi, 1
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x427a1a
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x427df0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x474eb0
push eax
mov dword fs:[0], esp
sub esp, 0x54
cmp dword [0x4a4b78], 1
je 0x42800a
push esi
lea eax, [ebp - 0x34]
push eax
mov dword [0x4a4b78], 1
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0
lea eax, [ebp - 0x24]
push 1
push eax
call fcn.004675d0
movzx edx, word [ebp - 0x24]
movzx ecx, word [ebp - 0x22]
imul edx, edx, 0x16d
mov eax, ecx
shl eax, 4
sub eax, ecx
movzx ecx, word [ebp - 0x32]
lea esi, [edx + eax*2]
movzx edx, word [ebp - 0x34]
movzx eax, word [ebp - 0x1e]
imul edx, edx, 0x16d
add esi, eax
mov eax, ecx
shl eax, 4
sub eax, ecx
add esp, 0xc
lea ecx, [edx + eax*2]
movzx eax, word [ebp - 0x2e]
add ecx, eax
sub ecx, esi
cmp ecx, 3
jge 0x428009
push edi
xor esi, esi
push esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x60]
call fcn.0046a8d0
push esi
push str.tiptimes.txt
mov dword [ebp - 4], esi
call fcn.004651e0
add esp, 8
lea ecx, [ebp - 0x14]
push eax
call fcn.004016a0
push esi
push 0x40
push dword [ebp - 0x14]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.0046a9a0
or edi, 0xffffffff
test eax, eax
je 0x427f3c
call fcn.00429930
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x427ee1
push 0x80004005
call fcn.00402670
mov eax, dword [ecx]
push ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.0046acf0
push dword [ebp - 0x10]
call fcn.0044d6f3
add esp, 4
lea ecx, [ebp - 0x60]
mov esi, eax
call fcn.0046a970
mov ebx, dword [ebp - 0x10]
add ebx, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [ebx + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427f32
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
pop ebx
cmp esi, 3
jge 0x427fdb
cmp dword [0x4a3eb4], 0
push 0
push 0x4858fc
je 0x427f53
push 0x485920
jmp 0x427f58
push 0x485a00
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
push 0
push 0
push str.http:__bbs.cfxy.me_thread_427_1_1.html
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
push 0x1001
push dword [ebp - 0x14]
lea ecx, [ebp - 0x60]
inc esi
call fcn.0046a9a0
test eax, eax
je 0x427fdb
lea ecx, [ebp - 0x10]
call fcn.00401760
push esi
lea eax, [ebp - 0x10]
push 0x4827d0
push eax
mov byte [ebp - 4], 3
call fcn.00405230
mov esi, dword [ebp - 0x10]
add esp, 0xc
lea ecx, [ebp - 0x60]
push esi
call fcn.0046b060
lea ecx, [ebp - 0x60]
call fcn.0046a970
add esi, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x427fdb
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
pop edi
jg 0x427ffa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
call fcn.0046a910
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x43550e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x435555
call fcn.0042df99
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x435555
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x435571
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00435086
mov esi, eax
test edi, edi
je 0x43556f
test ebx, ebx
je 0x43556f
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x435de5
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x475372
call fcn.0044fc07
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x435e0a
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x435e50
lea ecx, [ebp - 0x10]
call fcn.00401760
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004294bc
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00408740
mov eax, esi
call fcn.0044fcdf
ret 8

Function at 0x439601
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 4], ecx
call fcn.0042df99
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x43962e
xor eax, eax
jmp 0x4396d4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x439627
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x439627
movzx eax, word [esi + 6]
push ebx
push edi
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00429324
pop ecx
mov edi, eax
xor ecx, ecx
xor eax, eax
cmp cx, word [esi + 6]
jae 0x439685
lea ecx, [esi + 8]
movzx edx, word [ecx]
mov dword [edi + eax*4], edx
movzx edx, word [esi + 6]
inc eax
inc ecx
inc ecx
cmp eax, edx
jl 0x439674
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.00438315
push edi
mov ebx, eax
call fcn.00429353
pop ecx
test ebx, ebx
je 0x4396c7
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
lea esi, [ecx + 7]
mov ecx, dword [ebp - 4]
push eax
lea edx, [eax + 7]
push esi
push edx
call fcn.00438a16
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.00438aca
mov ebx, eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, ebx
pop ebx
pop esi
leave
ret 4
Function at 0x43cd8d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x43cdd5
call fcn.0042df99
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x43cdd5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x43ce18
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x43ce01
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x43ce01
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x43ce15
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x43f321
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x43f353
push dword [ebp + 8]
call edi
push eax
call fcn.0043ec49
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx + 0x20]
cmp eax, dword [ebp - 4]
je 0x43f37e
test byte [ebp - 4], 1
je 0x43f37e
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x43f37e
push dword [ebp + 8]
call edi
push eax
call fcn.0043ec49
lea eax, [ebx + 8]
mov ecx, dword [eax]
or ecx, dword [eax + 4]
je 0x43f438
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.0043f283
pop ecx
lea eax, [ebx + 0x10]
pop ecx
mov ecx, dword [eax]
or ecx, dword [eax + 4]
je 0x43f3b4
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.0043f283
pop ecx
lea eax, [ebp - 0x10]
pop ecx
mov dword [ebp - 8], eax
mov eax, dword [ebx]
or eax, dword [ebx + 4]
je 0x43f3ca
lea eax, [ebp - 0x18]
push eax
push ebx
call fcn.0043f283
pop ecx
pop ecx
lea esi, [ebp - 0x18]
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x43f3f7
push dword [ebp + 8]
call edi
push eax
call fcn.0043ec49
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 8]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x43f423
call edi
push ebx
mov dword [ebp - 8], eax
call esi
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.0043ec49
push ebx
call esi
test eax, eax
jne 0x43f435
push dword [ebp + 8]
call edi
push eax
call fcn.0043ec49
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx + 0x20]
cmp eax, dword [ebp - 4]
je 0x43f460
test byte [ebp - 4], 1
jne 0x43f460
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x43f460
push dword [ebp + 8]
call edi
push eax
call fcn.0043ec49
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x44fbf8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a241c]
jne 0x44fc02
repz ret
jmp fcn.0045b35c
Function at 0x45c132
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00453629
and dword [ebp - 4], 0
cmp dword [0x4a76c8], 0
mov ebx, eax
jne 0x45c1e3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x45c294
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x45c294
push eax
call fcn.004535b7
mov dword [esp], 0x48b344
push edi
mov dword [0x4a76c8], eax
call esi
push eax
call fcn.004535b7
mov dword [esp], 0x48b330
push edi
mov dword [0x4a76cc], eax
call esi
push eax
call fcn.004535b7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4a76d0], eax
call esi
push eax
call fcn.004535b7
pop ecx
mov dword [0x4a76d8], eax
test eax, eax
je 0x45c1e3
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004535b7
pop ecx
mov dword [0x4a76d4], eax
mov eax, dword [0x4a76d4]
cmp eax, ebx
je 0x45c23b
cmp dword [0x4a76d8], ebx
je 0x45c23b
push eax
call fcn.00453632
push dword [0x4a76d8]
mov esi, eax
call fcn.00453632
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x45c23b
test edi, edi
je 0x45c23b
call esi
test eax, eax
je 0x45c232
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45c232
test byte [ebp - 0xc], 1
jne 0x45c23b
or dword [ebp + 0x10], 0x200000
jmp 0x45c274
mov eax, dword [0x4a76cc]
cmp eax, ebx
je 0x45c274
push eax
call fcn.00453632
pop ecx
test eax, eax
je 0x45c274
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x45c274
mov eax, dword [0x4a76d0]
cmp eax, ebx
je 0x45c274
push eax
call fcn.00453632
pop ecx
test eax, eax
je 0x45c274
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4a76c8]
call fcn.00453632
pop ecx
test eax, eax
je 0x45c294
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x45c296
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4651e0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x476698
push eax
mov dword fs:[0], esp
sub esp, 0x604
lea eax, [ebp - 0x610]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.00429930
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x46522d
push 0x80004005
call fcn.00402670
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x610]
mov dword [ebp - 4], 0
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x465250
push ebx
push esi
sub ecx, edx
push edi
sar ecx, 1
push ecx
lea eax, [ebp - 0x610]
push eax
lea ecx, [ebp - 0x10]
call fcn.00402570
push 7
push 0x48cf7c
lea ecx, [ebp - 0x10]
call fcn.00402570
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
test eax, eax
jne 0x465336
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push esi
call ebx
test eax, eax
jne 0x465336
push 0x48cf78
push 0x479cd0
call fcn.0044cda3
add esp, 8
test eax, eax
lea eax, [ebp - 0x210]
jne 0x4652ea
push 0x100
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x210]
push 0x5c
push eax
call fcn.0044ede1
add esp, 8
add eax, 2
push 0x479cd0
push eax
call edi
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
jmp 0x465300
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x465300
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x10]
call fcn.00408f60
push 6
push str.CFSoft
lea ecx, [ebp - 0x10]
call fcn.00402570
mov esi, dword [ebp - 0x10]
push 0
push esi
call ebx
push esi
lea eax, [ebp - 0x410]
push eax
call edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
test eax, eax
je 0x465361
push 0x47da80
lea eax, [ebp - 0x410]
push eax
call ebx
push dword [ebp + 8]
lea eax, [ebp - 0x410]
push eax
call ebx
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x46537e
lea ecx, [ebp - 0x410]
push ecx
push eax
call edi
lea eax, [ebp - 0x410]
push eax
push 0x4a7bb0
call edi
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4653ad
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 0x4a7bb0
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret