joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403450
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x428bf0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [ebp - 0xac]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xac]
mov dword [ebp - 0xac], 0x9c
push eax
call esi
test eax, eax
jne 0x4034c3
lea ecx, [ebp - 0xac]
mov dword [ebp - 0xac], 0x94
push ecx
call esi
test eax, eax
jne 0x4034c3
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov ecx, esi
call sub.MFC42.DLL_CString::Empty
mov eax, dword [ebp - 0x9c]
mov edi, 4
sub eax, 0
je 0x40358f
dec eax
je 0x403528
dec eax
jne 0x40359b
mov eax, dword [ebp - 0xa8]
cmp eax, edi
ja 0x4034ff
push str.Microsoft_Windows_NT
jmp 0x403594
cmp eax, 5
jne 0x403521
mov eax, dword [ebp - 0xa4]
test eax, eax
jne 0x403515
push str.Microsoft_Windows_2000
jmp 0x403594
cmp eax, 1
jne 0x403521
push str.Microsoft_Windows_XP
jmp 0x403594
push str.Microsoft_Windows_XP_later
jmp 0x403594
cmp dword [ebp - 0xa8], edi
jne 0x403588
mov eax, dword [ebp - 0xa4]
test eax, eax
jne 0x40355b
push str.Microsoft_Windows_95
mov ecx, esi
call sub.MFC42.DLL_CString::operator
mov al, byte [ebp - 0x97]
cmp al, 0x43
je 0x403554
cmp al, 0x42
jne 0x40359b
push str.OSR2
jmp 0x403594
cmp eax, 0xa
jne 0x40357c
push str.Microsoft_Windows_98
mov ecx, esi
call sub.MFC42.DLL_CString::operator
cmp byte [ebp - 0x97], 0x41
jne 0x40359b
push 0x4310cc
jmp 0x403594
cmp eax, 0x5a
jne 0x403588
push str.Microsoft_Windows_Me
jmp 0x403594
push str.Microsoft_Windows_Me_later
jmp 0x403594
push str.Microsoft_Win32s
mov ecx, esi
call sub.MFC42.DLL_CString::operator
cmp dword [ebp - 0xa8], edi
ja 0x4035f5
lea ecx, [ebp + 8]
call fcn.00426fd2
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xa8]
and edx, 0xffff
push edx
push eax
push ecx
lea edx, [ebp + 8]
push str._Build__d._d._d__n
push edx
mov dword [ebp - 4], 0
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea eax, [ebp + 8]
mov ecx, esi
push eax
call sub.MFC42.DLL_CString::operator_1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
jmp 0x40364c
lea ecx, [ebp - 0x10]
call fcn.00426fd2
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0xa8]
and ecx, 0xffff
push ecx
push edx
lea ecx, [ebp - 0x98]
push eax
push ecx
lea edx, [ebp - 0x10]
push str._s__Build__d._d._d__n
push edx
mov dword [ebp - 4], 1
call sub.MFC42.DLL_CString::Format
add esp, 0x18
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call sub.MFC42.DLL_CString::operator_1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4072e0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
push edi
mov ecx, dword [ebx + 0xc8]
mov edi, dword [ebp + 8]
test edi, edi
mov eax, dword [ecx]
mov dword [ebp + 8], eax
je 0x40732f
cmp eax, ecx
je 0x407388
mov esi, dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp dword [eax + 0xc], edi
je 0x407313
mov eax, dword [eax + 0x10]
push eax
call esi
lea ecx, [ebp + 8]
call fcn.0040c710
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 0xc8]
cmp eax, ecx
jne 0x407308
pop edi
pop esi
pop ebx
pop ebp
ret 4
cmp eax, ecx
je 0x407388
mov esi, dword [sym.imp.KERNEL32.dll_SuspendThread]
mov ecx, dword [eax + 0x10]
push ecx
call esi
mov eax, dword [ebp + 8]
mov edx, dword [0x43239c]
mov ecx, dword [eax + 8]
cmp ecx, edx
je 0x407361
mov eax, ecx
mov ecx, dword [eax]
cmp ecx, edx
je 0x40737d
mov eax, ecx
mov ecx, dword [eax]
cmp ecx, edx
jne 0x407357
jmp 0x40737d
mov ecx, dword [eax + 4]
cmp eax, dword [ecx + 8]
jne 0x407376
mov eax, ecx
mov dword [ebp + 8], eax
mov ecx, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x407369
cmp dword [eax + 8], ecx
je 0x407380
mov eax, ecx
mov dword [ebp + 8], eax
cmp eax, dword [ebx + 0xc8]
jne 0x407339
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x407390
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
push edi
mov ecx, dword [ebx + 0xc8]
mov edi, dword [ebp + 8]
test edi, edi
mov eax, dword [ecx]
mov dword [ebp + 8], eax
je 0x4073df
cmp eax, ecx
je 0x407438
mov esi, dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp dword [eax + 0xc], edi
je 0x4073c3
mov eax, dword [eax + 0x10]
push eax
call esi
lea ecx, [ebp + 8]
call fcn.0040c710
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 0xc8]
cmp eax, ecx
jne 0x4073b8
pop edi
pop esi
pop ebx
pop ebp
ret 4
cmp eax, ecx
je 0x407438
mov esi, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [eax + 0x10]
push ecx
call esi
mov eax, dword [ebp + 8]
mov edx, dword [0x43239c]
mov ecx, dword [eax + 8]
cmp ecx, edx
je 0x407411
mov eax, ecx
mov ecx, dword [eax]
cmp ecx, edx
je 0x40742d
mov eax, ecx
mov ecx, dword [eax]
cmp ecx, edx
jne 0x407407
jmp 0x40742d
mov ecx, dword [eax + 4]
cmp eax, dword [ecx + 8]
jne 0x407426
mov eax, ecx
mov dword [ebp + 8], eax
mov ecx, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x407419
cmp dword [eax + 8], ecx
je 0x407430
mov eax, ecx
mov dword [ebp + 8], eax
cmp eax, dword [ebx + 0xc8]
jne 0x4073e9
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x412340
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push esi
lea eax, [ebp - 0x94]
push edi
mov esi, ecx
push eax
mov dword [ebp - 0x94], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4124ed
mov edx, dword [ebp - 0x84]
xor eax, eax
cmp edx, 2
sete al
test eax, eax
mov dword [0x4323c8], eax
je 0x412422
push str.PSAPI.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0xcc], eax
je 0x4124ed
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.EnumProcesses
push eax
call edi
mov ecx, dword [esi + 0xcc]
push str.GetModuleFileNameExA
push ecx
mov dword [esi + 0xa8], eax
call edi
mov edx, dword [esi + 0xcc]
push str.GetModuleBaseNameA
push edx
mov dword [esi + 0xac], eax
call edi
mov dword [esi + 0xb4], eax
mov eax, dword [esi + 0xcc]
push str.EnumProcessModules
push eax
call edi
mov ecx, dword [esi + 0xac]
mov dword [esi + 0xb0], eax
test ecx, ecx
je 0x412416
mov ecx, dword [esi + 0xa8]
test ecx, ecx
je 0x412416
mov ecx, dword [esi + 0xb4]
test ecx, ecx
je 0x412416
test eax, eax
jne 0x4124cb
mov ecx, dword [esi + 0xcc]
push ecx
jmp 0x4124dd
push str.Kernel32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0xcc], eax
je 0x4124ed
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateToolhelp32Snapshot
push eax
call edi
mov edx, dword [esi + 0xcc]
push str.Process32First
push edx
mov dword [esi + 0xb8], eax
call edi
mov dword [esi + 0xbc], eax
mov eax, dword [esi + 0xcc]
push str.Process32Next
push eax
call edi
mov ecx, dword [esi + 0xcc]
push str.Module32First
push ecx
mov dword [esi + 0xc0], eax
call edi
mov edx, dword [esi + 0xcc]
push str.Module32Next
push edx
mov dword [esi + 0xc4], eax
call edi
mov ecx, dword [esi + 0xc0]
mov dword [esi + 0xc8], eax
test ecx, ecx
je 0x4124d6
mov ecx, dword [esi + 0xbc]
test ecx, ecx
je 0x4124d6
mov ecx, dword [esi + 0xb8]
test ecx, ecx
je 0x4124d6
mov ecx, dword [esi + 0xc4]
test ecx, ecx
je 0x4124d6
test eax, eax
je 0x4124d6
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0xcc], 0
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4148d0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_IsWindow]
mov eax, dword [esi + 0x20]
push eax
call edi
test eax, eax
jne 0x4148fc
mov ecx, dword [esi + 0xd4]
push ecx
call edi
test eax, eax
je 0x414a90
mov eax, dword [esi + 0x88]
xor ebx, ebx
cmp eax, ebx
je 0x414a90
cmp dword [esi + 0x78], ebx
je 0x414926
mov ecx, esi
call fcn.004159a0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, esi
mov dword [esi + 0x7c], ebx
call fcn.00415980
test eax, eax
je 0x414981
mov dword [esi + 0x84], ebx
lea edx, [ebp - 8]
push edx
push 4
push esi
push 0x414f70
push ebx
push ebx
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
cmp eax, ebx
mov dword [esi + 0xa4], eax
je 0x414a90
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp + 8]
mov dword [esi + 0x78], 1
mov dword [esi + 0x7c], eax
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0xac]
cmp eax, ebx
je 0x414a90
cmp dword [esi + 0xd0], ebx
je 0x4149a8
mov eax, 1
pop edi
mov dword [esi + 0x78], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0xac]
lea edx, [ebp - 4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [esi + 0xe0]
cmp eax, ebx
jl 0x4149d9
cmp dword [esi + 0x80], ebx
je 0x4149d9
mov dword [ebp + 8], eax
jmp 0x4149df
mov ecx, dword [esi + 0x54]
mov dword [ebp + 8], ecx
mov edi, dword [esi + 0xe4]
cmp edi, ebx
jl 0x4149f5
mov ecx, dword [esi + 0x80]
mov edx, edi
cmp ecx, ebx
jne 0x4149f8
mov edx, dword [esi + 0x58]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x10], ebx
mov ebx, dword [esi + 0x80]
test ebx, ebx
mov dword [ebp - 0xc], edx
je 0x414a1e
test eax, eax
jl 0x414a1e
test edi, edi
jl 0x414a1e
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 4]
mov ebx, ecx
mov eax, dword [esi + 0xac]
neg ebx
push ebx
mov ebx, dword [ebp - 8]
push ebx
mov edi, dword [eax]
push ecx
mov ecx, dword [esi + 0x8c]
push 0
push edx
mov edx, dword [ebp + 8]
push edx
push 0
push 0
push ecx
push eax
call dword [edi + 0x20]
test eax, eax
jne 0x414a82
mov eax, dword [esi + 0xd4]
mov dword [esi + 0x78], 1
test eax, eax
je 0x414a74
mov ecx, esi
call fcn.004159a0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi + 0x20]
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x414ab0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
call sub.MFC42.DLL_AfxGetModuleState
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0xc]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x414b76
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x414b76
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push esi
push 0x22
mov dword [ebp + 8], esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x414b76
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x414b6f
test edi, edi
je 0x414b6f
mov ecx, esi
mov esi, eax
mov edx, ecx
push ebx
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.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00414200
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4166c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4296a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1ac
push ebx
push esi
push edi
mov ecx, 9
xor eax, eax
lea edi, [ebp - 0x7f]
mov byte [ebp - 0x80], 0
mov ebx, dword [ebp + 0xc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], esp
stosb byte es:[edi], al
mov edi, dword [ebp + 0x18]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc0]
push 0x40
push ecx
push ebx
push esi
mov dword [ebp - 4], 0
call edi
test eax, eax
je 0x416722
cmp dword [ebp - 0x14], 0x40
je 0x416739
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x2c]
push 0x42e468
push edx
mov dword [ebp - 0x2c], eax
call sub.MSVCRT.dll__CxxThrowException
cmp word [ebp - 0xc0], 0x5a4d
sete al
test al, al
jne 0x416760
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push 0x42e468
push eax
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x84]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1b8]
push 0xf8
add eax, ebx
push edx
push eax
push esi
call edi
test eax, eax
je 0x416789
cmp dword [ebp - 0x14], 0xf8
je 0x4167a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x30]
push 0x42e468
push ecx
mov dword [ebp - 0x30], eax
call sub.MSVCRT.dll__CxxThrowException
cmp dword [ebp - 0x1b8], 0x4550
jne 0x4167c2
cmp word [ebp - 0x1b4], 0x14c
jne 0x4167c2
cmp word [ebp - 0x1a0], 0x10b
je 0x4167d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x1c]
push 0x42e468
push edx
mov dword [ebp - 0x1c], eax
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x18], 0
lea ebx, [eax + ebx + 0xf8]
mov eax, dword [ebp - 0x1b2]
and eax, 0xffff
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x18], eax
jae 0x41689f
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x58]
push ecx
push 0x28
push edx
push ebx
push esi
call edi
test eax, eax
je 0x41681c
cmp dword [ebp - 0x14], 0x28
je 0x416833
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push 0x42e468
push eax
call sub.MSVCRT.dll__CxxThrowException
add ebx, 0x28
mov ecx, 0xa
lea edi, [ebp - 0x80]
lea esi, [ebp - 0x58]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x41689f
mov eax, dword [ebp - 0x34]
and eax, 0x20000020
cmp eax, 0x20000020
jne 0x416884
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp + 0xc]
lea eax, [ecx + edx]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x48]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
add eax, edx
mov dword [ecx], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp + 0x18]
mov esi, dword [ebp + 8]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
jmp 0x4167fb
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x417080
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42978c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ecx, [esi + 8]
mov dword [ebp - 4], 2
call fcn.00426fd2
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 3
call fcn.00426fd2
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 4
call fcn.00426fd2
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 5
call fcn.00426fd2
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 6
call fcn.00426fd2
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 7
call fcn.00426fd2
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 8
call fcn.00426fd2
xor ebx, ebx
lea ecx, [esi + 0x5c]
push ebx
push ebx
push ebx
push ebx
push ebx
push str.QQ_Bug_Report_Tool
mov byte [ebp - 4], 9
call fcn.00427266
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 0xa
call fcn.00426fd2
lea ecx, [esi + 0x7c]
mov byte [ebp - 4], 0xb
call fcn.00426fd2
lea edi, [esi + 0x80]
mov byte [ebp - 4], 0xc
mov ecx, edi
call fcn.00426fd2
push 0xb9f
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 0xd
mov dword [esi], 0x42c324
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
call sub.MFC42.DLL_CString::LoadStringA
mov eax, dword [ebp + 8]
mov dword [esi + 0x54], 1
mov dword [esi + 0x58], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 4], eax
lea ecx, [ebp + 0x10]
push ecx
lea ecx, [esi + 0x28]
call fcn.00426fc6
push 0x5c
lea ecx, [ebp + 0xc]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, 0xffffffff
je 0x4171cb
lea edx, [ebp + 8]
push eax
push edx
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esi + 0x7c]
mov byte [ebp - 4], 0xe
call fcn.00426fc6
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
lea eax, [ebp + 0x14]
mov ecx, edi
push eax
call fcn.00426fc6
mov ecx, edi
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, edi
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [ebp + 8]
push 0xff
push ecx
mov ecx, edi
call sub.MFC42.DLL_CString::Left
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
lea edx, [ebp + 0xc]
lea ecx, [esi + 0x1c]
push edx
call fcn.00426fc6
mov ecx, esi
call fcn.004189c0
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 0x14]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4173b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429860
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push esi
mov esi, ecx
lea ecx, [ebp - 0x1c]
call fcn.00426fd2
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.00426fd2
mov eax, dword [esi + 0x1c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x58]
push 0x21
push eax
push 0x432278
push str.NormalModeHash
push str.ExceptionInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x417418
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00426fcc
lea ecx, [ebp - 0x14]
call fcn.00426fd2
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00426fd2
mov edx, dword [esi + 0x50]
lea eax, [ebp - 0x14]
push edx
push str.AppBuild_d
push eax
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x24]
push 0x431b04
push ecx
push edx
call sub.MFC42.DLL_operator_1
add esi, 0xc
mov byte [ebp - 4], 4
push esi
push eax
lea eax, [ebp - 0x20]
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.00426fc6
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::MakeLower
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ecx - 8]
mov ecx, dword [edx - 8]
push eax
push ecx
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0042872e
add esp, 0xc
lea ecx, [ebp - 0x10]
push 0xffffffffffffffff
call sub.MFC42.DLL_CString::ReleaseBuffer
xor esi, esi
xor ecx, ecx
lea edx, [ebp - 0x14]
mov cl, byte [ebp + esi - 0x34]
push ecx
push str._02X
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
call sub.MFC42.DLL_CString::operator_1
inc esi
cmp esi, 0x10
jl 0x4174c5
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
mov byte [ebp - 4], 2
test eax, eax
pop esi
lea ecx, [ebp - 0x10]
jne 0x41754b
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4188a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ecx + 0x1c]
push ebx
push esi
push ecx
lea eax, [ebp - 2]
push 2
push eax
push 0
push str.Original
push str.ExceptionInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, 0x43167c
lea eax, [ebp - 2]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4188ff
test cl, cl
je 0x4188ee
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4188ff
add eax, 2
add esi, 2
test cl, cl
jne 0x4188ca
xor eax, eax
xor ecx, ecx
test eax, eax
sete cl
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
sbb eax, eax
pop esi
sbb eax, 0xffffffff
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4191c0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
push esi
mov esi, ecx
mov ecx, dword [ebp + 0x10]
push 0x4410
lea eax, [ebp - 0x160]
push 0x160
push eax
push 0x80
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov edx, dword [ebp - 0x15c]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push 0
push edx
push 0
push 0
push eax
push ecx
push 3
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::InsertItem
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x419260
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
push ebx
push esi
push edi
push 0
push 0x40
mov esi, ecx
push 0
call sub.MFC42.DLL_CWnd::ModifyStyle
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push 0x4011
lea eax, [ebp - 0x160]
push 0x160
push eax
push 0x80
push str.1.txt
call ebx
push 0x4010
lea ecx, [ebp - 0x160]
push 0x160
push ecx
push 0x80
push str.1.txt
mov edi, eax
call ebx
mov edx, dword [ebp - 0x160]
mov ebx, eax
push edx
call dword [sym.imp.USER32.dll_DestroyIcon]
test edi, edi
je 0x419323
test ebx, ebx
je 0x419323
push edi
call sub.MFC42.DLL_CImageList::FromHandle
test eax, eax
je 0x4192df
mov eax, dword [eax + 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
mov eax, dword [esi + 0x20]
push 1
push 0x1003
push eax
call edi
push eax
call sub.MFC42.DLL_CImageList::FromHandle
push ebx
call sub.MFC42.DLL_CImageList::FromHandle
test eax, eax
je 0x419306
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x20]
push eax
push 0
push 0x1003
push ecx
call edi
push eax
call sub.MFC42.DLL_CImageList::FromHandle
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret