joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409f60
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
push edi
push 0
push 0
push 0xffffffffffffffff
push str.USERPROFILE
push 0
push 0xfde9
call ebx
mov edi, eax
cmp edi, 1
jle 0x409fb8
push 2
push edi
call fcn.0049570f
mov esi, eax
add esp, 8
test esi, esi
je 0x409fb8
push edi
push esi
push 0xffffffffffffffff
push str.USERPROFILE
push 0
push 0xfde9
call ebx
cmp eax, edi
je 0x409fba
push esi
call fcn.004998ec
add esp, 4
xor esi, esi
xor edi, edi
push edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push 2
push eax
mov dword [ebp - 4], eax
call fcn.0049570f
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x409fef
test esi, esi
je 0x409fe6
push esi
call fcn.004998ec
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 4]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x40a06c
cmp word [ebx], di
jne 0x40a013
push 1
push 1
call fcn.0049570f
add esp, 8
mov edi, eax
jmp 0x40a06c
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 4], eax
cmp eax, 1
jle 0x40a06a
push 1
push eax
call fcn.0049570f
mov edi, eax
add esp, 8
test edi, edi
je 0x40a06a
push 0
push 0
push dword [ebp - 4]
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, dword [ebp - 4]
je 0x40a06c
push edi
call fcn.004998ec
add esp, 4
xor edi, edi
push ebx
call fcn.004998ec
add esp, 4
test esi, esi
je 0x40a082
push esi
call fcn.004998ec
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a090
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x4f22ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x108]
push esi
push edi
push 0x104
push 0
push eax
mov edi, edx
mov dword [ebp - 0x120], ebx
call fcn.00493600
add esp, 0xc
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x114], 0xffffffff
mov dword [ebp - 0x118], 4
mov dword [ebx], 0
test edi, edi
je 0x40a2d9
mov esi, edi
lea ecx, [esi + 1]
lea esp, [esp]
mov al, byte [esi]
inc esi
test al, al
jne 0x40a110
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esi, ecx
je 0x40a12c
cmp byte [edi + esi], 0x5c
je 0x40a161
sub esi, 1
jne 0x40a121
lea eax, [ebp - 0x110]
push eax
push 0x2001d
push 0
push str.SOFTWARE
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40a225
mov dword [ebp - 0x110], 0
jmp 0x40a2b5
cmp esi, 0x104
jae 0x40a2d9
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a172
sub ecx, edx
lea eax, [ecx + 1]
cmp eax, 0x104
jae 0x40a19c
mov ecx, edi
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a190
sub ecx, edx
inc ecx
jmp 0x40a1a1
mov ecx, 0x104
push ecx
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.00493080
mov ecx, edi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a1b7
sub ecx, edx
lea eax, [ecx + 1]
cmp eax, 0x104
jae 0x40a1e3
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a1d0
sub ecx, edx
lea eax, [ebp - 0x108]
add eax, ecx
jmp 0x40a1e6
lea eax, [ebp - 5]
mov byte [eax], 0
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x108]
mov byte [ebp + esi - 0x108], 0
push eax
push 0x80000001
inc esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40a25e
mov dword [ebp - 0x10c], 0
jmp 0x40a2a8
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x10c]
push eax
push 0
push 7
push 0
push 0
push 0
push str.Akeo_ConsultingRufus
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x40a25e
mov dword [ebp - 0x10c], 0
jmp 0x40a2a8
lea eax, [ebp - 0x118]
push eax
push dword [ebp - 0x120]
lea eax, [ebp - 0x114]
push eax
push 0
lea eax, [edi + esi]
push eax
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, 2
je 0x40a29e
test eax, eax
jne 0x40a2a8
cmp dword [ebp - 0x114], 4
jne 0x40a2a8
cmp dword [ebp - 0x118], eax
jbe 0x40a2a8
mov dword [ebp - 0x11c], 1
mov eax, dword [ebp - 0x110]
test eax, eax
je 0x40a2b5
push eax
call ebx
mov ecx, dword [ebp - 0x10c]
test ecx, ecx
je 0x40a2c2
push ecx
call ebx
mov eax, dword [ebp - 0x11c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491940
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00491940
mov esp, ebp
pop ebp
ret
Function at 0x40be50
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x4f22ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0xc97
xor esi, esi
movsx ax, cl
push esi
push 1
mov dword [ebp - 0xc], 0x3a003f
push 1
mov dword [ebp - 8], 0x5c
mov word [ebp - 0xc], ax
call fcn.0041b3e0
add esp, 0x10
cmp dword [0x52bea0], esi
jne 0x40bee6
push str.Chkdsk
push ecx
mov ecx, str.Fmifs
call fcn.00409990
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x52bea0], eax
test eax, eax
jne 0x40bee6
call fcn.00440bb0
push eax
push str.Fmifs
push str.Chkdsk
push str.Unable_to_locate__s___in__s.dll:__s
call fcn.004407e0
add esp, 0x10
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491940
mov esp, ebp
pop ebp
ret
push 0x20
lea eax, [ebp - 0x50]
push eax
push dword [0x542fac]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x50]
xor edx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40bf00
sub ecx, edi
sar ecx, 1
je 0x40bf21
lea eax, [edx + edx]
cmp word [ebp + eax - 0x50], 0x20
je 0x40bf70
inc edx
cmp edx, ecx
jb 0x40bf11
push 0x40a900
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [0x52bea0]
test dword [0x4fa958], 0x80000000
jne 0x40bf5e
push str.NTFS_Fixup_completed._n
call fcn.004407e0
add esp, 4
mov esi, 1
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00491940
mov esp, ebp
pop ebp
ret
cmp eax, 0x40
jae 0x40bf7e
xor ecx, ecx
mov word [ebp + eax - 0x50], cx
jmp 0x40bf21
call fcn.00491a70
int3
Function at 0x410cc0
Capabilities:
Create directory
Extract resource via kernel32 functions

Disassembly:
push edi
push 0
push 0
push 0
push 0x147
push dword [0x542d44]
mov edi, ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0x150
push dword [0x542d44]
call dword [sym.imp.USER32.dll_SendMessageW]
sub eax, 1
je 0x410d02
sub eax, 1
je 0x410cfa
xor eax, eax
pop edi
ret
mov ecx, edi
pop edi
jmp fcn.00410670
mov ecx, edi
pop edi
jmp fcn.00410350
Function at 0x4132b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x188
mov eax, dword [0x4f22ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push ecx
push str._sautorun.inf
lea eax, [ebp - 0x48]
push 0x40
push eax
call fcn.00403820
lea eax, [ebp - 0x48]
mov byte [ebp - 9], 0
push 0x4d27dc
push eax
call fcn.00499add
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0x48]
test esi, esi
je 0x41331a
push eax
push str._s_already_exists___keeping_it
call fcn.004407e0
push esi
call fcn.00499b6b
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491940
mov esp, ebp
pop ebp
ret
push 0x4d2800
push eax
call fcn.00499add
mov edi, eax
add esp, 8
test edi, edi
jne 0x41335b
lea eax, [ebp - 0x48]
push eax
push str.Unable_to_create__s
call fcn.004407e0
push str.NOTE:_This_may_be_caused_by_a_poorly_designed_security_solution._See_https:__goo.gl_QTobxX.
call fcn.004407e0
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491940
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x188]
push 0x80
push eax
push dword [0x542e78]
call esi
push 0x20
lea eax, [ebp - 0x88]
push eax
push dword [0x5430c4]
call esi
lea eax, [ebp - 0x88]
push eax
push str.__Created_by__s_n__https:__rufus.ie_n
push edi
call fcn.00412f60
add esp, 0xc
lea eax, [ebp - 0x188]
push eax
push str._autorun__nicon___autorun.ico_nlabel___s_n
push edi
call fcn.00412f60
add esp, 0xc
push edi
call fcn.00499b6b
add esp, 4
lea eax, [ebp - 0x48]
push eax
push str.Created:__s
call fcn.004407e0
lea ecx, [ebp - 0x48]
add esp, 8
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4133d0
sub ecx, edx
cmp ecx, 2
jae 0x4133f5
push 0xbd
push str.C:UsersgamerDownloads_rufus72_rufus_7_srcicon.c
push str.strlen_filename____2
call fcn.0049ed6b
add esp, 0xc
lea ecx, [ebp - 0x48]
lea edx, [ecx + 1]
jmp 0x413400
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413400
sub ecx, edx
mov byte [ebp + ecx - 0x49], 0x6f
lea ecx, [ebp - 0x48]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413414
sub ecx, edx
xor edx, edx
mov byte [ebp + ecx - 0x4a], 0x63
lea ecx, [ebp - 0x48]
call fcn.00412f90
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00491940
mov esp, ebp
pop ebp
ret
Function at 0x4134f0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
test esi, esi
jne 0x413508
xor edi, edi
jmp 0x413570
cmp byte [esi], 0
jne 0x41351d
push 2
push 1
call fcn.0049570f
add esp, 8
mov edi, eax
jmp 0x41356b
push 0
push 0
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call eax
mov dword [ebp - 4], eax
cmp eax, 1
jle 0x413569
push 2
push eax
call fcn.0049570f
mov edi, eax
add esp, 8
mov eax, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test edi, edi
je 0x413570
push dword [ebp - 4]
push edi
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call eax
cmp eax, dword [ebp - 4]
je 0x41356b
push edi
call fcn.004998ec
add esp, 4
xor edi, edi
mov eax, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test ebx, ebx
je 0x4135d5
cmp byte [ebx], 0
jne 0x413589
push 2
push 1
call fcn.0049570f
add esp, 8
mov esi, eax
jmp 0x4135d7
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call eax
mov dword [ebp - 4], eax
cmp eax, 1
jle 0x4135d5
push 2
push eax
call fcn.0049570f
mov esi, eax
add esp, 8
test esi, esi
je 0x4135d5
push dword [ebp - 4]
mov eax, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call eax
cmp eax, dword [ebp - 4]
je 0x4135d7
push esi
call fcn.004998ec
add esp, 4
xor esi, esi
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
test edi, edi
je 0x4135f9
push edi
call fcn.004998ec
add esp, 4
test esi, esi
je 0x413606
push esi
call fcn.004998ec
add esp, 4
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x413620
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [0x542c40], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
push edi
jne 0x413648
push 2
push 1
call fcn.0049570f
add esp, 8
mov esi, eax
jmp 0x413695
push 0
push 0
push 0xffffffffffffffff
push 0x542c40
push 0
push 0xfde9
call ebx
mov edi, eax
cmp edi, 1
jle 0x413693
push 2
push edi
call fcn.0049570f
mov esi, eax
add esp, 8
test esi, esi
je 0x413693
push edi
push esi
push 0xffffffffffffffff
push 0x542c40
push 0
push 0xfde9
call ebx
cmp eax, edi
je 0x413695
push esi
call fcn.004998ec
add esp, 4
xor esi, esi
cmp byte [0x4cea00], 0
jne 0x4136ae
push 2
push 1
call fcn.0049570f
add esp, 8
mov edi, eax
jmp 0x4136ff
push 0
push 0
push 0xffffffffffffffff
push 0x4cea00
push 0
push 0xfde9
call ebx
mov dword [ebp - 4], eax
cmp eax, 1
jle 0x4136fd
push 2
push eax
call fcn.0049570f
mov edi, eax
add esp, 8
test edi, edi
je 0x4136fd
push dword [ebp - 4]
push edi
push 0xffffffffffffffff
push 0x4cea00
push 0
push 0xfde9
call ebx
cmp eax, dword [ebp - 4]
je 0x4136ff
push edi
call fcn.004998ec
add esp, 4
xor edi, edi
cmp dword [ebp + 0xc], 0
jne 0x413709
xor ebx, ebx
jmp 0x41371a
push 2
push 0x104
call fcn.0049570f
add esp, 8
mov ebx, eax
push ebx
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 4], 0
mov dword [ebp - 8], eax
je 0x413763
push 0
push 0
push 0x104
push dword [ebp + 0xc]
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 4], eax
test eax, eax
jne 0x413763
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
test ebx, ebx
je 0x413770
push ebx
call fcn.004998ec
add esp, 4
test edi, edi
je 0x41377d
push edi
call fcn.004998ec
add esp, 4
test esi, esi
je 0x41378a
push esi
call fcn.004998ec
add esp, 4
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4137a0
Capabilities:
Create directory

Disassembly:
push edi
mov edi, ecx
test edi, edi
jne 0x4137b2
push ecx
call fcn.004a1652
add esp, 4
pop edi
ret
cmp byte [edi], 0
push ebx
push esi
jne 0x4137d7
push 2
push 1
call fcn.0049570f
mov esi, eax
push esi
call fcn.004a1652
add esp, 0xc
mov edi, eax
test esi, esi
jne 0x413845
pop esi
pop ebx
pop edi
ret
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, eax
cmp ebx, 1
jg 0x413800
push 0
call fcn.004a1652
add esp, 4
pop esi
pop ebx
pop edi
ret
push 2
push ebx
call fcn.0049570f
mov esi, eax
add esp, 8
test esi, esi
je 0x4137f2
push ebx
push esi
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
cmp eax, ebx
je 0x41383b
call fcn.004998ec
push 0
call fcn.004a1652
add esp, 8
pop esi
pop ebx
pop edi
ret
call fcn.004a1652
add esp, 4
mov edi, eax
push esi
call fcn.004998ec
add esp, 4
mov eax, edi
pop esi
pop ebx
pop edi
ret
Function at 0x41a1c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4f22ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [str.disc_image.iso]
mov dword [ebp - 0x28], eax
mov eax, dword [0x4d3f5c]
mov dword [ebp - 0x24], eax
mov eax, dword [0x4d3f60]
mov dword [ebp - 0x20], eax
mov ax, word [0x4d3f64]
mov word [ebp - 0x1c], ax
mov al, byte [0x4d3f66]
mov byte [ebp - 0x1a], al
xor eax, eax
push esi
push 0xbdc
mov dword [ebp - 0x19], eax
mov dword [ebp - 0x15], eax
mov dword [ebp - 0x11], eax
mov dword [ebp - 0xd], eax
mov word [ebp - 9], ax
mov dword [ebp - 0x2c], 0x4d3f68
call fcn.0041afe0
mov dword [ebp - 0x30], eax
add esp, 4
cmp dword [0x4f4318], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x34], eax
jne 0x41a3fd
cmp dword [0x4fadcc], 0
jne 0x41a3fd
mov ecx, 0x52bfd0
mov dword [0x52bfd0], 1
call fcn.00449a10
test eax, eax
jne 0x41a28b
push str.No_dumpable_optical_media_found.
call fcn.004407e0
add esp, 4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491940
mov esp, ebp
pop ebp
ret
mov esi, dword [0x52bfe4]
mov eax, 0x2000000
mov edx, dword [0x52bfe0]
mov dword [0x52bfd8], eax
mov ecx, eax
shl ecx, 6
test esi, esi
jg 0x41a2b9
jl 0x41a2b0
cmp edx, ecx
ja 0x41a2b9
shr eax, 1
cmp eax, 0x800000
ja 0x41a2a1
mov dword [0x52bfd8], eax
mov eax, dword [0x52bff0]
test eax, eax
je 0x41a2e4
cmp byte [eax], 0
je 0x41a2e4
push eax
push str._s.iso
lea eax, [ebp - 0x28]
push 0x21
push eax
call fcn.00403820
add esp, 0x10
mov byte [ebp - 8], 0
xor edx, edx
lea eax, [ebp - 0x40]
push 0
push eax
lea ecx, [edx + 1]
call fcn.004422d0
add esp, 8
mov dword [0x52bfec], eax
test eax, eax
je 0x41a3fd
push dword [0x52bfe4]
xor edx, edx
xor ecx, ecx
push dword [0x52bfe0]
call fcn.00440d90
push eax
push str.ISO_media_size__s
call fcn.004407e0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0x10
push 0
push 0
push 0x8002
push dword [0x5430c4]
call esi
xor edx, edx
mov dword [0x4fa958], 0
xor ecx, ecx
call fcn.00429e90
mov ecx, 1
call fcn.004506b0
push 0
push 0
push 0x52bfd0
push 0x419d90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4fadcc], eax
test eax, eax
je 0x41a3b9
push str._r_nSave_to_ISO_operation_started
call fcn.004407e0
add esp, 4
push 0xffffffffffffffff
push 0
push 0
push 1
call fcn.0041b3e0
add esp, 0x10
push 0
push 0
push 0x8009
push dword [0x5430c4]
call esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491940
mov esp, ebp
pop ebp
ret
push str.Unable_to_start_ISO_save_thread
call fcn.004407e0
add esp, 4
mov dword [0x4fa958], 0xe0031205
push dword [0x52bfec]
call fcn.004998ec
add esp, 4
mov dword [0x52bfec], 0
push 0
push 0
push 0x8000
push dword [0x5430c4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00491940
mov esp, ebp
pop ebp
ret
Function at 0x41b720
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4f22ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
test edi, edi
je 0x41b92a
movzx edx, byte [edi + 1]
xor ecx, ecx
test edx, edx
je 0x41b8c7
mov esi, eax
mov eax, dword [edi + 0x10]
lea esp, [esp]
cmp dword [eax], esi
je 0x41b84c
inc ecx
add eax, 4
cmp ecx, edx
jl 0x41b760
mov dword [0x53c1a4], 0
xor esi, esi
lea esp, [esp]
mov eax, dword [edi + 0x10]
lea ebx, [esi*4]
push dword [ebx + eax]
lea eax, [ebp - 0x10]
push str._04X
push 5
push eax
call fcn.0041a410
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
push 4
push 0x41b6c0
call dword [sym.imp.KERNEL32.dll_EnumUILanguagesW]
cmp dword [0x53c1a4], 0
jne 0x41b7c8
movzx eax, byte [edi + 1]
inc esi
cmp esi, eax
jl 0x41b780
jmp 0x41b8cd
push dword [edi + 0x18]
mov eax, dword [edi + 0x10]
mov ecx, dword [0x52b91c]
push dword [ebx + eax]
mov eax, 0xffc
sub eax, ecx
push str.Detected_installed_Windows_Language_Pack_for_0x_04X___s_
push eax
lea eax, [ecx + 0x540f60]
push eax
call fcn.00403820
mov ecx, 0x540f60
mov byte [0x541f5b], 0
add esp, 0x14
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41b802
sub ecx, edx
mov word [ecx + 0x540f60], 0xa0d
add ecx, 2
mov dword [0x52b91c], ecx
cmp ecx, 0x1000
jae 0x41b940
mov byte [ecx + 0x540f60], al
mov eax, 0x400
mov ecx, dword [edi + 0x10]
or ax, word [ebx + ecx]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491940
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x52b91c]
mov eax, 0xffc
push esi
sub eax, ecx
push str.Will_use_default_UI_locale_0x_04X
push eax
lea eax, [ecx + 0x540f60]
push eax
call fcn.00403820
mov ecx, 0x540f60
mov byte [0x541f5b], 0
add esp, 0x10
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41b880
sub ecx, edx
mov word [ecx + 0x540f60], 0xa0d
add ecx, 2
mov dword [0x52b91c], ecx
cmp ecx, 0x1000
jae 0x41b940
or esi, 0x400
mov byte [ecx + 0x540f60], al
mov ax, si
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491940
mov esp, ebp
pop ebp
ret
mov dword [0x53c1a4], ecx
push dword [edi + 0x18]
mov ecx, dword [0x52b91c]
mov eax, 0xffc
sub eax, ecx
push str.NOTE:_No_Windows_Language_Pack_is_installed_for__s_on_this_system._r_nThis_means_that_some_controls_may_still_be_displayed_using_the_system_locale.
push eax
lea eax, [ecx + 0x540f60]
push eax
call fcn.00403820
mov ecx, 0x540f60
mov byte [0x541f5b], 0
add esp, 0x10
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41b901
sub ecx, edx
mov word [ecx + 0x540f60], 0xa0d
add ecx, 2
mov dword [0x52b91c], ecx
cmp ecx, 0x1000
jae 0x41b940
mov byte [ecx + 0x540f60], al
mov ecx, dword [ebp - 4]
mov eax, 0x400
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00491940
mov esp, ebp
pop ebp
ret
call fcn.00491a70
int3
Function at 0x41ba60
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x41bac9
cmp byte [esi], 0
jne 0x41ba7e
push 2
push 1
call fcn.0049570f
add esp, 8
mov edi, eax
jmp 0x41bacb
push 0
push 0
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, eax
cmp ebx, 1
jle 0x41bac9
push 2
push ebx
call fcn.0049570f
mov edi, eax
add esp, 8
test edi, edi
je 0x41bac9
push ebx
push edi
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
je 0x41bacb
push edi
call fcn.004998ec
add esp, 4
xor edi, edi
cmp word [edi], 0x22
jne 0x41bb13
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41bad6
sub ecx, edx
sar ecx, 1
cmp word [edi + ecx*2 - 2], 0x22
jne 0x41bb13
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41baf2
sub ecx, edx
sar ecx, 1
xor eax, eax
push 0x80
mov word [edi + ecx*2 - 2], ax
lea eax, [edi + 2]
push eax
jmp 0x41bb19
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
call fcn.004998ec
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
mov eax, ebx
pop ebx
ret