joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b0c0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40b124
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.0040414c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407088
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b12b
lea eax, [ebp - 0xc]
call fcn.00403edc
ret
Function at 0x401c90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f9db9
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x401e0c
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401cd0
sub eax, esi
sar eax, 1
cmp eax, 3
jb 0x401e0c
cmp word [edx], 0x2a
jne 0x401e0c
cmp word [edx + 2], 0x2e
jne 0x401e0c
mov edi, dword [ebp + 8]
add edi, 0x180
lea esi, [esp + 0x14]
mov dword [esp + 0x10], edi
call fcn.0045d810
mov ebx, dword [edi + 0x10]
mov esi, dword [esp + 0x10]
cmp dword [esi + 0xc], ebx
jbe 0x401d25
call dword [0x4ff3d0]
mov eax, dword [esi]
mov esi, dword [esp + 0x14]
test esi, esi
je 0x401d33
cmp esi, eax
je 0x401d39
call dword [0x4ff3d0]
mov edi, dword [esp + 0x18]
cmp edi, ebx
je 0x401d81
test esi, esi
jne 0x401d7d
call dword [0x4ff3d0]
cmp edi, dword [esi + 0x10]
jb 0x401d56
call dword [0x4ff3d0]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, edi
call dword [0x4ffb78]
test eax, eax
je 0x401e0c
lea edi, [esp + 0x1c]
lea esi, [esp + 0x14]
call fcn.00402db0
mov edi, dword [esp + 0x10]
jmp 0x401d13
mov esi, dword [esi]
jmp 0x401d4b
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [esp + 0x18]
call dword [0x4fff2c]
mov dword [esp + 0x30], 0
mov edi, dword [esp + 0x10]
lea ebx, [esp + 0x14]
call fcn.00402c60
mov dword [esp + 0x30], 0xffffffff
mov ecx, ebx
call dword [0x4fff34]
mov edx, dword [edi + 0x10]
sub edx, dword [edi + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xe8]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
sar edx, 2
push edx
push 0x102f
push eax
call ebx
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov edx, dword [esi + 0xe8]
push 0
sar ecx, 2
dec ecx
push ecx
push 0x1013
push edx
call ebx
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x403ea0
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x4f1d6a
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
mov ecx, esi
mov dword [esp + 8], 0
call dword [0x4fff58]
mov dword [esp + 0x14], 0
push 0x7fff
push 0x7fff
mov ecx, esi
mov dword [esp + 0x10], 1
call dword [0x4fff30]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0xffffffffffffffff
mov ecx, esi
call dword [0x4ffef8]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x403f23
push ebx
mov ecx, esi
call dword [0x4fff04]
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4089a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f600d
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
push ecx
mov eax, esp
mov dword [esp + 0xc], esp
lea ecx, [esp + 0x20]
push ecx
push eax
call fcn.00406920
mov byte [esp + 0x18], 1
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4089f0
cmp eax, dword [esp + 0x24]
je 0x4089f6
call dword [0x4ff3d0]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov eax, ecx
sub eax, edx
sar eax, 2
push eax
push ecx
push edx
mov byte [esp + 0x24], 0
call fcn.00408af0
add esp, 0x10
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 0x1c]
call dword [0x4fff34]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
add esp, 0x14
ret
Function at 0x40af50
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f7e79
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
mov ebx, edx
call fcn.0040a9e0
xor ebp, ebp
mov dword [esp + 0x2c], ebp
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], ebp
je 0x40b049
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esp + 0x1c], ebp
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.IsWow64Process
push str.kernel32
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ebp
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
cmp eax, ebp
je 0x40afd5
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x18]
push edx
push ecx
call eax
cmp dword [esp + 0x18], ebp
je 0x40aff5
push str.Wow64DisableWow64FsRedirection
push str.kernel32
call esi
push eax
call edi
cmp eax, ebp
je 0x40aff5
lea edx, [esp + 0x1c]
push edx
call eax
mov eax, dword [esp + 0x14]
push 1
push ebp
push ebp
push eax
push ebp
push ebp
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call ebx
push str.IsWow64Process
push str.kernel32
mov ebx, eax
mov dword [esp + 0x20], ebp
call esi
push eax
call edi
cmp eax, ebp
je 0x40b029
lea ecx, [esp + 0x18]
push ecx
push ebx
call eax
cmp dword [esp + 0x18], ebp
je 0x40b049
mov ebx, dword [esp + 0x1c]
push str.Wow64RevertWow64FsRedirection
push str.kernel32
call esi
push eax
call edi
cmp eax, ebp
je 0x40b049
push ebx
call eax
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [esp + 0x14]
call dword [0x4fff34]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x40b070
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f7e52
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
mov ebx, edx
call fcn.0040a9e0
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], ebx
je 0x40b1a6
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esp + 0x20], ebx
call ebp
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.IsWow64Process
push str.kernel32
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
cmp eax, ebx
je 0x40b0f5
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x1c]
push edx
push ecx
call eax
cmp dword [esp + 0x1c], ebx
je 0x40b115
push str.Wow64DisableWow64FsRedirection
push str.kernel32
call esi
push eax
call edi
cmp eax, ebx
je 0x40b115
lea edx, [esp + 0x20]
push edx
call eax
lea ecx, [esp + 0x18]
call dword [0x4fff58]
mov byte [esp + 0x30], 1
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push str.__e__select__s
push ecx
call dword [0x4ffacc]
mov edx, dword [esp + 0x24]
add esp, 0xc
push 1
push ebx
push edx
push str.explorer.exe
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call ebp
push str.IsWow64Process
push str.kernel32
mov ebp, eax
mov dword [esp + 0x24], ebx
call esi
push eax
call edi
cmp eax, ebx
je 0x40b178
lea ecx, [esp + 0x1c]
push ecx
push ebp
call eax
cmp dword [esp + 0x1c], ebx
je 0x40b198
mov ebp, dword [esp + 0x20]
push str.Wow64RevertWow64FsRedirection
push str.kernel32
call esi
push eax
call edi
cmp eax, ebx
je 0x40b198
push ebp
call eax
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x18]
call dword [0x4fff34]
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x14]
call dword [0x4fff34]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x40ee60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f9df2
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esi + 0x10]
mov dword [esp + 0x14], 0
cmp dword [esi + 0xc], edi
jbe 0x40eea4
call dword [0x4ff3d0]
mov ebx, dword [esi + 0xc]
mov eax, dword [esi]
mov dword [esp + 0x1c], eax
cmp ebx, dword [esi + 0x10]
jbe 0x40eeb8
call dword [0x4ff3d0]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi]
push edi
push ecx
push ebx
push eax
lea edx, [esp + 0x2c]
push edx
call fcn.00402fb0
mov ebx, dword [ebp + 0xc]
lea eax, [esp + 0x14]
push eax
push ebx
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [ebp + 8]
call dword [0x4ffb7c]
mov dword [esp + 0x38], 0
mov edx, dword [esp + 0x10]
cmp dword [edx - 0xc], 0
je 0x40efa1
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x40ef04
xor eax, eax
jmp 0x40ef0c
mov eax, dword [esi + 0x14]
sub eax, ecx
sar eax, 2
mov edi, dword [esi + 0x10]
mov edx, edi
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x40ef41
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x18], 0
mov eax, dword [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x18]
push edx
push 1
push edi
call fcn.00403820
add esp, 0x14
add edi, 4
mov dword [esi + 0x10], edi
jmp 0x40ef60
cmp ecx, edi
jbe 0x40ef4b
call dword [0x4ff3d0]
mov eax, dword [esi]
push edi
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
push ecx
mov eax, esi
call fcn.00402ef0
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x14]
push edx
push ebx
lea eax, [esp + 0x24]
push eax
call dword [0x4ffb7c]
mov byte [esp + 0x38], 1
push eax
lea ecx, [esp + 0x14]
call dword [0x4ffefc]
mov byte [esp + 0x38], 0
lea ecx, [esp + 0x1c]
call dword [0x4fff34]
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], 0
jne 0x40eef9
mov edi, dword [esi + 0x10]
sub edi, dword [esi + 0xc]
sar edi, 2
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x10]
call dword [0x4fff34]
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x410040
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x110]
mov dword [esi + 0x114], 1
test eax, eax
je 0x410082
mov eax, dword [eax + 0x2c]
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x410082
mov ecx, dword [esi + 0x110]
mov edx, dword [ecx + 0x2c]
push 0x4d2
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, esi
pop esi
jmp fcn.004ef3c0
Function at 0x4150b0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push esi
push edi
mov dword [esp + 0x10], 0
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.IsWow64Process
push str.kernel32
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
test eax, eax
je 0x4150fd
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xc]
push ecx
push edx
call eax
cmp dword [esp + 0xc], 0
je 0x41511e
push str.Wow64DisableWow64FsRedirection
push str.kernel32
call esi
push eax
call edi
test eax, eax
je 0x41511e
lea ecx, [esp + 0x10]
push ecx
call eax
mov edx, dword [esp + 0x1c]
push 1
push 0
push 0
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call ebx
push str.IsWow64Process
push str.kernel32
mov ebx, eax
mov dword [esp + 0x24], 0
call esi
push eax
call edi
test eax, eax
je 0x41515a
lea ecx, [esp + 0x1c]
push ecx
push ebx
call eax
cmp dword [esp + 0x1c], 0
je 0x41517b
mov ebx, dword [esp + 0x10]
push str.Wow64RevertWow64FsRedirection
push str.kernel32
call esi
push eax
call edi
test eax, eax
je 0x41517b
push ebx
call eax
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0xc
ret 4
Function at 0x4153c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f7e52
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [ecx]
mov eax, dword [eax + 4]
push 2
push edx
lea edx, [esp + 0x1c]
push edx
call eax
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], ebx
je 0x4154f9
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esp + 0x20], ebx
call ebp
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.IsWow64Process
push str.kernel32
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
cmp eax, ebx
je 0x415448
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x1c]
push edx
push ecx
call eax
cmp dword [esp + 0x1c], ebx
je 0x415468
push str.Wow64DisableWow64FsRedirection
push str.kernel32
call esi
push eax
call edi
cmp eax, ebx
je 0x415468
lea edx, [esp + 0x20]
push edx
call eax
lea ecx, [esp + 0x18]
call dword [0x4fff58]
mov byte [esp + 0x30], 1
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push str.__e__select__s
push ecx
call dword [0x4ffacc]
mov edx, dword [esp + 0x24]
add esp, 0xc
push 1
push ebx
push edx
push str.explorer.exe
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call ebp
push str.IsWow64Process
push str.kernel32
mov ebp, eax
mov dword [esp + 0x24], ebx
call esi
push eax
call edi
cmp eax, ebx
je 0x4154cb
lea ecx, [esp + 0x1c]
push ecx
push ebp
call eax
cmp dword [esp + 0x1c], ebx
je 0x4154eb
mov ebp, dword [esp + 0x20]
push str.Wow64RevertWow64FsRedirection
push str.kernel32
call esi
push eax
call edi
cmp eax, ebx
je 0x4154eb
push ebp
call eax
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x18]
call dword [0x4fff34]
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x14]
call dword [0x4fff34]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x416940
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f5bc2
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x38]
push ecx
mov edi, edx
call fcn.00416ae0
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov edx, dword [esp + 0x34]
cmp dword [edx - 0xc], ebx
je 0x416a7b
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esp + 0x1c], ebx
call ebp
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.IsWow64Process
push str.kernel32
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
cmp eax, ebx
je 0x4169ca
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
push edx
call eax
cmp dword [esp + 0x18], ebx
je 0x4169ea
push str.Wow64DisableWow64FsRedirection
push str.kernel32
call esi
push eax
call edi
cmp eax, ebx
je 0x4169ea
lea ecx, [esp + 0x1c]
push ecx
call eax
lea ecx, [esp + 0x14]
call dword [0x4fff58]
mov byte [esp + 0x2c], 1
mov edx, dword [esp + 0x34]
push edx
lea eax, [esp + 0x18]
push str.__e__select__s
push eax
call dword [0x4ffacc]
mov ecx, dword [esp + 0x20]
add esp, 0xc
push 1
push ebx
push ecx
push str.explorer.exe
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call ebp
push str.IsWow64Process
push str.kernel32
mov ebp, eax
mov dword [esp + 0x20], ebx
call esi
push eax
call edi
cmp eax, ebx
je 0x416a4d
lea edx, [esp + 0x18]
push edx
push ebp
call eax
cmp dword [esp + 0x18], ebx
je 0x416a6d
mov ebp, dword [esp + 0x1c]
push str.Wow64RevertWow64FsRedirection
push str.kernel32
call esi
push eax
call edi
cmp eax, ebx
je 0x416a6d
push ebp
call eax
mov byte [esp + 0x2c], bl
lea ecx, [esp + 0x14]
call dword [0x4fff34]
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [esp + 0x34]
call dword [0x4fff34]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
Function at 0x417820
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4f5b13
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebp
push esi
push edi
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, dword [esp + 0x34]
mov ecx, esi
call fcn.004ef480
xor edi, edi
mov dword [esp + 0x2c], edi
lea ebp, [esi + 0x10]
mov ecx, ebp
mov dword [esi], vtable.CMemDC.0
call fcn.0040b8e0
mov byte [esp + 0x2c], 1
xor ecx, ecx
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], ebx
mov eax, dword [ebx + 0xc]
cmp eax, edi
sete cl
mov eax, ecx
mov dword [esi + 0x30], eax
cmp eax, edi
je 0x417931
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.004ef4a4
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
call dword [sym.imp.USER32.dll_EqualRect]
lea edi, [esi + 0x20]
test eax, eax
je 0x4178ce
mov edx, dword [ebx]
mov eax, dword [edx + 0x58]
push edi
mov ecx, ebx
call eax
jmp 0x4178e9
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov dword [edi], ecx
mov ecx, dword [esp + 0x44]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 8]
sub ecx, dword [edi]
mov edx, dword [ebx + 4]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebp
call fcn.004ef4aa
test ebp, ebp
je 0x41790f
mov ebp, dword [ebp + 4]
mov eax, dword [esi + 4]
push ebp
push eax
call fcn.004ef6b4
mov ecx, dword [esi + 0x24]
mov edx, dword [edi]
push ecx
mov dword [esi + 0x18], eax
push edx
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.004ef6d8
jmp 0x417943
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0xc], ecx
mov edx, dword [ebx + 4]
mov dword [esi + 4], edx
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov dword [esp + 0x2c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x20
ret 0x14
Function at 0x41c010
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f394b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
lea ecx, [esp + 8]
call dword [0x4fff58]
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x24]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call dword [0x4fff2c]
mov byte [esp + 0x20], 1
lea ecx, [esp + 0x10]
push ecx
mov byte [esp + 0x24], 0
call fcn.0041bae0
mov byte [esp + 0x24], 2
mov edx, dword [eax]
push edx
lea eax, [esp + 0x14]
push str.http:__isearch.glarysoft.com__q_scategoryapage1fromquicksearch
push eax
call dword [0x4ffacc]
add esp, 0x14
mov byte [esp + 0x1c], 0
lea ecx, [esp + 0xc]
call dword [0x4fff34]
mov ecx, dword [esp + 8]
push 0
push 0
push 0
push ecx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor edx, edx
cmp eax, 0x20
setg dl
mov esi, edx
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 8]
call dword [0x4fff34]
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x18
ret
Function at 0x41d860
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x51f518
push 0x4f02e5
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x52e028]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, ecx
xor edi, edi
mov dword [ebp - 4], edi
push method.CCategoryDialog.virtual_12
call dword [0x4ff38c]
mov dword [ebp - 0x2d0], edi
push 0x2b0
push edi
lea eax, [ebp - 0x2cc]
push eax
call fcn.004f0a6a
add esp, 0x10
push 0x4411
push 0x2b4
lea ecx, [ebp - 0x2d0]
push ecx
mov edx, dword [ebp + 8]
push edx
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x41d8fe
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 4], 0xfffffffe
jmp 0x41d907
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004efe2a
mov esp, ebp
pop ebp
ret

Function at 0x41ef10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4f3873
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov edi, dword [esp + 0x34]
xor esi, esi
mov dword [esp + 0x2c], esi
push str.C:WindowsWinSxS
mov ecx, edi
mov dword [esp + 0x20], esi
call dword [0x4fff2c]
mov dword [esp + 0x2c], esi
mov esi, 1
mov ebx, str.ExcludeList
mov dword [esp + 0x1c], esi
call fcn.00463210
lea eax, [esp + 0x14]
push eax
push str.ExcludeFile
mov dword [esp + 0x1c], 6
call fcn.004631b0
mov eax, dword [esp + 0x1c]
add esp, 8
mov dword [0x53f754], eax
test eax, eax
je 0x41f027
lea ecx, [esp + 0x14]
call dword [0x4fff58]
mov dword [esp + 0x2c], esi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebp, dword [0x4ffacc]
mov ebx, esi
mov dword [esp + 0x20], eax
lea esi, [ebx + 0x40]
mov dword [esp + 0x18], 0x20
mov ecx, dword [esp + 0x20]
test ecx, ebx
je 0x41f00e
mov edx, dword [edi]
cmp dword [edx - 0xc], 0
je 0x41efdc
push 0x501d9c
mov ecx, edi
call dword [0x4ffad4]
push esi
push esi
lea eax, [esp + 0x1c]
push str._c:_RECYCLE.BIN_c:System_Volume_Information
push eax
call ebp
mov ecx, dword [esp + 0x24]
add esp, 0x10
push 0
push ecx
mov ecx, edi
call dword [0x4ffadc]
cmp eax, 0xffffffff
jne 0x41f00e
lea edx, [esp + 0x14]
push edx
mov ecx, edi
call dword [0x4ff9e8]
inc esi
rol ebx, 1
sub dword [esp + 0x18], 1
jne 0x41efbf
mov byte [esp + 0x2c], 0
lea ecx, [esp + 0x14]
call dword [0x4fff34]
mov eax, edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x41f200
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4f3813
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x52e028]
xor eax, esp
mov dword [esp + 0x114], eax
push ebp
push esi
push edi
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x138]
mov dword [esp + 0x14], 0
mov ecx, 0x13
mov esi, str.733D107A_7A09_44ea_B230_C20B21AB319D
lea edi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
push 0xb2
lea eax, [esp + 0x76]
push 0
push eax
mov dword [esp + 0x2c], ebp
movsw word es:[edi], word [esi]
call fcn.004f0a6a
lea ecx, [esp + 0x1c]
push ecx
call fcn.00409860
mov esi, 1
mov dword [esp + 0x140], esi
push eax
lea edx, [esp + 0x2c]
push edx
mov edi, str.memfile.ini
call fcn.00407070
add esp, 0x18
mov byte [esp + 0x130], 3
lea ecx, [esp + 0x10]
call dword [0x4fff34]
lea eax, [esp + 0x1c]
push eax
call fcn.00409860
mov byte [esp + 0x134], 4
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00407070
add esp, 0xc
mov byte [esp + 0x130], 5
mov eax, dword [eax]
push eax
push 0x80
lea edx, [esp + 0x2c]
push edx
push str.733D107A_7A09_44ea_B230_C20B21AB319D
push str.RunName
push 0x504d74
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov byte [esp + 0x130], 4
lea ecx, [esp + 0x10]
call dword [0x4fff34]
mov byte [esp + 0x130], 3
lea ecx, [esp + 0x1c]
call dword [0x4fff34]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [esp + 0x24]
push eax
mov ecx, ebp
call dword [0x4fff2c]
mov dword [esp + 0x14], esi
mov byte [esp + 0x130], 0
lea ecx, [esp + 0x18]
call dword [0x4fff34]
mov eax, ebp
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004efe2a
add esp, 0x124
ret