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

Disassembly:
sub esp, 0x210
push ebx
mov ebx, dword [esp + 0x218]
push 0
push ebx
call dword [sym.imp.MSVCRT.dll__access]
add esp, 8
test eax, eax
je 0x40595c
push esi
push edi
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
push ecx
call fcn.004058b0
lea edx, [esp + 0x10]
push eax
push edx
call fcn.004058f0
add esp, 0xc
test eax, eax
pop edi
pop esi
je 0x40595c
or eax, 0xffffffff
pop ebx
add esp, 0x210
ret
mov eax, dword [esp + 0x21c]
test eax, eax
jne 0x40596f
pop ebx
add esp, 0x210
ret
push eax
lea eax, [esp + 0x110]
push ebx
push eax
call fcn.004057d0
lea ecx, [esp + 0x118]
push ecx
call dword [sym.imp.MSVCRT.dll__mkdir]
add esp, 0x10
neg eax
sbb eax, eax
pop ebx
add esp, 0x210
ret

Function at 0x405b10
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x405b48
cmp byte [esi], 0
je 0x405b48
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x405b2e
mov al, 1
pop esi
ret
test al, 1
jne 0x405b36
mov al, 1
pop esi
ret
and al, 0xfe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
neg eax
sbb eax, eax
pop esi
neg eax
ret
xor al, al
pop esi
ret
Function at 0x40c200
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x420931
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov edi, ecx
push eax
push 0x6c
mov dword [esp + 0x18], edi
call sub.MFC42.DLL_CDialog::CDialog
lea esi, [edi + 0x60]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], esi
mov dword [esi], 0x424d74
lea ebp, [esi + 4]
mov byte [esp + 0x1c], 1
mov ecx, ebp
call fcn.0041fb7a
mov dword [ebp], 0x424d60
push fcn.004013e0
push 0x40c470
push 0x100
lea ecx, [esi + 0x18]
push 0xc
push ecx
mov byte [esp + 0x30], 2
call fcn.0041ff4b
mov dword [esi + 0xc18], 3
mov dword [esi], 0x424d58
lea eax, [esi + 0x20]
mov ecx, 0x100
mov dword [eax - 4], ebx
mov dword [eax], ebx
add eax, 0xc
dec ecx
jne 0x40c28c
lea esi, [edi + 0xc7c]
mov dword [esp + 0x24], esi
mov dword [esi], 0x424d74
lea ebp, [esi + 4]
mov ebx, 4
mov ecx, ebp
mov byte [esp + 0x1c], bl
call fcn.0041fb7a
mov dword [ebp], 0x424d60
push fcn.004013e0
push 0x40c470
push 0x100
lea edx, [esi + 0x18]
push 0xc
push edx
mov byte [esp + 0x30], 5
call fcn.0041ff4b
mov dword [esi + 0xc18], ebx
mov dword [esi], 0x424d58
lea eax, [esi + 0x20]
mov ecx, 0x100
mov dword [eax - 4], 0
mov dword [eax], 0
add eax, 0xc
dec ecx
jne 0x40c2f4
lea esi, [edi + 0x1898]
mov byte [esp + 0x1c], 6
mov ecx, esi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [esi], 0x424c80
lea esi, [edi + 0x18d8]
mov byte [esp + 0x1c], 7
mov ecx, esi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [esi], 0x424c80
lea esi, [edi + 0x1918]
mov byte [esp + 0x1c], 8
mov ecx, esi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [esi], 0x424bb0
lea esi, [edi + 0x1958]
mov byte [esp + 0x1c], 9
mov ecx, esi
call sub.MFC42.DLL_CWnd::CWnd
mov ecx, dword [esp + 0x14]
mov dword [esi], 0x424bb0
mov dword [edi], 0x424ad8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x40e8a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x420ed5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 0x74]
mov dword [esp + 0x10], 5
call sub.MFC42.DLL_CString::CString
push sub.MFC42.DLL_CString::CString
push 4
lea eax, [esi + 0x30]
push 4
push eax
mov byte [esp + 0x20], 4
call fcn.0041ffcd
push sub.MFC42.DLL_CString::CString
push 4
lea ecx, [esi + 0x20]
push 4
push ecx
mov byte [esp + 0x20], 3
call fcn.0041ffcd
lea ecx, [esi + 0x10]
mov byte [esp + 0x10], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xc]
mov byte [esp + 0x10], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 8]
mov byte [esp + 0x10], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
mov dword [esi], 0x4236c4
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4101c0
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x421298
push eax
mov dword fs:[0], esp
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
cmp ebx, 0xffffffff
push edi
mov esi, ecx
jne 0x4101fc
mov eax, dword [esi + 0x84]
push 0
push 0
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_3
mov edi, dword [esp + 0x20]
push 0
push 0
push 0
mov eax, dword [edi + 4]
push 0
add esi, 0x64
push eax
push ebx
push 3
mov ecx, esi
mov dword [esp + 0x34], 0
call sub.MFC42.DLL_CListCtrl::InsertItem
mov ecx, dword [edi + 0x14]
mov ebp, eax
test ecx, ecx
jne 0x410237
xor eax, eax
jmp 0x41023d
mov eax, dword [edi + 0xc]
cdq
idiv ecx
push eax
lea ecx, [esp + 0x28]
push 0x43d4b8
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x30]
add esp, 0xc
mov ecx, esi
push edx
push 1
push ebp
call sub.MFC42.DLL_CListCtrl::SetItemText
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x41026e
mov eax, dword [edi + 0x10]
cdq
idiv ecx
mov ecx, eax
mov eax, 0x91a2b3c5
imul ecx
add edx, ecx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add edx, eax
mov ebx, edx
mov eax, ebx
neg eax
shl eax, 2
sub eax, ebx
lea eax, [eax + eax*4]
lea edx, [eax + eax*8]
mov eax, 0x88888889
shl edx, 4
add ecx, edx
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, edx
imul eax, eax, 0xffffffc4
add ecx, eax
push ecx
push edx
push ebx
lea ecx, [esp + 0x30]
push str._02d:_02d:_02d
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x38]
add esp, 0x14
mov ecx, esi
push edx
push 2
push ebp
call sub.MFC42.DLL_CListCtrl::SetItemText
mov eax, dword [edi + 8]
lea ecx, [esp + 0x24]
push eax
push 0x43d4b8
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x30]
add esp, 0xc
mov ecx, esi
push edx
push 3
push ebp
call sub.MFC42.DLL_CListCtrl::SetItemText
push edi
push 0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::SetItem
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 8
Function at 0x410800
Capabilities:
Copy file
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4213c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], edi
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0xc]
xor esi, esi
push eax
mov ecx, edi
mov dword [esp + 0x38], esi
call fcn.00412610
push str.replaycorrupted_
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator
mov ecx, dword [esp + 0xc]
push esi
push ecx
call fcn.004058f0
mov eax, dword [edi + 0x368]
add esp, 8
cmp eax, esi
jle 0x4109af
push ebx
push ebp
add edi, 0x360
mov bl, 1
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
lea edx, [esp + 0x18]
push esi
push edx
mov ecx, edi
mov byte [esp + 0x44], bl
call fcn.004018e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 2
call fcn.0041f8b0
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], bl
call sub.MFC42.DLL_CString::CString
push 0x5c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
inc eax
lea ecx, [esp + 0x10]
push eax
lea eax, [esp + 0x20]
push eax
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 3
call fcn.0041f8b0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 4
call fcn.0041f8b0
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00405b10
add esp, 4
lea edx, [esp + 0x24]
mov ecx, edi
push esi
push edx
call fcn.004018e0
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x24]
mov ebp, eax
call sub.MFC42.DLL_CString::CString
test ebp, ebp
je 0x41098e
lea edx, [esp + 0x28]
push esi
push edx
mov ecx, edi
call fcn.004018e0
mov eax, dword [eax]
mov byte [esp + 0x3c], 5
push eax
call fcn.00405b10
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], bl
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x2c]
push esi
push eax
mov ecx, edi
call fcn.004018e0
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x30]
inc esi
cmp esi, dword [ecx + 0x368]
jl 0x41086f
pop ebp
pop ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x4120e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x4215b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
mov ebx, dword [sym.imp.USER32.dll_FindWindowA]
push 0
push str.SWarClass
mov dword [esp + 0x28], 0
call ebx
mov esi, eax
test esi, esi
jne 0x4121ca
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.00412610
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x412158
push str.Warcraft_III.exe
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x412166
push 0
push 0
push str.W3_path_to_executable_is_empty._Check_the__options__section.
jmp 0x41221f
push 0
push 0x43ee00
push eax
call fcn.00412240
add esp, 0xc
test eax, eax
je 0x412188
push 0
push 0
push str.Unable_to_start_W3._Check_the__options__section.
jmp 0x41221f
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x14], eax
call ebp
sub eax, dword [esp + 0x14]
cmp eax, 0x2710
jae 0x412214
push 0
push str.SWarClass
call ebx
mov esi, eax
test esi, esi
je 0x412194
mov ecx, dword [edi + 0x54]
mov eax, dword [ecx + 0xb8]
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x4121ca
mov edx, dword [eax + 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
push 3
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 8
test esi, esi
jne 0x4121b0
push esi
push esi
push str.Unable_to_locate_W3_window__it_might_have_taken_too_much_time_to_start_
mov ecx, edi
call sub.MFC42.DLL_CWnd::MessageBoxA
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4121ff
Function at 0x412240
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x58
push ebx
push ebp
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 0x44
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov al, byte [esp + 0x70]
test al, al
je 0x41228a
mov dword [esp + 0x4c], 1
mov word [esp + 0x50], 0
mov ebp, dword [esp + 0x6c]
test ebp, ebp
je 0x4122a2
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, ecx
jmp 0x4122a4
xor edx, edx
mov edi, dword [esp + 0x68]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ecx, [ecx + edx + 4]
push ecx
call sub.MFC42.DLL_operatornew
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4122cf
pop edi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x58
ret
or ecx, 0xffffffff
mov edi, 0x43d718
xor eax, eax
push esi
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x6c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x43d714
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
test ebp, ebp
rep movsb byte es:[edi], byte [esi]
je 0x41236a
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4123b6
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x18]
push eax
call esi
push ebx
xor esi, esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, esi
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x58
ret
mov esi, dword [esp + 0x10]
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, esi
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x58
ret
Function at 0x416330
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x421e28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [esp + 0x28]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
mov ecx, dword [esi + 0x68]
mov edi, eax
mov eax, dword [ecx + 0x1b8]
lea ecx, [esp + 0x10]
mov edx, dword [eax + 8]
mov ebp, dword [eax + 0xc]
mov dword [esp + 0x38], edx
call sub.MFC42.DLL_CDC::CDC
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], 0
test eax, eax
je 0x416389
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CDC::Attach
test edi, edi
jne 0x4163a2
xor eax, eax
jmp 0x4163a5
mov eax, dword [edi + 4]
push eax
mov eax, dword [esp + 0x18]
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
mov ebx, eax
mov eax, dword [esp + 0x34]
push 0xcc0020
push ebp
mov esi, dword [eax + 4]
mov ecx, dword [eax + 0xc]
mov edi, dword [eax]
mov edx, dword [eax + 8]
mov ebp, dword [esp + 0x40]
lea eax, [esp + 0x18]
sub ecx, esi
sub edx, edi
neg eax
sbb eax, eax
push ebp
and eax, dword [esp + 0x20]
push 0
push 0
push eax
push ecx
mov ecx, dword [esp + 0x4c]
push edx
push esi
push edi
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.GDI32.dll_StretchBlt]
test ebx, ebx
je 0x4163fa
mov ebx, dword [ebx + 4]
mov eax, dword [esp + 0x14]
push ebx
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.0041fd06
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
Function at 0x4177c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
lea eax, [esp]
push eax
push str.SoftwareBlizzard_EntertainmentWarcraft_III
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x417844
lea ecx, [esp + 4]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 4]
lea eax, [esp + 0xc]
push edx
push eax
push 0
push str.Program
push ecx
mov dword [esp + 0x1c], 0xff
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0xc]
push 0x5c
push edx
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 8
test eax, eax
je 0x417828
mov byte [eax + 1], 0
mov ecx, dword [esp + 0x110]
lea eax, [esp + 0xc]
push eax
call fcn.0041f8a4
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x10c
ret
Function at 0x41bb80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4224ca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov edx, dword [ecx + 0xa60]
xor ebx, ebx
mov eax, dword [edi]
mov esi, dword [edi + 8]
sub esi, eax
mov dword [esp + 0x10], ebx
sub esi, 0x10
add eax, 8
mov dword [esp + 0x30], esi
mov esi, dword [ecx + 0xa64]
fild dword [esp + 0x30]
mov ecx, dword [ecx + 0xa68]
sub esi, edx
mov dword [esp + 0xc], esi
sub ecx, edx
fidiv dword [esp + 0xc]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x30], eax
push 8
fild qword [esp + 0x10]
fmul st(1)
fiadd dword [esp + 0x34]
fstp dword [esp + 0x34]
fstp st(0)
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, ebx
mov dword [esp + 0x24], ebx
je 0x41bc1c
push 0x3232c8
push 1
push 2
mov ecx, eax
call sub.MFC42.DLL_CPen::CPen
mov ebx, eax
mov esi, dword [esp + 0x2c]
push ebp
push ebx
mov ecx, esi
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CDC::SelectObject_1
fld dword [esp + 0x34]
mov dword [esp + 0x30], eax
call sub.MSVCRT.dll__ftol
mov edx, dword [edi + 4]
mov ebp, eax
push edx
lea eax, [esp + 0x1c]
push ebp
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [edi + 0xc]
push ecx
push ebp
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x30]
mov ecx, esi
push edx
call sub.MFC42.DLL_CDC::SelectObject_1
test ebx, ebx
pop ebp
je 0x41bc77
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 4]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x100027c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push esi
push edi
push eax
push 0x40
push 0x10
push 0x1602178
call ebx
mov edi, dword [ebp + 8]
mov ecx, 0x1602178
mov eax, dword [edi + 4]
mov dword [ecx], eax
mov eax, dword [edi + 8]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0xc]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0x10]
mov dword [ecx + 0xc], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 0x10
push ecx
call ebx
lea eax, [ebp + 8]
push eax
push 0x40
push 0x20
push 0x160218c
call ebx
push 0x20
lea esi, [edi + 0x14]
push esi
push 0x160218c
call fcn.10285410
add esp, 0xc
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push 0x20
push 0x160218c
call ebx
lea eax, [ebp + 8]
push eax
push 0x40
push 0x10
push 0x16021a8
call ebx
mov eax, dword [edi + 4]
mov ecx, 0x16021a8
mov dword [ecx], eax
mov eax, dword [edi + 8]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0xc]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0x10]
mov dword [ecx + 0xc], eax
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push 0x10
push ecx
call ebx
lea eax, [ebp + 8]
push eax
push 0x40
push 0x20
push 0x16021c4
call ebx
push 0x20
push esi
push 0x16021c4
call fcn.10285410
add esp, 0xc
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push 0x20
push 0x16021c4
call ebx
lea eax, [ebp + 8]
push eax
push 0x40
push 0x10
push 0x1602204
call ebx
mov eax, dword [edi + 0x54]
mov ecx, 0x1602204
mov dword [ecx], eax
mov eax, dword [edi + 0x58]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x5c]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0x60]
mov dword [ecx + 0xc], eax
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push 0x10
push ecx
call ebx
lea eax, [ebp + 8]
push eax
push 0x40
push 0x20
push 0x1602218
call ebx
push 0x20
lea esi, [edi + 0x64]
push esi
push 0x1602218
call fcn.10285410
add esp, 0xc
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push 0x20
push 0x1602218
call ebx
lea eax, [ebp + 8]
push eax
push 0x40
push 0x10
push 0x1602234
call ebx
mov eax, dword [edi + 0x54]
mov ecx, 0x1602234
mov dword [ecx], eax
mov eax, dword [edi + 0x58]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x5c]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0x60]
mov dword [ecx + 0xc], eax
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push 0x10
push ecx
call ebx
lea eax, [ebp + 8]
push eax
push 0x40
push 0x20
push 0x1602250
call ebx
push 0x20
push esi
push 0x1602250
call fcn.10285410
add esp, 0xc
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push 0x20
push 0x1602250
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10006590
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102a0926
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x102b82b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], 0x102b2f6c
call fcn.10282903
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.1028094f
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
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

Function at 0x10009110
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x102b82b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x181df04], 0x1e
jne 0x1000928f
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [0x102bce84]
add ecx, dword [0x102bce80]
cmp eax, ecx
jbe 0x1000915f
mov byte [0x102bce7c], 0xff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.102825af
mov esp, ebp
pop ebp
ret
call esi
sub eax, dword [0x102bce80]
sub esp, 0x10
movss xmm2, dword [0x102b3698]
mov esi, 0x83f98c
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x102b36a0]
mov eax, dword [0x102bce84]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulss xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x102b36a0]
mov dword [esp + 0xc], 0x42a00000
mov dword [esp + 8], 0x43510000
mov dword [esp + 4], 0x42960000
mov dword [esp], 0x43570000
cvtpd2ps xmm0, xmm0
push 0x7b14
divss xmm1, xmm0
minss xmm2, xmm1
movss dword [ebp - 0x108], xmm2
call esi
add esp, 4
mov dword [esp + 0xc], 0x41900000
mov dword [esp + 8], 0x43200000
mov dword [esp + 4], 0x42e60000
mov dword [esp], 0x43700000
push 0x7a65
call esi
movss xmm0, dword [ebp - 0x108]
add esp, 4
mov dword [esp + 0xc], 0x41000000
movss dword [esp + 8], xmm0
mov dword [esp + 4], 0x42f00000
mov dword [esp], 0x43750000
push 0x7a66
call esi
cmp dword [0x102bce9c], 0x10
mov eax, 0x102bce88
cmovae eax, dword [0x102bce88]
push eax
lea eax, [ebp - 0x104]
push 0x102b2e7c
push eax
call fcn.10008d60
add esp, 0x20
lea eax, [ebp - 0x104]
push 0
push ecx
mov dword [esp], 0x43200000
push 3
push 0
push 0xffffffffffffffff
push 0x64
push 0xf0
push eax
mov eax, 0x89627a
call eax
add esp, 0x20
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.102825af
mov esp, ebp
pop ebp
ret