joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403f60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
mov dword [esp + 0x10], eax
lea eax, [ebp - 8]
mov dword [esp + 8], eax
lea eax, [ebp - 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0x10]
mov dword [esp], eax
mov dword [esp + 0xc], 0
call sub.msvcrt.dll___getmainargs
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.msvcrt.dll___set_app_type
mov eax, dword [ebp - 8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.004040f0
mov dword [esp], eax
call sub.msvcrt.dll_exit
nop
nop
nop
nop
push ebp
mov ebp, esp
call sub.msvcrt.dll___iob_func
mov edx, dword [ebp + 8]
pop ebp
shl edx, 5
add eax, edx
ret
Function at 0x401070
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop

Function at 0x4010e0
Capabilities:
Accept command line arguments
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x7c
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x40116b
cmp ax, 9
je 0x401158
cmp ax, 0x20
je 0x401158
mov dword [ebp - 0x6c], 0
xor edi, edi
nop
cmp ax, 0x5c
je 0x4011c0
cmp ax, 0x22
je 0x4011d0
mov dword [ebp - 0x6c], 0
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x40116b
cmp ax, 9
sete cl
cmp ax, 0x20
mov esi, ecx
sete cl
mov edx, esi
or dl, cl
je 0x401110
test edi, 1
jne 0x401110
lea esi, [esi]
movzx eax, word [ebx + 2]
add ebx, 2
cmp ax, 9
je 0x401158
cmp ax, 0x20
je 0x401158
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x30], 1
je 0x4011e8
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._wWinMain_16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
add dword [ebp - 0x6c], 1
jmp 0x40112b
and dword [ebp - 0x6c], 1
jne 0x401124
xor edi, 1
jmp 0x40112b
mov eax, 1
mov esi, 1
mov word [ebp - 0x2c], ax
jmp 0x401184
Function at 0x40a2f2
Capabilities:
Encode data using xor

Disassembly:
std
sub ah, byte [edi + 0x23065fe6]
xlatb
sahf
xor dword [esi - 0x64c2aebc], esi
inc ecx
out 0x18, eax
or bh, ah
jg 0x40a2fa
mov byte [edx - 0x50], dl
cwde
xchg esp, eax
pop edx
lds edi, [edi + 0x4f2a6fc5]
sub byte [edi - 0x1335f9c5], dh
adc bl, ch
sub bh, al
add dword [esi - 0x75], 0xffffffe2
popal
in eax, 0x5f
invalid

Function at 0x417e10
Capabilities:
Get disk information

Disassembly:
push ecx
push esi
push 0x4c3074
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [0x4c6aec], eax
call dword [sym.imp.KERNEL32.dll_GetOEMCP]
mov dword [0x4c6aec], eax
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
mov dword [0x4c74b0], eax
mov dword [esp + 8], 0
call dword [sym.imp.ole32.dll_CoInitialize]
test esi, esi
je 0x417e66
lea eax, [esp + 4]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push str.MSWHEEL_ROLLMSG
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
pop esi
mov ecx, dword [esp]
add ecx, eax
mov eax, ecx
pop ecx
ret

Function at 0x4ab10e
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x66228a4c
lahf
out dx, eax
mov ebp, 0x26ecfc7c
mov ch, 0xaa
cld
in al, 0xba
invalid
sub dword [edx], eax
in al, 0x6c
sbb al, 0x14
xchg edi, eax
adc ebx, dword [edi + 0x79a27724]
lodsb al, byte [esi]
push es
mov ebx, ds
push ss
inc esi
insd dword es:[edi], dx
fidiv dword [ecx + 0x64]
add byte [edx + 0x72a0683c], dh
mov esp, 0x3d9a4892
push ss
fxch st(2)
fisubr dword [ebp - 0x71506b32]
wait
mov byte [edx + 0x5f], bh
cld
movsb byte es:[edi], byte [esi]
cmpsd dword [esi], dword es:[edi]
imul esi, edi, 0x1a6c4942
jnp 0x4ab0eb
movsb byte es:[edi], byte [esi]
cmp byte [edi], bh
fstp xword [ebx]
or bl, byte [eax]
clc
aam 0xf5
inc ebx
dec edx
dec esp
invalid
Function at 0x4bb361
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c33a8
cmp edx, dword [eax]
je 0x4bb383
add eax, 8
inc ecx
cmp eax, 0x4c3438
jl 0x4bb374
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c33a8]
jne 0x4bb4b1
mov eax, dword [0x4c7d2c]
cmp eax, 1
je 0x4bb48b
test eax, eax
jne 0x4bb3b4
cmp dword [0x4c32d4], 1
je 0x4bb48b
cmp edx, 0xfc
je 0x4bb4b1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bb3eb
lea eax, [ebp - 0x1a4]
push 0x4c0860
push eax
call fcn.004bbd40
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bc1d0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bb42e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bc1d0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c085c
push edi
call fcn.004be0a0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c0840
push eax
call fcn.004bbd40
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bbd50
lea eax, [ebp - 0xa0]
push 0x4c083c
push eax
call fcn.004bbd50
push dword [esi + 0x4c33ac]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bbd50
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c0814
push eax
call fcn.004be014
add esp, 0x2c
pop edi
jmp 0x4bb4b1
lea eax, [ebp + 8]
lea esi, [esi + 0x4c33ac]
push 0
push eax
push dword [esi]
call fcn.004bc1d0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x72c21e3d
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x5e1e1c24
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x10015a40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
push esi
push edi
jl 0x10015c13
mov esi, dword [ebp + 0x1c]
cmp dword [esi + 0x2c], 0xffffffff
jge 0x10015ab5
mov edi, dword [esi + 0x18c]
test edi, edi
je 0x10015c13
cmp byte [edi + 0xc], 0
jne 0x10015aa5
mov eax, dword [edi + 4]
mov byte [edi + 0xc], 1
test eax, eax
je 0x10015aa5
push 0x3a98
push 0x3a98
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push 0
push 0
push edi
push 0x100f9ff0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x18c], 0
pop edi
pop esi
pop ebp
ret 0x18
mov eax, dword [esi + 0x17c]
movzx ecx, ax
test eax, eax
jne 0x10015b38
mov edi, dword [esi + 0x18c]
test edi, edi
je 0x10015b14
cmp byte [edi + 0xc], al
jne 0x10015b0a
mov eax, dword [edi + 4]
mov byte [edi + 0xc], 1
test eax, eax
je 0x10015b0a
push 0x3a98
push 0x3a98
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push 0
push 0
push edi
push 0x100f9ff0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x18c], 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push esi
mov dword [esi + 0x188], 0xff
call sym.ExuiKrnln_X32.dll_ControlAddRedrawRect
push esi
call sym.ExuiKrnln_X32.dll_ControlRedraw
pop edi
pop esi
pop ebp
ret 0x18
mov eax, dword [esi + 0x188]
movsx ecx, cx
add eax, ecx
mov dword [esi + 0x188], eax
cmp eax, 0xfe
jle 0x10015bc7
mov edi, dword [esi + 0x18c]
mov dword [esi + 0x188], 0xff
test edi, edi
je 0x10015bad
cmp byte [edi + 0xc], 0
jne 0x10015ba3
mov eax, dword [edi + 4]
mov byte [edi + 0xc], 1
test eax, eax
je 0x10015ba3
push 0x3a98
push 0x3a98
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push 0
push 0
push edi
push 0x100f9ff0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x18c], 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push esi
call sym.ExuiKrnln_X32.dll_ControlAddRedrawRect
push esi
call sym.ExuiKrnln_X32.dll_ControlRedraw
pop edi
pop esi
pop ebp
ret 0x18
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push esi
call sym.ExuiKrnln_X32.dll_ControlAddRedrawRect
push esi
call sym.ExuiKrnln_X32.dll_ControlRedraw
call sym.ExuiKrnln_X32.dll_ControlUpdateCache
cmp dword [esi + 0x18c], 0
jne 0x10015c13
movsx eax, word [esi + 0x17e]
mov ecx, 0x21
push 0
push 0
push 0
push esi
test eax, eax
push fcn.10015a40
cmove eax, ecx
push eax
push eax
call sym.ExuiKrnln_X32.dll_CreateTimerEx
mov dword [esi + 0x18c], eax
pop edi
pop esi
pop ebp
ret 0x18
Function at 0x10036dd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
push esi
push edi
jl 0x10036f9e
mov esi, dword [ebp + 0x1c]
cmp dword [esi + 0x2c], 0xffffffff
jne 0x10036e45
mov edi, dword [esi + 0x194]
test edi, edi
je 0x10036f9e
cmp byte [edi + 0xc], 0
jne 0x10036e35
mov eax, dword [edi + 4]
mov byte [edi + 0xc], 1
test eax, eax
je 0x10036e35
push 0x3a98
push 0x3a98
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push 0
push 0
push edi
push 0x100f9ff0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x194], 0
pop edi
pop esi
pop ebp
ret 0x18
mov eax, dword [esi + 0x184]
movzx ecx, ax
test eax, eax
jne 0x10036ec8
mov edi, dword [esi + 0x194]
test edi, edi
je 0x10036ea4
cmp byte [edi + 0xc], al
jne 0x10036e9a
mov eax, dword [edi + 4]
mov byte [edi + 0xc], 1
test eax, eax
je 0x10036e9a
push 0x3a98
push 0x3a98
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push 0
push 0
push edi
push 0x100f9ff0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x194], 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push esi
mov dword [esi + 0x190], 0xff
call sym.ExuiKrnln_X32.dll_ControlAddRedrawRect
push esi
call sym.ExuiKrnln_X32.dll_ControlRedraw
pop edi
pop esi
pop ebp
ret 0x18
mov eax, dword [esi + 0x190]
movsx ecx, cx
add eax, ecx
mov dword [esi + 0x190], eax
cmp eax, 0xfe
jle 0x10036f57
mov edi, dword [esi + 0x194]
mov dword [esi + 0x190], 0xff
test edi, edi
je 0x10036f3d
cmp byte [edi + 0xc], 0
jne 0x10036f33
mov eax, dword [edi + 4]
mov byte [edi + 0xc], 1
test eax, eax
je 0x10036f33
push 0x3a98
push 0x3a98
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push 0
push 0
push edi
push 0x100f9ff0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x194], 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push esi
call sym.ExuiKrnln_X32.dll_ControlAddRedrawRect
push esi
call sym.ExuiKrnln_X32.dll_ControlRedraw
pop edi
pop esi
pop ebp
ret 0x18
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push esi
call sym.ExuiKrnln_X32.dll_ControlAddRedrawRect
push esi
call sym.ExuiKrnln_X32.dll_ControlRedraw
cmp dword [esi + 0x194], 0
jne 0x10036f9e
movsx eax, word [esi + 0x186]
mov ecx, 0x21
push 0
push 0
push 0
push esi
test eax, eax
push fcn.10036dd0
cmove eax, ecx
push eax
push eax
call sym.ExuiKrnln_X32.dll_CreateTimerEx
mov dword [esi + 0x194], eax
pop edi
pop esi
pop ebp
ret 0x18
Function at 0x1003c8b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push ebx
mov ebx, ecx
setne dl
push esi
mov eax, dword [ebx + 8]
mov byte [eax + 0x20c], dl
mov esi, dword [ebx + 8]
test esi, esi
je 0x1003ca08
cmp byte [esi + 0x20c], 0
je 0x1003c9b2
cmp dword [0x1016c39c], esi
jne 0x1003c9b2
mov byte [esi + 0x22c], 1
push edi
mov edi, dword [ebx + 8]
cmp dword [edi + 0x228], 0
jne 0x1003c9a6
push 0x2c
mov dword [ebp + 8], 0x10044240
call fcn.10120e44
push 0x2c
mov esi, eax
push 0
push esi
call fcn.10122ba0
mov eax, 0x10044240
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1003c93c
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi + 4]
mov dword [ebp + 8], eax
mov eax, dword [edi + 8]
mov dword [esi], eax
mov edi, dword [edi + 0xc]
mov eax, dword [ebp + 8]
push 0
push 0x1f4
push 0x1f4
push esi
push 0x100fa0d0
mov dword [esi + 0x1c], edi
lea edi, [esi + 4]
push 0
push edi
mov dword [esi + 0x28], 0
mov dword [esi + 0x20], 0x1f4
mov dword [esi + 0x24], 0x1f4
mov dword [esi + 0x18], eax
mov word [esi + 0xd], 0
mov dword [esi + 0x10], 0xfffffffe
call dword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
test eax, eax
jne 0x1003c98b
mov dword [edi], eax
cmp dword [edi], 0
jne 0x1003c99d
push 0x2c
push esi
call fcn.10120e74
add esp, 8
xor esi, esi
mov eax, dword [ebx + 8]
mov dword [eax + 0x228], esi
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4
mov esi, dword [esi + 0x228]
test esi, esi
je 0x1003ca08
cmp byte [esi + 0xc], 0
jne 0x1003c9fb
mov eax, dword [esi + 4]
mov byte [esi + 0xc], 1
test eax, eax
je 0x1003c9fb
push 0x3a98
push 0x3a98
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push 0
push 0
push esi
push 0x100f9ff0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx + 8]
mov dword [eax + 0x228], 0
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4
Function at 0x100595c0
Capabilities:
Check os version
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
mov dword [0x1016c3d0], 0
mov dword [0x1016c498], 0
mov dword [0x1016c640], 0
mov dword [0x1016c504], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x18
mov esi, eax
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x1005977a
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
cmp ebx, 0x50
jl 0x10059779
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10059779
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10059779
movaps xmm0, xmmword [0x101559b0]
lea eax, [ebp - 0x58]
movups xmmword [ebp - 0x58], xmm0
mov edx, ebx
mov word [ebp - 8], 0x3e73
movaps xmm0, xmmword [0x101558b0]
movups xmmword [ebp - 0x48], xmm0
push ecx
movaps xmm0, xmmword [0x101559c0]
mov ecx, esi
movups xmmword [ebp - 0x38], xmm0
push eax
movaps xmm0, xmmword [0x101558e0]
movups xmmword [ebp - 0x28], xmm0
movaps xmm0, xmmword [0x101559a0]
movups xmmword [ebp - 0x18], xmm0
call fcn.10059550
add esp, 8
test eax, eax
je 0x100596b7
mov dword [0x1016c3d0], 1
mov dword [0x1016c498], 1
movaps xmm0, xmmword [0x10155990]
lea eax, [ebp - 0x58]
movups xmmword [ebp - 0x58], xmm0
mov edx, ebx
mov word [ebp - 8], 0x3e73
movaps xmm0, xmmword [0x101558b0]
movups xmmword [ebp - 0x48], xmm0
push ecx
movaps xmm0, xmmword [0x101559c0]
mov ecx, esi
movups xmmword [ebp - 0x38], xmm0
push eax
movaps xmm0, xmmword [0x101558e0]
movups xmmword [ebp - 0x28], xmm0
movaps xmm0, xmmword [0x10155980]
movups xmmword [ebp - 0x18], xmm0
call fcn.10059550
add esp, 8
test eax, eax
je 0x1005971f
mov dword [0x1016c640], 1
mov dword [0x1016c504], 1
jmp 0x10059728
cmp dword [0x1016c504], 0
je 0x10059772
push pe_nt_image_headers32
lea eax, [ebp - 0x168]
push 0
push eax
call fcn.10122ba0
add esp, 0xc
mov dword [ebp - 0x16c], 0x114
lea eax, [ebp - 0x16c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x168], 6
jae 0x10059772
mov dword [0x1016c640], 0
mov dword [0x1016c504], 0
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10120e31
mov esp, ebp
pop ebp
ret
Function at 0x10062890
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push ebx
mov ebx, ecx
setne dl
push esi
mov eax, dword [ebx + 8]
mov byte [eax + 0x1f8], dl
mov esi, dword [ebx + 8]
test esi, esi
je 0x100629e8
cmp byte [esi + 0x1f8], 0
je 0x10062992
cmp dword [0x1016c39c], esi
jne 0x10062992
mov byte [esi + 0x1d0], 1
push edi
mov edi, dword [ebx + 8]
cmp dword [edi + 0x1cc], 0
jne 0x10062986
push 0x2c
mov dword [ebp + 8], 0x10068920
call fcn.10120e44
push 0x2c
mov esi, eax
push 0
push esi
call fcn.10122ba0
mov eax, 0x10068920
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1006291c
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi + 4]
mov dword [ebp + 8], eax
mov eax, dword [edi + 8]
mov dword [esi], eax
mov edi, dword [edi + 0xc]
mov eax, dword [ebp + 8]
push 0
push 0x1f4
push 0x1f4
push esi
push 0x100fa0d0
mov dword [esi + 0x1c], edi
lea edi, [esi + 4]
push 0
push edi
mov dword [esi + 0x28], 0
mov dword [esi + 0x20], 0x1f4
mov dword [esi + 0x24], 0x1f4
mov dword [esi + 0x18], eax
mov word [esi + 0xd], 0
mov dword [esi + 0x10], 0xfffffffe
call dword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
test eax, eax
jne 0x1006296b
mov dword [edi], eax
cmp dword [edi], 0
jne 0x1006297d
push 0x2c
push esi
call fcn.10120e74
add esp, 8
xor esi, esi
mov eax, dword [ebx + 8]
mov dword [eax + 0x1cc], esi
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4
mov esi, dword [esi + 0x1cc]
test esi, esi
je 0x100629e8
cmp byte [esi + 0xc], 0
jne 0x100629db
mov eax, dword [esi + 4]
mov byte [esi + 0xc], 1
test eax, eax
je 0x100629db
push 0x3a98
push 0x3a98
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push 0
push 0
push esi
push 0x100f9ff0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx + 8]
mov dword [eax + 0x1cc], 0
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4
Function at 0x100817a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x210
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x16c], 0
jle 0x10081978
xor ecx, ecx
call fcn.1010dfc0
mov eax, dword [0x1016cec0]
test eax, eax
je case.default.0x100818c5
call eax
mov dword [esi + 0x170], eax
test eax, eax
je case.default.0x100818c5
push esi
push str.ControlExHandle
push eax
call dword [0x1016cf20]
add esp, 0xc
lea eax, [esp + 8]
push 0x208
push 0
push eax
call fcn.10122ba0
add esp, 0xc
lea eax, [esp + 8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [esp + 8]
push eax
push dword [esi + 0x170]
call dword [0x1016d0d8]
lea eax, [esp + 0x10]
push eax
push dword [esi + 0x170]
call dword [0x1016d06c]
push dword [esi + 0x28]
push dword [esi + 0x170]
call dword [0x1016d014]
push esi
push 0x100810d0
push dword [esi + 0x170]
call dword [0x1016d0d4]
add esp, 0x24
push 4
push esi
push 0x10081120
push str.ExuiExtendControlEvent
call dword [0x1016cefc]
push 4
push esi
push 0x10081440
push str.ExuiExtendControlCmd
call dword [0x1016cefc]
add esp, 0x20
xor edi, edi
push 1
push dword [esi + 0x168]
call sym.ExuiKrnln_X32.dll_GetMemberText_StructEx
test eax, eax
je 0x100818b5
push 1
push dword [esi + 0x168]
call sym.ExuiKrnln_X32.dll_GetMemberText_StructEx
lea edi, [eax + 8]
mov eax, dword [esi + 0x16c]
dec eax
cmp eax, 3
ja case.default.0x100818c5
jmp dword [eax*4 + 0x100819b8]
push edi
push dword [esi + 0x170]
call dword [0x1016d090]
add esp, 8
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.10120e31
mov esp, ebp
pop ebp
ret
push edi
push dword [esi + 0x170]
call dword [0x1016d070]
add esp, 8
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.10120e31
mov esp, ebp
pop ebp
ret
push edi
push dword [esi + 0x170]
call dword [0x1016cebc]
add esp, 8
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.10120e31
mov esp, ebp
pop ebp
ret
push 3
push dword [esi + 0x168]
call sym.ExuiKrnln_X32.dll_GetMemberText_StructEx
mov ecx, eax
call fcn.100ee5f0
push eax
mov ecx, edi
call fcn.100ee750
push eax
push dword [esi + 0x170]
call dword [0x1016d09c]
add esp, 0xc
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.10120e31
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x170]
test eax, eax
je case.default.0x100818c5
push 0
push eax
call dword [0x1016d014]
push dword [esi + 0x170]
call dword [0x1016d060]
mov dword [esi + 0x170], 0
add esp, 0xc
mov ecx, dword [esp + 0x214]
pop edi
pop esi
xor ecx, esp
call fcn.10120e31
mov esp, ebp
pop ebp
ret