joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10029226
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x10061e28
cmp edx, dword [eax]
je 0x10029248
add eax, 8
inc ecx
cmp eax, 0x10061eb8
jl 0x10029239
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x10061e28]
jne 0x10029376
mov eax, dword [0x100818fc]
cmp eax, 1
je 0x10029350
test eax, eax
jne 0x10029279
cmp dword [0x10081900], 1
je 0x10029350
cmp edx, 0xfc
je 0x10029376
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x100292b0
lea eax, [ebp - 0x1a4]
push 0x1004a888
push eax
call fcn.10027100
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.100288b0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x100292f3
lea eax, [ebp - 0x1a4]
push eax
call fcn.100288b0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x1004a884
push edi
call fcn.1002a7c0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x1004a868
push eax
call fcn.10027100
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.10027110
lea eax, [ebp - 0xa0]
push 0x1004a864
push eax
call fcn.10027110
push dword [esi + 0x10061e2c]
lea eax, [ebp - 0xa0]
push eax
call fcn.10027110
push 0x12010
lea eax, [ebp - 0xa0]
push 0x1004a83c
push eax
call fcn.1002e559
add esp, 0x2c
pop edi
jmp 0x10029376
lea eax, [ebp + 8]
lea esi, [esi + 0x10061e2c]
push 0
push eax
push dword [esi]
call fcn.100288b0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x100347e0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x100820d4]
mov ecx, dword [eax + 0x228]
test ecx, ecx
je 0x100347fa
mov ecx, dword [esp + 4]
mov dword [eax + 0x22c], ecx
ret
push str._nMIRACL_error_from_routine
call fcn.10034a20
add esp, 4
mov ecx, dword [0x100820d4]
mov eax, dword [ecx + 0x1c]
cmp eax, 0x18
jge 0x10034823
mov edx, dword [ecx + eax*4 + 0x20]
mov eax, dword [edx*4 + 0x100651cc]
push eax
jmp 0x10034828
push 0x10065df0
call fcn.10034a20
add esp, 4
push esi
push 0x10061ed8
push 0xa
call fcn.1003e538
mov ecx, dword [0x100820d4]
add esp, 8
mov esi, dword [ecx + 0x1c]
dec esi
js 0x1003489e
push edi
lea edi, [esi*4 + 0x20]
push str.______________called_from
call fcn.10034a20
add esp, 4
cmp esi, 0x18
jge 0x10034879
mov edx, dword [0x100820d4]
mov eax, dword [edi + edx]
mov ecx, dword [eax*4 + 0x100651cc]
push ecx
jmp 0x1003487e
push 0x10065df0
call fcn.10034a20
add esp, 4
push 0x10061ed8
push 0xa
call fcn.1003e538
add esp, 8
dec esi
sub edi, 4
test esi, esi
jge 0x10034854
pop edi
mov edx, dword [esp + 8]
pop esi
lea eax, [edx - 1]
cmp eax, 0x1b
ja case.default.0x100348af
jmp dword [eax*4 + 0x100349ac]
push str.Number_base_too_big_for_representation_n
jmp 0x1003499d
push str.Division_by_zero_attempted_n
jmp 0x1003499d
push str.Overflow___Number_too_big_n
jmp 0x1003499d
push str.Internal_result_is_negative_n
jmp 0x1003499d
push str.Input_format_error_n
jmp 0x1003499d
push str.Illegal_number_base_n
jmp 0x1003499d
push str.Illegal_parameter_usage_n
jmp 0x1003499d
push str.Out_of_space_n
jmp 0x1003499d
push str.Even_root_of_a_negative_number_n
jmp 0x1003499d
push str.Raising_integer_to_negative_power_n
jmp 0x1003499d
push str.Attempt_to_take_illegal_root_n
jmp 0x1003499d
push str.Integer_operation_attempted_on_Flash_number_n
jmp 0x1003499d
push str.Flash_overflow_n
jmp 0x1003499d
push str.Numbers_too_big_n
jmp 0x1003499d
push str.Log_of_a_non_positive_number_n
jmp 0x1003499d
push str.Flash_to_double_conversion_failure_n
jmp 0x1003499d
push str.I_O_buffer_overflow_n
jmp 0x1003499d
push str.MIRACL_not_initialised___no_call_to_mirsys___n
jmp 0x1003499d
push str.Illegal_modulus__n
jmp 0x1003499d
push str.No_modulus_defined_n
jmp 0x1003499d
push str.Exponent_too_big_n
jmp 0x1003499d
push str.Number_Base_must_be_power_of_2_n
jmp 0x1003499d
push str.Specified_double_length_type_isnt_double_length_n
jmp 0x1003499d
push str.Specified_basis_is_NOT_irreducible_n
jmp 0x1003499d
push str.Unable_to_control_Floating_point_rounding_n
jmp 0x1003499d
push str.Base_must_be_binary__MR_ALWAYS_BINARY_defined_in_mirdef.h____n
jmp 0x1003499d
push str.No_irreducible_basis_defined_n
jmp 0x1003499d
push str.Composite_modulus_n
jmp 0x1003499d
push str.Undefined_error_n
call fcn.10034a20
add esp, 4
push 0
call fcn.100262ea
mov dh, 0x48
add edx, dword [eax]
ror byte [eax + 3], 0x10
retf 840
Function at 0x401880
Capabilities:
Contain obfuscated stackstrings
Hide graphical window

Disassembly:
sub esp, 0x260
mov eax, dword [0x447004]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
mov eax, ecx
mov dword [esp + 8], edx
push ebp
mov dword [esp + 8], eax
mov dword [0x448e20], eax
lea eax, [esp + 0x20]
push esi
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x2c]
cdq
and edx, 3
push 0
push dword [esp + 0x10]
lea ebp, [edx + eax]
mov eax, dword [esp + 0x38]
cdq
and edx, 3
sar ebp, 2
push 0
push 0
lea ebx, [edx + eax]
mov eax, 0x140
sar ebx, 2
cmp ebp, eax
cmovl ebp, eax
mov eax, 0xc8
cmp ebx, eax
mov ecx, ebp
cmovl ebx, eax
mov eax, dword [esp + 0x3c]
cdq
sub eax, edx
shr ecx, 1
mov esi, eax
mov eax, dword [esp + 0x40]
cdq
push ebx
sar esi, 1
sub eax, edx
sub esi, ecx
sar eax, 1
push ebp
mov ecx, ebx
shr ecx, 1
sub eax, ecx
push eax
push esi
mov esi, dword [sym.imp.USER32.dll_CreateWindowExW]
push 0xca0000
push 0x448d58
push 0x448c90
push 0x300
call esi
mov dword [0x448c8c], eax
test eax, eax
jne 0x401953
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.00409353
add esp, 0x260
ret
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, 0x6b
mov dword [esp + 0x50], 0x650074
mov word [esp + 0x3c], ax
mov eax, 0x43
push 0x208
mov word [esp + 0x4a], ax
lea eax, [esp + 0x5c]
push 0
push eax
mov dword [esp + 0x4e], 0x65006e
mov dword [esp + 0x44], 0x630069
mov dword [esp + 0x60], 0x72
mov dword [esp + 0x58], 0x750070
mov dword [esp + 0x4a], 0x750054
mov dword [esp + 0x54], 0x6d006f
mov dword [esp + 0x40], 0x750051
call fcn.0040b160
add esp, 0xc
lea eax, [esp + 0x34]
push eax
push str._s_will_be_uninstalled._Click_Uninstall_to_start_the_uninstallation.
push 0xffffffffffffffff
lea eax, [esp + 0x64]
push 0x104
push eax
call fcn.00407420
mov eax, dword [esp + 0x30]
add esp, 0x14
add eax, 0xffffffec
push 0
push dword [0x448e20]
push 0
push dword [0x448c8c]
push 0x32
push eax
push 0xa
push 0xa
push 0x50000000
lea eax, [esp + 0x7c]
push eax
push str.Static
push 0
call esi
push 0
push dword [0x448e20]
mov dword [0x448c88], eax
mov eax, dword [esp + 0x28]
push 0x6a
push dword [0x448c8c]
add eax, 0xffffffd8
push 0x1e
push 0x46
push eax
mov eax, dword [esp + 0x38]
add eax, 0xffffff60
push eax
push 0x50000000
push str.Uninstall
push 0x4431b0
push 0
call esi
push 0
push dword [0x448e20]
mov dword [0x448c84], eax
mov eax, dword [esp + 0x28]
push 0x69
push dword [0x448c8c]
add eax, 0xffffffd8
push 0x1e
push 0x46
push eax
mov eax, dword [esp + 0x38]
add eax, 0xffffffb0
push eax
push 0x50000000
push str.Cancel
push str.Button
push 0
call esi
push dword [esp + 0x10]
mov dword [0x448c80], eax
push dword [0x448c8c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x448c8c]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [esp + 0x264]
mov eax, 1
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00409353
add esp, 0x260
ret
Function at 0x402640
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x234
mov eax, dword [0x447004]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
push ebx
push 2
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x4026e3
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x4026dc
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
nop
push esi
lea eax, [esp + 0x3c]
push eax
call ebp
test eax, eax
jne 0x4026b3
push dword [esp + 0x1c]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x4026c6
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x402690
jmp 0x4026db
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 1
pop ebp
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x23c]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00409353
add esp, 0x234
ret
Function at 0x4037f0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x464
mov eax, dword [0x447004]
xor eax, esp
mov dword [esp + 0x460], eax
push ebx
push esi
push edi
mov edi, ecx
lea eax, [esp + 0x260]
push edi
push 0x208
push eax
call fcn.0041c911
push 0x4432bc
lea eax, [esp + 0x270]
push 0x208
push eax
call fcn.0041c83c
add esp, 0x18
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ebx, eax
nop word [eax + eax]
mov ecx, 0x4432c4
lea eax, [esp + 0x3c]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x403896
test dx, dx
je 0x403892
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x403896
add eax, 4
add ecx, 4
test dx, dx
jne 0x403870
xor eax, eax
jmp 0x40389b
sbb eax, eax
or eax, 1
test eax, eax
je 0x403995
mov eax, 0x4432c8
lea ecx, [esp + 0x3c]
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4038d6
test dx, dx
je 0x4038d2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4038d6
add ecx, 4
add eax, 4
test dx, dx
jne 0x4038b0
xor eax, eax
jmp 0x4038db
sbb eax, eax
or eax, 1
test eax, eax
je 0x403995
push edi
lea eax, [esp + 0x264]
push 0x208
push eax
call fcn.0041c911
push 0x4432d0
lea eax, [esp + 0x270]
push 0x208
push eax
call fcn.0041c83c
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x27c]
push 0x208
push eax
call fcn.0041c83c
mov eax, dword [esp + 0x34]
add esp, 0x24
test al, 0x10
je 0x40395d
lea eax, [esp + 0x260]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryEmptyW]
test eax, eax
jne 0x40394d
lea ecx, [esp + 0x260]
call fcn.004037f0
lea eax, [esp + 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x403984
test al, 1
je 0x403976
lea eax, [esp + 0x260]
push 0x80
push eax
call fcn.0041c975
add esp, 8
lea eax, [esp + 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x403995
push 4
push eax
lea eax, [esp + 0x268]
push eax
call esi
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x403860
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4039c1
push 4
push eax
push edi
call esi
mov ecx, dword [esp + 0x46c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00409353
mov esp, ebp
pop ebp
ret
Function at 0x403a00
Capabilities:
Check http status code
Contain obfuscated stackstrings
Send data
Send http request

Disassembly:
sub esp, 0x34
mov eax, dword [0x447004]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
xor eax, eax
mov dword [esp + 0x28], 0x6f0067
push 1
push 0x1bb
xor bl, bl
mov word [esp + 0x44], ax
sub esp, 0x18
mov dword [esp + 0x40], 0x770077
mov edx, esp
mov dword [esp + 0x44], 0x2e0077
mov esi, ecx
mov dword [esp + 0x50], 0x65006c
mov dword [esp + 0x54], 0x63002e
mov dword [esp + 0x58], 0x6d006f
mov dword [edx], eax
mov dword [edx + 0x10], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x4c], 0x67006f
lea edi, [eax + 2]
mov dword [edx + 0x14], 7
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x403a74
sub eax, edi
mov ecx, edx
sar eax, 1
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00407760
mov ecx, esi
call fcn.00406420
mov al, byte [esi + 0x18]
mov ebp, dword [sym.imp.WININET.dll_InternetCloseHandle]
test al, al
je 0x403ba1
push 3
push 0x4433ac
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 7
call fcn.00407760
cmp dword [esp + 0x34], 8
lea eax, [esp + 0x20]
push 0
cmovae eax, dword [esp + 0x24]
push 0x4883000
push 0
push 0
push 0x44344c
push 0x443460
push eax
push dword [esi + 0x20]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
lea ecx, [esp + 0x20]
mov edi, eax
call fcn.00406760
test edi, edi
je 0x403b89
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 4
push eax
lea eax, [esp + 0x14]
push eax
push 0x1f
push edi
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
or dword [esp + 0x10], 0x180
lea eax, [esp + 0x10]
push 4
push eax
push 0x1f
push edi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
push 0
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], 0
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], 4
push eax
push 0x20000013
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
cmp dword [esp + 0x14], 0xc8
mov eax, 1
movzx ebx, bl
cmove ebx, eax
push edi
call ebp
mov al, byte [esi + 0x18]
test al, al
je 0x403ba1
push dword [esi + 0x20]
call ebp
push dword [esi + 0x1c]
call ebp
mov byte [esi + 0x18], 0
mov ecx, dword [esp + 0x40]
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00409353
add esp, 0x34
ret
Function at 0x4053c0
Capabilities:
Delete registry value

Disassembly:
sub esp, 8
mov eax, dword [0x447004]
xor eax, esp
mov dword [esp + 4], eax
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
push 2
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4053fd
push esi
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [esp + 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 8]
pop esi
xor ecx, esp
call fcn.00409353
add esp, 8
ret

Function at 0x405460
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x447004]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push esi
push edi
mov esi, edx
mov ebx, ecx
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x4054ae
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4054c8
cmp eax, 2
jne 0x40558b
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.00409353
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [esi + eax*2 - 2], 0x5c
lea edi, [esi + eax*2]
je 0x4054ea
mov eax, 0x5c
mov word [edi], ax
add edi, 2
xor eax, eax
mov word [edi], ax
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0x104
push eax
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x34]
push eax
push 0
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x40556b
xor eax, eax
mov word [edi], ax
lea eax, [esp + 0x20]
push 0xffffffffffffffff
push eax
push 0x208
push esi
call fcn.0041cae5
add esp, 0x10
mov edx, esi
mov ecx, ebx
call fcn.00405460
test eax, eax
je 0x40556b
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0x104
push eax
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x34]
push eax
push 0
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x405517
xor eax, eax
mov word [edi - 2], ax
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x4054ae
mov ecx, dword [esp + 0x22c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00409353
mov esp, ebp
pop ebp
ret
Function at 0x4055b0
Capabilities:
Contain obfuscated stackstrings
Get common file path
Get program files directory

Disassembly:
sub esp, 0x438
mov eax, dword [0x447004]
xor eax, esp
mov dword [esp + 0x434], eax
mov eax, 0x6b
mov dword [esp + 4], 0x630069
mov word [esp + 8], ax
mov edx, 0x75
push 0x443398
lea eax, [esp + 4]
mov dword [esp + 0x1a], 0x70006d
push eax
mov dword [esp + 8], 0x750051
mov dword [esp + 0x16], 0x65006e
mov dword [esp + 0x12], 0x750054
mov dword [esp + 0x24], 0x650074
mov dword [esp + 0x1a], 0x6f0043
mov dword [esp + 0x28], 0x72
mov word [esp + 0x22], dx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x405788
push esi
push edi
push 0x208
lea eax, [esp + 0x238]
push 0
push eax
call fcn.0040b160
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x240]
add esp, 0xc
push 0
push 0x2a
push eax
push 0
call esi
lea edx, [esp + 8]
lea ecx, [esp + 0x234]
call fcn.004057a0
push 0x208
lea eax, [esp + 0x30]
push 0
push eax
call fcn.0040b160
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x244]
push eax
push 0x4432d4
push 0xffffffffffffffff
lea eax, [esp + 0x48]
push 0x104
push eax
call fcn.00407420
mov edi, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
lea eax, [esp + 0x50]
add esp, 0x24
push eax
call edi
test eax, eax
je 0x4056c0
lea ecx, [esp + 0x2c]
call fcn.004037f0
push 0
push 0x23
lea eax, [esp + 0x23c]
push eax
push 0
call esi
push 0x208
lea eax, [esp + 0x30]
push 0
push eax
call fcn.0040b160
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x244]
push eax
push 0x4432d4
push 0xffffffffffffffff
lea eax, [esp + 0x48]
push 0x104
push eax
call fcn.00407420
add esp, 0x24
lea eax, [esp + 0x2c]
push eax
call edi
test eax, eax
je 0x40571b
lea ecx, [esp + 0x2c]
call fcn.004037f0
push 0
push 0x1c
lea eax, [esp + 0x23c]
push eax
push 0
call esi
lea edx, [esp + 8]
lea ecx, [esp + 0x234]
call fcn.004057a0
push 0x208
lea eax, [esp + 0x30]
push 0
push eax
call fcn.0040b160
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x244]
push eax
push 0x4432d4
push 0xffffffffffffffff
lea eax, [esp + 0x48]
push 0x104
push eax
call fcn.00407420
add esp, 0x24
lea eax, [esp + 0x2c]
push eax
call edi
pop edi
pop esi
test eax, eax
je 0x405788
lea ecx, [esp + 0x24]
call fcn.004037f0
mov ecx, dword [esp + 0x434]
xor ecx, esp
call fcn.00409353
add esp, 0x438
ret
Function at 0x4057a0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x20c
mov eax, dword [0x447004]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
push ebp
push esi
push edi
push 0x208
lea eax, [esp + 0x14]
mov ebp, edx
push 0
push eax
mov ebx, ecx
call fcn.0040b160
push str.OpenSans_Semibold.ttf
push ebp
push ebx
push str._s_s_s
push 0xffffffffffffffff
lea eax, [esp + 0x30]
push 0x104
push eax
call fcn.00407420
add esp, 0x28
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [sym.imp.GDI32.dll_RemoveFontResourceW]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
test eax, eax
je 0x405816
lea eax, [esp + 0x10]
push eax
call esi
push 0xfa
call edi
push 0x208
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0040b160
push str.OpenSans_Regular.ttf
push ebp
push ebx
push str._s_s_s
push 0xffffffffffffffff
lea eax, [esp + 0x30]
push 0x104
push eax
call fcn.00407420
add esp, 0x28
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x405864
lea eax, [esp + 0x10]
push eax
call esi
push 0xfa
call edi
push 0x208
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0040b160
push str.OpenSans_Italic.ttf
push ebp
push ebx
push str._s_s_s
push 0xffffffffffffffff
lea eax, [esp + 0x30]
push 0x104
push eax
call fcn.00407420
add esp, 0x28
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4058b2
lea eax, [esp + 0x10]
push eax
call esi
push 0xfa
call edi
push 0x208
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0040b160
push str.OpenSans_Bold.ttf
push ebp
push ebx
push str._s_s_s
push 0xffffffffffffffff
lea eax, [esp + 0x30]
push 0x104
push eax
call fcn.00407420
add esp, 0x28
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x405900
lea eax, [esp + 0x10]
push eax
call esi
push 0xfa
call edi
mov ecx, dword [esp + 0x218]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00409353
add esp, 0x20c
ret
Function at 0x4059a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x250
mov eax, dword [0x447004]
xor eax, esp
mov dword [esp + 0x24c], eax
push ebx
push esi
mov esi, ecx
push 0x44327c
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x405b3d
push 0x208
lea eax, [esp + 0x4c]
push 0
push eax
call fcn.0040b160
add esp, 0xc
mov dword [esp + 8], 0
lea eax, [esp + 8]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x405abe
mov eax, 0x72
mov dword [esp + 0x30], 0x500067
mov word [esp + 0x34], ax
mov eax, 0x53
mov word [esp + 0x24], ax
mov eax, 0x75
mov word [esp + 0x2e], ax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x3a], 0x760069
push eax
push 0
mov dword [esp + 0x36], 0x620065
mov dword [esp + 0x32], 0x440065
mov dword [esp + 0x4e], 0x65
mov dword [esp + 0x4a], 0x670065
mov dword [esp + 0x46], 0x6c0069
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x405abe
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push 0
push 0
push 0x10
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push eax
push 0
push dword [esp + 0x1c]
mov dword [esp + 0x2c], 1
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
test eax, eax
je 0x405abe
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push str._s.exe
push 0xffffffffffffffff
lea eax, [esp + 0x54]
push 0x104
push eax
call fcn.00407420
add esp, 0x14
lea ecx, [esp + 0x48]
call fcn.00402640
push esi
push str._sUpdater.exe
push 0xffffffffffffffff
test eax, eax
lea eax, [esp + 0x54]
push 0x104
push eax
jne 0x405b53
call fcn.00407420
add esp, 0x14
lea ecx, [esp + 0x48]
call fcn.00402640
test eax, eax
jne 0x405b5b
push esi
push str.R_s.exe
push 0xffffffffffffffff
lea eax, [esp + 0x54]
push 0x104
push eax
call fcn.00407420
add esp, 0x14
lea ecx, [esp + 0x48]
call fcn.00402640
test eax, eax
jne 0x405b75
xor eax, eax
pop esi
pop ebx
mov ecx, dword [esp + 0x24c]
xor ecx, esp
call fcn.00409353
mov esp, ebp
pop ebp
ret
call fcn.00407420
add esp, 0x14
push esi
push str.R_s.exe
push 0xffffffffffffffff
lea eax, [esp + 0x54]
push 0x104
push eax
call fcn.00407420
add esp, 0x14
mov ecx, dword [esp + 0x254]
mov eax, 1
pop esi
pop ebx
xor ecx, esp
call fcn.00409353
mov esp, ebp
pop ebp
ret