joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4644f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5eb3a6
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x677000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 3
xor eax, eax
xor esi, esi
push 0x6295b4
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], esi
mov word [ebp - 0x248], ax
call fcn.00406400
lea eax, [ebp - 0x248]
push eax
mov dword [ebp - 4], esi
mov ecx, dword [0x74e2f4]
lea eax, [ebp - 0x230]
push eax
add ecx, 0x1c
call fcn.00409910
mov byte [ebp - 4], 2
cmp dword [ebp - 0x234], 8
jb 0x464585
push dword [ebp - 0x248]
call fcn.0049500b
add esp, 4
push 0x5c
xor eax, eax
push ecx
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
call fcn.00414110
push 0x13
push str.FirewallSetting.dll
lea ecx, [ebp - 0x230]
call fcn.004062d0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4646ce
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
jne 0x464635
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CFuncMgr::FirewallUnBlock_LoadLibrary___Failed:0x_08x
push 0xffffffffffffffff
push 0x1000
push 0x74e818
call fcn.005b8769
add esp, 0x14
push 0x74e818
call fcn.00418730
jmp 0x4646ce
push str.AddFireawllSetting
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
jne 0x464673
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CFuncMgr::FirewallUnBlock_GetProcAddress___Failed:0x_08x
push 0xffffffffffffffff
push 0x1000
push 0x74e818
call fcn.005b8769
add esp, 0x14
push 0x74e818
call fcn.00418730
jmp 0x4646c7
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.005bb1c0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x624ff8
push 0x63d144
push 0x63d230
lea eax, [ebp - 0x218]
push eax
call ebx
mov ecx, 1
test eax, eax
cmove esi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x21c], 8
jb 0x4646e5
push dword [ebp - 0x230]
call fcn.0049500b
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b7f8f
mov esp, ebp
pop ebp
ret
Function at 0x464710
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5eb3a6
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x677000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 3
xor eax, eax
xor esi, esi
push 0x6295b4
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], esi
mov word [ebp - 0x248], ax
call fcn.00406400
lea eax, [ebp - 0x248]
push eax
mov dword [ebp - 4], esi
mov ecx, dword [0x74e2f4]
lea eax, [ebp - 0x230]
push eax
add ecx, 0x1c
call fcn.00409910
mov byte [ebp - 4], 2
cmp dword [ebp - 0x234], 8
jb 0x4647a5
push dword [ebp - 0x248]
call fcn.0049500b
add esp, 4
push 0x5c
xor eax, eax
push ecx
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
call fcn.00414110
push 0x13
push str.FirewallSetting.dll
lea ecx, [ebp - 0x230]
call fcn.004062d0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4648e4
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
jne 0x464855
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CFuncMgr::FirewallBlock_LoadLibrary___Failed:0x_08x
push 0xffffffffffffffff
push 0x1000
push 0x74e818
call fcn.005b8769
add esp, 0x14
push 0x74e818
call fcn.00418730
jmp 0x4648e4
push str.RemoveFirewallSetting
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
jne 0x464893
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CFuncMgr::FirewallBlock_GetProcAddress___Failed:0x_08x
push 0xffffffffffffffff
push 0x1000
push 0x74e818
call fcn.005b8769
add esp, 0x14
push 0x74e818
call fcn.00418730
jmp 0x4648dd
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.005bb1c0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x63d230
lea eax, [ebp - 0x218]
push eax
call ebx
mov ecx, 1
test eax, eax
cmove esi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x21c], 8
jb 0x4648fb
push dword [ebp - 0x230]
call fcn.0049500b
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b7f8f
mov esp, ebp
pop ebp
ret
Function at 0x464ae0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x677000]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
cmp dword [eax + 0x14], 8
jb 0x464b03
mov eax, dword [eax]
lea ecx, [ebp - 0x25c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x464b45
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, edi
test byte [ebp - 0x25c], 0x10
je 0x464b39
lea eax, [ebp - 0x25c]
push eax
push esi
call ebx
test eax, eax
jne 0x464b20
jmp 0x464b3e
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005b7f8f
mov esp, ebp
pop ebp
ret 4
Function at 0x465e70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5eb3e8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x677000]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 6
xor eax, eax
push str.BITMAP
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
call fcn.00406400
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 0
mov ecx, dword [0x74e2f4]
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ecx + 0x1c]
call fcn.00409910
mov byte [ebp - 4], 2
cmp dword [ebp - 0x48], 8
jb 0x465ef1
push dword [ebp - 0x5c]
call fcn.0049500b
add esp, 4
xor eax, eax
push 0x630b1c
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
call fcn.00406dd0
push esi
mov edx, eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00406b90
add esp, 8
cmp dword [ebp - 0x60], 8
jb 0x465f38
push dword [ebp - 0x74]
call fcn.0049500b
add esp, 4
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x465f52
xor esi, esi
jmp 0x465f70
cmp dword [ebp - 0x18], 8
push 0x10
push 0
push 0
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push 0
push eax
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
mov esi, eax
cmp dword [ebp - 0x18], 8
jb 0x465f81
push dword [ebp - 0x2c]
call fcn.0049500b
add esp, 4
xor eax, eax
cmp dword [ebp - 0x30], 8
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
jb 0x465fa6
push dword [ebp - 0x44]
call fcn.0049500b
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005b7f8f
mov esp, ebp
pop ebp
ret 4
Function at 0x465fd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5eb3e8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x677000]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 9
xor eax, eax
push str.RES_MODEL
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
call fcn.00406400
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 0
mov ecx, dword [0x74e2f4]
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ecx + 0x1c]
call fcn.00409910
mov byte [ebp - 4], 2
cmp dword [ebp - 0x48], 8
jb 0x466051
push dword [ebp - 0x5c]
call fcn.0049500b
add esp, 4
xor eax, eax
push 0x630b1c
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
call fcn.00406dd0
add esp, 4
push esi
mov edx, eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00406b90
add esp, 4
cmp dword [ebp - 0x60], 8
jb 0x46609b
push dword [ebp - 0x74]
call fcn.0049500b
add esp, 4
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea eax, [ebp - 0x2c]
jne 0x4660e4
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
push eax
push str.CFuncMgr::GetBmpHandleModel_PathFileExists___Failed___file_path:_s
push 0xffffffffffffffff
push 0x1000
push 0x74e818
call fcn.005b8769
add esp, 0x14
push 0x74e818
call fcn.00418730
xor esi, esi
jmp 0x4660ff
cmp dword [ebp - 0x18], 8
push 0x10
cmovae eax, dword [ebp - 0x2c]
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
mov esi, eax
cmp dword [ebp - 0x18], 8
jb 0x466110
push dword [ebp - 0x2c]
call fcn.0049500b
add esp, 4
xor eax, eax
cmp dword [ebp - 0x30], 8
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
jb 0x466135
push dword [ebp - 0x44]
call fcn.0049500b
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005b7f8f
mov esp, ebp
pop ebp
ret 4
Function at 0x4668a0
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x677000]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
xorps xmm0, xmm0
push 0x28
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x10], xmm0
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 0x10]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push SysReAllocStringLen
push 1
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownExW]
test eax, eax
jne 0x466936
push eax
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x466944
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b7f8f
mov esp, ebp
pop ebp
ret

Function at 0x466ac0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e9ac0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x677000]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x677000]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 4
xor eax, eax
push str.LANG
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
call fcn.00406400
lea eax, [esp + 8]
push eax
mov dword [esp + 0x4c], 0
mov ecx, dword [0x74e2f4]
lea eax, [esp + 0x24]
push eax
add ecx, 0xc
call fcn.00409910
mov byte [esp + 0x48], 2
cmp dword [esp + 0x1c], 8
jb 0x466b57
push dword [esp + 8]
call fcn.0049500b
add esp, 4
push 6
push str.Arabic
push dword [esp + 0x38]
xor eax, eax
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
call fcn.00407060
push 0
mov ecx, esi
test eax, eax
jne 0x466b93
push 0x400000
push eax
jmp 0x466b9a
push 0
push 0x400000
call fcn.0049c3ca
cmp dword [esp + 0x34], 8
jb 0x466bb2
push dword [esp + 0x20]
call fcn.0049500b
add esp, 4
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.005b7f8f
mov esp, ebp
pop ebp
ret 4
Function at 0x467be0
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x677000]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x90
push 0
mov dword [ebp - 8], 0
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
cmp eax, 0x6f
je 0x467c50
test eax, eax
je 0x467c50
push eax
push str.CFuncMgr::GetAdaptersInfo___GetAdaptersAddresses_Failed:0x_08x
push 0xffffffffffffffff
push 0x1000
push 0x74e818
call fcn.005b8769
add esp, 0x14
push 0x74e818
call fcn.00418730
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b7f8f
mov esp, ebp
pop ebp
ret 4
push dword [ebp - 8]
push str.CFuncMgr::GetNicInfo___GetAdaptersAddresses_size:_d
push 0xffffffffffffffff
push 0x1000
push 0x74e818
call fcn.005b8769
add esp, 0x14
push 0x74e818
call fcn.00418730
push 0x178
push str.CFuncMgr::GetNicInfo___GetAdaptersAddresses_size:_d
push 0xffffffffffffffff
push 0x1000
push 0x74e818
call fcn.005b8769
add esp, 0x14
push 0x74e818
call fcn.00418730
push dword [ebp - 8]
call fcn.00495002
add esp, 4
mov dword [edi], eax
test eax, eax
jne 0x467ccc
push str.CFuncMgr::GetAdaptersInfo___Failed
call fcn.00418730
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b7f8f
mov esp, ebp
pop ebp
ret 4
push dword [ebp - 8]
push 0
push eax
call fcn.005bb1c0
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [edi]
push 0
push 0x90
push 0
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
test eax, eax
jne 0x467c19
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop edi
call fcn.005b7f8f
mov esp, ebp
pop ebp
ret 4
Function at 0x468f10
Capabilities:
Access peb ldr_data
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5eb917
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x677000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
lea ecx, [ebx + 0xc]
mov dword [ebx], vtable.CInfoMgr.0
call fcn.00409630
lea ecx, [ebx + 0x1c]
mov dword [ebp - 4], 0
call fcn.00409630
add ebx, 0x2c
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], ebx
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
call fcn.00416590
mov dword [ebx + 4], eax
push 0
push 0
push 0
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push eax
mov dword [ebx], eax
call edi
mov eax, dword [ebx + 4]
push eax
push dword [eax]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebx + 4]
call fcn.00415350
push dword [ebx]
mov ebx, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
call ebx
mov esi, dword [ebp - 0x10]
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
push 0xffffffffffffffff
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push dword [esi + 0x18]
call edi
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x10]
push dword [eax + 4]
call fcn.0040ab60
mov eax, dword [esi + 0x10]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x10]
mov dword [eax], eax
mov eax, dword [esi + 0x10]
mov dword [eax + 8], eax
mov dword [esi + 0x14], 0
push dword [esi + 0x18]
call ebx
push 0xffffffffffffffff
push dword [esi + 0x28]
call edi
mov eax, dword [esi + 0x20]
lea ecx, [esi + 0x20]
push dword [eax + 4]
call fcn.0040ab60
mov eax, dword [esi + 0x20]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x20]
mov dword [eax], eax
mov eax, dword [esi + 0x20]
mov dword [eax + 8], eax
mov dword [esi + 0x24], 0
push dword [esi + 0x28]
call ebx
push 0xffffffffffffffff
push dword [esi + 0x2c]
call edi
lea ecx, [esi + 0x30]
mov eax, dword [ecx]
push eax
push dword [eax]
lea eax, [ebp - 0x18]
push eax
call fcn.00415350
push dword [esi + 0x2c]
call ebx
push dword [ebp - 0x18]
mov edx, dword [esi + 0x40]
push ecx
mov ecx, dword [esi + 0x3c]
call fcn.00416ed0
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x40], eax
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4690c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5eb96c
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x677000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx], vtable.CInfoMgr.0
mov dword [ebp - 4], 3
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x46910e
push ecx
call fcn.004691e0
mov dword [ebx + 4], 0
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
je 0x469141
push dword [ebp - 0x10]
mov edx, dword [ebx + 0x40]
push ecx
call fcn.00416ed0
push dword [ebx + 0x3c]
call fcn.0049500b
add esp, 0xc
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov byte [ebp - 4], 1
push dword [ebx + 0x2c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov eax, dword [ebx + 0x30]
push eax
push dword [eax]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x30]
call fcn.00415350
push dword [ebx + 0x30]
call fcn.0049500b
add esp, 4
mov byte [ebp - 4], 0
push dword [ebx + 0x28]
mov dword [ebx + 0x1c], vtable.CCDCMACRO.0
call edi
mov eax, dword [ebx + 0x20]
push eax
push dword [eax]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x20]
call fcn.0040aaa0
push dword [ebx + 0x20]
call fcn.0049500b
add esp, 4
mov dword [ebp - 4], 0xffffffff
push dword [ebx + 0x18]
mov dword [ebx + 0xc], vtable.CCDCMACRO.0
call edi
mov eax, dword [ebx + 0x10]
push eax
push dword [eax]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x10]
call fcn.0040aaa0
push dword [ebx + 0x10]
call fcn.0049500b
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46cdc0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ebfcb
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x677000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x820], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x81c], eax
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
mov dword [ebp - 0x818], 0x400
mov dword [ebp - 0x814], 0
call fcn.005bb1c0
add esp, 0xc
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x46cf48
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x46ce65
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CInfoMgr::GetUILangWithMUI_GetProcAddress___Failed:0x_08x
jmp 0x46cf2a
lea ecx, [ebp - 0x818]
push ecx
lea ecx, [ebp - 0x810]
push ecx
lea ecx, [ebp - 0x814]
push ecx
push 4
call eax
test eax, eax
jne 0x46ce93
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CInfoMgr::GetUILangWithMUI_GetThreadPreferredUILanguages___Failed:0x_08x
jmp 0x46cf2a
xor ebx, ebx
lea esi, [ebp - 0x810]
cmp dword [ebp - 0x814], ebx
jbe 0x46cef8
cmp word [esi], 0
je 0x46cef2
push 0x10
push 0
push esi
call fcn.005b90d7
mov ecx, dword [ebp - 0x820]
add esp, 8
movzx edi, ax
push dword [ebp - 0x81c]
push edi
call fcn.0046cff0
test eax, eax
jne 0x46cf1c
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46ced4
sub ecx, edx
sar ecx, 1
inc ebx
lea esi, [esi + ecx*2]
add esi, 2
cmp ebx, dword [ebp - 0x814]
jb 0x46cea3
mov edi, dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
push ecx
push dword [ebp - 0x81c]
movzx esi, ax
push esi
mov ecx, edi
call fcn.0046cff0
test eax, eax
je 0x46cf24
mov ax, si
jmp 0x46cfc5
mov ax, di
jmp 0x46cfc5
push esi
push str.CInfoMgr::GetUILangWithMUI_CheckIfLangIDisInLanguages___Failed_:_SystemLangId:0x_08x
push 0xffffffffffffffff
push 0x1000
push 0x74e818
call fcn.005b8769
add esp, 0x14
push 0x74e818
call fcn.00418730
push 0xffffffffffffffff
push str.English
push pe_nt_image_headers32
push dword [ebp - 0x81c]
call fcn.005b9367
add esp, 0x10
xor eax, eax
push 0xd
push str.SELECTED_LANG
lea ecx, [ebp - 0x838]
mov dword [ebp - 0x824], 7
mov dword [ebp - 0x828], 0
mov word [ebp - 0x838], ax
call fcn.00406400
push 0
lea eax, [ebp - 0x838]
push eax
lea ecx, [edi + 0xc]
mov dword [ebp - 4], 0
call fcn.0040a350
cmp dword [ebp - 0x824], 8
jb 0x46cfc0
push dword [ebp - 0x838]
call fcn.0049500b
add esp, 4
mov eax, 0x409
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b7f8f
mov esp, ebp
pop ebp
ret 8
Function at 0x478a00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ed5f8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x677000]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x677000]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004a0a81
mov eax, dword [0x74e300]
mov dword [eax], 0x726f48
mov dword [eax + 4], 4
lea eax, [esi + 0x108]
push eax
call fcn.0047a9b0
push 0
lea eax, [esi + 0x264]
push eax
call fcn.0047adf0
push 1
lea eax, [esi + 0x17c]
push eax
call fcn.0047adf0
push 2
lea eax, [esi + 0x1f0]
push eax
call fcn.0047adf0
push 3
lea eax, [esi + 0x94]
push eax
call fcn.0047adf0
mov eax, dword [0x74e300]
mov ecx, esi
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.00478e00
push 0xd
xor eax, eax
push str.SELECTED_LANG
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
call fcn.00406400
lea eax, [esp + 8]
mov dword [esp + 0x48], 0
mov ecx, dword [0x74e2f4]
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [ecx + 0xc]
call fcn.00409910
cmp dword [esp + 0x1c], 8
jb 0x478b05
push dword [esp + 8]
call fcn.0049500b
add esp, 4
cmp dword [esp + 0x34], 8
lea eax, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
push eax
call fcn.005b9336
add esp, 4
push 0
push eax
push 0x186
push dword [esi + 0xb4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x750ce4], 1
jne 0x478b43
mov dword [esi + 0x2d8], 0
cmp dword [esp + 0x34], 8
jb 0x478b56
push dword [esp + 0x20]
call fcn.0049500b
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.005b7f8f
mov esp, ebp
pop ebp
ret