joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41dcf8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.004266f2
mov ebx, eax
test esi, esi
je 0x41dd31
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x41dd1e
movzx eax, word [eax]
jmp 0x41dd25
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
cmp ax, 0xffff
je 0x41dd31
test bl, bl
jne 0x41dd37
jmp 0x41dd94
xor esi, esi
test bl, bl
jne 0x41dd85
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41dd46
movzx eax, word [eax]
jmp 0x41dd4b
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp + 0x14]
movzx eax, ax
mov edx, dword [ecx]
push eax
push 8
call dword [edx + 0xc]
test al, al
je 0x41dd76
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41dd6f
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x41dd04
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x41dd04
mov ecx, edi
call fcn.004266f2
mov ebx, eax
test esi, esi
jne 0x41dd9d
jmp 0x41dd8e
mov ecx, edi
call fcn.004266f2
mov ebx, eax
test bl, bl
jne 0x41ddbc
jmp 0x41ddc2
mov ecx, edi
call fcn.004266f2
mov ebx, eax
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x41ddaa
movzx eax, word [eax]
jmp 0x41ddb1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
cmp ax, 0xffff
sete al
xor bl, al
jne 0x41ddc2
mov eax, dword [ebp + 0x10]
or byte [eax], 2
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x42a2e4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x294
mov eax, dword [0x52efc0]
xor ebx, ebx
lea edi, [ebp - 0x218]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x208
push ebx
push edi
call fcn.004b81d0
add esp, 0xc
push 0x104
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x42a4ac
lea esi, [ebp - 0x224]
mov ecx, esi
push edi
call fcn.00402d2c
movzx eax, byte [esi + 0xb]
test al, al
jns 0x42a348
mov esi, dword [ebp - 0x224]
mov eax, dword [ebp - 0x220]
lea ecx, [ebp - 0x240]
push eax
push esi
push ecx
call fcn.0042caa0
add esp, 0xc
push 0x20
call fcn.004aea96
add esp, 4
lea edi, [ebp - 0x290]
mov esi, eax
mov dword [edi], eax
mov eax, 0x18
mov dword [edi + 8], 0x80000020
mov dword [edi + 4], eax
push eax
push str.notify_relaunch_4_update
push esi
call fcn.004b76d0
add esp, 0xc
xor ebx, ebx
lea ecx, [ebp - 0x240]
mov byte [esi + 0x18], bl
push edi
call fcn.0042d140
cmp byte [edi + 0xb], bl
jns 0x42a3af
push dword [ebp - 0x290]
call fcn.004aeac6
add esp, 4
lea esi, [ebp - 0x24c]
lea ecx, [ebp - 0x240]
push ebx
push esi
call fcn.0042dc50
cmp byte [esi + 0xb], 0
mov dword [ebp - 0x288], ebx
mov dword [ebp - 0x28c], ebx
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x284], ebx
mov dword [ebp - 0x278], ebx
mov dword [ebp - 0x27c], ebx
mov dword [ebp - 0x270], ebx
mov dword [ebp - 0x274], ebx
mov dword [ebp - 0x268], ebx
mov dword [ebp - 0x26c], ebx
mov dword [ebp - 0x258], ebx
mov dword [ebp - 0x25c], ebx
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x254], ebx
mov dword [ebp - 0x260], 5
mov dword [ebp - 0x290], 0x44
mov dword [ebp - 0x264], 1
jns 0x42a440
mov esi, dword [ebp - 0x24c]
lea eax, [ebp - 0x2a0]
push eax
push edi
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x42a473
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x29c]
call esi
push dword [ebp - 0x2a0]
call esi
xor ebx, ebx
inc ebx
cmp byte [ebp - 0x241], 0
jns 0x42a48a
push dword [ebp - 0x24c]
call fcn.004aeac6
add esp, 4
lea ecx, [ebp - 0x240]
call fcn.0042c790
cmp byte [ebp - 0x219], 0
jns 0x42a4ac
push dword [ebp - 0x224]
call fcn.004aeac6
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004aeb01
mov eax, ebx
add esp, 0x294
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x42ba20
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov esi, dword [0x52efc0]
mov dl, byte [ebp + 0x1c]
mov al, byte [ebp + 0x18]
mov ecx, dword [ebp + 8]
xor esi, ebp
mov dword [esp + 0x30], esi
movzx esi, dl
movzx edx, al
push esi
call fcn.0042b810
add esp, 4
mov ebx, eax
test al, al
jne 0x42bc4e
cmp byte [ebp + 0x20], 0
je 0x42bc4e
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
movzx eax, ax
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
cmp eax, 0x804
jne 0x42baca
mov eax, dword [ebp + 0xc]
lea esi, [esp + 0x10]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
test eax, eax
je 0x42bb08
mov ecx, esi
push eax
call fcn.00428a50
cmp byte [esp + 0x1b], 0
mov eax, esi
jns 0x42bac4
mov eax, dword [esp + 0x10]
lea edi, [esp + 4]
jmp 0x42bb0e
mov eax, dword [ebp + 0x10]
lea esi, [esp + 0x10]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
test eax, eax
je 0x42bb36
mov ecx, esi
push eax
call fcn.00428a50
cmp byte [esp + 0x1b], 0
mov eax, esi
jns 0x42bb02
mov eax, dword [esp + 0x10]
lea edi, [esp + 4]
jmp 0x42bb3c
lea edi, [esp + 4]
mov eax, esi
lea ecx, [esp + 4]
push eax
push 0x4e7214
push ecx
call fcn.00447630
add esp, 0xc
cmp byte [esp + 0x2b], 0
js 0x42bb67
mov word [esp + 0x20], 0
mov byte [esp + 0x2b], 0
jmp 0x42bb93
lea edi, [esp + 4]
mov eax, esi
lea ecx, [esp + 4]
push eax
push str._s_program_file_that_the_360Chrome_has_been_damaged__not_the_original_file.__r_nFor_your_safe__the_program_will_automatically_exit.__r_nSuggest_you_re_install__and_the_Trojan_scan.
push ecx
call fcn.00447630
add esp, 0xc
cmp byte [esp + 0x2b], 0
js 0x42bbc1
mov word [esp + 0x20], 0
mov byte [esp + 0x2b], 0
jmp 0x42bbed
mov eax, dword [esp + 0x20]
mov word [eax], 0
mov dword [esp + 0x24], 0
cmp byte [esp + 0x2b], 0
jns 0x42bb93
push dword [esp + 0x20]
call fcn.004aeac6
add esp, 4
mov dword [esp + 0x28], 0
mov eax, dword [edi + 8]
movsd xmm0, qword [edi]
cmp byte [esi + 0xb], 0
mov dword [esp + 0x28], eax
movsd qword [esp + 0x20], xmm0
jns 0x42bbb6
push dword [esp + 0x10]
call fcn.004aeac6
add esp, 4
lea esi, [esp + 0x20]
mov eax, 0x4e2242
jmp 0x42bc19
mov eax, dword [esp + 0x20]
mov word [eax], 0
mov dword [esp + 0x24], 0
cmp byte [esp + 0x2b], 0
jns 0x42bbed
push dword [esp + 0x20]
call fcn.004aeac6
add esp, 4
mov dword [esp + 0x28], 0
mov eax, dword [edi + 8]
movsd xmm0, qword [edi]
cmp byte [esi + 0xb], 0
mov dword [esp + 0x28], eax
movsd qword [esp + 0x20], xmm0
jns 0x42bc10
push dword [esp + 0x10]
call fcn.004aeac6
add esp, 4
lea esi, [esp + 0x20]
mov eax, str.Tips
mov bh, byte [ebp + 0x14]
cmp byte [esi + 0xb], 0
jns 0x42bc28
mov ecx, dword [esp + 0x20]
jmp 0x42bc2c
lea ecx, [esp + 0x20]
push 0x40
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
test bh, bh
jne 0x42bc66
cmp byte [esi + 0xb], 0
jns 0x42bc4e
push dword [esp + 0x20]
call fcn.004aeac6
add esp, 4
mov ecx, dword [esp + 0x30]
movzx esi, bl
xor ecx, ebp
call fcn.004aeb01
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0
call fcn.004c4107
int3
Function at 0x42bc70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov al, byte [ebp + 0xc]
movzx esi, byte [ebp + 0x10]
mov ecx, dword [ebp + 8]
movzx edx, al
push esi
call fcn.0042b810
add esp, 4
test al, al
jne 0x42bc96
cmp byte [ebp + 0x14], 0
jne 0x42bc9e
movzx eax, al
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.0042bd20
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
xor ecx, ecx
test esi, esi
mov edx, 0x4e22e6
mov edi, 0x4e224c
mov ebx, str.Main_program_file_that_the_360Chrome_has_been_damaged__not_the_original_file.__r_nFor_your_safe__the_program_will_automatically_exit.__r_nSuggest_you_re_install__and_the_Trojan_scan._Download_the_latest_version_
movzx eax, ax
cmove edi, edx
mov edx, str.Main_program_file_that_the_360Chrome_has_been_damaged__not_the_original_file.__r_nFor_your_safe__the_program_will_automatically_exit.__r_nSuggest_you_re_install__and_the_Trojan_scan.
setne cl
cmove ebx, edx
cmp eax, 0x804
mov eax, 0x4e2242
mov edx, str.Tips
cmove edx, eax
lea eax, [ecx*4 + 0x40]
cmove ebx, edi
push eax
push edx
push ebx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
test esi, esi
je 0x42bd0c
cmp eax, 6
jne 0x42bd0c
push str.http:__chrome.360.cn_
call fcn.0042be40
add esp, 4
push 0
call fcn.004c4107
int3

Function at 0x42bd20
Capabilities:
Check if file exists
Get common file path
Get program files directory
Initialize iwebbrowser2
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x420
mov eax, dword [0x52efc0]
lea esi, [ebp - 0x214]
xor eax, ebp
mov dword [ebp - 0xc], eax
push 0x208
push 0
push esi
call fcn.004b81d0
add esp, 0xc
mov dword [ebp - 0x420], 1
mov dword [ebp - 0x424], 0x208
lea edi, [ebp - 0x41c]
push 0x208
push 0
push edi
call fcn.004b81d0
add esp, 0xc
push 0
push 0x26
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push edi
push str._sInternet_Exploreriexplore.exe
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42bdd5
lea eax, [ebp - 0x424]
lea ecx, [ebp - 0x420]
push eax
push esi
push ecx
push 0x4e2bbe
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42bdd5
mov word [ebp - 0x214], 0
push esi
call fcn.004cf81e
add esp, 4
mov esi, 1
test eax, eax
jne 0x42be27
lea eax, [ebp - 0x428]
mov dword [ebp - 0x428], 0
push eax
push 0x4eef7c
push 0x15
push 0
push 0x4eef8c
call dword [sym.imp.ole32.dll_CoCreateInstance]
xor esi, esi
test eax, eax
js 0x42be27
mov eax, dword [ebp - 0x428]
test eax, eax
je 0x42be27
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004aeb01
mov eax, esi
add esp, 0x420
pop esi
pop edi
pop ebp
ret
Function at 0x42be40
Capabilities:
Check if file exists
Create process on windows
Get common file path
Get program files directory
Initialize iwebbrowser2
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x450
mov eax, dword [0x52efc0]
mov edi, dword [ebp + 8]
xor esi, esi
xor eax, ebp
test edi, edi
mov dword [esp + 0x448], eax
je 0x42bf36
cmp word [edi], 0
je 0x42bf36
lea esi, [esp + 0x240]
push 0x208
push 0
push esi
call fcn.004b81d0
add esp, 0xc
mov dword [esp + 0x34], 1
mov dword [esp + 0x30], 0x208
lea ebx, [esp + 0x38]
push 0x208
push 0
push ebx
call fcn.004b81d0
add esp, 0xc
push 0
push 0x26
push ebx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push ebx
push str._sInternet_Exploreriexplore.exe
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42bf0c
lea eax, [esp + 0x30]
lea ecx, [esp + 0x34]
push eax
push esi
push ecx
push 0x4e2bbe
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42bf0c
mov word [esp + 0x240], 0
push esi
call fcn.004cf81e
add esp, 4
test eax, eax
je 0x42bf4e
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push 0xa
push 0
push edi
push esi
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, 1
mov ecx, dword [esp + 0x448]
xor ecx, ebp
call fcn.004aeb01
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0
push eax
push 0x4eef7c
push 0x15
push 0
push 0x4eef8c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x42bffd
mov eax, dword [esp + 0x2c]
mov esi, 1
test eax, eax
je 0x42bf36
mov dword [esp + 0x14], 0
lea edx, [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x94]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42bfb5
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 1
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov word [esp], 8
mov edi, eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov word [esp + 0x18], 0
lea edx, [esp + 0x18]
mov ebx, esp
mov ecx, dword [eax]
push edx
push edx
push edx
push edx
push ebx
push eax
call dword [ecx + 0xd0]
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x42bf36
xor esi, esi
jmp 0x42bf36
Function at 0x42c010
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
call fcn.0042bd20
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
xor ecx, ecx
test esi, esi
mov edx, 0x4e22e6
mov edi, 0x4e224c
mov ebx, str.Main_program_file_that_the_360Chrome_has_been_damaged__not_the_original_file.__r_nFor_your_safe__the_program_will_automatically_exit.__r_nSuggest_you_re_install__and_the_Trojan_scan._Download_the_latest_version_
movzx eax, ax
cmove edi, edx
mov edx, str.Main_program_file_that_the_360Chrome_has_been_damaged__not_the_original_file.__r_nFor_your_safe__the_program_will_automatically_exit.__r_nSuggest_you_re_install__and_the_Trojan_scan.
setne cl
cmove ebx, edx
cmp eax, 0x804
mov eax, 0x4e2242
mov edx, str.Tips
cmove ebx, edi
cmove edx, eax
or ecx, 0x40040
push ecx
push edx
push ebx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
test esi, esi
mov esi, dword [ebp + 0x10]
je 0x42c086
cmp eax, 1
jne 0x42c086
push str.http:__se.360.cn_
call fcn.0042be40
add esp, 4
mov bl, byte [ebp + 0xc]
test esi, esi
je 0x42c0a0
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x42c0a9
pop esi
pop edi
pop ebx
pop ebp
ret
push 0
call fcn.004c4107

Function at 0x42c7f0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor ebx, ebx
cmp dword [0x530cd0], 0
jne 0x42c886
push 0x1c
call fcn.004aea96
add esp, 4
mov esi, eax
push 0xc
call fcn.004aea96
add esp, 4
mov dword [esi], eax
lea ecx, [eax + 0xc]
mov dword [eax + 8], 0
mov dword [eax], 0
mov dword [eax + 4], 0
lea eax, [esi + 0x10]
mov dword [0x530cd0], esi
mov dword [esi + 8], ecx
mov dword [esi + 4], ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0xc], eax
mov dword [esi + 0x18], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x42c87b
cmp word [eax], 0
je 0x42c87b
xor ebx, ebx
nop dword [eax]
cmp word [eax + ebx*2 + 2], 0
lea ebx, [ebx + 1]
jne 0x42c870
mov ecx, esi
push ebx
push eax
call fcn.0042c890
mov bl, 1
mov eax, ebx
pop esi
pop ebx
pop ebp
ret
Function at 0x42c890
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
mov edx, dword [0x52efc0]
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
xor edx, ebp
mov dword [esp + 0x28], edx
lea edx, [esp + 0x18]
push 3
push ecx
push eax
push edx
call fcn.00446480
add esp, 0x10
cmp dword [esp + 0x1c], 0
je 0x42ca5d
mov dword [esp + 4], esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x24], 0
push 0x800
push 0
push str.api_ms_win_downlevel_shell32_l1_1_0.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
je 0x42c913
mov ebx, eax
push 0x4e788a
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42c924
mov ecx, eax
lea eax, [esp + 0x24]
push eax
push esi
call ecx
mov dword [esp], eax
jmp 0x42c92b
lea eax, [esp + 0x24]
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [esp], eax
jmp 0x42c932
mov dword [esp], 0
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
test eax, eax
js 0x42ca72
je 0x42c9ff
mov ebx, dword [esp]
lea edi, [esp + 8]
lea esi, [ebx + eax*4]
jmp 0x42c9a5
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
movsd xmm0, qword [esp + 8]
movsd qword [eax], xmm0
add dword [esp + 0x1c], 0xc
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 0x10], 0
add ebx, 4
cmp ebx, esi
je 0x42c9ff
mov eax, dword [ebx]
xor ecx, ecx
test eax, eax
je 0x42c9cb
cmp word [eax], 0
je 0x42c9cb
xor ecx, ecx
nop word cs:[eax + eax]
nop
cmp word [eax + ecx*2 + 2], 0
lea ecx, [ecx + 1]
jne 0x42c9c0
push ecx
push eax
push edi
call fcn.00448330
add esp, 0xc
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x20]
jb 0x42c970
lea ecx, [esp + 0x18]
push edi
call fcn.004343b0
cmp byte [esp + 0x13], 0
jns 0x42c99e
push dword [esp + 8]
call fcn.004aeac6
add esp, 4
jmp 0x42c99e
mov ecx, dword [esp + 4]
lea eax, [esp + 0x18]
push eax
call fcn.0042c4b0
push dword [esp]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [esp + 0x18]
test esi, esi
je 0x42ca5d
mov eax, dword [esp + 0x1c]
cmp eax, esi
jne 0x42ca36
mov eax, esi
jmp 0x42ca50
cmp esi, edi
mov eax, edi
je 0x42ca4c
cmp byte [eax - 1], 0
lea edi, [eax - 0xc]
jns 0x42ca30
push dword [eax - 0xc]
call fcn.004aeac6
add esp, 4
jmp 0x42ca30
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], esi
push eax
call fcn.004aeac6
add esp, 4
mov ecx, dword [esp + 0x28]
xor ecx, ebp
call fcn.004aeb01
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
int3
Function at 0x4303c0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [0x52efc0]
mov ebx, dword [ebp + 0xc]
lea esi, [ebp - 0x34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x6e
push str...._.._base_file_version_info_win.cc
push str.CreateFileVersionInfoWin
push esi
call fcn.00435760
add esp, 0x10
lea ecx, [ebp - 0x24]
push 0
push esi
call fcn.00449d80
cmp byte [ebx + 0xb], 0
jns 0x430401
mov ebx, dword [ebx]
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x38]
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x430518
mov edi, eax
test eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
js 0x43053a
push edi
call fcn.004aea96
add esp, 4
mov ecx, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], eax
add ecx, edi
mov dword [ebp - 0x2c], ecx
mov ecx, edi
nop dword [eax]
mov byte [eax], 0
mov eax, dword [ebp - 0x30]
inc eax
dec ecx
mov dword [ebp - 0x30], eax
jne 0x430450
push dword [ebp - 0x34]
push edi
push dword [ebp - 0x38]
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
xor edi, edi
test eax, eax
je 0x430501
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x14]
push ecx
push edx
push 0x4e7cb6
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x430501
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x430501
push 0x1c
call fcn.004aea96
add esp, 4
mov edi, eax
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x14], 0
mov dword [edi], 0x4e7900
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4e32a8
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4304fe
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x34]
mov dword [esi], edi
test eax, eax
je 0x43051e
mov dword [ebp - 0x30], eax
push eax
call fcn.004aeac6
add esp, 4
jmp 0x43051e
mov dword [esi], 0
lea ecx, [ebp - 0x24]
call fcn.00449e80
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004aeb01
mov eax, esi
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [ebp - 0x34]
call fcn.004295dc
int3
Function at 0x430c30
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x224
mov eax, dword [0x52efc0]
mov edi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov esi, ecx
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 0x16]
mov dword [ebp - 0x230], eax
call edi
mov word [ebp - 0x224], ax
movzx eax, word [esi + 0x16]
mov dword [ebp - 0x22c], eax
movzx eax, word [esi + 0x14]
mov dword [ebp - 0x228], eax
call edi
mov word [ebp - 0x222], ax
lea eax, [ebp - 0x218]
push dword [ebp + 8]
push ebx
push dword [ebp - 0x230]
mov edi, eax
push str.StringFileInfo_04x_04x_ls
push 0x104
push 0x104
push eax
call fcn.0040f990
add esp, 0x1c
lea ebx, [ebp - 0x220]
mov dword [ebp - 0x21c], 0
lea eax, [ebp - 0x21c]
push ebx
push eax
push edi
push dword [esi + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x430cdf
mov eax, dword [ebp - 0x21c]
test eax, eax
jne 0x430dd5
movzx eax, word [ebp - 0x224]
push dword [ebp + 8]
push dword [ebp - 0x22c]
push eax
push str.StringFileInfo_04x_04x_ls
push 0x104
push 0x104
push edi
call fcn.0040f990
add esp, 0x1c
mov dword [ebp - 0x21c], 0
push ebx
lea eax, [ebp - 0x21c]
push eax
push edi
push dword [esi + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x430d35
mov eax, dword [ebp - 0x21c]
test eax, eax
jne 0x430dd5
push dword [ebp + 8]
push 0x4e4
push dword [ebp - 0x228]
push str.StringFileInfo_04x_04x_ls
push 0x104
push 0x104
push edi
call fcn.0040f990
add esp, 0x1c
mov dword [ebp - 0x21c], 0
push ebx
lea eax, [ebp - 0x21c]
push eax
push edi
push dword [esi + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x430d84
mov eax, dword [ebp - 0x21c]
test eax, eax
jne 0x430dd5
movzx eax, word [ebp - 0x222]
push dword [ebp + 8]
push 0x4e4
push eax
push str.StringFileInfo_04x_04x_ls
push 0x104
push 0x104
push edi
call fcn.0040f990
add esp, 0x1c
mov dword [ebp - 0x21c], 0
push ebx
lea eax, [ebp - 0x21c]
push eax
push edi
push dword [esi + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x430df9
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x430df9
mov ecx, dword [ebp + 0xc]
push eax
call fcn.00428a50
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004aeb01
mov eax, ebx
add esp, 0x224
pop esi
pop edi
pop ebx
pop ebp
ret 8
xor ebx, ebx
jmp 0x430de0
Function at 0x432000
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x238
mov eax, dword [0x52efc0]
lea esi, [esp + 0x26]
xor eax, ebp
mov dword [esp + 0x230], eax
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
xor ebx, ebx
cmp eax, 0x102
ja 0x43217d
cmp word [esp + 0x26], 0
je 0x43205b
xor ebx, ebx
nop word cs:[eax + eax]
nop
cmp word [esp + ebx*2 + 0x28], 0
lea ebx, [ebx + 1]
jne 0x432050
mov dword [esp + 0x10], esi
mov edi, esp
lea esi, [esp + 0x10]
mov dword [esp + 0x14], ebx
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], 0
push edi
push esi
call fcn.00443eb0
add esp, 8
mov ecx, edi
push 0
push 0
call fcn.00428f56
cmp eax, 0xffffffff
je 0x4320a4
mov ecx, esp
push 0xffffffffffffffff
push eax
call fcn.00428b8e
movzx eax, byte [esp + 0xb]
test al, al
jns 0x4320b4
mov edi, dword [esp]
mov eax, dword [esp + 4]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
push esi
push eax
call fcn.00443eb0
add esp, 8
mov ecx, esi
push 0
push 0
call fcn.00428f56
cmp eax, 0xffffffff
je 0x432101
lea ecx, [esp + 0x10]
push 0xffffffffffffffff
push eax
call fcn.00428b8e
lea ecx, [esp + 0x10]
call fcn.00431d70
cmp byte [ebx + 0xb], 0
js 0x43211b
mov word [ebx], 0
mov byte [ebx + 0xb], 0
jmp 0x432140
mov eax, dword [ebx]
mov word [eax], 0
mov dword [ebx + 4], 0
cmp byte [ebx + 0xb], 0
jns 0x432140
push dword [ebx]
call fcn.004aeac6
add esp, 4
mov dword [ebx + 8], 0
mov eax, dword [esp + 0x18]
mov dword [ebx + 8], eax
movsd xmm0, qword [esp + 0x10]
movsd qword [ebx], xmm0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
cmp byte [esp + 0xb], 0
jns 0x43217b
push dword [esp]
call fcn.004aeac6
add esp, 4
mov bl, 1
mov ecx, dword [esp + 0x230]
xor ecx, ebp
call fcn.004aeb01
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret