joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408af0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x427664]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x210]
push eax
push 0x20019
xor ebx, ebx
push ebx
push 0x41e570
push SysStringLen
mov esi, ecx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x214], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x408bc2
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x20a]
push edx
mov word [ebp - 0x20c], cx
call sub.MSVCR100.dll_memset
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x20c]
push 0x41e63c
push ecx
call fcn.00407200
mov ecx, dword [ebp - 0x210]
add esp, 0x18
lea edx, [ebp - 0x214]
push edx
push edi
push ebx
push ebx
lea eax, [ebp - 0x20c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x408bc2
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop edi
mov dword [esi + 0x894], eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418c9e
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp + 8], 1
jne 0x408bf3
push edi
call fcn.0040d520
add esp, 4
test eax, eax
je 0x408bf3
pop edi
mov dword [esi + 0x894], ebx
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418c9e
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00418c9e
mov esp, ebp
pop ebp
ret 8
Function at 0x408c10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x427664]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push 0x206
mov esi, ecx
lea ecx, [ebp - 0x20a]
xor eax, eax
push ebx
push ecx
mov dword [ebp - 0x418], ebx
mov dword [ebp - 0x41c], 0x104
mov word [ebp - 0x20c], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0x418]
push edx
push 0x20019
push ebx
push 0x41e570
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x408ce2
push 0x206
push eax
lea ecx, [ebp - 0x412]
push ecx
mov word [ebp - 0x414], ax
call sub.MSVCR100.dll_memset
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x414]
push str.USBADB_d
push eax
call fcn.00407200
add esp, 0x18
lea ecx, [ebp - 0x41c]
push ecx
mov ecx, dword [ebp - 0x418]
lea edx, [ebp - 0x20c]
push edx
push ebx
push ebx
lea eax, [ebp - 0x414]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x408d17
mov edx, dword [ebp - 0x418]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 8], 1
jne 0x408d6f
push edi
call fcn.0040b9a0
add esp, 4
test eax, eax
je 0x408d6f
pop edi
mov dword [esi + 0x894], ebx
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418c9e
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x408d20
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push edi
call sub.MSVCR100.dll_memcpy
mov edx, dword [ebp - 0x418]
add esp, 0xc
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop edi
mov dword [esi + 0x894], eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418c9e
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00418c9e
mov esp, ebp
pop ebp
ret 8

Function at 0x409590
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
jne 0x409603
push 0
push 4
push esi
push 0x409580
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x434], eax
test eax, eax
jne 0x4095d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4095d2
mov esi, dword [esi + 8]
mov edx, dword [ecx]
push esi
push eax
mov eax, dword [edx + 4]
push 1
call eax
xor eax, eax
pop esi
ret 0xc
push 2
push eax
mov dword [esi + 0x10], 1
mov dword [esi + 0x14], 0
mov dword [esi + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [esi + 0x434]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
pop esi
ret 0xc
Function at 0x40adc0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41a6da
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x427664]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
call sub.mfc100u.dll_AfxEnableControlContainer
mov eax, dword [edi + 0x50]
add esp, 4
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi + 0xb8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40ae50
push 0x40
push 0x41d5a4
push str.Another_Instance_is_running_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [edi + 0xb8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0xb8], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.Local_AppWizard_Generated_Applications
mov ecx, edi
call sub.mfc100u.dll_CWinApp::SetRegistryKey
push 0x9a4
call sub.mfc100u.dll_new
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x40ae82
mov ecx, eax
call fcn.004118b0
mov esi, eax
jmp 0x40ae84
xor esi, esi
push 0
push 0
mov dword [edi + 0x20], esi
mov edx, dword [esi]
mov eax, dword [edx + 0x16c]
push 0xcf8000
push 0x80
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call eax
push 5
mov ecx, esi
call sub.mfc100u.dll_CWnd::ShowWindow
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x80
push 0xe
push 0x80
call sub.mfc100u.dll_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov edx, dword [edi + 0x20]
push eax
mov eax, dword [edx + 0x20]
push 1
push 0x80
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40e7b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x427664]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [eax + 4]
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x40e861
test esi, esi
je 0x40e861
mov eax, dword [str.Info:]
mov cx, word [0x41f6b8]
mov dl, byte [0x41f6ba]
push 0x3f9
mov dword [ebp - 0x404], eax
lea eax, [ebp - 0x3fd]
push 0
push eax
mov word [ebp - 0x400], cx
mov byte [ebp - 0x3fe], dl
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp + 0x10]
push ecx
push edi
lea edx, [ebp - 0x404]
push edx
call dword [sym.imp.USER32.dll_wvsprintfA]
lea eax, [ebp - 0x404]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40e834
sub eax, edx
push esi
mov byte [ebp + eax - 0x404], 0xa
inc eax
push 1
push eax
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
push esi
call dword [sym.imp.MSVCR100.dll_fflush]
add esp, 0x14
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00418c9e
mov esp, ebp
pop ebp
ret
Function at 0x40fc20
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ae06
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x427664]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.IDT_Help
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
test edi, edi
je 0x40fc7d
push 1
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x41ddd4
lea ecx, [ebp - 0x10]
call dword [0x41ca04]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], 0
call fcn.00407220
push str.IDT_user_manual.pdf
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.00404c10
add esp, 0x10
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
test esi, esi
jne 0x40fcd3
xor eax, eax
jmp 0x40fcd6
mov eax, dword [esi + 0x20]
mov ecx, dword [ebp - 0x10]
push 1
push 0
push 0
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x40fd97
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x18]
push str.ERROR:_Cant_open_the_help_file_
push eax
call fcn.00404cb0
push str.____r_n
push eax
lea ecx, [ebp - 0x14]
push ecx
mov byte [ebp - 4], 2
call fcn.00404c10
add esp, 0x18
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov eax, dword [esi + 0x20]
push 0
lea edx, [ebp - 0x14]
push edx
push 0x501
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x20]
push 0x41fbf4
push edx
call fcn.00404cb0
push 0x41fbf0
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 5
call fcn.00404c10
add esp, 0x18
mov ecx, dword [eax]
push 0x10
push 0x41d5a4
push ecx
mov ecx, esi
mov byte [ebp - 4], 6
call sub.mfc100u.dll_CWnd::MessageBoxW
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x413080
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41b491
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x427664]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, ecx
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x20], eax
add eax, 0xd
mov dword [ebp - 0x1c], ecx
add ecx, 0xd
cmp dword [edi], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
je 0x4130e3
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
push 0x14
call ebx
push eax
push 0x10
call ebx
push eax
lea eax, [ebp - 0x20]
push eax
jmp 0x4130fd
cmp dword [edi + 4], 0
je 0x413104
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
push 0x10
call ebx
push eax
push 0x14
call ebx
push eax
lea ecx, [ebp - 0x20]
push ecx
mov ecx, esi
call sub.mfc100u.dll_CDC::Draw3dRect
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.GDI32.dll_GetTextColor]
mov ebx, eax
mov eax, dword [esi]
push 0x12
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_GetSysColor]
mov edx, dword [ebp - 0x24]
push eax
mov eax, dword [edx + 0x38]
mov ecx, esi
call eax
push 1
mov ecx, esi
call sub.mfc100u.dll_CDC::SetBkMode
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], vtable.CFont.0
mov ecx, dword [esi + 8]
push 0x58
push ecx
mov dword [ebp - 4], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 0x60
push 0x3c
call dword [sym.imp.KERNEL32.dll_MulDiv]
push 0
push 0x420ad0
push eax
lea ecx, [ebp - 0x2c]
call sub.mfc100u.dll_CFont::CreatePointFont
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call edx
push 0x420acc
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x30], eax
call dword [0x41ca08]
mov eax, dword [eax]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov edi, dword [eax - 0xc]
mov dword [ebp - 0x24], edi
push dword [ebp - 0x24]
mov edi, dword [esi]
push eax
mov eax, dword [edi + 0x64]
add ecx, 3
push ecx
add edx, 3
push edx
mov ecx, esi
mov byte [ebp - 4], 1
call eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov edx, dword [esi]
mov eax, dword [ebp - 0x30]
mov edx, dword [edx + 0x30]
push eax
mov ecx, esi
call edx
mov eax, dword [ebp - 0x38]
push eax
mov ecx, esi
call sub.mfc100u.dll_CDC::SetBkMode
mov edx, dword [esi]
mov eax, dword [edx + 0x38]
push ebx
mov ecx, esi
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], vtable.CFont.0
call fcn.00406970
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00418c9e
mov esp, ebp
pop ebp
ret 4
Function at 0x4160c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41b673
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x427664]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call sub.mfc100u.dll_CDC::CDC
xor ecx, ecx
mov dword [esi], vtable.CMemDC1.0
mov dword [ebp - 4], ecx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], vtable.CBitmap.0
mov ebx, dword [ebp + 8]
lea edi, [esi + 0x20]
mov dword [edi], ecx
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], ecx
xor eax, eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ecx
cmp dword [ebx + 0xc], ecx
mov byte [ebp - 4], 1
sete al
mov dword [esi + 0x30], eax
cmp eax, ecx
je 0x416197
mov eax, dword [ebx]
mov edx, dword [eax + 0x58]
push edi
mov ecx, ebx
call edx
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call sub.mfc100u.dll_CDC::Attach
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 8]
sub ecx, dword [edi]
push eax
mov eax, dword [ebx + 4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
lea ebx, [esi + 0x10]
push eax
mov ecx, ebx
call sub.mfc100u.dll_CGdiObject::Attach
test ebx, ebx
je 0x416176
mov ebx, dword [ebx + 4]
mov ecx, dword [esi + 4]
push ebx
push ecx
call sub.mfc100u.dll_CDC::SelectGdiObject
mov edx, dword [esi + 0x24]
mov dword [esi + 0x18], eax
mov eax, dword [edi]
push edx
push eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, esi
call sub.mfc100u.dll_CDC::SetWindowOrg
jmp 0x4161a9
mov edx, dword [ebx + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov ecx, dword [ebx + 8]
mov dword [esi + 8], ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x416bb0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41b733
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x427664]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call sub.mfc100u.dll_CDC::CDC
xor ecx, ecx
mov dword [esi], vtable.CMemDC2.0
mov dword [ebp - 4], ecx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], vtable.CBitmap.0
mov ebx, dword [ebp + 8]
lea edi, [esi + 0x20]
mov dword [edi], ecx
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], ecx
xor eax, eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ecx
cmp dword [ebx + 0xc], ecx
mov byte [ebp - 4], 1
sete al
mov dword [esi + 0x30], eax
cmp eax, ecx
je 0x416c87
mov eax, dword [ebx]
mov edx, dword [eax + 0x58]
push edi
mov ecx, ebx
call edx
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call sub.mfc100u.dll_CDC::Attach
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 8]
sub ecx, dword [edi]
push eax
mov eax, dword [ebx + 4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
lea ebx, [esi + 0x10]
push eax
mov ecx, ebx
call sub.mfc100u.dll_CGdiObject::Attach
test ebx, ebx
je 0x416c66
mov ebx, dword [ebx + 4]
mov ecx, dword [esi + 4]
push ebx
push ecx
call sub.mfc100u.dll_CDC::SelectGdiObject
mov edx, dword [esi + 0x24]
mov dword [esi + 0x18], eax
mov eax, dword [edi]
push edx
push eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, esi
call sub.mfc100u.dll_CDC::SetWindowOrg
jmp 0x416c99
mov edx, dword [ebx + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov ecx, dword [ebx + 8]
mov dword [esi + 8], ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x418c9e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x427664]
jne 0x418ca8
repz ret
jmp fcn.004193c7
Function at 0x402762
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push edi
enter 4, 0
push eax
push edx
mov edi, ebx
mov esi, ecx
lea eax, [esi + 0x18]
movzx ecx, word [ecx + 0x14]
add ecx, eax
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x402798
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov ebx, dword [ecx + 0x10]
add eax, dword [ecx + 0xc]
add edx, dword [ecx + 0x14]
call fcn.004026c1
inc dword [ebp - 4]
add ecx, 0x28
movzx eax, word [esi + 6]
cmp eax, dword [ebp - 4]
jle 0x4027bd
cmp dword [ecx + 0x10], 0
jne 0x40277e
mov ebx, dword [edi + 0x38]
test ebx, ebx
jle 0x402792
mov eax, dword [ebp - 0xc]
xor edx, edx
add eax, dword [ecx + 0xc]
call fcn.004026ac
jmp 0x402792

Function at 0x4027c1
Capabilities:
Enumerate pe sections
Inspect section memory permissions

Disassembly:
leave
pop edi
pop esi
ret
push esi
push edi
enter 0xc, 0
push eax
mov esi, edx
mov edi, ebx
mov dword [ebp - 8], ecx
lea eax, [edx + 0x18]
movzx ebx, word [edx + 0x14]
add ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4028ab
mov eax, 8
jmp 0x40286c
mov eax, 2
jmp 0x40286c
mov eax, 4
jmp 0x40286c
mov eax, 0x10
jmp 0x40286c
mov eax, 0x80
jmp 0x40286c
mov eax, 0x20
jmp 0x40286c
mov eax, 0x40
jmp 0x40286c
mov edx, dword [ebx + 0x24]
and edx, 0xe0000000
mov eax, 1
cmp edx, 0x80000000
jb 0x402854
jbe 0x4027e2
cmp edx, 0xe0000000
je 0x40281b
cmp edx, 0xc0000000
je 0x4027f6
cmp edx, 0xa0000000
je 0x40280a
jmp 0x40286c
cmp edx, 0x60000000
je 0x402814
cmp edx, 0x40000000
je 0x4027ec
cmp edx, 0x20000000
je 0x402800
test byte [ebx + 0x27], 4
je 0x402875
or ah, 2
test ecx, ecx
jne 0x40288d
test byte [ebx + 0x24], 0x40
je 0x402884
mov ecx, dword [esi + 0x20]
jmp 0x40288d
test byte [ebx + 0x24], 0x80
je 0x40288d
mov ecx, dword [esi + 0x24]
test ecx, ecx
jbe 0x4028a5
lea edx, [ebp - 0xc]
push edx
push eax
mov eax, dword [ebp - 0x10]
push dword [ebx + 8]
add eax, dword [ebx + 0xc]
push eax
mov eax, edi
call dword [eax + 0x58]
inc dword [ebp - 4]
add ebx, 0x28
movzx eax, word [esi + 6]
cmp eax, dword [ebp - 4]
jle 0x4027bd
mov eax, dword [ebp - 8]
mov ecx, dword [ebx + 0x10]
test eax, eax
je 0x402822
jmp 0x40288d
Function at 0x401000
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
mov eax, dword [0x412008]
xor eax, esp
mov dword [esp + 0x9c], eax
push 0x98
lea eax, [esp + 8]
push 0
push eax
call fcn.00406b00
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x401053
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004033e4
add esp, 0xa0
ret
mov eax, dword [esp + 4]
cmp eax, 6
jne 0x4010e1
mov eax, dword [esp + 8]
test eax, eax
jne 0x40108c
cmp byte [esp + 0x9a], 1
setne al
lea eax, [eax + eax + 4]
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004033e4
add esp, 0xa0
ret
cmp eax, 1
jne 0x4010b7
xor eax, eax
cmp byte [esp + 0x9a], 1
setne al
lea eax, [eax + eax + 5]
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004033e4
add esp, 0xa0
ret
cmp eax, 2
jne 0x401131
xor eax, eax
cmp byte [esp + 0x9a], 1
setne al
add eax, 8
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004033e4
add esp, 0xa0
ret
cmp eax, 5
jne 0x401131
mov eax, dword [esp + 8]
cmp eax, 2
jne 0x401109
mov eax, 3
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004033e4
add esp, 0xa0
ret
cmp eax, 1
jne 0x401128
mov eax, 2
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004033e4
add esp, 0xa0
ret
test eax, eax
jne 0x401131
mov eax, 1
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004033e4
add esp, 0xa0
ret

Function at 0x401170
Capabilities:
Get disk information

Disassembly:
sub esp, 0x810
mov eax, dword [0x412008]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebx
xor ebx, ebx
push 0x3ff
lea eax, [esp + 0x415]
push ebx
push eax
mov byte [esp + 0x41c], bl
call fcn.00406b00
push 0x3ff
lea ecx, [esp + 0x21]
push ebx
push ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x28], bl
call fcn.00406b00
add esp, 0x18
push 0x400
lea edx, [esp + 0x14]
push edx
jmp loc.00420bb8
Function at 0x4018e0
Capabilities:
Connect to http server
Send data
Send http request

Disassembly:
sub esp, 8
mov eax, dword [0x412008]
xor eax, esp
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc]
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
push 0xfa
mov dword [esp + 0x14], eax
mov esi, ecx
call fcn.00403aef
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x401a54
push 0xfa
push 0
push ebx
call fcn.00406b00
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push ebp
push esi
push 0x414560
push ebx
call fcn.004033f3
mov edi, dword [esp + 0x34]
add edi, 0x18
push edi
call fcn.00403aef
mov esi, eax
add esp, 0x18
test esi, esi
je 0x401a45
mov dword [esi], ebp
mov dword [esi + 4], edi
mov ecx, dword [0x414764]
mov dword [esi + 8], ecx
mov edx, dword [0x414768]
mov dword [esi + 0xc], edx
mov eax, dword [0x41476c]
mov edx, dword [esp + 0x20]
mov dword [esi + 0x10], eax
mov ecx, dword [0x414770]
mov eax, dword [esp + 0x10]
push edx
mov dword [esi + 0x14], ecx
push eax
lea ecx, [esi + 0x18]
push ecx
call fcn.004090e0
add esp, 0xc
xor ecx, ecx
test edi, edi
jle 0x4019b5
lea esp, [esp]
mov al, byte [ecx + esi]
test al, al
je 0x4019b0
cmp al, 0x59
je 0x4019b0
jmp loc.00424a38
inc ecx
cmp ecx, edi
jl 0x4019a0
mov edx, dword [str.___x9:7__9_3x59_]
mov eax, dword [0x414798]
push 0
push 0
push 3
push 0
push 0
push 0x50
push edx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [esp + 0x10], eax
test eax, eax
je 0x401a45
push 0
push 0x100
push 0
push 0
push str.HTTP_1.1
push ebx
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ebp, eax
test ebp, ebp
je 0x401a49
push edi
push esi
push 0
push 0
push ebp
call dword [sym.imp.WININET.dll_HttpSendRequestA]
cmp eax, 1
jne 0x401a49
push ebx
call fcn.00403a12
push esi
call fcn.00403a12
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
add esp, 8
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.004033e4
add esp, 8
ret
mov ebp, dword [esp + 0x10]
push ebx
call fcn.00403a12
add esp, 4
jmp 0x401a5c
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x10]
test esi, esi
je 0x401a69
push esi
call fcn.00403a12
add esp, 4
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x401a7a
push eax
call esi
test ebp, ebp
je 0x401a81
push ebp
call esi
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor al, al
call fcn.004033e4
add esp, 8
ret

Function at 0x401aa0
Capabilities:
Read data from internet
Receive data

Disassembly:
sub esp, 0x134
mov eax, dword [0x412008]
xor eax, esp
mov dword [esp + 0x130], eax
push esi
push 0x12b
lea eax, [esp + 0xd]
push 0
push eax
mov byte [esp + 0x14], 0
call fcn.00406b00
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [esp + 0xc]