joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402fc0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
or eax, 0xffffffff
test esi, esi
je 0x402fed
push ebx
push edi
movzx ebx, byte [edx]
mov edi, eax
and edi, 0xff
xor edi, ebx
mov ebx, dword [ecx + edi*4]
shr eax, 8
xor eax, ebx
inc edx
dec esi
jne 0x402fd2
pop edi
pop ebx
not eax
pop esi
ret 8

Function at 0x403000
Capabilities:
Hash data using crc32b

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
xor ecx, ecx
test bl, 1
je 0x403013
mov ecx, 0x80
mov eax, ebx
shr eax, 1
test al, 1
je 0x40301e
or ecx, 0x40
shr eax, 1
test al, 1
je 0x403027
or ecx, 0x20
shr eax, 1
test al, 1
je 0x403030
or ecx, 0x10
shr eax, 1
test al, 1
je 0x403039
or ecx, 8
shr eax, 1
test al, 1
je 0x403042
or ecx, 4
shr eax, 1
test al, 1
je 0x40304b
or ecx, 2
test al, 2
je 0x403052
or ecx, 1
shl ecx, 0x18
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
lea edx, [eax + eax]
xor ecx, edx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
lea edx, [eax + eax]
xor ecx, edx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
lea edx, [eax + eax]
xor ecx, edx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
lea edx, [eax + eax]
xor ecx, edx
mov dword [esi + ebx*4], ecx
mov eax, ecx
xor edx, edx
mov ecx, 0x1f
lea ecx, [ecx]
test al, 1
je 0x40311d
mov edi, 1
shl edi, cl
or edx, edi
shr eax, 1
dec ecx
cmp ecx, 0xffffffff
jg 0x403110
mov dword [esi + ebx*4], edx
inc ebx
cmp ebx, 0xff
jle 0x403007
pop edi
pop esi
pop ebx
ret
Function at 0x403900
Capabilities:
Get mac address on windows

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
xor esi, esi
push ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebx
mov byte [ebp], 0
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, ebx
je 0x40396e
cmp eax, 0xe8
je 0x403ac0
cmp eax, 0x32
je 0x403ac0
cmp eax, 0x6f
jne 0x403ac0
mov ecx, dword [esp + 0x10]
push ecx
call sub.MFC71.DLL_operator_new
add esp, 4
lea edx, [esp + 0x10]
push edx
push eax
mov dword [esp + 0x14], eax
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x403aaf
mov esi, dword [esp + 0xc]
cmp esi, ebx
mov dword [esp + 0x1c], ebx
je 0x403ac0
push edi
mov edi, dword [sym.imp.MSVCR71.dll_sprintf]
mov eax, dword [esi + 0x1a0]
cmp eax, 6
jne 0x403a48
test ebx, ebx
mov dword [esp + 0x20], 1
jne 0x4039dc
movzx eax, byte [esi + 0x199]
movzx ecx, byte [esi + 0x198]
movzx edx, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push ecx
movzx ecx, byte [esi + 0x195]
push edx
movzx edx, byte [esi + 0x194]
push eax
push ecx
push edx
push str._02x_02x_02x_02x_02x_02x
push ebp
call edi
add esp, 0x20
mov ebx, 1
lea eax, [esi + 0x1d8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4039e5
sub eax, edx
mov dword [esp + 0x18], eax
je 0x403a90
movzx eax, byte [esi + 0x199]
movzx ecx, byte [esi + 0x198]
movzx edx, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push ecx
movzx ecx, byte [esi + 0x195]
push edx
movzx edx, byte [esi + 0x194]
push eax
push ecx
push edx
push str._02x_02x_02x_02x_02x_02x
push ebp
call edi
mov eax, dword [esp + 0x30]
add esp, 0x20
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
cmp eax, 0x17
jne 0x403a90
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x403a90
movzx eax, byte [esi + 0x199]
movzx ecx, byte [esi + 0x198]
movzx edx, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push ecx
movzx ecx, byte [esi + 0x195]
push edx
movzx edx, byte [esi + 0x194]
push eax
push ecx
push edx
push str._02x_02x_02x_02x_02x_02x
push ebp
call edi
add esp, 0x20
mov esi, dword [esi]
test esi, esi
jne 0x403981
mov eax, dword [esp + 0x10]
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x403ac0
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x4075c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x497d54
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
push edi
lea ecx, [esp + 0x10]
call dword [0x49f754]
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0
call dword [0x49f754]
lea ecx, [esp + 0xc]
call dword [0x49f754]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea edx, [esp + 0x14]
push 0x4a1408
push edx
mov byte [esp + 0x30], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x10
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov edi, dword [esp + 0x28]
mov ebp, dword [sym.imp.MSVCR71.dll_strstr]
push eax
push edi
call ebp
mov esi, eax
add esp, 8
test esi, esi
jne 0x4076a5
lea eax, [esp + 0x30]
push edi
push eax
call fcn.0048e760
add esp, 8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 3
call dword [0x49f214]
lea ecx, [esp + 0x30]
mov byte [esp + 0x20], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov edx, edi
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x407680
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push edi
call ebp
mov esi, eax
add esp, 8
test esi, esi
je 0x40773c
push 0x3b
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
add esp, 8
test eax, eax
je 0x4076b8
mov byte [eax], 0
mov ecx, dword [esp + 0x2c]
push ecx
lea edx, [esp + 0x10]
push 0x4a1404
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
add eax, esi
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_3]
lea eax, [esp + 0x10]
push eax
mov ecx, 0x4bd028
call fcn.00427090
lea ecx, [esp + 0x10]
push ecx
mov ecx, 0x4bd108
call sub.MFC71.DLL_CStringList::AddTail
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
pop edi
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
Function at 0x407ab0
Capabilities:
Get disk information
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x497e3c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x43c
mov eax, dword [0x4bc410]
xor eax, esp
push ebx
mov ebx, dword [esp + 0x450]
push esi
mov dword [esp + 0x14], ecx
xor esi, esi
push 0x4a095c
lea ecx, [esp + 0xc]
mov dword [esp + 0x444], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
lea eax, [esp + 0x40]
push eax
push 0x400
mov dword [esp + 0x454], esi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
cmp eax, esi
mov dword [esp + 0x20], eax
jbe 0x407c60
push ebp
push edi
push str.GetDiskFreeSpaceExA
push str.kernel32.dll
lea ebx, [esp + 0x50]
xor ebp, ebp
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x20], eax
jmp 0x407b50
cmp esi, dword [esp + 0x28]
ja 0x407c5a
cmp byte [ebx], 0
je 0x407c5a
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x407c41
mov eax, dword [esp + 0x20]
xor esi, esi
cmp eax, esi
je 0x407bd2
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x48]
push ecx
push ebx
call eax
test eax, eax
je 0x407c41
mov ecx, dword [esp + 0x34]
cmp ecx, edi
jb 0x407c41
mov esi, dword [esp + 0x30]
ja 0x407bb1
cmp esi, ebp
jbe 0x407c41
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x4fc]
add eax, dword [esp + 0x460]
xor edx, edx
cmp ecx, edx
mov ebp, esi
mov edi, ecx
jl 0x407c41
jg 0x407c36
cmp esi, eax
jmp 0x407c34
push esi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
push ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x38], esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x407c41
mov eax, dword [esp + 0x24]
imul eax, dword [esp + 0x14]
imul eax, dword [esp + 0x18]
xor edx, edx
cmp edx, edi
jl 0x407c41
jg 0x407c13
cmp eax, ebp
jbe 0x407c41
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x460]
mov ecx, dword [ecx + 0x4fc]
add ecx, esi
xor esi, esi
cmp edx, esi
mov ebp, eax
mov edi, edx
jl 0x407c41
jg 0x407c36
cmp eax, ecx
jbe 0x407c41
lea ecx, [esp + 0x10]
push ebx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_3]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407c46
sub eax, edx
lea esi, [eax + 1]
add ebx, esi
jne 0x407b50
mov ebx, dword [esp + 0x2c]
pop edi
pop ebp
lea edx, [esp + 8]
push edx
mov ecx, ebx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x444]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x43c]
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00496ace
add esp, 0x448
ret 8
Function at 0x407fd0
Capabilities:
Get disk size

Disassembly:
sub esp, 0x320
mov eax, dword [0x4bc410]
mov edx, dword [esp + 0x324]
xor eax, esp
test edx, edx
mov dword [esp + 0x31c], eax
je 0x4080f6
mov eax, edx
push esi
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408000
sub eax, esi
cmp eax, 2
pop esi
jb 0x4080f6
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x120]
push ecx
lea eax, [esp + 0x224]
push eax
lea ecx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.MSVCR71.dll__splitpath]
mov al, byte [esp + 0x14]
add esp, 0x14
test al, al
je 0x4080f6
push str.GetDiskFreeSpaceExA
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x408097
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0xc]
push ecx
call eax
test eax, eax
je 0x4080f6
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x31c]
xor ecx, esp
call fcn.00496ace
add esp, 0x320
ret 4
push 0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x4080f6
mov eax, dword [esp + 0x14]
imul eax, dword [esp + 0xc]
imul eax, dword [esp + 4]
xor edx, edx
mov ecx, dword [esp + 0x31c]
xor ecx, esp
call fcn.00496ace
add esp, 0x320
ret 4
mov ecx, dword [esp + 0x31c]
xor ecx, esp
or eax, 0xffffffff
or edx, 0xffffffff
call fcn.00496ace
add esp, 0x320
ret 4
Function at 0x4088b0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push edi
mov edi, dword [esp + 8]
test edi, edi
je 0x408932
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x408932
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4088db
and al, 0x10
sub al, 0x10
neg al
pop edi
sbb eax, eax
inc eax
ret
push esi
push edi
call dword [sym.imp.MSVCR71.dll__strdup]
mov esi, eax
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strrchr]
add esp, 0xc
test eax, eax
je 0x40892a
push esi
mov byte [eax], 0
call fcn.004088b0
add esp, 4
test eax, eax
push esi
jne 0x408914
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
pop esi
xor eax, eax
pop edi
ret
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x40890f
pop esi
mov eax, 1
pop edi
ret
xor eax, eax
pop edi
ret

Function at 0x4089e0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497fbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x434
mov eax, dword [0x4bc410]
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, ebp
push edi
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esp
call sub.MFC71.DLL_CFileFind::CFileFind
mov edi, dword [sym.imp.MSVCR71.dll_sprintf]
push esi
lea eax, [ebp - 0x21c]
push str._s.
push eax
mov dword [ebp - 4], 0
call edi
add esp, 0xc
push 0
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 1
call sub.MFC71.DLL_CFileFind::FindFile
mov ebx, eax
jmp 0x408a60
test ebx, ebx
lea ecx, [ebp - 0x440]
je 0x408b17
call sub.MFC71.DLL_CFileFind::FindNextFileA
lea ecx, [ebp - 0x440]
mov ebx, eax
call sub.MFC71.DLL_CFileFind::IsDots
test eax, eax
jne 0x408a60
lea edx, [ebp - 0x428]
push edx
lea ecx, [ebp - 0x440]
call sub.MFC71.DLL_CFileFind::GetFileName
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
lea edx, [ebp - 0x118]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x408aa4
lea ecx, [ebp - 0x428]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [ebp - 0x440]
push 0x10
lea ecx, [ebp - 0x440]
call dword [eax + 0x40]
test eax, eax
lea ecx, [ebp - 0x118]
push ecx
push esi
push 0x4a0574
je 0x408af9
lea edx, [ebp - 0x320]
push edx
call edi
lea eax, [ebp - 0x320]
push eax
call fcn.004089e0
add esp, 0x14
jmp 0x408a60
lea edx, [ebp - 0x424]
push edx
call edi
add esp, 0x10
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x408a60
call sub.MFC71.DLL_CFileFind::Close
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
lea ecx, [ebp - 0x440]
mov dword [ebp - 4], 0xffffffff
je 0x408b53
call fcn.00496456
mov eax, 1
jmp 0x408b5a
call fcn.00496456
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00496ace
mov esp, ebp
pop ebp
ret
Function at 0x408b80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x498209
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
push edi
xor edi, edi
mov ecx, esi
mov dword [esp + 8], edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetManager]
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Concatenate]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x409400
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1f4
mov eax, dword [0x4bc410]
xor eax, ebp
mov edx, ecx
push edi
mov dword [esp + 0x1f4], eax
xor eax, eax
mov ecx, 0x7a
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
mov eax, dword [edx + 0x20]
mov ecx, dword [edx + 0x15c]
push str.config_menu.ini
lea edx, [esp + 8]
push 0x4bc618
push edx
mov dword [esp + 0x1b4], 3
mov dword [esp + 0x14], 0x1e8
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0x3f4
mov dword [esp + 0x20], 7
mov dword [esp + 0x24], 0x466
mov dword [esp + 0x28], ecx
call fcn.00401050
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 0x80
lea eax, [esp + 0x28]
push eax
push 0x4a0f3c
push str.abouttitle
push str.LIBMENU
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 8]
push ecx
push 0
mov byte [esp + 0xb0], 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov ecx, dword [esp + 0x1f4]
xor ecx, ebp
pop edi
call fcn.00496ace
mov esp, ebp
pop ebp
ret
Function at 0x4094e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1f8
mov eax, dword [0x4bc410]
xor eax, ebp
push esi
mov esi, dword [0x4bd134]
mov dword [esp + 0x1f8], eax
mov edx, ecx
xor eax, eax
push edi
mov ecx, 0x7a
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov eax, dword [edx + 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
test eax, eax
mov dword [esp + 0x1b0], 3
mov dword [esp + 0x10], 0x1e8
mov dword [esp + 0x18], 0x3f4
je 0x409553
test esi, esi
je 0x409553
mov dword [esp + 0x1c], 0x17
mov dword [esp + 0x1f4], 1
jmp 0x40955b
mov dword [esp + 0x1c], 7
mov ecx, dword [ebp + 8]
test ecx, ecx
mov dword [esp + 0x20], 0x466
jne 0x409570
mov ecx, dword [edx + 0x15c]
test eax, eax
mov dword [esp + 0x24], ecx
je 0x409614
test esi, esi
je 0x409614
push str.config_menu.ini
lea edx, [esp + 0x10]
push 0x4bc618
push edx
call fcn.00401050
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 0x40
lea eax, [esp + 0x1bc]
push eax
push 0x4a0f3c
push str.abouttitle
push str.LIBMENU
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x409607
mov ecx, eax
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4095e0
sub ecx, esi
mov dword [esp + 0xc], ecx
je 0x409607
lea edx, [esp + 0xb0]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4095f8
jmp 0x40969a
mov byte [esp + 0xb0], 0
jmp 0x40969a
mov eax, dword [ebp + 0xc]
test eax, eax
mov byte [esp + 0xb0], 0
mov byte [esp + 0x1b4], 0
je 0x409651
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x409630
sub ecx, esi
mov dword [esp + 0xc], ecx
je 0x409651
lea edx, [esp + 0x28]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x409645
jmp 0x40969a
push str.config_menu.ini
lea ecx, [esp + 0x10]
push 0x4bc618
push ecx
call fcn.00401050
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 0x80
lea edx, [esp + 0x30]
push edx
push 0x4a0f3c
push str.abouttitle
push str.LIBMENU
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea eax, [esp + 0x10]
push eax
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov ecx, dword [esp + 0x1fc]
pop edi
xor ecx, ebp
pop esi
call fcn.00496ace
mov esp, ebp
pop ebp
ret 0xc
Function at 0x414cb0
Capabilities:
Delete file

Disassembly:
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x3a4]
test eax, eax
jg 0x414cc3
xor eax, eax
pop ebx
ret 0xc
push ebp
lea ebp, [eax - 1]
test ebp, ebp
push esi
push edi
jl 0x414d27
lea ecx, [ecx]
test ebp, ebp
jl 0x414d88
cmp ebp, dword [ebx + 0x3a4]
jge 0x414d88
mov eax, dword [ebx + 0x3a0]
mov edi, dword [eax + ebp*4]
test edi, edi
je 0x414d24
mov esi, dword [esp + 0x14]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x414d1b
test cl, cl
je 0x414d17
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x414d1b
add eax, 2
add esi, 2
test cl, cl
jne 0x414cf7
xor eax, eax
jmp 0x414d20
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x414d30
dec ebp
jns 0x414cd0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0xc
mov eax, dword [edi + 0x238]
test eax, eax
je 0x414d27
mov ecx, dword [ebx + 0x160]
test ecx, ecx
je 0x414d4a
push edi
call fcn.00404670
lea esi, [edi + 0x128]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x18]
mov edx, esi
sub edx, eax
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x414d60
mov eax, dword [esp + 0x1c]
push edi
mov ecx, ebx
mov dword [edi + 0x27c], eax
call fcn.004123f0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0xc
call fcn.0049641a
int3
Function at 0x416b00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4990e1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x4bc410]
xor eax, esp
push ebp
push esi
push edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
cmp esi, ebp
mov dword [esp + 0x20], 1
je 0x416b61
lea ebx, [ebx]
push esi
lea ecx, [esp + 0x38]
call fcn.004154e0
add esi, 0x1c
cmp esi, ebp
jne 0x416b50
lea eax, [esp + 0x34]
push eax
mov ecx, edi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [esp + 0x50]
mov dword [edi + 0x1c], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0xc], 1
mov byte [esp + 0x20], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x18]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xc]
pop ebp
xor ecx, esp
call fcn.00496ace
add esp, 0x18
ret
Function at 0x41a4c0
Capabilities:
Access peb ldr_data
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x499599
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x28], ebx
call fcn.004344a0
mov ecx, eax
call sub.MFC71.DLL_CRuntimeClass::CreateObject
push ebx
push 0xe900
push esi
lea ecx, [esp + 0x1c]
push ecx
push 0x40000000
push str.m_pMsgHtmlView
mov dword [esi + 0x74], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov edx, dword [eax]
push ebx
mov ecx, eax
call dword [edx + 0x5c]
mov ecx, dword [esi + 0x74]
push ebx
call sub.MFC71.DLL_CWnd::ShowWindow
push str.configconfig.ini
lea edx, [esp + 0x10]
push 0x4bc618
push edx
call fcn.00401050
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 1
push str.WebAlarmShowbFlag
push 0x49fd90
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
lea ecx, [esp + 0xc]
setne byte [esp + 0xb]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [esi + 0x74]
mov eax, dword [eax + 0xec]
mov ecx, dword [eax]
xor edx, edx
cmp byte [esp + 0xb], bl
setne dl
dec edx
push edx
push eax
call dword [ecx + 0xf0]
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x44]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov ecx, dword [esi + 0x74]
push eax
call sub.MFC71.DLL_CHtmlView::Navigate2
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x20]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4