joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4272d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47ae5b
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x496028]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
mov eax, dword [0x496028]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 0x18]
push eax
mov dword [esp + 0x28], eax
call fcn.00426e70
push edi
call fcn.004274b0
call fcn.00419910
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ecx, dword [0x47d684]
and esi, eax
mov eax, dword [0x47d680]
mov dword [esp + 0x30], eax
xor eax, eax
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x34], ecx
mov word [esp + 0x18], dx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x28]
mov esi, 1
mov ecx, ebx
shl esi, cl
mov dword [esp + 0x14], esi
test eax, esi
je 0x42745e
lea edx, [esp + 0x30]
lea ecx, [ebx + 0x41]
push edx
mov word [esp + 0x34], cx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x42739b
cmp eax, 2
jne 0x42745e
or dword [edi + 0x90], esi
push 0x3c0
call sub.mfc90u.dll_new
add esp, 4
mov dword [esp + 0x2c], eax
xor esi, esi
mov dword [esp + 0x48], esi
cmp eax, esi
je 0x4273c9
lea ecx, [esp + 0x30]
push ecx
push eax
call fcn.00455350
mov esi, eax
push esi
mov dword [esp + 0x4c], 0xffffffff
call fcn.00426e70
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
mov dword [esi + 0x2c], 0x429040
mov dword [esi + 0x30], edi
call eax
mov ecx, dword [edi + 0xe0]
mov eax, dword [edi + 0xe4]
mov dword [esi + 0xf0], ecx
mov dword [esi + 0xf4], eax
mov ecx, dword [esp + 0x30]
call fcn.0043ab70
neg eax
sbb eax, eax
add eax, 1
mov ebx, eax
mov dword [esp + 0x20], ebx
je 0x427434
mov eax, dword [esp + 0x14]
mov edx, dword [ebp + 0xc]
test edx, eax
je 0x427434
mov ebx, eax
and ebx, dword [ebp + 8]
neg ebx
sbb ebx, ebx
neg ebx
mov dword [esp + 0x20], ebx
mov ax, word [esp + 0x30]
lea ecx, [esp + 0x18]
push ecx
mov word [esp + 0x1c], ax
mov dword [esp + 0x20], esi
call fcn.0042b480
test ebx, ebx
mov ebx, dword [esp + 0x10]
je 0x42745e
mov edx, dword [esp + 0x14]
or dword [edi + 0x8c], edx
inc ebx
cmp ebx, 0x20
mov dword [esp + 0x10], ebx
jl 0x427361
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov eax, 0x2aaaaaab
imul ecx
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
sar edx, 1
mov esi, edx
shr esi, 0x1f
add esi, edx
mov edx, dword [eax + 0x1c]
call edx
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0047397a
mov esp, ebp
pop ebp
ret 8
Function at 0x42a900
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x477e19
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x496028]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x30], 0
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::MakeLower]
mov edi, dword [esp + 0x38]
mov eax, dword [edi + 0xd4]
add edi, 0xc4
mov dword [esp + 0x38], eax
cmp dword [edi + 0xc], eax
jbe 0x42a958
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebx, dword [edi + 0x10]
mov eax, dword [edi]
mov dword [esp + 0x18], eax
cmp dword [edi + 0xc], ebx
jbe 0x42a96c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov esi, dword [edi + 0xc]
mov ebp, dword [edi]
cmp esi, dword [edi + 0x10]
jbe 0x42a97c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [edi]
push ebx
push ebp
push esi
push eax
lea ecx, [esp + 0x30]
push ecx
lea ebx, [esp + 0x50]
call fcn.0042c0d0
mov esi, eax
mov eax, dword [esi]
add esp, 0x14
test eax, eax
je 0x42a9a1
cmp eax, dword [esp + 0x18]
je 0x42a9a7
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x38]
cmp dword [esi + 4], edx
je 0x42a9be
lea ecx, [esp + 0x3c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
jmp 0x42a9d4
lea ebx, [esp + 0x3c]
call fcn.00411700
mov ecx, ebx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
Function at 0x42a9f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x477e19
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x496028]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x30], 0
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::MakeLower]
mov edi, dword [esp + 0x38]
mov eax, dword [edi + 0xbc]
add edi, 0xac
mov dword [esp + 0x38], eax
cmp dword [edi + 0xc], eax
jbe 0x42aa48
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebx, dword [edi + 0x10]
mov eax, dword [edi]
mov dword [esp + 0x18], eax
cmp dword [edi + 0xc], ebx
jbe 0x42aa5c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov esi, dword [edi + 0xc]
mov ebp, dword [edi]
cmp esi, dword [edi + 0x10]
jbe 0x42aa6c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [edi]
push ebx
push ebp
push esi
push eax
lea ecx, [esp + 0x30]
push ecx
lea ebx, [esp + 0x50]
call fcn.0042c0d0
mov esi, eax
mov eax, dword [esi]
add esp, 0x14
test eax, eax
je 0x42aa91
cmp eax, dword [esp + 0x18]
je 0x42aa97
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x38]
cmp dword [esi + 4], edx
je 0x42aaae
lea ecx, [esp + 0x3c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
jmp 0x42aac4
lea ebx, [esp + 0x3c]
call fcn.00411700
mov ecx, ebx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
Function at 0x42ae20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4796d9
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x496028]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x40]
mov ebx, ecx
lea edi, [ebx + 0x18]
push edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x44], edi
call fcn.00426e70
mov esi, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jae 0x42afc9
lea eax, [ebp + ebp*2]
add eax, eax
add eax, eax
mov dword [esp + 0x18], eax
mov eax, dword [eax + esi + 4]
test eax, eax
je 0x42afc9
mov ecx, dword [eax + 0x28]
mov dword [eax + 0x2d8], 0xffffffff
add eax, 0x28
cmp dword [ecx - 0xc], 0
je 0x42afc9
push 0
mov ecx, eax
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetAt]
mov edi, dword [esp + 0x44]
mov esi, eax
call fcn.0043afe0
test eax, eax
je 0x42afc5
test edi, edi
je 0x42afc5
lea ecx, [esp + 0x44]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
lea edx, [esp + 0x44]
push edx
mov edi, ebp
mov eax, ebx
mov dword [esp + 0x3c], 0
call fcn.00427890
test eax, eax
je 0x42af48
xor eax, eax
push eax
lea ecx, [esp + 0x48]
mov word [esp + 0x20], ax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetAt]
lea ecx, [esp + 0x1c]
push ecx
mov word [esp + 0x20], ax
call sub.BottDefrag.dll_SetVolumeSettings
add esp, 4
test eax, eax
jne 0x42af48
call fcn.00429610
test eax, eax
je 0x42af48
push 0
call sub.BottDefrag.dll_SetStatus
add esp, 4
mov esi, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jae 0x42afab
mov ecx, dword [esp + 0x18]
cmp dword [ecx + esi + 4], 0
je 0x42afab
mov edi, ebp
mov esi, ebx
call fcn.0042b450
mov eax, dword [eax + 4]
mov dword [eax + 0x90], 0
call fcn.0042b450
mov dword [eax + 8], 0
call fcn.0042b450
movzx ecx, word [eax]
sub ecx, 0x41
mov eax, 1
shl eax, cl
not eax
and dword [ebx + 0x8c], eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x14], 1
mov dword [esp + 0x38], 0xffffffff
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov edi, dword [esp + 0x40]
mov edx, dword [edi]
mov eax, dword [edx + 0x1c]
mov ecx, edi
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8
Function at 0x43aad0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x14
mov eax, dword [0x496028]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, eax
call fcn.00419910
mov ecx, dword [0x47d684]
mov ebp, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
and ebx, eax
mov eax, dword [0x47d680]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
xor edi, edi
lea esp, [esp]
mov esi, 1
mov ecx, edi
shl esi, cl
test ebx, esi
je 0x43ab54
lea eax, [esp + 0x14]
lea edx, [edi + 0x41]
push eax
mov word [esp + 0x18], dx
call ebp
cmp eax, 3
je 0x43ab36
cmp eax, 2
jne 0x43ab54
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0043ad50
mov ecx, dword [esp + 0x18]
add esp, 4
call fcn.0043ab70
test eax, eax
jne 0x43ab54
not esi
and ebx, esi
inc edi
cmp edi, 0x20
jl 0x43ab10
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0047397a
add esp, 0x14
ret

Function at 0x43ad50
Capabilities:
Get disk information via ioctl

Disassembly:
sub esp, 0x4c
mov eax, dword [0x496028]
xor eax, esp
mov dword [esp + 0x48], eax
mov edx, dword [0x4851f8]
mov eax, dword [str..C:]
mov ecx, dword [0x4851f4]
push ebx
push esi
push edi
push 0
push 0x80
push 3
push 0
push 3
mov dword [esp + 0x60], edx
mov dword [esp + 0x58], eax
mov ax, word [0x4851fc]
mov dword [esp + 0x5c], ecx
mov cx, word [esp + 0x70]
push 0
lea edx, [esp + 0x5c]
push edx
mov word [esp + 0x6c], ax
mov word [esp + 0x68], cx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x43ae40
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push 0
lea eax, [esp + 0x14]
push eax
push 0x20
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0
push 0x560000
push esi
call ebx
test eax, eax
je 0x43ade5
mov edi, dword [esp + 0x28]
cmp edi, 0xffffffff
jne 0x43ae25
push 0
lea edx, [esp + 0x14]
push edx
push 0xc
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0x2d1080
push esi
call ebx
test eax, eax
je 0x43ae22
mov edi, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0047397a
add esp, 0x4c
ret
or edi, 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0047397a
add esp, 0x4c
ret
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
or eax, 0xffffffff
call fcn.0047397a
add esp, 0x4c
ret
Function at 0x43da80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4798d8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x496028]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, edx
mov dword [esp + 0x38], 0
mov edi, dword [esi + 0x10]
mov ebp, dword [esi + 0xc]
mov ecx, edi
sub ecx, ebp
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jbe 0x43db07
cmp ebp, edi
jbe 0x43dadc
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
push edi
push eax
lea eax, [esp + 0x48]
push eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ebx, ecx
push ebx
push esi
call fcn.0043dd30
jmp 0x43db56
jae 0x43db56
cmp ebp, edi
jbe 0x43db13
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebp, dword [esi + 0xc]
mov edx, dword [esi]
mov dword [esp + 0x20], edx
cmp ebp, dword [esi + 0x10]
jbe 0x43db27
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi]
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], eax
push ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], ebp
call fcn.0043e370
mov edx, dword [esp + 0x20]
mov ecx, dword [eax + 4]
push edi
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x30]
push eax
call fcn.0043dc90
mov eax, dword [esp + 0x4c]
xor esi, esi
cmp eax, esi
je 0x43db69
push eax
call sub.mfc90u.dll_delete
add esp, 4
mov ecx, dword [esp + 0x40]
push ecx
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
call sub.mfc90u.dll_delete
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x18
Function at 0x4436a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4777b8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push edi
mov eax, dword [0x496028]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, dword [ecx]
mov eax, dword [ecx + 8]
sub eax, edi
cdq
sub eax, edx
mov edx, dword [esi + 4]
mov ebx, eax
mov eax, dword [ecx + 4]
sar ebx, 1
add ebx, edi
mov edi, dword [ecx + 0xc]
sub edi, eax
add edi, 3
shr edi, 1
add edi, eax
lea eax, [ebx - 3]
lea ecx, [ebx + 3]
push edx
mov dword [esp + 0x1c], eax
lea ebp, [edi - 3]
mov dword [esp + 0x24], ecx
call dword [sym.imp.GDI32.dll_BeginPath]
push edi
push ebx
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call sub.mfc90u.dll_CDC::MoveTo
mov ecx, dword [esp + 0x18]
push ebp
push ecx
mov ecx, esi
call sub.mfc90u.dll_CDC::LineTo
mov edx, dword [esp + 0x20]
push ebp
push edx
mov ecx, esi
call sub.mfc90u.dll_CDC::LineTo
push edi
push ebx
mov ecx, esi
call sub.mfc90u.dll_CDC::LineTo
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_EndPath]
xor eax, eax
mov ebx, vtable.CBrush.0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x44]
push ecx
mov dword [esp + 0x40], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x14]
call sub.mfc90u.dll_CGdiObject::Attach
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call sub.mfc90u.dll_CDC::SelectObject_2
mov edi, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_FillPath]
push edi
mov ecx, esi
call sub.mfc90u.dll_CDC::SelectObject_2
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebx
call fcn.00403b70
mov eax, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x30
ret
Function at 0x44a180
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47a61a
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x496028]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
push esi
call fcn.00433930
lea eax, [esi + 0x18]
xor edi, edi
push eax
mov dword [esp + 0x18], edi
call fcn.00433930
lea ecx, [esi + 0x30]
push ecx
mov byte [esp + 0x18], 1
call fcn.0044ae10
mov byte [esp + 0x14], 2
lea edx, [esi + 0xa8]
push edx
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
call fcn.00449e60
lea edi, [esi + 0xec]
mov ecx, edi
mov byte [esp + 0x14], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov byte [esp + 0x14], 4
call fcn.0044b580
push 0x3ff
mov ecx, edi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::resize_unsigned_int_]
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x44a240
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47a5bb
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x496028]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
push esi
mov dword [esp + 0x18], 3
call fcn.0044a620
lea ecx, [esi + 0xec]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea eax, [esi + 0xa8]
call fcn.00449ee0
mov byte [esp + 0x14], 1
lea eax, [esi + 0x54]
mov dword [esi + 0x30], vtable.CFileStreamMap.0
call fcn.00449ee0
lea eax, [esi + 0x34]
push eax
call fcn.0044b720
mov eax, dword [esi + 0x24]
xor edi, edi
cmp eax, edi
je 0x44a2ba
push eax
call sub.mfc90u.dll_delete
add esp, 4
mov ecx, dword [esi + 0x18]
push ecx
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
call sub.mfc90u.dll_delete
mov eax, dword [esi + 0xc]
add esp, 4
cmp eax, edi
je 0x44a2df
push eax
call sub.mfc90u.dll_delete
add esp, 4
mov edx, dword [esi]
push edx
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
call sub.mfc90u.dll_delete
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x44ee40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x479edb
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x496028]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, edx
mov esi, dword [esp + 0x50]
mov ebp, dword [esp + 0x4c]
push 1
mov ecx, esi
call sub.mfc90u.dll_CDC::SetBkMode
mov ecx, dword [ebp + 0x170]
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
push ecx
mov ecx, esi
call edx
mov eax, dword [ebp + 0x20]
push 0
push 0
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call sub.mfc90u.dll_CGdiObject::FromHandle
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
lea ecx, [esp + 0x50]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov ecx, dword [esp + 0x54]
push ebx
push ecx
lea edx, [esp + 0x54]
push edx
mov ecx, ebp
mov dword [esp + 0x50], 0
call sub.mfc90u.dll_CListCtrl::GetItemText
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x48], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x44], 0
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
test ebx, ebx
jne 0x44ef12
mov dword [esp + 0x28], ebx
cmp byte [esp + 0x58], 0
je 0x44ef27
mov ecx, dword [ebp + 0x178]
push ecx
lea edx, [esp + 0x2c]
push edx
jmp 0x44ef48
cmp byte [esp + 0x5c], 0
je 0x44ef3c
mov eax, dword [ebp + 0x17c]
push eax
lea ecx, [esp + 0x2c]
push ecx
jmp 0x44ef48
mov edx, dword [ebp + 0x174]
push edx
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call sub.mfc90u.dll_CDC::FillSolidRect
mov ecx, dword [ebp + 0x80]
sub ecx, dword [ebp + 0x7c]
sar ecx, 2
cmp ebx, ecx
jae 0x44ef92
mov edx, dword [ebp + 0x80]
sub edx, dword [ebp + 0x7c]
sar edx, 2
cmp ebx, edx
jb 0x44ef75
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [ebp + 0x7c]
mov eax, dword [eax + ebx*4]
cmp eax, 0x20
ja 0x44f0e8
movzx ecx, byte [eax + 0x44f124]
jmp dword [ecx*4 + 0x44f108]
xor eax, eax
jmp 0x44ef84
lea ecx, [esp + 0x50]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0x14
Function at 0x44fcf0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4791e9
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
mov eax, dword [0x496028]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x20]
add dword [edi], 5
add dword [edi + 8], 0xfffffffb
mov edx, dword [esp + 0x30]
movzx edx, word [edx]
sub edx, 0x30
mov ebx, dword [edi]
mov ecx, dword [edi + 4]
mov eax, dword [edi + 0xc]
je 0x44fd40
sub edx, 1
je 0x44fe01
sub edx, 1
jne 0x44fd82
mov esi, dword [ebp + 0x5c]
mov edx, dword [esi + 0x10]
sub eax, ecx
sub eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add eax, ecx
mov ecx, dword [edx + 4]
mov edx, dword [esi + 0xc]
push edx
push 0
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x10]
push ecx
push edx
mov edx, dword [esp + 0x30]
push eax
push ebx
push edx
mov eax, ecx
xor ebx, ebx
call fcn.00403e50
mov eax, dword [ebp + 0x5c]
mov eax, dword [eax + 0xc]
add eax, 3
add dword [edi], eax
mov ecx, dword [esp + 0x30]
movzx eax, word [ecx]
add eax, 0xffffffd0
cmp eax, 1
ja 0x44fdd0
mov esi, dword [ebp + 0x64]
mov ecx, dword [edi + 4]
mov eax, dword [edi + 0xc]
mov edx, dword [esi + 0x10]
mov ebx, dword [edi]
sub eax, ecx
sub eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add eax, ecx
mov ecx, dword [edx + 4]
mov edx, dword [esi + 0xc]
push edx
push 0
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x10]
push ecx
push edx
mov edx, dword [esp + 0x30]
push eax
push ebx
push edx
mov eax, ecx
xor ebx, ebx
call fcn.00403e50
mov eax, dword [ebp + 0x64]
mov eax, dword [eax + 0xc]
add eax, 5
add dword [edi], eax
mov eax, dword [ebp + 0x8c]
test eax, eax
je 0x44fe43
mov ecx, dword [ebp + 0x90]
mov edx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push 0
push edx
push ecx
push 1
call eax
add esp, 0x14
jmp 0x44fe49
mov esi, dword [ebp + 0x60]
mov edx, dword [esi + 0x10]
sub eax, ecx
sub eax, edx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 4]
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x20], edx
mov edx, dword [esi + 0xc]
push edx
push 0
push ecx
push edx
push eax
mov eax, dword [esp + 0x34]
push ebx
push eax
mov eax, ecx
xor ebx, ebx
call fcn.00403e50
mov ecx, dword [ebp + 0x60]
mov eax, dword [ecx + 0xc]
jmp 0x44fd7d
mov eax, dword [ebp + 0x170]
mov esi, dword [esp + 0x24]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x38]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x30]
add ecx, 2
push ecx
lea ecx, [esp + 0x28]
mov ebx, eax
call dword [0x47ce1c]
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 0xc]
mov edx, dword [esi]
push 0x8024
push edi
push ecx
push eax
mov eax, dword [edx + 0x70]
mov ecx, esi
call eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], 0xffffffff
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov edx, dword [esi]
mov eax, dword [edx + 0x38]
push ebx
mov ecx, esi
call eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x14