joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414ee5
Capabilities:
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x43e030]
xor eax, ebp
mov dword [ebp + 0x190], eax
push esi
mov esi, dword [ebp + 0x19c]
push edi
mov dword [ebp - 0x80], ecx
test esi, esi
je 0x414f82
cmp word [esi], 0
je 0x414f82
mov edi, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push esi
call edi
test eax, eax
je 0x414f27
xor eax, eax
inc eax
jmp 0x414f84
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
call fcn.00421bc0
push esi
push 0x435dc0
lea eax, [ebp - 0x7c]
push 0x104
push eax
call fcn.0041fb89
add esp, 0x1c
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x414f82
lea eax, [ebp - 0x7c]
push eax
call edi
test eax, eax
jne 0x414f77
mov ecx, dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
push eax
call fcn.00414ee5
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x414f84
xor eax, eax
mov ecx, dword [ebp + 0x190]
pop edi
xor ecx, ebp
pop esi
call fcn.0041f23c
add ebp, 0x194
leave
ret 4

Function at 0x416afc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [edi + 0xc]
push ebx
push esi
test eax, eax
je 0x416b8e
push ebp
push 0x4380dc
lea ecx, [edi + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebp, eax
test ebp, ebp
je 0x416b8d
push ebp
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x416b86
push ebp
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x416b86
push reloc.KERNEL32.dll_LoadLibraryW
mov dword [edi + 0x230], eax
mov dword [edi + 0x22c], esi
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x416b7e
lea eax, [esi + 4]
and dword [eax], 0
push eax
lea eax, [edi + 0x220]
push eax
mov dword [esi], vtable.Gdiplus::Image.0
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [esi + 8], eax
jmp 0x416b80
xor esi, esi
mov dword [edi + 0x21c], esi
push ebp
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebp
and dword [edi + 0xc], 0
lea ebx, [edi + 0x21c]
mov esi, dword [ebx]
xor eax, eax
mov word [edi + 0x10], ax
test esi, esi
je 0x416bc0
call fcn.00416e99
mov esi, dword [ebx]
mov dword [edi + 4], eax
call fcn.00416e79
mov dword [edi + 8], eax
xor eax, eax
cmp dword [edi + 4], eax
setg al
jmp 0x416bc2
xor eax, eax
pop esi
pop ebx
ret
Function at 0x418508
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x14
push ebp
xor ebp, ebp
cmp dword [esi + 0x1c], ebp
je 0x41860a
push ebx
mov ebx, dword [esi + 0x10]
sub ebx, dword [esi + 8]
push edi
mov edi, dword [esi + 0xc]
push dword [esi + 0x14]
sub edi, dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebx
push edi
push dword [esp + 0x18]
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [esp + 0x10]
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [esi + 0x60], ebp
je 0x41857a
mov eax, dword [esi + 0x64]
cmp eax, ebp
je 0x41857a
push 0xcc0020
push ebp
push ebp
push eax
push ebx
push edi
push ebp
push ebp
push dword [esp + 0x2c]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi]
push ebp
push ebp
push dword [esp + 0x14]
mov ecx, esi
call dword [eax + 0x14]
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
push dword [esp + 0x14]
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_GetClipRgn]
push ebp
push dword [esp + 0x14]
mov dword [esp + 0x20], eax
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push 0xcc0020
push ebp
push ebp
push dword [esp + 0x18]
push ebx
mov ebx, dword [esp + 0x24]
push edi
push dword [esi + 8]
push dword [esi + 4]
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [esp + 0x18], 1
jne 0x4185da
push dword [esp + 0x14]
jmp 0x4185db
push ebp
push ebx
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push dword [esp + 0x14]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
call edi
push dword [esp + 0xc]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [esp + 0x1c]
call edi
push ebx
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop ebx
pop ebp
add esp, 0x14
ret
Function at 0x418846
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp dword [esi + 0x1c], 0
je 0x4189df
mov eax, dword [ebp + 8]
test eax, eax
je 0x4189df
cmp dword [eax + 0x4c], 0
je 0x4189df
test ecx, ecx
je 0x418873
mov edx, dword [ecx]
jmp 0x418876
mov edx, dword [eax + 4]
mov dword [ebp - 0x14], edx
test ecx, ecx
je 0x418882
mov edx, dword [ecx + 4]
jmp 0x418885
mov edx, dword [eax + 8]
mov dword [ebp - 0xc], edx
push edi
test ecx, ecx
je 0x418897
mov edi, dword [ecx + 8]
sub edi, dword [ecx]
mov dword [ebp - 0x10], edi
jmp 0x4188a2
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 4]
mov dword [ebp - 0x10], edx
mov edi, edx
push ebx
test ecx, ecx
je 0x4188af
mov ebx, dword [ecx + 0xc]
sub ebx, dword [ecx + 4]
jmp 0x4188b5
mov ebx, dword [eax + 0x10]
sub ebx, dword [eax + 8]
push dword [esi + 0x14]
mov dword [ebp - 0x18], ebx
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebx
push edi
push dword [ebp - 8]
mov dword [ebp - 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp - 4]
mov dword [ebp - 0x20], eax
call edi
push dword [ebp - 0xc]
mov eax, esi
push dword [ebp - 0x14]
push ebx
push dword [ebp - 0x10]
push 0
push 0
push dword [ebp - 4]
call fcn.00418811
push dword [esi + 0x18]
push dword [ebp - 4]
call edi
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
neg edx
push edx
mov edx, dword [ebp - 0x14]
neg edx
push edx
push dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
call dword [eax + reloc.ADVAPI32.dll_RegQueryInfoKeyW]
push dword [ebp - 0x1c]
push dword [ebp - 4]
call edi
mov edi, dword [sym.imp.GDI32.dll_CreateRectRgn]
xor eax, eax
push eax
push eax
push eax
push eax
call edi
push eax
push dword [ebp - 8]
mov dword [ebp + 8], eax
call dword [sym.imp.GDI32.dll_GetClipRgn]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 8]
lea edx, [eax + ebx]
add edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x14]
push edx
mov edx, dword [ebp - 0x10]
add edx, ecx
add edx, ebx
push edx
mov edx, dword [ebp - 0xc]
add eax, edx
push eax
add ecx, ebx
push ecx
call edi
mov edi, eax
push edi
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov eax, dword [esi + 8]
push 0xcc0020
push 0
push 0
push dword [ebp - 4]
push dword [ebp - 0x18]
push dword [ebp - 0x10]
add eax, dword [ebp - 0xc]
push eax
mov eax, dword [esi + 4]
add eax, ebx
push eax
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_BitBlt]
push edi
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
call edi
cmp dword [ebp - 0x1c], 1
pop ebx
jne 0x4189b4
push dword [ebp + 8]
jmp 0x4189b6
push 0
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push dword [ebp + 8]
call edi
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x20]
call edi
push dword [ebp - 8]
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
leave
ret 4
Function at 0x419efe
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4321fe
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x43e030]
xor eax, esp
mov dword [esp + 0x188], eax
push ebx
push esi
push edi
mov eax, dword [0x43e030]
xor eax, esp
push eax
lea eax, [esp + 0x1a0]
mov dword fs:[0], eax
and dword [esp + 0x1c], 0
push 0x58
lea eax, [esp + 0x24]
push 0
push eax
mov edi, ecx
call fcn.00421bc0
add esp, 0xc
lea eax, [esp + 0x7c]
push eax
mov dword [esp + 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x8c], 2
jne 0x41a061
cmp dword [esp + 0x80], 6
jne 0x41a061
xor eax, eax
movzx ecx, word [eax + reloc.ADVAPI32.dll_RegCloseKey]
mov word [esp + eax + 0x38], cx
inc eax
inc eax
test cx, cx
jne 0x419f8a
mov ebx, 0x43528c
lea esi, [esp + 0x14]
mov dword [esp + 0x1c], 0xfffffff4
call fcn.00412101
and dword [esp + 0x1a8], 0
mov ecx, esi
lea eax, [edi + 0x24]
push ecx
push eax
mov dword [esp + 0x20], eax
call fcn.0041a55f
mov edi, dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov esi, eax
lea eax, [esp + 0x1c]
push eax
call edi
or dword [esp + 0x1a8], 0xffffffff
mov dword [esi], eax
lea esi, [esp + 0x14]
call fcn.00401a3f
mov ebx, 0x4353c8
lea esi, [esp + 0x14]
mov dword [esp + 0x1c], 0xfffffff2
call fcn.00412101
mov eax, esi
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x1b0], 1
call fcn.0041a55f
mov esi, eax
lea eax, [esp + 0x1c]
push eax
call edi
or dword [esp + 0x1a8], 0xffffffff
mov dword [esi], eax
lea esi, [esp + 0x14]
call fcn.00401a3f
mov ebx, 0x4355e8
lea esi, [esp + 0x14]
mov dword [esp + 0x1c], 0xfffffff4
mov byte [esp + 0x31], 1
call fcn.00412101
mov dword [esp + 0x1a8], 2
jmp 0x41a138
xor eax, eax
movzx ecx, word [eax + reloc.ADVAPI32.dll_RegCloseKey]
mov word [esp + eax + 0x38], cx
inc eax
inc eax
test cx, cx
jne 0x41a063
mov ebx, 0x43528c
lea esi, [esp + 0x14]
mov dword [esp + 0x1c], LoadLibraryW
call fcn.00412101
mov ecx, esi
lea eax, [edi + 0x24]
push ecx
push eax
mov dword [esp + 0x1b0], 3
mov dword [esp + 0x20], eax
call fcn.0041a55f
mov edi, dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov esi, eax
lea eax, [esp + 0x1c]
push eax
call edi
or dword [esp + 0x1a8], 0xffffffff
mov dword [esi], eax
lea esi, [esp + 0x14]
call fcn.00401a3f
mov ebx, 0x4353c8
lea esi, [esp + 0x14]
mov dword [esp + 0x1c], 0x12
call fcn.00412101
mov eax, esi
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x1b0], 4
call fcn.0041a55f
mov esi, eax
lea eax, [esp + 0x1c]
push eax
call edi
or dword [esp + 0x1a8], 0xffffffff
mov dword [esi], eax
lea esi, [esp + 0x14]
call fcn.00401a3f
mov ebx, 0x4355e8
lea esi, [esp + 0x14]
mov dword [esp + 0x1c], LoadLibraryW
mov byte [esp + 0x31], 1
call fcn.00412101
mov dword [esp + 0x1a8], 5
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x1c]
call fcn.0041a55f
mov esi, eax
lea eax, [esp + 0x1c]
push eax
call edi
mov dword [esi], eax
lea esi, [esp + 0x14]
call fcn.00401a3f
xor eax, eax
inc eax
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x188]
xor ecx, esp
call fcn.0041f23c
mov esp, ebp
pop ebp
ret
Function at 0x41c4da
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0042d800
mov eax, dword [0x43e030]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x1008], 0
push esi
push edi
lea edi, [ebx + 0xa8]
push dword [edi]
mov esi, ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41c55b
mov edi, dword [edi]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, edi
jne 0x41c55b
xor eax, eax
push LockResource
push eax
mov word [ebp - reloc.ADVAPI32.dll_RegCloseKey], ax
lea eax, [ebp - 0x1002]
push eax
call fcn.00421bc0
add esp, 0xc
push 0x800
lea eax, [ebp - 0x1004]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebx + 0x1c]
push eax
call fcn.00401bb0
lea ecx, [ebx + 0x1c]
call fcn.00412223
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041f23c
leave
ret

Function at 0x41d266
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x4c], edi
jne 0x41d275
xor eax, eax
jmp 0x41d2a8
cmp dword [esp + 0xc], 9
jne 0x41d2a6
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x41d2a6
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
jne 0x41d2a6
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x70]
mov edi, eax
mov eax, edi
pop edi
pop esi
ret 4

Function at 0x41d581
Capabilities:
Hide graphical window

Disassembly:
and dword [ecx + 0xc8], 0
push esi
lea esi, [ecx + 0xa8]
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41d5a5
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x41e8f9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
push esi
push edi
mov ebx, ecx
push 0xfffffffffffffff0
push dword [ebx + 0x30]
mov esi, eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000
je 0x41eac9
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
movsx eax, si
mov dword [esp + 0xc], eax
shr esi, 0x10
movsx eax, si
mov dword [esp + 0x10], eax
lea eax, [esp + 0x2c]
xor esi, esi
push eax
push dword [ebx + 4]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
call edi
lea eax, [esp + 0x18]
push eax
push dword [ebx + 0x30]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call edi
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov esi, dword [sym.imp.USER32.dll_OffsetRect]
neg ecx
neg eax
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call esi
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
neg ecx
add dword [esp + 0x10], ecx
neg eax
add dword [esp + 0xc], eax
push ecx
push eax
lea eax, [esp + 0x34]
push eax
call esi
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
lea eax, [ebx - 5]
mov dword [esp + 0x14], eax
lea eax, [esi + 5]
mov dword [esp + 0x28], eax
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0x58], esi
mov esi, dword [esp + 0x14]
lea eax, [ecx + 5]
lea edi, [edx - 5]
mov dword [esp + 0x64], esi
mov esi, dword [esp + 0x20]
add ecx, 0xfffffffd
mov dword [esp + 0x3c], eax
lea eax, [ebx + 3]
mov dword [esp + 0x48], edx
add edx, 3
add esi, 0xfffffffd
mov dword [esp + 0x6c], ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x68], esi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x98], esi
mov dword [esp + 0xa0], edi
mov dword [esp + 0xb0], esi
mov dword [esp + 0x88], ebx
mov dword [esp + 0x90], edx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], eax
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], eax
xor edi, edi
lea esi, [esp + 0x40]
push dword [esp + 0x10]
push dword [esp + 0x10]
push esi
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x41ead2
inc edi
add esi, 0x10
cmp edi, 8
jb 0x41eaad
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [edi + 0xa]
jmp 0x41eacb
Function at 0x41eff8
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x43fd20], 0
push esi
jne 0x41ef6b
call fcn.0041ee91
test eax, eax
je 0x41efae
mov eax, dword [0x43fd20]
cmp eax, 1
jne 0x41ef8c
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x41efae
pop esi
ret
push eax
call dword [0x43fd28]
test eax, eax
jne 0x41eff6
push reloc.KERNEL32.dll_HeapFree
mov eax, reloc.KERNEL32.dll_WaitForMultipleObjects
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x41efb2
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x43fd20]
call dword [0x43fd28]
mov edi, eax
test edi, edi
je 0x41efd7
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x41eff3
mov edi, esi
add esi, 0xff0
push edi
push dword [0x43fd20]
call dword [0x43fd24]
add edi, 0x10
cmp edi, esi
jb 0x41efdf
mov eax, edi
pop edi
pop esi
ret
jmp 0x41ef58

Function at 0x41f23c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43e030]
jne 0x41f246
repz ret
jmp fcn.00421e2c

Function at 0x42b4ca
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.004224e1
and dword [ebp - 4], 0
cmp dword [0x440778], 0
mov ebx, eax
jne 0x42b57b
push 0x43469c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42b62c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x434690
push edi
call esi
test eax, eax
je 0x42b62c
push eax
call fcn.0042246f
mov dword [esp], 0x434680
push edi
mov dword [0x440778], eax
call esi
push eax
call fcn.0042246f
mov dword [esp], 0x43466c
push edi
mov dword [0x44077c], eax
call esi
push eax
call fcn.0042246f
mov dword [esp], 0x434650
push edi
mov dword [0x440780], eax
call esi
push eax
call fcn.0042246f
pop ecx
mov dword [0x440788], eax
test eax, eax
je 0x42b57b
push 0x434638
push edi
call esi
push eax
call fcn.0042246f
pop ecx
mov dword [0x440784], eax
mov eax, dword [0x440784]
cmp eax, ebx
je 0x42b5d3
cmp dword [0x440788], ebx
je 0x42b5d3
push eax
call fcn.004224ea
push dword [0x440788]
mov esi, eax
call fcn.004224ea
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42b5d3
test edi, edi
je 0x42b5d3
call esi
test eax, eax
je 0x42b5ca
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42b5ca
test byte [ebp - 0xc], 1
jne 0x42b5d3
or dword [ebp + 0x10], 0x200000
jmp 0x42b60c
mov eax, dword [0x44077c]
cmp eax, ebx
je 0x42b60c
push eax
call fcn.004224ea
pop ecx
test eax, eax
je 0x42b60c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42b60c
mov eax, dword [0x440780]
cmp eax, ebx
je 0x42b60c
push eax
call fcn.004224ea
pop ecx
test eax, eax
je 0x42b60c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x440778]
call fcn.004224ea
pop ecx
test eax, eax
je 0x42b62c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42b62e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42c005
Capabilities:
Packed with generic packer

Disassembly:
jmp fcn.0042a8d0
jmp section.42vab535
Function at 0x10018b7
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
xor edi, edi
push edi
push edi
push edi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, edi
mov dword [esi + 0x88], eax
jne 0x10018d6
xor eax, eax
jmp 0x10018f0
lea eax, [esp + 8]
push eax
push edi
push esi
push 0x10018a9
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ecx
ret

Function at 0x1001923
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor esi, esi
push esi
push esi
mov dword [ebp + 0x10], eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
push esi
push esi
push esi
push 3
push 1
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
push 0x1001718
push dword [ebp + 8]
mov ebx, 0x10051b8
push 0x1005010
mov ecx, ebx
call fcn.01001848
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, 0x1001178
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
mov dword [0x100523c], eax
lea eax, [ebp - 8]
movsw word es:[edi], word [esi]
xor esi, esi
push eax
push dword [ebp + 0x10]
mov dword [ebp + 8], esi
jmp 0x10019b3
push 0x1001160
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10019de
push 0x100114c
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10019fc
lea eax, [ebp - 8]
push eax
push edi
call fcn.010017fe
mov edi, eax
cmp edi, esi
jne 0x100198e
mov ecx, ebx
call fcn.010018b7
push 5
push 0x14
push ebx
call dword [sym.imp.ATL.DLL_AtlModuleRegisterClassObjects]
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x1001a22
push esi
push esi
push esi
push 0x1f4
push ebx
call dword [sym.imp.ATL.DLL_AtlModuleUpdateRegistryFromResourceD]
push esi
push 1
push ebx
call dword [sym.imp.ATL.DLL_AtlModuleUnregisterServerEx]
mov dword [ebp + 8], eax
jmp 0x1001a41
push esi
push esi
push 1
push 0x1f4
push ebx
call dword [sym.imp.ATL.DLL_AtlModuleUpdateRegistryFromResourceD]
push esi
push 1
push ebx
call dword [sym.imp.ATL.DLL_AtlModuleRegisterServer]
jmp 0x10019f7
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push esi
push esi
lea eax, [ebp - 0x24]
push esi
push eax
call edi
test eax, eax
jne 0x1001a18
push ebx
call dword [sym.imp.ATL.DLL_AtlModuleRevokeClassObjects]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call dword [sym.imp.ATL.DLL_AtlModuleTerm]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x1001f87
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x1001238
call fcn.01002dc8
mov edi, 0x94
mov eax, edi
call fcn.01002e20
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x1005260], ecx
mov eax, dword [esi + 4]
mov dword [0x100526c], eax
mov edx, dword [esi + 8]
mov dword [0x1005270], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x1005264], esi
cmp ecx, 2
je 0x1001fe7
or esi, 0x8000
mov dword [0x1005264], esi
shl eax, 8
add eax, edx
mov dword [0x1005268], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x1002022
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002022
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x100203a
cmp eax, 0x20b
je 0x1002027
mov dword [ebp - 0x1c], esi
jmp 0x100204e
cmp dword [ecx + 0x84], 0xe
jbe 0x1002022
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x1002048
cmp dword [ecx + 0x74], 0xe
jbe 0x1002022
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push esi
call fcn.01002d74
pop ecx
test eax, eax
jne 0x100207a
cmp dword [0x1005250], 1
jne 0x1002067
call fcn.010024be
push 0x1c
call fcn.010022f5
push 0xff
call fcn.01002176
pop ecx
pop ecx
mov dword [ebp - 4], esi
call fcn.01002baf
test eax, eax
jge 0x100208e
push 0x1b
call fcn.01001f62
pop ecx
call fcn.01002b10
mov dword [0x1005630], eax
call fcn.01002985
mov dword [0x100524c], eax
call fcn.010028ef
test eax, eax
jge 0x10020b3
push 8
call fcn.01001f62
pop ecx
call fcn.010026bc
test eax, eax
jge 0x10020c4
push 9
call fcn.01001f62
pop ecx
call fcn.010021a6
mov dword [ebp - 0x20], eax
cmp eax, esi
je 0x10020d7
push eax
call fcn.01001f62
pop ecx
mov dword [ebp - 0x38], esi
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
call fcn.01002668
mov dword [ebp - 0x68], eax
test byte [ebp - 0x38], 1
je 0x10020f8
movzx eax, word [ebp - 0x34]
jmp 0x10020fb
push 0xa
pop eax
push eax
push dword [ebp - 0x68]
push esi
push esi
call edi
push eax
call fcn.01001923
mov edi, eax
mov dword [ebp - 0x6c], edi
cmp dword [ebp - 0x1c], esi
jne 0x1002119
push edi
call fcn.010022b5
call fcn.010022d7
jmp 0x100214b
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.01002e01
ret