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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101544b8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x101c0618]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.1000d010
mov ecx, eax
test ecx, ecx
je 0x1001b64d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.10067520
add esp, 8
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.1000b6e0
mov edx, dword [ebp - 0x18]
or edi, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001b505
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x14]
cmp dword [esi - 0xc], 0
je 0x1001b5e3
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
call ebx
test eax, eax
je 0x1001b5e3
push str.uninst.exe
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10019d90
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10044780
add esp, 0x14
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.1000b6e0
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001b574
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x10]
call ebx
test eax, eax
jne 0x1001b5ac
mov ebx, dword [ebp + 8]
mov ecx, ebx
push 0x10172dc0
call fcn.1000b130
mov edx, dword [ebp - 0x10]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001b61d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1001b61d
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.1000bc60
mov ebx, dword [ebp + 8]
add eax, 0x10
mov edx, dword [ebp - 0x10]
add esp, 4
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov dword [ebx], eax
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001b61d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1001b61d
call fcn.1000d010
mov ecx, eax
test ecx, ecx
je 0x1001b657
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebx, dword [ebp + 8]
add eax, 0x10
mov dword [ebx], eax
push 0x10172dc0
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.1001aad0
test al, al
jne 0x1001b61d
push 0
push 0x10172dc0
mov ecx, ebx
call fcn.1000adf0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x1001b639
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10007270
push 0x80004005
call fcn.10007270
int3
Function at 0x1001c740
Capabilities:
Create process on windows

Disassembly:
push 4
push 0x10175078
push 0
call fcn.100302f0
cmp eax, 6
jne 0x1001c76c
push 1
push 0
push 0
push dword [0x101bff98]
push 0x101750a4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret

Function at 0x1001ce20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101546f6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x101c0618]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push edi
mov byte [ebp - 4], 1
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x1001cecc
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x1001cecc
call fcn.1001aa50
mov edi, eax
jmp 0x1001cfeb
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x1001ceef
call fcn.1001aa50
jmp 0x1001cfde
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x1001cf0d
call fcn.1001aa50
jmp 0x1001cfde
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x1001cf2e
mov edi, 0x8007000e
jmp 0x1001cfe0
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x1001d024
jb 0x1001cf4c
cmp eax, 0xffffffff
ja 0x1001d024
cmp eax, 0x400
jbe 0x1001cf61
push eax
lea ecx, [ebp - 0x418]
call fcn.1001a970
jmp 0x1001cf87
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x1001cf87
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x1001cf9e
mov edi, 0x8007000e
jmp 0x1001cfe0
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x1001cfbe
call fcn.1001aa50
jmp 0x1001cfde
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.1001cc80
mov edi, eax
test esi, esi
je 0x1001cfeb
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1001d004
lea ecx, [ebp - 0x418]
call fcn.1001b1c0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.10007270
int3
Function at 0x10020040
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x101c0618]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x10175890]
push ebx
push esi
push edi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
lea eax, [esi + 0x5c]
push eax
movups xmmword [eax], xmm0
call dword [sym.imp.USER32.dll_OffsetRect]
movaps xmm0, xmmword [0x101758a0]
mov dword [ebp - 0xc], 0x43160000
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x44], eax
mov dword [ebp - 8], 0x42c80000
mov eax, dword [ebp - 8]
mov dword [esi + 0x48], eax
mov eax, dword [ebp + 8]
movups xmmword [ebp - 0x14], xmm0
mov dword [esi + 0x58], eax
lea eax, [esi + 0x20]
push dword [ebp - 8]
push eax
push 0x101c0030
push section..data
push 0x101c7210
call fcn.10006c90
movzx ebx, ax
add esp, 0x14
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x100200da
call fcn.1008e1f5
mov dword [esi + 0x14], eax
test eax, eax
jne 0x100200da
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10020157
push 0
push 0
push eax
call fcn.1008e2f7
test bx, bx
jne 0x100200ed
xor eax, eax
jmp 0x10020157
lea edi, [esi + 8]
test edi, edi
je 0x100201fd
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x101bf004
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x101bf01c]
mov dword [edi + 8], eax
push 0x101bf004
mov dword [0x101bf01c], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
sub eax, edx
mov ecx, dword [ebp - 0x14]
push 0
push dword [0x101c7214]
push esi
push dword [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
push eax
push edx
push ecx
push 0x4000000d
push 0
push ebx
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.USER32.dll_GetWindowDC]
mov dword [esi + 0x28], eax
test eax, eax
jne 0x1002017b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp + 0x18]
movzx edx, cl
or edx, 0xffffff00
movzx eax, cx
shl edx, 8
shr eax, 8
or edx, eax
shr ecx, 0x10
movzx eax, cl
shl edx, 8
push 5
push dword [esi + 4]
or edx, eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x4c], edx
mov dword [esi + 0x40], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xa
mov ecx, esi
call fcn.10020750
cmp dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0xa
mov dword [esi + 0x3c], 0x32
mov dword [esi + 0x38], 0x37
je 0x100201e5
push 0
push dword [esi + 0x40]
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b4568
mov esp, ebp
pop ebp
ret 0x14
push 1
push 0xc0000005
call fcn.10007e40
int3

Function at 0x100222d0
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
add ecx, 0xffffffdc
pop ebp
jmp fcn.10022ab0
Function at 0x10022ab0
Capabilities:
Hide graphical window
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x101c0618]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
cmp dword [ebx + 0x58], 2
je 0x10022bc3
push esi
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 8]
mov ecx, ebx
call fcn.10022800
call fcn.100125c0
mov ecx, eax
call fcn.10010090
mov esi, dword [eax]
call fcn.10073040
xor ecx, ecx
test esi, esi
setne cl
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x30]
cmp dword [ebp + 8], 0
pop esi
je 0x10022b91
call fcn.10073040
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
test eax, eax
je 0x10022b91
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10022bc3
lea eax, [ebp - 0x10]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
push 0
push dword [ebp - 0x18]
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10022bc3
push eax
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret 4
mov ecx, 0x101c5f6c
call fcn.10031e20
mov ecx, ebx
call fcn.10023620
test eax, eax
je 0x10022bb2
lea ecx, [ebx + 0x60]
call fcn.100152e0
test eax, eax
jne 0x10022bc3
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.100b4568
mov esp, ebp
pop ebp
ret 4

Function at 0x100242d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10154c7e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x101c0618]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.10017c40
mov dword [ebp - 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
lea esi, [edi + 0x30]
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov ecx, esi
mov dword [edi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10026460
mov dword [esi], eax
mov eax, edi
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10026930
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10154fcf
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x101c0618]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [esi + 4]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
movups xmm0, xmmword [ebp - 0x20]
push 0x64
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x24], 0x128
call fcn.1002c7e0
add esp, 4
mov dword [ebp - 0x64], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x100269a2
mov ecx, eax
call fcn.1002d000
mov edi, eax
jmp 0x100269a4
xor edi, edi
push 1
push 0x10173668
push 0xf2
push dword [esi + 4]
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call fcn.1002d0a0
mov eax, dword [edi]
lea ecx, [ebp - 0x30]
push ecx
push edi
call dword [eax + 0x18]
lea ecx, [esi + 0x28]
push edi
call fcn.10012470
movaps xmm0, xmmword [0x101737b0]
push 0x68
movups xmmword [ebp - 0x40], xmm0
call fcn.1002c7e0
add esp, 4
mov dword [ebp - 0x64], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x10026a02
mov ecx, eax
call fcn.1002d430
mov edi, eax
jmp 0x10026a04
xor edi, edi
push 1
push 3
push 0xf5
push 3
push dword [esi + 4]
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call fcn.1002d5f0
mov eax, dword [edi]
lea ecx, [ebp - 0x40]
push ecx
push edi
call dword [eax + 0x18]
mov eax, dword [edi]
push 0
push edi
call dword [eax + 0x2c]
push edi
lea ecx, [esi + 0x28]
call fcn.10012470
movaps xmm0, xmmword [0x10175df0]
push 0x74
movups xmmword [ebp - 0x50], xmm0
call fcn.1002c7e0
add esp, 4
mov dword [ebp - 0x64], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x10026a69
mov ecx, eax
call fcn.1002c820
mov edi, eax
jmp 0x10026a6b
xor edi, edi
push 4
push 0x10175d4c
push 0
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
push eax
push dword [esi + 4]
mov ecx, edi
call fcn.1002cc40
push 0xa5a5a5
mov ecx, edi
call fcn.1002cdd0
push 0x10
mov ecx, edi
call fcn.1002ce30
push edi
lea ecx, [esi + 0x28]
call fcn.10012470
movaps xmm0, xmmword [0x10175e00]
push 0x90
movups xmmword [ebp - 0x60], xmm0
call fcn.1002c7e0
add esp, 4
mov dword [ebp - 0x64], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x10026ad6
mov ecx, eax
call fcn.10033330
jmp 0x10026ad8
xor eax, eax
push 5
push 0xfb
push 0xfa
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x5c], eax
call fcn.10033530
mov eax, dword [esi + 0x5c]
lea edx, [ebp - 0x60]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [esi + 0x5c]
push dword [esi + 4]
push eax
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, dword [esi + 0x5c]
push 0x32
call fcn.10033870
push dword [esi + 0x5c]
lea ecx, [esi + 0x28]
call fcn.10012470
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.100b4568
mov esp, ebp
pop ebp
ret
Function at 0x10028340
Capabilities:
Get common file path
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10155188
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x101c0618]
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 dword [ebp - 0x224], ecx
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100ec480
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ecx, dword [0x101c5e14]
test ecx, ecx
jne 0x10028406
mov esi, dword [0x101c5e18]
push esi
mov dword [ebp - 0x220], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x101c5e14], 0
mov dword [ebp - 4], 0
jne 0x100283f2
push 0x7c
call fcn.1002c7e0
add esp, 4
mov dword [ebp - 0x228], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x100283eb
mov ecx, eax
call fcn.1000dd90
jmp 0x100283ed
xor eax, eax
mov dword [0x101c5e14], eax
push esi
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x101c5e14]
lea eax, [ebp - 0x21c]
push eax
call fcn.1000f150
mov eax, dword [ebp - 0x21c]
mov edi, str..lnk
sub edi, eax
mov dword [ebp - 4], 2
push 4
push str..lnk
mov ebx, dword [eax - 0xc]
sar edi, 1
call fcn.101090c8
mov ecx, SysReAllocString
mov dword [ebp - 0x220], eax
sub ecx, eax
add esp, 8
cmp ecx, ebx
jl 0x1002855b
lea esi, [ebx + eax]
test esi, esi
js 0x10028565
mov eax, dword [ebp - 0x21c]
mov edx, 1
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x10028483
push esi
lea ecx, [ebp - 0x21c]
call fcn.1000ad50
mov eax, dword [ebp - 0x21c]
lea edx, [eax + edi*2]
cmp edi, ebx
jbe 0x1002848f
mov edx, str..lnk
mov ecx, dword [ebp - 0x220]
lea eax, [eax + ebx*2]
push ecx
push edx
push ecx
push eax
call fcn.1000c9e0
mov eax, dword [ebp - 0x21c]
add esp, 0x10
cmp esi, dword [eax - 8]
jg 0x1002855b
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x21c]
mov word [eax + esi*2], cx
lea eax, [ebp - 0x218]
push dword [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call fcn.10075650
mov ebx, dword [ebp - 0x224]
add esp, 4
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
movzx eax, word [ebx + 0x68]
test ax, ax
je 0x10028505
push eax
call dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov edx, dword [ebp - 0x21c]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002853b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
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.100b4568
mov esp, ebp
pop ebp
ret 0x10
push 0x80070057
call fcn.10007270
push 0x80070057
call fcn.10007270
int3
Function at 0x10029000
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x1c], 0
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], 1
jne 0x100291da
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
cmp esi, 0x1401
jne 0x10029056
mov eax, dword [ebx + 0x24]
lea edx, [ebp - 4]
push edx
push edi
push dword [ebp + 0x10]
lea ecx, [ebx + 0x24]
push 0x1401
call dword [eax]
cmp dword [ebp - 4], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
je 0x1002907d
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp esi, 0x1403
jne 0x1002907d
mov eax, dword [ebx]
lea ecx, [ebp - 4]
push ecx
push edi
push dword [ebp + 0x10]
mov ecx, ebx
push esi
call dword [eax + 0x10]
cmp dword [ebp - 4], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x100291cc
mov esi, dword [ebx + 0x28]
lea ecx, [ebx + 0x24]
push 0
push dword [ebp + 0x18]
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10028cb0
mov dword [ebx + 0x28], esi
test eax, eax
jne 0x100291cc
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x100290c3
push edi
mov ecx, ebx
mov dword [ebx + 0x3c], eax
call fcn.100285c0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
cmp dword [ebx + 0x3c], 0
jmp 0x100291ca
cmp eax, 0x14
jne 0x100290e1
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x3c], 1
mov dword [eax], 0
cmp dword [ebx + 0x3c], 0
jmp 0x100291ca
cmp eax, 0x111
jne 0x100291da
mov eax, dword [ebp + 0x10]
mov ecx, 1
movzx edi, ax
cmp cx, di
jne 0x10029124
mov dword [ebp - 4], ecx
lea ecx, [ebp - 4]
push ecx
push dword [ebp + 0x14]
shr eax, 0x10
mov ecx, ebx
push 1
push eax
call fcn.10028340
cmp dword [ebp - 4], 0
mov esi, dword [ebp + 0x18]
mov dword [esi], eax
jne 0x100291cc
jmp 0x10029127
mov esi, dword [ebp + 0x18]
mov eax, 2
cmp ax, di
jne 0x10029183
mov dword [ebp - 4], 1
call fcn.10073040
push 0
push dword [0x101c0164]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x38]
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
movzx eax, word [ebx + 0x68]
test ax, ax
je 0x10029166
push eax
call dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp dword [ebp - 4], 0
mov dword [esi], 0
jne 0x100291cc
mov eax, 3
cmp ax, di
jne 0x100291da
push 0
push dword [ebx + 4]
mov dword [ebp - 4], 1
call dword [sym.imp.USER32.dll_ShowWindow]
movzx eax, word [ebx + 0x68]
test ax, ax
je 0x100291af
push eax
call dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp dword [ebp - 4], 0
mov dword [esi], 0
je 0x100291da
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x10029400
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x101c0618]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0x101c6128
mov dword [ebp - 0x1c], 0x42002f
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x4e0041
mov dword [ebp - 0x14], 0x550041
mov edx, 0xd
mov dword [ebp - 0x10], 0x4f0054
sub esi, eax
mov dword [ebp - 0xc], 0x550052
mov dword [ebp - 8], 0x4e
nop word [eax + eax]
lea ecx, [edx + 0x7ffffff1]
test ecx, ecx
je 0x1002946e
movzx ecx, word [esi + eax]
test cx, cx
je 0x1002946e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x10029450
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x101c6128
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret

Function at 0x10029490
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x101c0618]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x1c], 0x44002f
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x1c]
mov eax, 0x101c600c
mov dword [ebp - 0x18], 0x420045
mov dword [ebp - 0x14], 0x470055
mov edx, 0xc
mov dword [ebp - 0x10], 0x490046
sub esi, eax
mov dword [ebp - 0xc], 0x45004c
nop dword [eax]
lea ecx, [edx + 0x7ffffff2]
test ecx, ecx
je 0x100294fe
movzx ecx, word [esi + eax]
test cx, cx
je 0x100294fe
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x100294e0
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x101c600c
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret

Function at 0x10029520
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x101c0618]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x1c], 0x55002f
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x1c]
mov eax, 0x101c6110
mov dword [ebp - 0x18], 0x49004e
mov dword [ebp - 0x14], 0x53004e
mov edx, 0xc
mov dword [ebp - 0x10], 0x410054
sub esi, eax
mov dword [ebp - 0xc], 0x4c004c
nop dword [eax]
lea ecx, [edx + 0x7ffffff2]
test ecx, ecx
je 0x1002958e
movzx ecx, word [esi + eax]
test cx, cx
je 0x1002958e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x10029570
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x101c6110
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret