joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b634a
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc8
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xcc8], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
mov dword [edi], vtable.NET_UTIL::CQueryWhite.0
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [0x577c88]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x542334
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
and dword [edi + 0x20], 0
lea eax, [ebp - 0x20c]
push eax
call fcn.004125ba
mov dword [edi + 0x1c], eax
pop ecx
test eax, eax
je 0x4b650a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.QueryFileCreate
push eax
call esi
push str.QueryFileClose
push dword [edi + 0x1c]
mov dword [edi + 4], eax
call esi
push str.QueryFilesEx2
push dword [edi + 0x1c]
mov dword [edi + 8], eax
call esi
push str.QueryFileCancel
push dword [edi + 0x1c]
mov dword [edi + 0xc], eax
call esi
push str.QuerySetOption
push dword [edi + 0x1c]
mov dword [edi + 0x10], eax
call esi
xor ecx, ecx
mov dword [edi + 0x14], eax
cmp dword [edi + 4], ecx
je 0x4b650c
cmp dword [edi + 8], ecx
je 0x4b650c
cmp dword [edi + 0xc], ecx
je 0x4b650c
cmp dword [edi + 0x10], ecx
je 0x4b650c
test eax, eax
je 0x4b650c
mov esi, 0xab8
lea eax, [ebp - 0xcc4]
push esi
push ecx
push eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 0x14]
add esp, 0xc
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0xcc0]
mov dword [ebp - 0xcc4], esi
push dword [ebp + 0x10]
push 0x104
push eax
call fcn.00418e21
mov esi, dword [ebp - 0xcc8]
lea eax, [ebp - 0xab8]
push esi
push 0x1e
push eax
call fcn.00418e21
push ebx
push 0x1e
lea eax, [ebp - 0xa7c]
push eax
call fcn.00418e21
lea eax, [ebp - 0xcc4]
mov dword [ebp - 0xa40], 0x3200000
push eax
call dword [edi + 4]
mov dword [edi + 0x18], eax
pop ecx
test eax, eax
je 0x4b650a
lea ecx, [ebp - 0xcc8]
mov dword [ebp - 0xcc8], 4
push ecx
push 7
push eax
call dword [edi + 0x14]
push str.dump
push esi
call sub.msvcrt.dll_wcscmp
add esp, 0x14
test eax, eax
jne 0x4b6531
push str.client
push ebx
call sub.msvcrt.dll_wcscmp
pop ecx
pop ecx
test eax, eax
jne 0x4b6531
lea eax, [ebp - 0xcc8]
push eax
push 0x23
push dword [edi + 0x18]
call dword [edi + 0x14]
add esp, 0xc
jmp 0x4b6531
xor ecx, ecx
cmp dword [edi + 0x1c], 0
mov dword [edi + 0x18], ecx
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], ecx
je 0x4b6531
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
and dword [edi + 0x1c], 0
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret 0x10
Function at 0x4b76cf
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x2b8]
push edi
mov edi, 0x2b4
push edi
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x2b8]
push dword [ebp + 0xc]
push edi
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
pop edi
pop esi
test eax, eax
je 0x4b7720
mov eax, dword [ebp - 0x2b4]
jmp 0x4b7723
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00522d04
leave
ret

Function at 0x4b775b
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
xor eax, eax
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x434
push dword [ebx - 0x1c]
mov dword [ebx + 0x10c], eax
mov dword [ebx + 0x100], eax
mov dword [ebx + 0x108], eax
mov dword [ebx + 0x110], eax
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call esi
push 0x435
push dword [ebx - 0x1c]
call edi
push 5
push eax
call esi
push 0
push dword [ebx + 0x14]
call esi
call fcn.00403a64
push eax
lea ecx, [ebp - 4]
call fcn.00402a6b
lea eax, [ebp - 8]
push eax
call fcn.004360ef
pop ecx
push 0x8b
lea ecx, [ebp - 0xc]
mov esi, dword [eax]
call fcn.00402af5
push dword [eax]
lea eax, [ebp - 4]
push esi
push eax
call fcn.00415254
mov ecx, dword [ebp - 8]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.004042e9
push 0x434
push dword [ebx - 0x1c]
call edi
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
xor ecx, ecx
push 1
push ecx
push ecx
push 0x96
push 0x78
push ecx
push eax
call esi
push 0x435
push dword [ebx - 0x1c]
call edi
push 1
xor edi, edi
push edi
push edi
push 0xa0
push 0xaa
push edi
push eax
call esi
push 0xb2
lea ecx, [ebp - 0xc]
call fcn.00402af5
push dword [eax]
push 0x435
push dword [ebx - 0x1c]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.004042e9
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebx - 0x20]
push eax
push 0x4b8ae7
push edi
push edi
call sub.msvcrt.dll__beginthreadex
mov ecx, dword [ebp - 4]
add esp, 0x18
add ecx, 0xfffffff0
mov dword [ebx + 0x104], eax
call fcn.004042e9
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 8
Function at 0x4b7897
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov esi, ecx
lea ecx, [ebp - 0x10]
push 0
call fcn.004269a9
push 0x42e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
lea ecx, [esi + 0x30]
call fcn.0046db4e
push 0
push 0x200000
push 0
lea ecx, [esi + 0x34]
call fcn.0041a732
push 0
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
lea ecx, [esi + 0x30]
call fcn.0046deca
and dword [ebp - 4], 0
mov eax, esi
push 0x434
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
lea ecx, [ebp - 4]
call fcn.0041bc70
mov esi, dword [ebp - 4]
test esi, esi
je 0x4b793e
push str.safemon_skin_browserfixSearching.png
push dword [0x577c88]
lea eax, [ebp - 8]
push eax
call fcn.0041bbfe
mov ecx, dword [esi]
add esp, 0xc
push 0
push 1
push 0x64
push 0xa
push dword [eax]
push esi
call dword [ecx + 0x14]
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov edx, dword [ebp - 0xc]
pop edi
pop esi
test edx, edx
je 0x4b7950
push dword [ebp - 0x10]
mov ecx, dword [edx]
push edx
call dword [ecx + 0x14]
xor eax, eax
inc eax
leave
ret 8
Function at 0x4b9177
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push ebx
mov ebx, ecx
jne 0x4b918a
xor eax, eax
jmp 0x4b9211
push esi
push edi
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.00402af5
mov esi, dword [ebp + 8]
cmp dword [esi - 0xc], 0
je 0x4b91c5
cmp dword [esi - 0xc], 6
jl 0x4b91c5
push 0x603
push dword [ebx + 4]
xor edi, edi
inc edi
mov dword [ebx + 0x68], edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4b91fa
and dword [ebx + 0x68], 0
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x603
push dword [ebx + 4]
call edi
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x603
push dword [ebx + 4]
call edi
push 0x542920
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor edi, edi
push edi
push dword [ebx + 0x50]
mov ecx, ebx
call fcn.004baa79
lea ecx, [esi - 0x10]
call fcn.004042e9
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4b9ca3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
mov esi, ecx
lea ecx, [esi + 0x9c]
call fcn.004418fb
xor eax, eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
call fcn.00447b7f
mov ecx, eax
call fcn.004477d3
lea ecx, [esi + 0x34]
pop esi
jmp fcn.004d2564

Function at 0x4b9d32
Capabilities:
Hide graphical window

Disassembly:
push ebx
push edi
mov edi, ecx
mov ebx, 0x612
push ebx
push dword [edi + 4]
mov dword [edi + 0x64], 1
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x4c]
mov ecx, edi
call fcn.004baa79
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x542848
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
pop edi
xor eax, eax
pop ebx
ret 0x10
Function at 0x4b9d7e
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
test esi, esi
jne 0x4b9db7
xor eax, eax
inc eax
push eax
push dword [ebx + 0x4c]
mov dword [ebx + 0x64], eax
call fcn.004baa79
push 0x612
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4b9e51
cmp esi, 0xffffffff
jne 0x4b9dc8
mov dword [ebx + 0x64], 1
jmp 0x4b9e51
and dword [ebx + 0x64], 0
call fcn.00403a64
push eax
lea ecx, [ebp + 0xc]
call fcn.00402a6b
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.004b9419
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 4]
push 0x535164
push eax
call fcn.0041346d
add esp, 0x14
lea ecx, [ebp + 0xc]
push eax
call fcn.00402bd6
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.004042e9
push 0x612
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [ebp + 0xc]
push esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x612
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0x4c]
mov ecx, ebx
call fcn.004baa79
lea ecx, [esi - 0x10]
call fcn.004042e9
pop esi
xor eax, eax
pop ebx
leave
ret 0xc

Function at 0x4ba439
Capabilities:
Hide graphical window

Disassembly:
push ebx
push edi
mov edi, ecx
mov ebx, 0x603
push ebx
push dword [edi + 4]
mov dword [edi + 0x68], 1
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x50]
mov ecx, edi
call fcn.004baa79
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push str._._colorrgb_99_97_98___._620
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
pop edi
xor eax, eax
pop ebx
ret 0x10

Function at 0x4ba4c2
Capabilities:
Hide graphical window

Disassembly:
push ebx
push edi
mov edi, ecx
mov ebx, 0x604
push ebx
push dword [edi + 4]
mov dword [edi + 0x6c], 1
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x54]
mov ecx, edi
call fcn.004baa79
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push str._.___._
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
pop edi
xor eax, eax
pop ebx
ret 0x10
Function at 0x4bbc93
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0x220
mov eax, 0x524fa4
call fcn.004f3f50
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x22c], eax
mov edi, dword [ebp + 0x10]
test eax, eax
je 0x4bbdf9
xor ecx, ecx
cmp word [eax], cx
je 0x4bbdf9
test esi, esi
je 0x4bbdf9
cmp word [esi], cx
je 0x4bbdf9
xor ebx, ebx
inc ebx
mov dword [ebp - 0x224], ebx
push ecx
call dword [sym.imp.ole32.dll_CoInitialize]
xor ecx, ecx
mov dword [ebp - 4], ecx
lea eax, [ebp - 0x220]
push eax
push 0x54b3a8
push ebx
push ecx
push 0x54b438
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4bbdd9
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax]
lea edx, [ebp - 0x228]
push edx
push 0x54b3f8
push eax
call dword [ecx]
test eax, eax
js 0x4bbdcd
push 0x208
push 0
lea eax, [ebp - 0x21c]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x529ab8
push esi
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x50]
test eax, eax
js 0x4bbd81
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax]
lea edx, [ebp - 0x21c]
push edx
push eax
call dword [ecx + 0x24]
test eax, eax
js 0x4bbd81
mov dword [ebp - 0x224], ebx
test edi, edi
je 0x4bbda1
xor esi, esi
cmp word [edi], si
je 0x4bbda1
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x2c]
test eax, eax
jns 0x4bbda1
mov ebx, esi
jmp 0x4bbdbb
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax]
push ebx
push dword [ebp - 0x22c]
push eax
call dword [ecx + 0x18]
xor ebx, ebx
test eax, eax
setns bl
mov dword [ebp - 0x224], ebx
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
jmp 0x4bbdef
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
jmp 0x4bbdfb
xor eax, eax
call fcn.004f3eb0
ret 0xc
Function at 0x4bbe03
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x3ea
push esi
mov esi, ecx
jne 0x4bbf72
push ebx
push edi
xor ebx, ebx
push 0x3f5
push dword [esi - 0x1c]
cmp dword [esi + 0x10], ebx
je 0x4bbed3
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
cmp eax, 1
jne 0x4bbec3
mov edi, 0x208
lea eax, [ebp - 0x414]
push edi
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x414]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
lea eax, [ebp - 0x20c]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push ebx
push 0x10
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4bbec3
push str..360
lea eax, [ebp - 0x20c]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x542de8
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [esi - 0x20]
call fcn.004bbc93
mov ecx, dword [esi + 8]
push ebx
push 1
mov eax, dword [ecx]
call dword [eax + 0x10]
jmp 0x4bbf70
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
cmp eax, 1
jne 0x4bbf5b
mov edi, 0x208
lea eax, [ebp - 0x414]
push edi
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x414]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
lea eax, [ebp - 0x20c]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push ebx
push 0x10
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4bbf5b
push str..360
lea eax, [ebp - 0x20c]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x542de8
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [esi - 0x20]
call fcn.004bbc93
mov ecx, dword [esi + 8]
push ebx
push ebx
push 0x1dd6
mov edx, dword [ecx]
call dword [edx]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
inc eax
pop esi
call fcn.00522d04
leave
ret 4
Function at 0x4bbfc6
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x414]
push 0x410
xor esi, esi
mov ebx, ecx
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x414]
push 1
push 0x1a
push eax
push dword [ebx + 4]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.360safe360DiagnoseScan_
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push esi
lea eax, [ebp - 0x414]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov dword [ebp - 0x420], esi
cmp dword [ebp + 0xc], esi
jle 0x4bc0ce
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x418]
call fcn.00402af5
call fcn.00403a64
push eax
lea ecx, [ebp - 0x41c]
call fcn.00402a6b
push esi
push dword [ebx + 0x34]
lea eax, [ebp - 0x41c]
push str._d__d.png
push eax
call fcn.00415254
mov esi, dword [ebp - 0x41c]
lea ecx, [ebp - 0x418]
add esp, 0x10
push dword [esi - 0xc]
push esi
call fcn.00402d75
lea eax, [ebp - 0x418]
mov ecx, edi
push eax
call fcn.0042bc3f
lea ecx, [esi - 0x10]
call fcn.004042e9
mov ecx, dword [ebp - 0x418]
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov esi, dword [ebp - 0x420]
inc esi
mov dword [ebp - 0x420], esi
cmp esi, dword [ebp + 0xc]
jl 0x4bc044
lea esi, [ebx + 0x68]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x4bc116
lea eax, [ebp - 0x414]
push eax
call sub.msvcrt.dll_wcslen
pop ecx
push eax
lea eax, [ebp - 0x414]
mov ecx, esi
push eax
call fcn.00404550
mov ebx, str.promo_
push ebx
call sub.msvcrt.dll_wcslen
pop ecx
push eax
push ebx
mov ecx, esi
call fcn.00402d75
push 0
push dword [esi]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret 8
Function at 0x4bc5dd
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 0xc], 0x622
push edi
mov edi, ecx
jne 0x4bc669
push esi
lea eax, [edi + 0x60]
push eax
lea eax, [ebp - 4]
push 0x528004
push eax
call fcn.004db073
pop ecx
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.00413428
add esp, 0xc
push eax
lea eax, [ebp - 8]
push eax
call fcn.004133f1
mov ecx, dword [ebp + 0xc]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov esi, dword [ebp - 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4bc660
push esi
call fcn.00410bb8
pop ecx
test eax, eax
je 0x4bc660
push 0x1388
push 1
push 5
push dword [edi + 0x64]
push esi
call fcn.004c1899
add esp, 0x14
lea ecx, [esi - 0x10]
call fcn.004042e9
pop esi
pop edi
leave
ret 0xc

Function at 0x4bc718
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push ebx
lea ecx, [ebp - 0xc]
call fcn.004269a9
push 0x107
lea eax, [ebp - 4]
push 0x52ccb4
push eax
call fcn.00424092
add esp, 0xc
lea ecx, [edi + 0x20]
push 1
push dword [eax]
push 0x3e9
call fcn.004b535f
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov ecx, dword [edi + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x14]
sub eax, 0x19
neg eax
sbb eax, eax
inc eax
mov dword [edi + 0x30], eax
call fcn.0041bcb9
mov dword [edi + 0x78], eax
test eax, eax
je 0x4bc7bd
push str.safemon_skin_browserfixline_gradient.png
push dword [0x577c88]
lea eax, [ebp - 4]
push eax
call fcn.0041bbfe
mov ecx, dword [edi + 0x78]
add esp, 0xc
mov edx, dword [ecx]
push ebx
push dword [eax]
call dword [edx + 0xc]
mov ecx, dword [ebp - 4]
mov esi, eax
add ecx, 0xfffffff0
call fcn.004042e9
test esi, esi
jne 0x4bc7bd
mov ecx, dword [edi + 0x78]
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [edi + 0x78], ebx
push 0x623
lea eax, [ebp - 4]
push 0x52ccb4
push eax
call fcn.00424092
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 0xc
push 1
push 1
push dword [eax]
push ebx
mov ebx, 0x622
push ebx
push dword [edi + 4]
call esi
push eax
call fcn.0042067a
mov ecx, dword [ebp - 4]
add esp, 0x14
lea ecx, [ecx - 0x10]
call fcn.004042e9
push ebx
push dword [edi + 4]
call esi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 8]
pop edi
pop esi
pop ebx
test edx, edx
je 0x4bc821
push dword [ebp - 0xc]
mov ecx, dword [edx]
push edx
call dword [ecx + 0x14]
xor eax, eax
inc eax
leave
ret 8
Function at 0x4bd8fb
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 1
push esi
mov esi, ecx
jne 0x4bd95b
add dword [esi + 0x28], 0x19
mov eax, 0xff
push 2
cmp dword [esi + 0x28], eax
jle 0x4bd946
push eax
push 0
push dword [esi + 4]
mov dword [esi + 0x28], eax
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x4bd9de
movzx eax, byte [esi + 0x28]
push eax
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
jmp 0x4bd9de
cmp dword [ebp + 8], 3
jne 0x4bd9de
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x4bd9dd
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x4bd9d2
push 0x529d34
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4bd9c5
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x228], eax
jne 0x4bd9ed
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4bd9a1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00522d04
leave
ret 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 3
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, esi
call fcn.004bcf54
jmp 0x4bd9dd

Function at 0x4bda08
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
mov esi, dword [ebp + 0xc]
push edi
and dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov dword [ebp - 0x38], esi
mov word [ebx], ax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x34]
call fcn.004108e3
push 0
push esi
lea ecx, [ebp - 0x34]
call fcn.004bdbbe
mov esi, eax
or edi, 0xffffffff
cmp esi, edi
je 0x4bdaaa
mov eax, dword [ebp - 0x38]
add esi, dword [eax + 0x10]
cmp esi, dword [ebp - 0x24]
jae 0x4bdaaa
push esi
push 0x52bb0c
lea ecx, [ebp - 0x34]
call fcn.00423f35
cmp eax, edi
je 0x4bda78
mov edi, eax
sub edi, esi
and dword [ebp - 0xc], 0
lea ecx, [ebp - 0x1c]
xor eax, eax
mov dword [ebp - 8], 7
push edi
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x34]
push esi
push eax
call fcn.0045a364
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.004132cc
lea ecx, [ebp - 0x1c]
call fcn.00410d88
lea ecx, [ebp - 0x34]
call fcn.00410d88
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret 8
Function at 0x4be5fb
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov esi, ecx
lea ecx, [ebp - 8]
push 0
call fcn.004269a9
push 1
push 0
push 1
push dword [esi + 4]
lea ecx, [ebp - 0x20]
call fcn.00419f27
push 0x43c
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov edx, dword [ebp - 4]
pop esi
test edx, edx
je 0x4be652
push dword [ebp - 8]
mov ecx, dword [edx]
push edx
call dword [ecx + 0x14]
xor eax, eax
inc eax
leave
ret 8