joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000a910
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x10031040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor ebx, ebx
mov dword [ebp - 0x408], ebx
push 0x288
mov dword [ebp - 0x408], 4
call fcn.10017c42
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x1000a964
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], ax
push ebx
mov eax, 0x1002a9c0
jmp 0x1000aa46
lea ecx, [ebp - 0x408]
push ecx
push edi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x1000a992
push edi
call fcn.10017c08
mov edx, dword [ebp - 0x408]
push edx
call fcn.10017c42
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x1000a94a
push 0x3fe
lea edx, [ebp - 0x402]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x404], cx
call fcn.10018f30
add esp, 0xc
lea eax, [ebp - 0x408]
push eax
push edi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x1000aa07
movzx ecx, byte [edi + 0x199]
movzx edx, byte [edi + 0x198]
movzx eax, byte [edi + 0x197]
push ecx
movzx ecx, byte [edi + 0x196]
push edx
movzx edx, byte [edi + 0x195]
push eax
movzx eax, byte [edi + 0x194]
push ecx
push edx
push eax
lea ecx, [ebp - 0x404]
push str._02X_02X_02X_02X_02X_02X
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x20
push edi
call fcn.10017c08
add esp, 4
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
lea eax, [ebp - 0x404]
mov word [esi], dx
lea edx, [eax + 2]
jmp 0x1000aa30
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1000aa30
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x404]
mov ecx, esi
call fcn.10013230
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, esi
pop ebx
call fcn.10017423
mov esp, ebp
pop ebp
ret
Function at 0x1000bdf0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10026f90
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10031040]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x10031040]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x88], 0
lea esi, [edi + 0x88]
mov dword [esp + 0x14], edi
jne 0x1000bf92
lea eax, [edi + 4]
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
push ecx
push eax
mov dword [esi + 4], eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [edi + 0x70]
mov eax, dword [edx + 4]
mov ebx, dword [sym.imp.USER32.dll_FindWindowExW]
push 0
push str.Shell_Embedding
push 0
push eax
call ebx
test eax, eax
je 0x1000be90
push 0
push str.Shell_DocObject_View
push 0
push eax
call ebx
test eax, eax
je 0x1000be90
push 0
push str.Internet_Explorer_Server
push 0
push eax
call ebx
mov ebx, eax
call fcn.100154c0
mov eax, dword [edi + 0x78]
cmp dword [eax - 0xc], 0
je 0x1000bea7
push eax
push edi
call fcn.1000f100
lea ecx, [esp + 0x10]
call fcn.1000e5a0
mov dword [esp + 0x40], 0
mov esi, dword [esp + 0x10]
mov eax, dword [esi - 0xc]
test eax, eax
je 0x1000bf13
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ebx, 0x1002abb0
call fcn.100019a0
add esp, 8
add edi, 0xb4
mov byte [esp + 0x40], 1
call fcn.100017f0
mov byte [esp + 0x40], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000bf0f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x14]
push esi
push edi
call fcn.1000ef20
mov eax, dword [edi + 0xa8]
push eax
push edi
call fcn.1000ed40
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edx, eax
mov ecx, esi
call fcn.10004fe0
cmp dword [edi + 0xac], 0
jne 0x1000bf60
mov edx, dword [esi]
push 0
push 0
push 0x482
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, dword [esi]
lea ecx, [edi + 0x50]
call fcn.100158e0
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000bf92
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.10017423
mov esp, ebp
pop ebp
ret
Function at 0x1000cd70
Capabilities:
Hide graphical window
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002679b
mov eax, dword fs:[0]
push eax
sub esp, 0x808
mov eax, dword [0x10031040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call edi
mov ecx, dword [esi + 0x80]
push 1
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x7fc
lea edx, [ebp - 0x80c]
push 0
push edx
mov ebx, eax
mov dword [ebp - 0x810], 0
call fcn.10018f30
mov ecx, dword [esi + 0x80]
add esp, 0xc
push 0x7ff
lea eax, [ebp - 0x810]
push eax
push 1
push ecx
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
lea edx, [ebp - 0x814]
push edx
lea ecx, [ebp - 0x810]
call fcn.100116c0
mov eax, dword [ebp - 0x814]
push str.Finish
push eax
call fcn.10018b48
add esp, 8
test eax, eax
jne 0x1000ce36
mov ecx, dword [esi + 0x80]
push ebx
push 1
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi + 0x80]
push 0
push edx
call edi
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x814]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000ce79
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10017423
mov esp, ebp
pop ebp
ret

Function at 0x1000cea0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [edi + 0x80]
test eax, eax
je 0x1000cf1e
push esi
push 1
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x1000cf1d
mov eax, dword [edi + 0x80]
push ebx
push esi
push 1
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x80]
mov ebx, dword [sym.imp.USER32.dll_PostMessageW]
push esi
push 1
push 0x111
push ecx
call ebx
mov edx, dword [edi + 0x80]
push esi
push 1
push 0x111
push edx
call ebx
mov eax, dword [edi + 0x80]
push esi
push 1
push 0x111
push eax
call ebx
mov ecx, dword [edi + 4]
push 0
push 0xbb8
push 0xd
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
pop ebx
pop esi
ret

Function at 0x1000cf90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push 5
push 0
push eax
push str.iexplore.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000cfcc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop ebp
ret 4
Function at 0x1000d980
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10026e31
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x10031040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x1003438c]
push 0
push str.MobogenieManagerClass
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x1000dae8
push 1
push 1
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x21a]
push ecx
mov word [ebp - 0x21c], ax
call fcn.10018f30
mov eax, dword [edi + 0x78]
add esp, 0xc
push eax
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.MobogenieService.exe__remove
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x2a8]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.100116c0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2a8]
push 3
push eax
lea ecx, [ebp - 0x2a0]
lea edx, [ebp - 0x29c]
push ecx
mov dword [ebp - 0x2a0], edx
call fcn.10012ce0
lea edx, [ebp - 0x2ac]
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x2a0]
push edx
call fcn.10011600
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2a0]
lea ecx, [ebp - 0x29c]
cmp eax, ecx
je 0x1000da83
push eax
call fcn.10017c08
add esp, 4
mov edx, dword [ebp - 0x2ac]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x2ac]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000dabf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2a8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000dae8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x2a4]
push ecx
mov ecx, str.S14S2startS8english
call fcn.100116c0
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x2a4]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x2b0], esp
mov esi, esp
call fcn.10001cf0
add eax, 0x10
push edi
mov dword [esi], eax
call fcn.100102c0
call fcn.1000b6f0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2a4]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000db50
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10017423
mov esp, ebp
pop ebp
ret
Function at 0x1000ddc0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x10031040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, 1
mov dword [ebp - 0x41c], 0
test byte [0x10034610], bl
jne 0x1000de15
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
or dword [0x10034610], ebx
mov ecx, section..data
call edx
add eax, 0x10
push 0x100273e0
mov dword [0x1003460c], eax
call fcn.10017df9
add esp, 4
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x20e]
push ecx
mov word [ebp - 0x210], ax
call fcn.10018f30
mov edx, dword [0x1003460c]
add esp, 0xc
cmp dword [edx - 0xc], 0
jne 0x1000ded7
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x416]
push ecx
mov word [ebp - 0x418], ax
call fcn.10018f30
add esp, 0xc
push ebx
push 5
lea edx, [ebp - 0x418]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x1002b4d4
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000deac
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea eax, [ebp - 0x210]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000deb5
sub eax, edx
lea ecx, [ebp - 0x210]
sar eax, 1
push ecx
push 0x1003460c
mov ebx, eax
call fcn.10001be0
mov eax, dword [0x1003460c]
add eax, 0xfffffff0
call fcn.10001cf0
mov ecx, dword [ebp - 4]
add eax, 0x10
mov dword [esi], eax
xor ecx, ebp
mov eax, esi
pop ebx
call fcn.10017423
mov esp, ebp
pop ebp
ret

Function at 0x1000df00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10027028
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x10031040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
lea esi, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
call fcn.1000ddc0
push eax
mov dword [ebp - 4], ebx
push edi
mov ebx, str.Conf_
call fcn.100019a0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000df6a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000df82
mov eax, dword [edi]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000ea10
Capabilities:
Hide graphical window
Terminate process

Disassembly:
mov eax, dword [esi + 4]
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call edi
mov ecx, dword [esi + 0x54]
push 0
push ecx
call edi
mov edx, dword [esi + 0x80]
push 1
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x1000ea7b
mov eax, dword [esi + 0x80]
push edi
push 1
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x80]
push edi
push 1
push 0x111
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [esi + 4]
push 0
push 0xbb8
push 0xa
push edx
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
ret
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
ret

Function at 0x1000ea90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.InstallPath
push str.SoftwareMobogenie
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000ead3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop ebp
ret 4

Function at 0x1000eae0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.Language
push str.SoftwareMobogenie
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000eb23
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop ebp
ret 4
Function at 0x10010810
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10026ac6
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x10031040]
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 eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x430], ebx
test byte [0x10034618], 1
mov esi, ecx
mov dword [ebp - 0x434], eax
jne 0x10010886
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
or dword [0x10034618], 1
mov ecx, section..data
call eax
add eax, 0x10
push 0x10027350
mov dword [0x10034614], eax
call fcn.10017df9
add esp, 4
mov ecx, dword [0x10034614]
cmp dword [ecx - 0xc], ebx
jne 0x100109ff
push 0x208
lea eax, [ebp - 0x21a]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x21c], dx
call fcn.10018f30
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x42c], eax
mov dword [ebp - 4], ebx
cmp dword [esi + 0xac], ebx
je 0x10010938
lea esi, [ebp - 0x430]
call fcn.1000dfa0
lea edi, [ebp - 0x42c]
mov byte [ebp - 4], 1
call fcn.100017f0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x430]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10010916
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x42c]
push ecx
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push str.installGuideConf.ini
lea eax, [ebp - 0x21c]
push eax
jmp 0x10010963
lea eax, [esi + 0x78]
lea edi, [ebp - 0x42c]
call fcn.100017f0
mov esi, dword [esi + 0x78]
push esi
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push str.ConfConf.ini
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x208
lea ecx, [ebp - 0x426]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x428], ax
call fcn.10018f30
add esp, 0xc
lea edx, [ebp - 0x21c]
push edx
push 0x104
lea eax, [ebp - 0x428]
push eax
push ebx
push 0x1002b4c4
push str.info
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x428]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100109b4
sub eax, edx
lea ecx, [ebp - 0x428]
sar eax, 1
push ecx
push 0x10034614
mov ebx, eax
call fcn.10001be0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x42c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100109ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x10034614]
add eax, 0xfffffff0
call fcn.10001cf0
lea ecx, [eax + 0x10]
mov eax, dword [ebp - 0x434]
mov dword [eax], ecx
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.10017423
mov esp, ebp
pop ebp
ret 4
Function at 0x10010a40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10026a7b
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x10031040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x21a]
mov dword [ebp - 0x42c], 0
push ecx
mov word [ebp - 0x21c], ax
call fcn.10018f30
add esp, 0xc
lea esi, [ebp - 0x42c]
call fcn.1000dfa0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x42c]
push edx
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push str.installGuideConf.ini
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
xor edx, edx
push 0x208
push edx
lea eax, [ebp - 0x426]
push eax
mov word [ebp - 0x428], dx
call fcn.10018f30
add esp, 0xc
lea ecx, [ebp - 0x21c]
push ecx
push 0x104
lea edx, [ebp - 0x428]
push edx
push 0
push 0x1002b4cc
push str.info
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edi
lea ecx, [ebp - 0x428]
call fcn.100116c0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x42c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10010b44
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10017423
mov esp, ebp
pop ebp
ret

Function at 0x10014f10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
mov eax, dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10014f28
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10014f5a
mov ecx, dword [ebp + 8]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x10014f56
cmp esi, eax
jae 0x10014f5a
dec edi
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x10014f48
cmp esi, eax
jb 0x10014f60
pop esi
xor eax, eax
pop edi
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x10016460
Capabilities:
Hide graphical window

Disassembly:
push edi
mov edi, eax
and byte [edi + 0xc], 9
mov al, byte [edi + 0xc]
test al, 1
je 0x10016496
test al, 8
jne 0x10016496
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x10016496
or byte [edi + 0xc], 4
mov cl, byte [edi + 0xc]
test eax, 0x21000000
jne 0x10016496
or cl, 2
mov byte [edi + 0xc], cl
test byte [edi + 0xc], 2
je 0x100164b0
mov eax, dword [edi + 4]
push 8
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call fcn.10015980
pop edi
ret
mov ecx, dword [edi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
ret
Function at 0x100172f9
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x10033624], 0
push esi
push edi
jne 0x1001726f
call fcn.100171db
test eax, eax
je 0x100172b4
mov eax, dword [0x10033624]
cmp eax, 1
jne 0x10017290
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x100172b4
jmp 0x100172f6
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x100172f6
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x100172b8
xor eax, eax
jmp 0x100172f6
mov eax, dword [esi]
push dword [0x10033624]
call edi
mov edi, eax
test edi, edi
je 0x100172da
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x100172f6
lea edi, [esi + 0xff0]
push esi
push dword [0x10033624]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x100172e0
mov eax, esi
pop edi
pop esi
ret
jmp 0x1001725b

Function at 0x10017423
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10031040]
jne 0x1001742d
repz ret
jmp fcn.10018fac
Function at 0x1001ea91
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10031040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.1001a17c
and dword [ebp - 0x14], 0
cmp dword [0x10034308], 0
mov dword [ebp - 0x18], eax
jne 0x1001eb44
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1001ebec
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1002a3f4
push ebx
call edi
test eax, eax
je 0x1001ebec
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x10034308], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1003430c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10034310], eax
call edi
push eax
call esi
mov dword [0x10034318], eax
test eax, eax
je 0x1001eb44
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10034314], eax
mov eax, dword [0x10034314]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1001eb9d
cmp dword [0x10034318], ecx
je 0x1001eb9d
push eax
call esi
push dword [0x10034318]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1001eb9d
test ebx, ebx
je 0x1001eb9d
call edi
test eax, eax
je 0x1001eb94
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1001eb94
test byte [ebp - 8], 1
jne 0x1001eb9d
or dword [ebp + 0x10], 0x200000
jmp 0x1001ebd0
mov eax, dword [0x1003430c]
cmp eax, dword [ebp - 0x18]
je 0x1001ebd0
push eax
call esi
test eax, eax
je 0x1001ebd0
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1001ebd0
mov eax, dword [0x10034310]
cmp eax, dword [ebp - 0x18]
je 0x1001ebd0
push eax
call esi
test eax, eax
je 0x1001ebd0
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10034308]
call esi
test eax, eax
je 0x1001ebec
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1001ebee
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10017423
leave
ret