joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a790
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x476c20
push eax
mov dword fs:[0], esp
mov dword [esp + 8], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push eax
push 5
push ecx
push str.public
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [esp + 0x14]
cmp eax, 5
mov byte [esp + 8], 0
lea ecx, [esp + 0x10]
mov dword [edx], eax
jne 0x41a801
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 8], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp]
mov dword fs:[0], ecx
add esp, 0xc
ret 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 8], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0xc
ret 0xc
Function at 0x41b790
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x476e6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x518
push ebx
push ebp
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x322]
mov word [esp + 0x320], 0
rep stosd dword es:[edi], eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x103
stosw word es:[edi], ax
lea eax, [esp + 0x324]
push eax
push 0
call ebx
mov esi, dword [sym.imp.MSVCRT.dll_wcsrchr]
lea ecx, [esp + 0x320]
push 0x5c
push ecx
call esi
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x41b80e
lea edx, [esp + 0x320]
push 0x2f
push edx
call esi
add esp, 8
mov ebp, eax
mov word [ebp], 0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x11a]
mov word [esp + 0x118], 0
push 0x103
rep stosd dword es:[edi], eax
mov ecx, dword [0x4b69bc]
stosw word es:[edi], ax
lea eax, [esp + 0x11c]
push eax
push ecx
call ebx
mov edi, 2
lea edx, [esp + 0x118]
push 0x5c
push edx
call esi
add esp, 8
test eax, eax
jne 0x41b86d
lea eax, [esp + 0x118]
push 0x2f
push eax
call esi
add esp, 8
dec edi
mov word [eax], 0
jne 0x41b84b
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push str..config.ini
push 0
push str.Version
push 0x48e704
call ebx
mov ecx, eax
mov eax, 0x431bde83
mul ecx
mov esi, edx
mov eax, ecx
xor edx, edx
mov edi, 0xf4240
div edi
mov eax, 0xd1b71759
shr esi, 0x12
mul edx
mov edi, edx
mov eax, ecx
xor edx, edx
mov ecx, 0x2710
div ecx
lea ecx, [esp + 0x118]
lea eax, [ebp + 2]
push ecx
push 0xffffffffffffffff
push 0
push 0x804
push 1
push 1
shr edi, 0xd
push edx
push edi
push esi
lea edx, [esp + 0x344]
push eax
push edx
push eax
push 0x48e6f4
call fcn.004591e0
add esp, 0x34
lea eax, [esp + 0x118]
lea ecx, [esp + 0x10]
push eax
call fcn.0045702e
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x534], 0
stosb byte es:[edi], al
call sub.MFC42.DLL_CString::GetBuffer
push eax
push str._sconfigDynamicInfo.ini
lea ecx, [esp + 0x1c]
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea edx, [esp + 0x14]
push edx
push 0x2710
push 0x48e6cc
push 0x48e704
call ebx
push 0
push eax
call fcn.004598d0
add esp, 8
lea ecx, [esp + 0x10]
mov dword [esp + 0x530], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x518]
mov dword fs:[0], ecx
add esp, 0x524
ret
Function at 0x445100
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4788db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 8]
mov dword [esi], 0x47e318
call fcn.0045bb60
xor edi, edi
lea ecx, [esi + 0x34]
mov dword [esp + 0x14], edi
call fcn.0041c1c0
mov dword [esi + 0x44], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov ecx, 0x10
xor eax, eax
lea edi, [esi + 0x48]
mov dword [esi], 0x47e2f8
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xc]
mov dword [esi + 4], 1
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x447460
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x478ac8
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, ecx
mov ecx, dword [0x4b6680]
push edi
call fcn.00449a90
mov edi, eax
test edi, edi
jne 0x44749e
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x2c
ret
mov ecx, dword [0x4b6680]
call fcn.0044c490
mov ecx, dword [0x4b6680]
cmp byte [ecx + 0x2eec], al
je 0x4474ca
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x2c
ret
lea ecx, [esp + 0xc]
call fcn.0044ceb0
add edi, 0x8c
lea ecx, [esp + 0xc]
push edi
mov dword [esp + 0x34], 0
call fcn.0044d070
cmp dword [esi + 4], 4
jne 0x447524
push 0
push 0
mov ecx, esi
call fcn.00447b60
test eax, eax
jne 0x447524
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.0044ced0
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x2c
ret
mov ecx, dword [esp + 0x10]
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x24], esp
lea edx, [eax + 4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [edx + 0xc], ecx
mov cl, byte [esp + 0x3c]
mov byte [edx + 0x10], cl
mov edx, dword [esp + 0x40]
mov ecx, esi
mov dword [eax + 0x18], edx
mov dword [eax], 0x47e5f8
call fcn.00447d30
test eax, eax
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0xc]
jne 0x44758f
call fcn.0044ced0
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x2c
ret
call fcn.0044ced0
mov ecx, dword [esp + 0x28]
pop edi
mov eax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x2c
ret
Function at 0x447870
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x478b08
mov ecx, dword [0x4b6680]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push edi
call fcn.00449a60
test eax, eax
je 0x447979
mov ecx, dword [0x4b6680]
call fcn.00449a90
mov edi, eax
test edi, edi
je 0x447979
mov ecx, dword [0x4b6680]
call fcn.0044aa00
mov ecx, dword [0x4b6680]
mov byte [esp + 8], al
mov esi, dword [esp + 8]
push esi
call fcn.0044aa60
test eax, eax
je 0x447979
lea ecx, [esp + 0xc]
call fcn.0044ceb0
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0
call fcn.0044cff0
push esi
lea ecx, [esp + 0x10]
call fcn.0044cff0
push esi
lea ecx, [esp + 0x10]
call fcn.0044cff0
add edi, 0x8c
lea ecx, [esp + 0xc]
push edi
call fcn.0044cf20
test eax, eax
je 0x447968
mov eax, dword [0x4b6680]
mov edx, dword [eax + 0x2ca0]
mov esi, dword [eax + 0x2ca4]
mov ecx, dword [eax + 0x2ca8]
sub edx, esi
lea eax, [edx + ecx + 1]
xor edx, edx
div ecx
test edx, edx
jle 0x447968
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.0044ced0
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.0044ced0
mov ecx, dword [esp + 0x28]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x4479a0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x478b28
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, ecx
mov ecx, dword [0x4b6680]
push edi
call fcn.00449a90
mov edi, eax
test edi, edi
jne 0x4479de
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x2c
ret
mov ecx, dword [0x4b6680]
call fcn.0044c490
mov ecx, dword [0x4b6680]
cmp byte [ecx + 0x2eec], al
jne 0x447a0a
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x2c
ret
lea ecx, [esp + 0xc]
call fcn.0044ceb0
add edi, 0x8c
lea ecx, [esp + 0xc]
push edi
mov dword [esp + 0x34], 0
call fcn.0044d070
mov ecx, dword [0x4b6680]
call fcn.0044aa00
push eax
lea ecx, [esp + 0x10]
call fcn.0044cff0
cmp dword [esi + 4], 4
jne 0x447a83
mov ecx, dword [0x4b6680]
call fcn.0044aa00
push eax
push 0
mov ecx, esi
call fcn.00447b60
test eax, eax
jne 0x447a83
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.0044ced0
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x2c
ret
mov ecx, dword [esp + 0x10]
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x24], esp
lea edx, [eax + 4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [edx + 0xc], ecx
mov cl, byte [esp + 0x3c]
mov byte [edx + 0x10], cl
mov edx, dword [esp + 0x40]
mov ecx, esi
mov dword [eax + 0x18], edx
mov dword [eax], 0x47e5f8
call fcn.00447d30
test eax, eax
jne 0x447aee
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.0044ced0
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x2c
ret
push 0x48f400
push 1
call fcn.00453f30
mov edx, dword [0x4b6680]
xor ecx, ecx
add esp, 8
mov dword [esp + 0x30], 0xffffffff
mov cl, byte [edx + 0x2eec]
mov eax, ecx
shl eax, 5
sub eax, ecx
lea eax, [eax + eax*2]
mov ecx, dword [edx + eax*4 + 0x140]
cmp ecx, 1
lea ecx, [esp + 0xc]
jne 0x447b45
call fcn.0044ced0
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x2c
ret
call fcn.0044ced0
mov ecx, dword [esp + 0x28]
pop edi
mov eax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x2c
ret
Function at 0x449690
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x478d6f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ecx, [esi + 0x38]
call fcn.00431b00
push fcn.00446ec0
push fcn.00446e20
lea ebp, [esi + 0xb8]
push 6
xor ebx, ebx
push 0x174
push ebp
mov dword [esp + 0x30], ebx
call fcn.00457342
push fcn.00446ec0
push fcn.00446e20
push 0x18
lea eax, [esi + 0x970]
push 0x174
push eax
mov byte [esp + 0x30], 1
call fcn.00457342
lea ecx, [esi + 0x3450]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CToolTipCtrl::CToolTipCtrl
push sub.MFC42.DLL_CString::CString
push sub.MFC42.DLL_CString::CString_1
push 6
lea ecx, [esi + 0x34c0]
push 4
push ecx
mov byte [esp + 0x30], 3
call fcn.00457342
push sub.MFC42.DLL_CString::CString
push sub.MFC42.DLL_CString::CString_1
push 6
lea edx, [esi + 0x3610]
push 4
push edx
mov byte [esp + 0x30], 4
call fcn.00457342
mov ecx, esi
mov byte [esp + 0x1c], 5
mov dword [esi], 0x47e724
call fcn.0044b0d0
mov dword [esi + 0x2c54], ebx
mov byte [esi + 0x2f22], bl
mov dword [esi + 0x2ef0], ebx
mov ecx, 0x93
xor eax, eax
lea edi, [esi + 0x2ca0]
mov byte [esi + 0x2eec], bl
mov byte [esi + 0x2f20], bl
mov byte [esi + 0x2f21], bl
mov byte [esi + 0x3500], bl
mov dword [esi + 0x34dc], ebx
lea edx, [esi + 0x514]
rep stosd dword es:[edi], eax
lea eax, [esi + 0x22c]
lea ecx, [esi + 0x3a0]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ecx
lea eax, [esi + 0x688]
lea ecx, [esi + 0x7fc]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x2ca8], 0x6c
mov dword [esi + 8], ebp
mov dword [esi + 0x14], edx
mov dword [esi + 0x34f4], ebx
mov ecx, 0x55
xor eax, eax
lea edi, [esi + 0x2f44]
rep stosd dword es:[edi], eax
mov ecx, 0x10
lea edi, [esi + 0x3098]
mov byte [esi + 0x2f45], 0x1c
rep stosd dword es:[edi], eax
mov ecx, 0xd7
lea edi, [esi + 0x30d8]
rep stosd dword es:[edi], eax
mov ecx, esi
mov byte [esi + 0x34fe], bl
call fcn.0044bbf0
mov edx, 1
mov dword [esi + 0x3434], ebx
mov dword [esi + 0x34e8], ebx
mov dword [esi + 0x2c50], edx
mov dword [esi + 0x34ac], ebx
mov dword [esi + 0x34b0], ebx
mov dword [esi + 0x34b4], ebx
mov dword [esi + 4], ebx
lea eax, [esi + 0x35f4]
mov ecx, 6
mov dword [eax - 0x18], ebx
mov dword [eax], ebx
mov dword [eax + 0x7c], ebx
mov dword [eax - 0x35d4], ebx
add eax, 4
dec ecx
jne 0x449850
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x362c], ebx
mov byte [esi + 0x3628], bl
mov dword [esi + 0x2f0c], ebx
mov dword [esi + 0x2f10], ebx
mov dword [esi + 0x3630], ebx
mov dword [esi + 0x3664], ebx
mov dword [esi + 0x3668], ebx
mov dword [esi + 0x366c], ebx
mov dword [esi + 0x368c], edx
mov dword [esi + 0x3690], ebx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x44e830
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4790db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], esi
call fcn.004168d0
xor ebx, ebx
mov dword [esp + 0x6c], ebx
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push eax
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CMenu::Attach
mov eax, 0x557d02
add esi, 0x11c
mov dword [esp + 0x38], eax
mov dword [esp + 0x54], eax
mov eax, 0xacdaf2
mov dword [esp + 0x3c], 0x4d521d
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x60], 2
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], esi
push 0x1c
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
cmp esi, ebx
mov byte [esp + 0x6c], 1
je 0x44e911
mov eax, dword [esp + 0x14]
lea edi, [esi + 0x10]
mov ecx, edi
mov ebp, dword [eax]
call sub.MFC42.DLL_CString::CString_1
mov dword [esi + 4], 0x505a0a0
mov byte [esi + 0xc], bl
mov byte [esi + 0xd], bl
mov byte [esi + 0xe], bl
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], 0x10
mov ecx, dword [esp + 0x10]
push ebp
add ecx, 0x12c
mov byte [esp + 0x70], 2
mov dword [esi + 8], ecx
mov ecx, edi
mov dword [esi], 0x47eba0
call sub.MFC42.DLL_CString::operator_1
mov dword [esi + 0x14], ebx
jmp 0x44e913
xor esi, esi
push ebx
push esi
push ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], bl
call fcn.00418270
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
inc eax
add edx, 4
cmp eax, 7
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jl 0x44e8a9
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ebx
push eax
push ecx
push edx
push 0x42
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CMenu::TrackPopupMenu
lea ecx, [esp + 0x28]
mov dword [esp + 0x6c], 0xffffffff
call fcn.004169d0
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret
Function at 0x44e9e0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47911b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push ebp
mov dword [esp + 0x10], ecx
push esi
push edi
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CImageList::CImageList
push 1
push 0x32
push 0x19
xor ebx, ebx
push 0x14
push 0x14
lea ecx, [esp + 0x3c]
mov dword [esp + 0x90], ebx
call sub.MFC42.DLL_CImageList::Create
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], 0x47c270
push 0x8f
push 2
push 0x8f
mov byte [esp + 0x88], 1
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CGdiObject::Attach
mov ebp, dword [esp + 0x24]
lea eax, [esp + 0x20]
neg eax
sbb eax, eax
push 0x808000
and eax, ebp
push eax
mov eax, dword [esp + 0x34]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x38]
call fcn.004168d0
mov byte [esp + 0x7c], 2
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CMenu::Attach
mov eax, 0xf8f8f8
xor edi, edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x4c], 0xf2f2f2
mov dword [esp + 0x70], 2
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 5
push 0x1c
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
cmp esi, ebx
mov byte [esp + 0x7c], 3
je 0x44eb28
mov ecx, dword [esp + 0x2c]
push ebx
push edi
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
lea ecx, [esi + 0x10]
mov ebp, eax
call sub.MFC42.DLL_CString::CString_1
lea edx, [edi + 0x190]
mov dword [esi + 4], 0x505a0a0
mov byte [esi + 0xc], bl
mov byte [esi + 0xd], bl
mov dword [esi + 0x18], 0x10
mov dword [esi], 0x47eba4
mov dword [esi + 8], edx
mov byte [esi + 0xe], 1
mov dword [esi + 0x14], ebp
jmp 0x44eb2a
xor esi, esi
push ebx
push esi
push ebx
lea ecx, [esp + 0x44]
mov byte [esp + 0x88], 2
mov dword [esi + 0x18], 0x14
call fcn.00418270
mov eax, dword [esp + 0x10]
add edi, 0xa
dec eax
mov dword [esp + 0x10], eax
jne 0x44eacc
lea ecx, [esp + 0x38]
call fcn.004184e0
mov edi, dword [esp + 0x14]
inc edi
cmp edi, 0xa
mov dword [esp + 0x14], edi
jl 0x44eac4
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push ebx
push ecx
push edx
push eax
push 0x62
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CMenu::TrackPopupMenu
lea ecx, [esp + 0x38]
mov byte [esp + 0x7c], 1
call fcn.004169d0
mov dword [esp + 0x20], 0x47bc6c
lea ecx, [esp + 0x20]
mov byte [esp + 0x7c], 4
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0x47bc58
mov dword [esp + 0x7c], 0xffffffff
call fcn.00457280
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x70
ret
Function at 0x4537e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x479508
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x30]
push ebx
push ebp
push esi
mov dword [esp + 0xc], ecx
lea ebp, [ecx + 4]
mov ecx, dword [esp + 0x38]
push edi
push eax
push ecx
mov ecx, ebp
call fcn.00401270
test eax, eax
je 0x453932
mov ecx, ebp
call fcn.004012c0
mov ecx, ebp
mov esi, eax
call fcn.004012f0
xor ebx, ebx
mov edi, eax
cmp esi, ebx
jle 0x453932
cmp edi, ebx
jle 0x453932
lea ecx, [esp + 0x1c]
call fcn.00456b06
push ebx
mov dword [esp + 0x38], ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CDC::Attach
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], 0x47c270
mov eax, esi
push edi
cdq
and edx, 3
mov byte [esp + 0x38], 1
add eax, edx
mov edx, dword [esp + 0x24]
mov esi, eax
sar esi, 2
push esi
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CGdiObject::Attach
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
neg eax
sbb eax, eax
and eax, ecx
push eax
mov eax, dword [esp + 0x24]
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
push edi
push esi
lea ecx, [esi + esi*2]
push 0
push ecx
push 0
lea edx, [esp + 0x30]
push 0
push edx
mov ecx, ebp
mov ebx, eax
call fcn.00401320
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
push 0
push eax
push ecx
call fcn.0045899e
mov edx, dword [esp + 0x1c]
add esp, 0xc
test ebx, ebx
mov dword [edx + 0x34], eax
je 0x4538e8
mov ebx, dword [ebx + 4]
mov eax, dword [esp + 0x20]
push ebx
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x14], 0x47bc6c
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0x47bc58
mov dword [esp + 0x34], 0xffffffff
call sub.MFC42.DLL_CDC::CDC
mov eax, 1
jmp 0x453934
xor eax, eax
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x457d39
Capabilities:
Get file version info

Disassembly:
mov eax, 0x479748
call fcn.00473a88
sub esp, 0x24
push esi
push edi
xor edi, edi
push edi
mov dword [ebp - 4], edi
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
lea ecx, [ebp - 0x18]
mov esi, eax
call sub.MFC42.DLL_CString::CString_1
cmp esi, edi
mov byte [ebp - 4], 1
jne 0x457d70
or esi, 0xffffffff
jmp 0x457df3
lea eax, [esi + 2]
push ebx
push eax
call sub.MFC42.DLL_operatornew
pop ecx
mov dword [ebp - 0x10], eax
push eax
push esi
push edi
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x48e804
push dword [ebp - 0x10]
call sub.VERSION.dll_VerQueryValueA
mov ecx, dword [ebp - 0x14]
push 0x64
xor edx, edx
pop ebx
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov esi, eax
mov edi, ecx
and eax, 0xffff
push dword [ebp - 0x10]
shr edi, 0x10
mov dword [ebp - 0x2c], eax
mov eax, edi
div ebx
and ecx, 0xffff
shr esi, 0x10
mov dword [ebp - 0x20], ecx
mov ebx, eax
imul eax, eax, 0x64
sub edi, eax
call sub.MFC42.DLL_operatordelete
imul esi, esi, 0x64
add esi, dword [ebp - 0x2c]
pop ecx
lea eax, [esi + esi*4]
lea esi, [ebx + eax*2]
pop ebx
imul esi, esi, 0x64
add esi, edi
imul esi, esi, 0x64
add esi, dword [ebp - 0x20]
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x459580
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [0x4b7028]
sub esp, 0x208
cmp dword [eax + 0x1c], 0x2710
ja 0x4595fa
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 6]
mov word [esp + 4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x4b701c]
pop edi
test eax, eax
jne 0x4595ba
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
push str._s....configDynamicInfo.ini
lea ecx, [esp + 8]
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov eax, dword [0x4b7028]
add esp, 0x10
lea edx, [esp]
mov ecx, dword [eax + 0x1c]
push edx
push ecx
push str.LastQQUin
push str.Public
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [0x4b7028]
mov dword [edx + 0x1c], eax
add esp, 0x208
ret