joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430460
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [0x4f2160]
sub esp, 0x424
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x430569
cmp byte [ecx + 0x30], bl
je 0x430569
push ebp
mov ebp, dword [esp + 0x430]
push esi
push edi
xor edi, edi
add ecx, 8
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ecx
mov eax, dword [ecx]
cmp eax, ebx
je 0x43054d
cmp edi, 9
je 0x43054d
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebx
push ecx
push ebx
push eax
mov dword [esp + 0x28], ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
cmp eax, ebx
jl 0x43054d
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push edx
push 0x49d820
push eax
call dword [sym.imp.ole32.dll_CoUnmarshalInterface]
mov esi, eax
cmp esi, ebx
jge 0x430500
push esi
lea ecx, [esp + 0x24]
push str.CoUnmarshalInterface:__d
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp esi, ebx
jl 0x43054d
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x36]
mov word [esp + 0x34], bx
rep stosd dword es:[edi], eax
lea edx, [esp + 0x34]
push 0x200
push edx
push 0xffffffffffffffff
push ebp
push ebx
push ebx
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x1c]
push ebx
lea edx, [esp + 0x38]
push 2
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc edi
add ecx, 4
cmp edi, 0xa
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ecx
jl 0x430496
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x424
ret 4

Function at 0x430850
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [0x4f2160]
sub esp, 0x20
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x43092a
cmp byte [ecx + 0x30], bl
je 0x43092a
push ebp
push esi
push edi
mov byte [esp + 0x13], bl
xor edi, edi
lea ebp, [ecx + 8]
mov eax, dword [ebp]
cmp eax, ebx
je 0x43090f
cmp edi, 9
je 0x43090f
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
push ecx
push ebx
push eax
mov dword [esp + 0x24], ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
cmp eax, ebx
jl 0x43090f
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push 0x49d820
push eax
call dword [sym.imp.ole32.dll_CoUnmarshalInterface]
mov esi, eax
cmp esi, ebx
jge 0x4308df
push esi
lea ecx, [esp + 0x20]
push str.CoUnmarshalInterface:__d
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp esi, ebx
jl 0x43090f
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x3c]
mov edx, dword [eax]
push ecx
mov ecx, dword [esp + 0x3c]
push ecx
push eax
call dword [edx + 0x20]
test eax, eax
jne 0x43090f
mov byte [esp + 0x13], 1
inc edi
add ebp, 4
cmp edi, 0xa
jl 0x430878
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
xor al, al
pop ebx
add esp, 0x20
ret 0xc
Function at 0x430b80
Capabilities:
Get hostname

Disassembly:
sub esp, 0x108
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.004059a0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
lea ebp, [ebx + 0x3424]
mov dword [esp + 0x18], 0x104
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
push ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.MSVCRT.dll__mbsupr]
xor edx, edx
add esp, 4
mov byte [ebp + 0x50], dl
mov byte [ebp + 0x40], dl
mov byte [ebp + 0x20], dl
mov byte [ebp + 0x19], dl
mov ecx, 0x37
xor eax, eax
lea edi, [ebx + 0x108]
mov dword [ebx], 0x49dc70
rep stosd dword es:[edi], eax
pop edi
pop esi
mov dword [ebx + 0x3484], edx
mov eax, ebx
pop ebp
pop ebx
add esp, 0x108
ret
Function at 0x434870
Capabilities:
Create thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x492488
push eax
mov dword fs:[0], esp
sub esp, 0x74
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x20]
test eax, eax
je 0x4348a2
mov ecx, dword [eax]
push 0
push 1
push 0x12
push eax
call dword [ecx + 0x158]
push 0
push 0
push 0x4335e0
mov dword [0x4f21d0], 4
mov byte [0x4f21ce], 1
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0xc
lea ecx, [esp + 8]
push 0
push 0x4f21d0
call fcn.0042c3d0
lea ecx, [esp + 8]
mov dword [esp + 0x84], 0
mov dword [esp + 0x74], 1
call sub.MFC42.DLL_CDialog::DoModal
mov byte [0x4f21ce], 0
mov eax, dword [edi + 0x20]
test eax, eax
je 0x43490e
mov edx, dword [eax]
push 0
push 0
push 0x3c
push eax
call dword [edx + 0x158]
push 0
call fcn.00441920
add esp, 4
test eax, eax
je 0x434924
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
call fcn.00430b00
mov ecx, eax
call fcn.00430cb0
push eax
call fcn.00441920
add esp, 4
mov esi, eax
mov eax, dword [edi + 0x20]
mov ecx, esi
push eax
call fcn.00441af0
mov ecx, dword [0x4f1ac0]
mov dword [esp + 0x84], 0xffffffff
mov dword [esi + 8], ecx
lea ecx, [esp + 8]
call sub.MFC42.DLL_CDialog::CDialog
mov ecx, dword [esp + 0x7c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x80
ret
Function at 0x438450
Capabilities:
Get hostname
Shutdown system

Disassembly:
push 0xffffffffffffffff
push 0x4927eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x17c
mov al, byte [esp + 0x18c]
mov dword [esp], 0x104
test al, al
je 0x4384b1
push 0
lea ecx, [esp + 0x1c]
call fcn.004457d0
lea ecx, [esp + 0x18]
mov dword [esp + 0x184], 0
call sub.MFC42.DLL_CDialog::DoModal
lea ecx, [esp + 0x18]
mov dword [esp + 0x184], 0xffffffff
call sub.MFC42.DLL_CDialog::CDialog
lea eax, [esp]
lea ecx, [esp + 0x78]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea edx, [esp + 4]
push edx
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4384fc
push eax
push eax
push str.fail_to_shutdown
call sub.MFC42.DLL_AfxMessageBox
mov ecx, dword [esp + 0x17c]
mov dword fs:[0], ecx
add esp, 0x188
ret 4
lea eax, [esp + 0xc]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov edx, dword [esp + 4]
push 0
push 0
lea ecx, [esp + 0x10]
push 0
push ecx
push 0
push edx
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0
push 1
push 0
lea eax, [esp + 0x84]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownA]
mov ecx, dword [esp + 0x17c]
mov dword fs:[0], ecx
add esp, 0x188
ret 4
Function at 0x438fe0
Capabilities:
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x492853
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
push edi
mov edi, ecx
push str.display_image
call ebx
mov eax, dword [edi]
xor esi, esi
cmp eax, esi
je 0x43902e
call sub.MFC42.DLL_AfxGetThread
cmp eax, esi
je 0x439024
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x439026
xor eax, eax
push esi
mov ecx, eax
call fcn.0041fb80
push 0xc8
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, esi
mov dword [esp + 0x34], esi
je 0x439050
mov ecx, eax
call fcn.00451580
mov esi, eax
push str.RAPWBIIMAGEKEY
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
call fcn.00426a50
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x10]
push ecx
mov ecx, esi
mov dword [esp + 0x38], 1
mov dword [esi], eax
call fcn.004525e0
push str.image_loaded
call ebx
push esi
mov ecx, edi
call fcn.00434b20
call fcn.00423670
mov si, word [eax + 0xf0]
call fcn.00430b00
mov ecx, eax
call fcn.00430d90
and esi, 0xffff
cmp esi, eax
jne 0x4390b8
inc word [edi + 0x98]
inc word [edi + 0x8c]
call fcn.00430b00
mov ecx, eax
call fcn.00430cc0
cmp eax, 1
jne 0x4390db
mov ecx, edi
call fcn.00434e20
test eax, eax
je 0x4390ee
mov dword [0x4f2214], 1
mov word [edi + 0x8c], 0
mov eax, dword [0x4f2214]
pop edi
pop esi
pop ebx
test eax, eax
je 0x43911d
inc dword [0x4f1a70]
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x439112
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x439114
xor eax, eax
push 1
mov ecx, eax
call fcn.00420810
lea ecx, [esp + 4]
mov dword [esp + 0x28], 0xffffffff
call fcn.00426b10
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
Function at 0x439490
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4928db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
push ebx
xor ebx, ebx
push esi
mov byte [esp + 0xb], bl
call sub.MFC42.DLL_AfxGetThread
cmp eax, ebx
je 0x4394c5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x4394c7
xor eax, eax
cmp byte [eax + 0x8f2], bl
jne 0x439537
mov eax, dword [esp + 0x144]
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4396a4
mov edx, dword [esp + 0x13c]
mov eax, dword [esp + 0x140]
lea ecx, [esp + 0xc]
push ebx
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x439525
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x13c]
cmp ecx, eax
mov bl, 1
je 0x439529
mov bl, byte [esp + 0xb]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
jmp 0x4396a8
push ebp
mov ebp, dword [esp + 0x148]
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.RAPWBIIMAGEKEY
lea ecx, [esp + 0x1c]
call fcn.00426a50
mov eax, dword [esp + 0x148]
mov ecx, 0x40
mov esi, eax
lea edi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
mov ecx, 3
add eax, 0x100
mov word [esp + 0x100], cx
mov word [esp + 0x104], cx
mov ecx, 0x45
lea edx, [esp + 0x144]
mov word [esp + 0x10a], cx
mov word [esp + 0x112], cx
mov ecx, dword [esp + 0x144]
mov esi, 2
sub ecx, 0x100
push eax
mov dword [esp + 0x148], ecx
push edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x144], ebx
mov word [esp + 0x10a], si
mov word [esp + 0x10e], si
mov byte [esp + 0x128], bl
mov word [esp + 0x110], 0x53
mov word [esp + 0x114], 0x43
mov word [esp + 0x116], 0x55
mov word [esp + 0x118], 0x52
call fcn.00426b40
mov edi, eax
cmp edi, ebx
je 0x439688
push ebx
push ebx
push esi
push ebx
push ebx
push 0x40000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x43967f
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [esp + 0x14]
push ebx
push eax
lea ecx, [esp + 0x3c]
push 0x100
push ecx
push esi
call ebp
cmp eax, ebx
je 0x439678
cmp dword [esp + 0x14], 0x100
jne 0x439678
mov eax, dword [esp + 0x144]
lea edx, [esp + 0x14]
push ebx
push edx
push eax
push edi
push esi
call ebp
cmp eax, ebx
je 0x439678
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x144]
cmp ecx, eax
jne 0x439678
mov byte [esp + 0x13], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x13c], 0xffffffff
call fcn.00426b10
mov al, byte [esp + 0x13]
pop edi
pop ebp
jmp 0x4396a8
mov al, byte [esp + 0xb]
mov ecx, dword [esp + 0x12c]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x130
ret 0xc
Function at 0x43bbb0
Capabilities:
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x492c78
push eax
mov dword fs:[0], esp
push ebx
push esi
push edi
mov edi, dword [esp + 0x20]
mov ebx, ecx
test di, di
jbe 0x43bce7
cmp di, 1
jne 0x43bc0e
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
mov ecx, dword [eax]
push ecx
mov ecx, ebx
call fcn.0043bd00
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0x14
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_4
and edi, 0xffff
lea edx, [esp + 0x20]
push edi
push str._d_problems_detected_r_n
push edx
mov dword [esp + 0x20], 0
call sub.MFC42.DLL_CString::Format
add esp, 0xc
test edi, edi
jle 0x43bc72
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
lea ecx, [esp + 0x20]
shl eax, 0xc
add eax, 0x4b1ed8
push eax
call sub.MFC42.DLL_CString::operator
push 0x4af1d0
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::operator
mov ecx, dword [esi]
push ecx
mov ecx, ebx
call fcn.0043bf80
add esi, 4
dec edi
jne 0x43bc40
push str.Please_try_again_by_restarting_the_system.__If_the_problem_persists__please_call_service_technician
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x24]
test eax, eax
je 0x43bcd6
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test esi, esi
je 0x43bcac
push str.callback:_show
call ebx
mov edx, dword [esp + 0x20]
push edi
push edx
call esi
add esp, 8
mov eax, dword [esp + 0x20]
push 0x40000
push str.Secure1000_Failure
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
test esi, esi
je 0x43bcd6
push str.callback:_close
call ebx
push edi
push 0
call esi
add esp, 8
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x14
Function at 0x43bd00
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x492c98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, dword [esp + 0x18]
test edi, edi
mov dword [esp + 4], ecx
jne 0x43bd3a
mov eax, 1
pop edi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x43be1e
push ebx
push ebp
push esi
push 0x4f11f4
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_3
mov esi, edi
lea ecx, [esp + 0x24]
shl esi, 0xc
mov dword [esp + 0x1c], 0
lea eax, [esi + 0x4b1ed8]
push eax
call sub.MFC42.DLL_CString::operator
push 0x4af1d0
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::operator
push str.Action:
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::operator
lea ecx, [esi + 0x4b26d8]
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::operator
push 0x4af1d0
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::operator
push str.If_the_problem_persists__please_call_service_technician
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::operator
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov ebp, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test esi, esi
je 0x43bde0
push str.callback:_show
call ebp
mov edx, dword [esp + 0x24]
push ebx
push edx
call esi
add esp, 8
mov eax, dword [esp + 0x24]
push 0x40000
push str.Secure1000_Failure
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
test esi, esi
je 0x43be0a
push str.callback:_close
call ebp
push ebx
push 0
call esi
add esp, 8
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 4]
push edi
call fcn.0043bf80
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x43e720
Capabilities:
Get disk information
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x492f0c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
call sub.MFC42.DLL_CStatusBar::CStatusBar
xor ebx, ebx
lea ecx, [esi + 0xa8]
mov dword [esp + 0x30], ebx
call sub.MFC42.DLL_CToolTipCtrl::CToolTipCtrl
mov dword [esi + 0x124], ebx
mov dword [esi + 0x120], 0x49e874
lea eax, [esp + 0x1c]
mov byte [esp + 0x30], 2
push eax
mov dword [esi], 0x49e788
mov dword [esi + 0xa4], ebx
mov dword [esi + 0x104], 0xffffffff
mov dword [esi + 0x108], ebx
mov dword [esi + 0x10c], ebx
mov dword [esi + 0x110], ebx
mov dword [esi + 0x114], ebx
mov dword [esi + 0x118], ebx
mov dword [esi + 0x11c], ebx
call sub.MFC42.DLL_COleDateTime::GetTickCount
push 0x4ae120
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], ebx
mov byte [esi + 0x9c], bl
mov byte [esi + 0x9d], bl
call sub.MFC42.DLL_CString::CString_3
mov byte [esp + 0x30], 3
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x43e829
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
test al, 1
je 0x43e80d
mov cl, byte [esp + 0xc]
add cl, 0x41
push ecx
push ebx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::SetAt
mov edx, dword [esp + 0x10]
push edx
call edi
cmp eax, 2
je 0x43e822
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
shr eax, 1
inc edx
cmp eax, ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], edx
jne 0x43e7e7
jmp 0x43e829
mov byte [esi + 0x9c], 1
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
push ebx
push str.C:windowsSystem32hotplug.dll
push eax
call dword [sym.imp.SHELL32.dll_ExtractIconA]
mov dword [esi + 0x80], eax
call sub.MFC42.DLL_AfxGetModuleState
push 0x159
push 0xe
push 0x159
call sub.MFC42.DLL_AfxFindResourceHandle
mov edi, dword [sym.imp.USER32.dll_LoadIconA]
push eax
call edi
mov dword [esi + 0x84], eax
call sub.MFC42.DLL_AfxGetModuleState
push 0x152
push 0xe
push 0x152
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push str.C:Secure1000Inspector.ini
push 0x14
push str.INSPECTION_TIME1
push str.SOFTWARE
mov dword [esi + 0x88], eax
mov byte [esi + 0x9e], bl
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x98], ebx
call edi
push str.C:Secure1000Inspector.ini
push 0x1e
push str.INSPECTION_TIME2
push str.SOFTWARE
mov dword [esi + 0x90], eax
call edi
lea ecx, [esp + 0x10]
mov dword [esi + 0x94], eax
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x43f600
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x493020
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov al, byte [0x4f23e8]
push esi
push edi
mov edi, ecx
test al, 1
mov dword [esp + 0x10], 0
jne 0x43f650
or al, 1
push 0x4f11f4
mov ecx, 0x4f23ec
mov byte [0x4f23e8], al
call sub.MFC42.DLL_CString::CString_3
push 0x43f7b0
call fcn.0048cd74
add esp, 4
push 0
call dword [sym.imp.MSVCRT.dll_time]
mov esi, dword [0x4f2424]
mov ecx, eax
sub ecx, esi
add esp, 4
cmp ecx, 1
jl 0x43f782
push str.GetErrorMsg
mov dword [0x4f2424], eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x43f690
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x43f692
xor eax, eax
mov ecx, dword [eax + 0x260]
test ecx, ecx
je 0x43f782
mov ecx, dword [edi + 0xa0]
or esi, 0xffffffff
xor eax, eax
cmp byte [ecx + eax], 0
je 0x43f6b3
mov esi, eax
inc eax
cmp eax, 0x40
jl 0x43f6ab
cmp esi, 0xffffffff
je 0x43f782
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x43f6d4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x43f6d6
xor eax, eax
mov eax, dword [eax + 0x260]
lea edx, [esp + 8]
push edx
push 0
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x44]
test eax, eax
jne 0x43f782
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x43f71a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x43f71c
xor eax, eax
mov eax, dword [eax + 0x260]
lea edx, [esp + 8]
push edx
push 7
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x44]
test eax, eax
jne 0x43f771
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ecx
push edx
push str._s:__s
push 0x4f23ec
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x24]
push 0x4f23ec
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x44b550
Capabilities:
Get hostname

Disassembly:
push 0xffffffffffffffff
push 0x4938ef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
mov eax, dword [esp + 0x11c]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push eax
push 0x27c
mov dword [esp + 0x1c], ebp
call fcn.0041adb0
lea esi, [ebp + 0x16c]
mov dword [esp + 0x124], 0
mov ecx, esi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [esi], 0x497338
lea esi, [ebp + 0x1ac]
mov byte [esp + 0x124], 1
mov ecx, esi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [esi], 0x497338
lea esi, [ebp + 0x1ec]
mov byte [esp + 0x124], 2
mov ecx, esi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [esi], 0x497338
lea esi, [ebp + 0x22c]
mov byte [esp + 0x124], 3
mov ecx, esi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [esi], 0x497810
lea esi, [ebp + 0x26c]
mov byte [esp + 0x124], 4
mov ecx, esi
call sub.MFC42.DLL_CWnd::CWnd
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push edx
mov dword [esi], 0x497810
lea ebx, [ebp + 0x2ac]
mov dword [esp + 0x18], 0x104
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.MSVCRT.dll__mbsupr]
mov ecx, dword [esp + 0x120]
add esp, 4
mov byte [ebx + 0x50], 0
mov byte [ebx + 0x40], 0
mov byte [ebx + 0x20], 0
mov byte [ebx + 0x19], 0
pop edi
mov dword [ebp], 0x49f688
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x118
ret 4
Function at 0x44f210
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x493f68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, ecx
lea ecx, [esp + 4]
lea eax, [ebx + 0x6c]
push eax
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0
call sub.MFC42.DLL_CFile::CFile
mov ecx, dword [esp + 4]
push 0
push 0x8000
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x44f301
push ebp
push esi
push edi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::GetLength
mov ebp, eax
lea edi, [ebp + 1]
push edi
call sub.MFC42.DLL_operatornew
mov ecx, edi
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebp
and ecx, 3
push esi
rep stosb byte es:[edi], al
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CFile::Read
push esi
lea ecx, [ebx + 0x68]
call sub.MFC42.DLL_CString::operator_2
push 0
mov ecx, ebx
call sub.MFC42.DLL_CWnd::UpdateData
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Close
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 0
call fcn.0048bf0a
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
call sub.MFC42.DLL_CString::CString_1
push str._not_found.
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::operator
mov ecx, dword [esp + 8]
push 0
push 0
push ecx
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 8]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call fcn.0048bf0a
lea ecx, [esp + 4]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret