joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ee00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
je 0x1000ee12
jmp 0x1000ee62
cmp dword [0x10040b68], 0
jne 0x1000ee62
push str.0:db0:lk0:hs1:ld0:ll0:hb0:pj8_.8_.4202:zb0.1:bb
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x1e
jle 0x1000ee62
call fcn.1000e750
cmp dword [0x10040158], 0
je 0x1000ee62
push 0
push 0
push 0
push 0x1000eb30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x10040b68], eax
push 0xffffffffffffffff
mov ecx, dword [0x10040b68]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1000ee70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x10040b68], 0
je 0x1000ee80
xor eax, eax
jmp 0x1000eebc
call fcn.1000e750
push 0
push 0
push 0
push 0x1000eb30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x10040b68], eax
push 0xffffffffffffffff
mov eax, dword [0x10040b68]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [0x10040b68]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop ebp
ret

Function at 0x1000eec0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x10040b68], 0
je 0x1000eece
jmp 0x1000ef28
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.0:db0:lk0:hs1:ld0:ll0:hb0:pj8_.8_.4202:zb0.1:bb
call fcn.1001f6e0
add esp, 0xc
call fcn.1000e750
push 0
push 0
push 0
push 0x1000eb30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x10040b68], eax
push 0xffffffffffffffff
mov eax, dword [0x10040b68]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [0x10040b68]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
ret

Function at 0x1000ef30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0x1000eb30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x10040b68], eax
push 0xffffffffffffffff
mov eax, dword [0x10040b68]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
pop ebp
ret

Function at 0x1000fb07
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1003c2e0]
jne 0x1000fb11
repz ret
jmp fcn.10011379
Function at 0x1001f33c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1003c2e0]
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.100160f3
and dword [ebp - 0x14], 0
cmp dword [0x1003e9b0], 0
mov dword [ebp - 0x18], eax
jne 0x1001f3ef
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1001f497
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x1001f497
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1003e9b0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1003e9b4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1003e9b8], eax
call edi
push eax
call esi
mov dword [0x1003e9c0], eax
test eax, eax
je 0x1001f3ef
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1003e9bc], eax
mov eax, dword [0x1003e9bc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1001f448
cmp dword [0x1003e9c0], ecx
je 0x1001f448
push eax
call esi
push dword [0x1003e9c0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1001f448
test ebx, ebx
je 0x1001f448
call edi
test eax, eax
je 0x1001f43f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1001f43f
test byte [ebp - 8], 1
jne 0x1001f448
or dword [ebp + 0x10], 0x200000
jmp 0x1001f47b
mov eax, dword [0x1003e9b4]
cmp eax, dword [ebp - 0x18]
je 0x1001f47b
push eax
call esi
test eax, eax
je 0x1001f47b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1001f47b
mov eax, dword [0x1003e9b8]
cmp eax, dword [ebp - 0x18]
je 0x1001f47b
push eax
call esi
test eax, eax
je 0x1001f47b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1003e9b0]
call esi
test eax, eax
je 0x1001f497
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1001f499
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000fb07
leave
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x401770
Capabilities:
Create thread

Disassembly:
sub esp, 0x2c
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x401620
mov dword [esp + 4], 0
mov dword [esp], 0
call sub.KERNEL32.dll_CreateThread
sub esp, 0x18
mov dword [esp], 0x91d
call sub.KERNEL32.dll_Sleep
sub esp, 4
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x401340
mov dword [esp + 4], 0
mov dword [esp], 0
call sub.KERNEL32.dll_CreateThread
sub esp, 0x18
mov dword [esp + 4], 0x3e8
mov dword [esp], 0x3e8
call sub.KERNEL32.dll_Beep
sub esp, 8
mov dword [esp], 0x9c40
call sub.KERNEL32.dll_Sleep
sub esp, 4
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x401b40
mov dword [esp + 4], 0
mov dword [esp], 0
call sub.KERNEL32.dll_CreateThread
sub esp, 0x18
jmp 0x40184d
Function at 0x401f70
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x28
mov ebx, dword [sym.imp.msvcrt.dll__iob]
lea eax, [esp + 0x34]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
add ebx, 0x40
mov dword [esp + 0xc], ebx
mov dword [esp], str.Mingw_runtime_failure:_n
mov dword [esp + 0x1c], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x1c]
mov dword [esp], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]
lea edi, [edi]

Function at 0x401fd0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 0x5c
mov dword [esp + 0x4c], ebx
mov ebx, eax
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
mov dword [esp + 0x50], esi
mov esi, edx
mov dword [esp + 0x54], edi
mov edi, ecx
mov dword [esp + 0x58], ebp
call sub.KERNEL32.dll_VirtualQuery
sub esp, 0xc
test eax, eax
je 0x4020c6
mov eax, dword [esp + 0x38]
cmp eax, 4
jne 0x402040
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_memcpy
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
mov ebp, dword [esp + 0x58]
add esp, 0x5c
ret
cmp eax, 0x40
je 0x402015
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
mov eax, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
cmp eax, 0x40
setne byte [esp + 0x1e]
cmp eax, 4
setne byte [esp + 0x1f]
call sub.msvcrt.dll_memcpy
cmp byte [esp + 0x1f], 0
je 0x402025
cmp byte [esp + 0x1e], 0
je 0x402025
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
jmp 0x402025
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401f70
nop

Function at 0x402360
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x406050
call sub.KERNEL32.dll_EnterCriticalSection
mov ebx, dword [0x406068]
sub esp, 4
test ebx, ebx
je 0x4023ab
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sub.KERNEL32.dll_TlsGetValue
sub esp, 4
mov esi, eax
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x4023a4
test esi, esi
je 0x4023a4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402380
mov dword [esp], 0x406050
call sub.KERNEL32.dll_LeaveCriticalSection
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret
Function at 0x402640
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x6c
call fcn.00402340
call sub.KERNEL32.dll_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call sub.KERNEL32.dll_GetStartupInfoA
sub esp, 4
test ebx, ebx
jne 0x402676
jmp 0x4026b5
add ebx, 1
movzx eax, byte [ebx]
cmp al, 9
je 0x402673
cmp al, 0x20
je 0x402673
cmp al, 0x22
jne 0x402699
jmp 0x402704
cmp al, 0x20
lea esi, [esi]
je 0x4026a0
test al, al
je 0x4026b5
add ebx, 1
movzx eax, byte [ebx]
cmp al, 9
jne 0x402687
movzx eax, byte [ebx]
cmp al, 0x20
jne 0x40271a
add ebx, 1
movzx eax, byte [ebx]
cmp al, 9
je 0x4026a7
cmp al, 0x20
je 0x4026a7
test byte [ebp - 0x30], 1
mov esi, 0xa
je 0x4026c4
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00401770
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
cmp al, 0x22
je 0x40270e
add ebx, 1
movzx eax, byte [ebx]
test al, al
jne 0x402700
cmp al, 0x22
sete al
movzx eax, al
add ebx, eax
jmp 0x4026a0
cmp al, 9
je 0x4026a7
jmp 0x4026b5
Function at 0x4019f2
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [eax]
push ebx
push esi
push edi
push 0x536fac
push eax
lea eax, [ebp - 4]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.004e9a53
add esp, 0xc
test eax, eax
jne 0x401a84
cmp dword [ebp - 4], edi
je 0x401a84
push 2
push edi
push dword [ebp - 4]
call fcn.004e96fd
push dword [ebp - 4]
call fcn.004e991f
push edi
push edi
push dword [ebp - 4]
mov esi, eax
call fcn.004e96fd
push esi
mov dword [ebp - 0xc], vtable.CAutoArray_unsigned_char_.0
call fcn.004e7db0
push esi
mov ebx, eax
push edi
push ebx
mov dword [ebp - 8], ebx
call fcn.004ee670
push dword [ebp - 4]
push esi
push 1
push ebx
call fcn.004e9656
push dword [ebp - 4]
call fcn.004e932f
add esp, 0x40
push esi
mov ecx, ebx
call fcn.00401f9a
pop ecx
lea ecx, [ebp - 0xc]
mov esi, eax
call fcn.004019d5
mov eax, esi
jmp 0x401a86
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401f5e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
push dword [0x56f130]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [esi + 4], eax
test eax, eax
jne 0x401f7d
xor al, al
jmp 0x401f97
push eax
push dword [0x56f130]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esi], eax
test eax, eax
jne 0x401f95
and dword [esi + 4], eax
jmp 0x401f79
mov al, 1
ret 8
Function at 0x405965
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 0x54]
cmp eax, 0xffffffff
je 0x405a81
or dword [esi + 0x54], 0xffffffff
push edi
lea ecx, [eax + 1]
lea edi, [esi + 0x2c]
push ecx
mov ecx, edi
call fcn.00405dcf
add eax, 4
push eax
mov eax, esi
call fcn.00405c36
mov eax, dword [esi + 0x50]
cmp eax, 0xffffffff
je 0x405a80
mov ecx, edi
call fcn.00405dcf
add eax, 0x1c
mov edi, dword [eax]
push 7
push str.button:
push edi
call fcn.004ea412
add esp, 0xc
test eax, eax
jne 0x405a1b
add edi, 0xe
cmp word [edi], 0x30
jne 0x4059e4
movzx eax, word [edi + 2]
cmp ax, 0x78
je 0x4059dd
cmp ax, 0x58
jne 0x4059e4
push 0x10
add edi, 4
jmp 0x4059e6
push 0xa
lea eax, [ebp - 0xc]
push eax
push edi
call fcn.004ea6b2
xor edx, edx
add esp, 0xc
cmp dword [esi + 0x68], edx
je 0x405a0e
xor eax, eax
lea edi, [ebp - 8]
stosb byte es:[edi], al
push dword [ebp - 8]
lea eax, [esi + 0x58]
push esi
call fcn.00405949
jmp 0x405a80
mov ecx, dword [esi + 0x1c]
mov edi, dword [ecx]
push eax
push edx
push esi
call dword [edi + 0x14]
jmp 0x405a80
push 4
push str.msg:
push edi
call fcn.004ea412
add esp, 0xc
xor edx, edx
test eax, eax
jne 0x405a6f
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push str._u__u__u
add edi, 8
push edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], edx
call fcn.004ea306
add esp, 0x14
cmp eax, 3
jne 0x405a80
push dword [ebp - 4]
mov ecx, dword [esi + 0x1c]
push dword [ebp - 8]
mov eax, dword [ecx]
push dword [ebp - 0xc]
call dword [eax + 0x10]
jmp 0x405a80
push 1
push edx
push edx
push edi
push str.open
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
leave
ret
Function at 0x40757c
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
mov eax, 0x521630
call fcn.0051f0b4
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [edi + 4], vtable.IIOSNotify.0
mov ebx, 0x56f16c
lea ecx, [edi + 0x30]
push ebx
mov dword [edi], vtable.CIosWndHelper.0
mov dword [edi + 4], vtable.CIosWndHelper.1.0
call fcn.00402946
and dword [ebp - 4], 0
lea ecx, [edi + 0x34]
push ebx
call fcn.00402946
lea ecx, [edi + 0x38]
push ebx
mov byte [ebp - 4], 1
call fcn.00402946
lea ecx, [edi + 0x48]
push ebx
mov byte [ebp - 4], 2
call fcn.00402946
lea esi, [edi + 0x4c]
call fcn.0040eb43
lea esi, [edi + 0x50]
call fcn.0040eb43
lea esi, [edi + 0x54]
call fcn.0040eb43
lea esi, [edi + 0x58]
call fcn.0040eb43
lea ecx, [edi + 0x5c]
push ebx
mov byte [ebp - 4], 7
call fcn.00402946
lea eax, [edi + 0x64]
push eax
mov byte [ebp - 4], 8
call fcn.0044e41f
push ebx
lea ecx, [edi + 0x80]
call fcn.00402946
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x60], eax
mov dword [edi + 0x44], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x408370
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 4], 0
jne 0x4083a2
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x571250]
test eax, eax
je 0x408392
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esi + 4]
and dword [0x571250], 0
call dword [sym.imp.USER32.dll_DestroyWindow]
ret 4
Function at 0x409624
Capabilities:
Terminate process

Disassembly:
push ecx
push esi
push edi
mov edi, eax
call fcn.00454282
mov eax, dword [eax + 4]
test eax, eax
je 0x40963b
push eax
call fcn.004531ca
call fcn.00454282
mov esi, eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x40965c
mov eax, dword [ecx]
push 0
call dword [eax]
push dword [esi + 4]
call fcn.004ea208
and dword [esi + 4], 0
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call fcn.004120c0
test edi, edi
je 0x409674
lea ecx, [edi + 0xa4]
jmp 0x409676
xor ecx, ecx
push ecx
mov esi, eax
call fcn.00411e92
mov esi, edi
call fcn.00409c30
cmp dword [edi + 0x510], 0
je 0x40969d
add edi, 0x154
push edi
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
push 0x53ef28
call fcn.004884a1
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
pop edi
inc eax
pop esi
pop ecx
ret

Function at 0x4098f1
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x524b5a
call fcn.0051f0b4
sub esp, 0x21c
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x228], ax
lea eax, [ebp - 0x226]
push eax
call fcn.004ee670
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x14]
push eax
push str.path
push str.SOFTWAREApple_Computer__Inc.iPodRegisteredApps4
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x20], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 0x56f16c
lea ecx, [ebp - 0x1c]
call fcn.00402946
and dword [ebp - 4], 0
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401f01
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x4099a9
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040a1cf
mov ecx, dword [ebp + 8]
push eax
add ecx, 0x620
mov byte [ebp - 4], 2
call fcn.00404918
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040297c
mov eax, dword [ebp - 0x10]
lea ecx, [eax - 0x10]
call fcn.0040297c
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4

Function at 0x409c30
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x525d2b
call fcn.0051f0b4
sub esp, 0x2c
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x409c55
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x581efc], 0
je 0x409c73
call fcn.0044f361
lea ecx, [ebp - 0x24]
call fcn.00435802
mov eax, dword [eax]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
push 0x5e
call fcn.00460cd7
test eax, eax
jl 0x409c9d
lea ecx, [ebp - 0x34]
lea eax, [ebp - 0x14]
call fcn.00435802
mov eax, dword [eax]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x409cae
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x40a2ad
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x526d2f
call fcn.0051f0b4
sub esp, 0x1c
push esi
push edi
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00401f01
and dword [ebp - 4], 0
call fcn.0044a171
lea ecx, [ebp - 0x24]
call fcn.00435802
mov eax, dword [eax]
mov ecx, dword [eax]
push 1
push dword [ebp + 8]
push eax
call dword [ecx + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
jge 0x40a333
push str.mobileadapt.ini
call fcn.00411fff
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop ecx
push eax
push 0
push str.channelid
mov esi, str.mobilemall
push esi
call edi
cmp dword [ebp + 8], eax
jne 0x40a333
push str.mobileadapt.ini
call fcn.00411fff
pop ecx
push eax
push 0
push str.showtab
push esi
call edi
test eax, eax
je 0x40a333
mov dword [ebp - 0x14], 9
mov eax, dword [ebp - 0x14]
call fcn.00411e1c
mov ecx, dword [ebp + 0xc]
mov esi, eax
xor eax, eax
cmp dword [ecx - 0xc], eax
mov edi, ebx
setne al
push eax
push esi
call fcn.0040d2b7
cmp esi, 2
jne 0x40a3a1
cmp dword [ebx + 0x628], 0
je 0x40a437
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.004015d6
mov esi, dword [ebx + 0x628]
call fcn.00458a2f
push dword [ebp + 8]
mov eax, dword [ebx + 0x628]
call fcn.00407651
mov edi, dword [ebx + 0x628]
call fcn.004076ca
mov eax, dword [ebx + 0x628]
jmp 0x40a430
cmp esi, 3
jne 0x40a3ee
cmp dword [ebx + 0x624], 0
je 0x40a437
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.004015d6
mov esi, dword [ebx + 0x624]
call fcn.00458a2f
push dword [ebp + 8]
mov eax, dword [ebx + 0x624]
call fcn.00407651
mov edi, dword [ebx + 0x624]
call fcn.004076ca
mov eax, dword [ebx + 0x624]
jmp 0x40a430
cmp esi, 7
jne 0x40a437
mov eax, dword [ebx + 0x634]
test eax, eax
je 0x40a437
push dword [ebp + 8]
call fcn.00407651
mov edi, dword [ebx + 0x634]
call fcn.004076ca
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp + 8], esp
mov ecx, esp
push eax
call fcn.004015d6
mov esi, dword [ebx + 0x634]
call fcn.0045896e
mov eax, dword [ebx + 0x634]
mov byte [eax + 0x2fc], 0
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
leave
ret 8
Function at 0x40df7a
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, 0x524afc
call fcn.0051f0b4
sub esp, 0x814
push esi
push edi
call fcn.00411fad
push eax
lea ecx, [ebp - 0x10]
call fcn.00401f01
and dword [ebp - 4], 0
push 0x5c
lea esi, [ebp - 0x10]
call fcn.004116a7
mov ecx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
sub eax, ecx
lea ecx, [ebp - 0x1c]
push ecx
dec eax
mov ecx, esi
call fcn.00411661
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00404918
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040297c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x10]
mov edi, str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_GPU_RENDERING
push edi
mov esi, SysReAllocStringLen
push esi
mov dword [ebp - 0x14], 0x400
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x40e01b
and dword [ebp - 0x18], 0
push 4
lea eax, [ebp - 0x18]
push eax
push 4
push dword [ebp - 0x10]
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x40e3ea
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov eax, 0x528786
call fcn.0051f0b4
mov eax, 0x3ad8
call fcn.004eff30
cmp dword [ebp + 8], 0
push esi
push edi
push 7
mov esi, ecx
pop edi
je 0x40e40e
push 3
pop edi
lea eax, [ebp - 0x3ae0]
call fcn.00407893
and dword [ebp - 4], 0
push dword [esi]
and dword [ebp - 0x23c], 0
mov dword [ebp - 0x240], 1
mov dword [ebp - 0x3ad0], edi
mov dword [ebp - 0x6e8], 9
call fcn.004e9b28
mov edi, eax
call fcn.00454282
or edi, 0x82000000
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x3ad8], edi
mov dword [esp], 0x56f16c
call fcn.00402946
mov byte [ebp - 4], 1
push dword [esi + 0xc]
lea eax, [ebp - 0x10]
push dword [esi + 8]
push str._s_s.ipa
push eax
call fcn.004142e8
mov edx, dword [ebp - 0x10]
add esp, 0x10
lea eax, [ebp - 0x2ddc]
push eax
push 0x64
pop ecx
call fcn.00411555
lea eax, [ebp - 0x3ab4]
lea edi, [esi + 0x1c]
mov edx, dword [edi]
push eax
mov ecx, 0x400
call fcn.00411555
mov edx, dword [esi + 8]
lea eax, [ebp - 0x32b4]
push eax
mov ecx, 0x104
call fcn.00411555
mov edx, dword [esi + 0xc]
lea eax, [ebp - 0x30ac]
push eax
push 0x64
pop ecx
call fcn.00411555
push dword [esi + 0x10]
call fcn.004e9b28
mov edx, dword [esi + 0x10]
pop ecx
mov dword [ebp - 0x3acc], eax
lea eax, [ebp - 0x230]
push eax
mov ecx, 0x104
call fcn.00411555
mov esi, dword [esi + 0x14]
lea eax, [ebp - 0x19d4]
push eax
mov edx, esi
mov ecx, 0x400
call fcn.00411555
call fcn.0044f361
lea ecx, [ebp - 0x28]
call fcn.00435802
mov eax, dword [eax]
push dword [ebp - 0x3ad8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
call fcn.0044f361
lea ecx, [ebp - 0x28]
call fcn.00435802
mov eax, dword [eax]
mov ecx, dword [eax]
push 1
push dword [ebp - 0x3ad8]
push eax
call dword [ecx + 0x34]
call fcn.0044f361
lea ecx, [ebp - 0x28]
call fcn.00435802
mov eax, dword [eax]
mov ecx, dword [eax]
push 0
push dword [ebp - 0x3ad8]
push eax
call dword [ecx + 0x38]
call fcn.004078e4
lea esi, [ebp - 0x3ae0]
call fcn.00404c7f
push edi
lea ecx, [ebp - 0x14]
call fcn.004015d6
mov byte [ebp - 4], 2
call fcn.0040753c
mov esi, eax
lea eax, [ebp - 0x14]
lea ecx, [esi + 0x80]
push eax
mov byte [ebp - 4], 3
call fcn.00404918
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov dword [esi + 0x84], eax
call fcn.0040297c
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040297c
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x3ae0]
call fcn.00471d2c
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
leave
ret 4