joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000cb50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10033c0a
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x100426ec]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x100426ec]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [esi + 0x88]
mov dword [esp + 0x18], edi
cmp eax, 9
ja case.0x1000cbac.0
movzx eax, byte [eax + 0x1000cd64]
jmp dword [eax*4 + 0x1000cd50]
push 0x20
call fcn.10018f98
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
mov dword [esp + 0x78], 0
test edi, edi
je 0x1000cbfd
push str.ATE0
lea ecx, [esp + 0x54]
call fcn.10001840
push 0xffffffffffffffff
lea eax, [esp + 0x54]
mov byte [esp + 0x7c], 1
mov ebx, 1
push eax
mov ecx, edi
mov dword [esp + 0x24], ebx
call fcn.10001710
mov ecx, eax
jmp 0x1000cbff
xor ecx, ecx
mov eax, dword [esp + 0x18]
mov dword [eax], ecx
test bl, 1
je 0x1000cc13
lea ecx, [esp + 0x50]
call fcn.10001910
mov dword [esi + 0x88], 2
jmp case.0x1000cbac.0
push str.ATCMGS
lea ecx, [esp + 0x3c]
call fcn.10001840
push 0x22
push 1
lea ecx, [esp + 0x40]
mov dword [esp + 0x80], 3
call fcn.10001b30
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x58]
push eax
lea ecx, [esp + 0x44]
call fcn.10001dc0
push 0x22
push 1
lea ecx, [esp + 0x40]
call fcn.10001b30
push 0x20
call fcn.10018f98
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x78], 4
test eax, eax
je 0x1000cc8d
push 0xffffffffffffffff
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
call fcn.10001710
jmp 0x1000cc8f
xor eax, eax
cmp dword [esp + 0x4c], 0x10
mov dword [edi], eax
mov dword [esi + 0x88], 8
jb case.0x1000cbac.0
push dword [esp + 0x38]
jmp 0x1000cd28
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x70]
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.10001be0
push 1
push 0x1003a2c8
lea ecx, [esp + 0x28]
mov dword [esp + 0x80], 5
call fcn.10001ec0
push 0x20
call fcn.10018f98
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x78], 6
test eax, eax
je 0x1000cd0f
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call fcn.10001710
jmp 0x1000cd11
xor eax, eax
cmp dword [esp + 0x34], 0x10
mov dword [edi], eax
mov dword [esi + 0x88], 0xa
jb case.0x1000cbac.0
push dword [esp + 0x20]
call fcn.10018f48
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.10018784
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000fb40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10033e72
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x100426ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0x1003a50c
mov dword [edi + 0x10], 0x1003a4c4
mov dword [edi + 0x78], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
push ecx
lea esi, [edi + 0x18]
mov dword [ebp - 4], 0
push esi
mov dword [ebp - 0x10], 1
call fcn.100108a0
mov dword [ebp - 4], 1
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x78]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call fcn.10010f10
lea eax, [esi + 4]
mov dword [esi + 0xc], eax
lea eax, [esi + 0x14]
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x4c], 0
mov byte [esi + 0x45], 0
lea ecx, [esi + 8]
mov dword [esi + 0x10], ecx
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [0x10059de8]
mov dword [esi + 0x50], 0
mov dword [esi + 0x48], eax
mov dword [esi + 0x40], 0
sub esp, 8
mov ecx, esi
push dword [ebp + 8]
mov byte [ebp - 4], 2
call fcn.10010950
test eax, eax
jne 0x1000fc74
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edi + 0xc]
add ecx, edi
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x1000fc6c
or eax, 4
push 0
push eax
call fcn.1000eff0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10010b60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100338b8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100426ec]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x100426ec]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x10010cb4
cmp byte [ebx + 0x45], 0
je 0x10010cb4
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x10010bc0
xor al, al
jmp 0x10010cb6
mov ecx, 0xf
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
cmp ecx, 0x10
cmovae eax, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], 8
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
jmp 0x10010c00
cmp dword [esp + 0x2c], 0x10
mov ecx, dword [ebx + 0x40]
lea eax, [esp + 0x14]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x2c]
lea edi, [esp + 0x1c]
cmovae edi, dword [esp + 0x1c]
lea esi, [esp + 0x1c]
cmovae esi, dword [esp + 0x1c]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x10010c41
dec eax
je 0x10010c45
sub eax, 2
je 0x10010c9b
xor bl, bl
jmp 0x10010c9d
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
cmp ecx, 0x10
lea eax, [esp + 0x18]
cmovae eax, edx
sub esi, eax
je 0x10010c7c
push dword [ebx + 0x50]
cmp ecx, 0x10
push esi
lea eax, [esp + 0x20]
cmovae eax, edx
push 1
push eax
call fcn.1001aca4
add esp, 0x10
cmp esi, eax
jne 0x10010c3d
cmp byte [ebx + 0x45], 0
je 0x10010c9b
test esi, esi
jne 0x10010c00
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.10001b30
jmp 0x10010c00
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x10010cb0
push dword [esp + 0x18]
call fcn.10018f48
add esp, 4
mov al, bl
jmp 0x10010cb6
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.10018784
mov esp, ebp
pop ebp
ret
Function at 0x100127b0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10034268
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x100426ec]
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 ecx, [ebp - 0x40]
call fcn.1000e320
push str.UnisocLog_
mov edx, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.10005c50
mov edi, eax
add esp, 4
cmp esi, edi
je 0x1001282c
cmp dword [esi + 0x14], 0x10
jb 0x10012813
push dword [esi]
call fcn.10018f48
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push edi
mov ecx, esi
mov byte [esi], 0
call fcn.10001ad0
cmp dword [ebp - 0x14], 0x10
jb 0x1001283d
push dword [ebp - 0x28]
call fcn.10018f48
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x10012867
push dword [ebp - 0x40]
call fcn.10018f48
add esp, 4
cmp dword [esi + 0x14], 0x10
jb 0x10012871
mov eax, dword [esi]
jmp 0x10012873
mov eax, esi
push 0
push eax
call fcn.10019a3b
add esp, 8
test eax, eax
je 0x100128e3
cmp dword [esi + 0x14], 0x10
jb 0x1001288c
mov eax, dword [esi]
jmp 0x1001288e
mov eax, esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x100128e3
lea ecx, [ebp - 0x58]
call fcn.1000e320
mov edi, eax
cmp esi, edi
je 0x100128d2
cmp dword [esi + 0x14], 0x10
jb 0x100128b9
push dword [esi]
call fcn.10018f48
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push edi
mov ecx, esi
mov byte [esi], 0
call fcn.10001ad0
cmp dword [ebp - 0x44], 0x10
jb 0x100128e3
push dword [ebp - 0x58]
call fcn.10018f48
add esp, 4
mov al, 1
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.10018784
mov esp, ebp
pop ebp
ret

Function at 0x10013ad0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push 0
mov eax, dword [esi]
push dword [esi + 0xc4]
call dword [eax + 0x30]
test eax, eax
jne 0x10013aec
mov ecx, esi
pop esi
jmp method.CControlATThreadBase.virtual_12
pop esi
ret
Function at 0x10013e90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10034a60
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x100426ec]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x100426ec]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 0x94]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test esi, esi
je 0x10013ede
push esi
call ebx
jmp 0x10013ee2
mov esi, dword [esp + 0x14]
push esi
mov byte [edi + 0x82], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [edi + 0x90]
test esi, esi
je 0x10013eff
push esi
call ebx
jmp 0x10013f03
mov esi, dword [esp + 0x14]
push esi
mov byte [edi + 0x81], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [edi + 0x80], 0
je 0x10013fd2
mov ecx, dword [edi + 0x9c]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
test al, al
je 0x10013fd2
push 0
push 0
push edi
push 0x10013e70
push 0
push 0
call fcn.1001b0e3
mov dword [edi + 0x88], eax
mov eax, dword [edi + 0x18]
add esp, 0x18
mov dword [esp + 0x14], eax
test eax, eax
je 0x10013fd2
mov esi, dword [eax]
test esi, esi
je 0x10013f69
push esi
call ebx
mov eax, dword [esp + 0x14]
jmp 0x10013f6d
mov esi, dword [esp + 0x14]
cmp dword [eax + 4], 0
push esi
setne bl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
je 0x10013fcc
push dword [edi + 0x88]
call dword [sym.imp.KERNEL32.dll_GetThreadId]
push eax
lea eax, [esp + 0x1c]
push str.CreateThread_CmdProc_ThreadId:__d_
push eax
call fcn.1000e7e0
add esp, 0xc
push 1
push ecx
push eax
mov ecx, edi
mov dword [esp + 0x64], 0
call fcn.10006070
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x10013fcc
push dword [esp + 0x18]
call fcn.10018f48
add esp, 4
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [edi + 0xa0]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
test al, al
je 0x10014078
push 0
push 0
push edi
push 0x10013e50
push 0
push 0
call fcn.1001b0e3
mov dword [edi + 0x84], eax
mov eax, dword [edi + 0x18]
add esp, 0x18
mov dword [esp + 0x14], eax
test eax, eax
je 0x10014078
mov esi, dword [eax]
test esi, esi
je 0x1001401d
push esi
call ebx
mov eax, dword [esp + 0x14]
jmp 0x10014021
mov esi, dword [esp + 0x14]
cmp dword [eax + 4], 0
push esi
setne bl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
je 0x10014078
push dword [edi + 0x84]
call dword [sym.imp.KERNEL32.dll_GetThreadId]
push eax
lea eax, [esp + 0x34]
push str.CreateThread_DataProc_ThreadId:__d_
push eax
call fcn.1000e7e0
add esp, 0xc
push 1
push ecx
push eax
mov ecx, edi
mov dword [esp + 0x64], 1
call fcn.10006070
cmp dword [esp + 0x44], 0x10
jb 0x10014078
push dword [esp + 0x30]
call fcn.10018f48
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.10018784
mov esp, ebp
pop ebp
ret
Function at 0x100140a0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10034a60
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x100426ec]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x100426ec]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x88], 0
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
je 0x100141c4
mov esi, dword [edi + 0x94]
test esi, esi
je 0x10014100
push esi
call eax
jmp 0x10014104
mov esi, dword [esp + 0x14]
push esi
mov byte [edi + 0x82], 1
call ebx
push 0x1388
push dword [edi + 0x88]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100141a9
push 0
push dword [edi + 0x88]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ebx, dword [edi + 0x18]
test ebx, ebx
je 0x100141a3
mov esi, dword [ebx]
test esi, esi
je 0x1001414c
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
call eax
jmp 0x10014150
mov esi, dword [esp + 0x14]
cmp dword [ebx + 4], 0
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
setne bl
call eax
test bl, bl
je 0x100141a3
push str.TerminateThread_LTE_CmdThreadProc.
lea ecx, [esp + 0x1c]
call fcn.10001840
push 1
push ecx
lea eax, [esp + 0x20]
push eax
mov ecx, edi
mov dword [esp + 0x64], 0
call fcn.10006070
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x100141a3
push dword [esp + 0x18]
call fcn.10018f48
add esp, 4
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [edi + 0x88]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [edi + 0x88], 0
cmp dword [edi + 0x84], 0
je 0x1001428d
mov esi, dword [edi + 0x90]
test esi, esi
je 0x100141e0
push esi
call eax
jmp 0x100141e4
mov esi, dword [esp + 0x14]
push esi
mov byte [edi + 0x81], 1
call ebx
push 0x1388
push dword [edi + 0x84]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10014277
push 0
push dword [edi + 0x84]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ebx, dword [edi + 0x18]
test ebx, ebx
je 0x10014277
mov esi, dword [ebx]
test esi, esi
je 0x10014228
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
call eax
jmp 0x1001422c
mov esi, dword [esp + 0x14]
cmp dword [ebx + 4], 0
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
setne bl
call eax
test bl, bl
je 0x10014277
push str.TerminateThread_LTE_DataThreadProc.
lea ecx, [esp + 0x34]
call fcn.10001840
push 1
push ecx
lea eax, [esp + 0x38]
push eax
mov ecx, edi
mov dword [esp + 0x64], 1
call fcn.10006070
cmp dword [esp + 0x44], 0x10
jb 0x10014277
push dword [esp + 0x30]
call fcn.10018f48
add esp, 4
push dword [edi + 0x84]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x84], 0
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.10018784
mov esp, ebp
pop ebp
ret
Function at 0x100145c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x100145d2
xor eax, eax
pop esi
pop ebp
ret 0xc
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov dword [esi + 0x12], eax
mov byte [esi], 0x7e
mov byte [esi + 5], 3
mov dword [edi], 0x1a
mov eax, 0xffff
xor edx, edx
movzx ecx, byte [esi + edx + 1]
xor ecx, eax
and ecx, 0xff
shr ax, 8
xor ax, word [ecx*4 + 0x10039b80]
inc edx
movzx eax, ax
cmp edx, 0x19
jb 0x100145f0
not eax
mov word [esi + 0x1a], ax
add dword [edi], 2
mov eax, dword [edi]
mov byte [eax + esi], 0x7e
inc dword [edi]
pop edi
mov eax, 1
pop esi
pop ebp
ret 0xc
Function at 0x1002a3b8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100426ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.10026bfc
mov dword [ebp - 0x14], eax
cmp dword [0x10059d14], edi
jne 0x1002a4a9
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x1002a436
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1002a589
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1002a589
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1002a589
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x10059d14], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x10059d18], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x10059d1c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10059d24], eax
test eax, eax
je 0x1002a4a6
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10059d20], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1002a4ce
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1002a4c1
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x1002a4e3
push 4
pop eax
jmp 0x1002a58b
cmp dword [ebp - 0x14], edi
je 0x1002a4e3
push dword [0x10059d14]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1002a4c8
mov eax, dword [0x10059d20]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x1002a541
cmp dword [0x10059d24], esi
je 0x1002a541
push eax
call ebx
push dword [0x10059d24]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1002a541
test eax, eax
je 0x1002a541
call ecx
test eax, eax
je 0x1002a536
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1002a536
test byte [ebp - 8], 1
jne 0x1002a541
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x1002a571
mov eax, dword [0x10059d18]
cmp eax, esi
je 0x1002a56e
push eax
call ebx
test eax, eax
je 0x1002a56e
call eax
mov edi, eax
test edi, edi
je 0x1002a56e
mov eax, dword [0x10059d1c]
cmp eax, esi
je 0x1002a56e
push eax
call ebx
test eax, eax
je 0x1002a56e
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x10059d14]
call ebx
test eax, eax
je 0x1002a589
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x1002a58b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10018784
leave
ret
Function at 0x401105
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esi + 8]
sub eax, 0x10
call fcn.0040557a
mov eax, dword [esi + 4]
sub eax, 0x10
jmp fcn.0040557a

Function at 0x4054a3
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
dec edi
inc edi
add esp, 4
xor esi, 0x146e8
sub esi, 0x10303
sub esi, 0x4f66
xor esi, 0x5b38
pop esi
mov ecx, 0x6b
mov word [ebp - 0x1738], cx
mov edx, 0x65
mov word [ebp - 0x1736], dx
mov eax, 0x72
mov word [ebp - 0x1734], ax
mov ecx, 0x6e
mov word [ebp - 0x1732], cx
mov edx, 0x65
mov word [ebp - 0x1730], dx
mov eax, 0x6c
mov word [ebp - 0x172e], ax
mov ecx, 0x33
mov word [ebp - 0x172c], cx
mov edx, 0x32
mov word [ebp - 0x172a], dx
mov eax, 0x2e
mov word [ebp - 0x1728], ax
mov ecx, 0x64
mov word [ebp - 0x1726], cx
mov edx, 0x6c
mov word [ebp - 0x1724], dx
mov eax, 0x6c
mov word [ebp - 0x1722], ax
xor ecx, ecx
mov word [ebp - 0x1720], cx
push edx
push edx
add esp, 4
and edx, 0x370b
jmp 0x405475
add byte fs:[eax], al
add byte [esi - 0x77], ah
invalid
add edx, 0x5d13
pop edx
push edi
push eax
add esp, 4
sub edi, 0xfc1a
or edi, 0x5f30
and edi, 0x7c05
pop edi
push ecx
call 0x4054a3
add byte [esi + edi + 0x4b], cl
xor eax, dword [edx + 0x4c]
cmp dword [ebx + eax*4], edi
les eax, [ecx + eax*4]
loope 0x405436
xor eax, dword [ecx]
add bl, ch
push es
dec esi
cmp dword [ebx + 0x42], ecx
aaa
cmp dword [ecx + 0x6ecdf1], eax
add byte [ecx + 0x52], bl
jmp 0x4054c5
pop edx
mov edx, dword fs:[0x18]
mov dword [ebp - 0x1954], edx
mov eax, dword [ebp - 0x1954]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x1958], ecx
mov edx, dword [ebp - 0x1958]
mov dword [ebp - 0x15d8], edx
push edi
sub edi, 0x14d1a
and edi, 0x6512
and edi, 0xd643
or edi, 0x17974
pop edi
push edx
push esi
add esp, 4
jmp fcn.00405512

Function at 0x405512
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
sub edx, 0x8c74
jmp 0x40551f
pop edx
cmp dword [ebp - 0x15d8], 0
jne 0x405538
mov dword [ebp - 0x31c], 0
jmp 0x4057f4
mov eax, dword [ebp - 0x15d8]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0xc]
invalid
xchg ebp, eax
invalid

Function at 0x405721
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov dword [ebp - 0x15dc], 0xffffffff
jmp 0x405737
mov edx, dword [ebp - 0x15dc]
mov dword [ebp - 0x15e0], edx
invalid
invalid
and dl, ch

Function at 0x40576e
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
or eax, 0x144ec
or eax, 0x12486
pop eax
mov eax, dword [ebp - 0x504]
mov dword [ebp - 0x31c], eax
jmp 0x4057f4
push ecx
xor ecx, 0x9f34
jmp 0x405804
xor ecx, 0x16275
sub ecx, 0x15d9
pop ecx
push edi
sub edi, 0xb1ad
pop edi
push ebx
push esi
add esp, 4
jmp 0x405825
pop ebx
invalid
invalid
invalid