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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 0
je 0x46edfe
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
push 0x16
lea eax, [ebp - 0x10]
pop ebx
and dword [ebp - 0xc], 0
push eax
lea eax, [edi + 0x28]
push eax
mov esi, str.MainWindow
push str.MinBoxRect
push esi
push dword [ebp + 0xc]
mov dword [ebp - 0x10], 0xffffffa6
mov dword [ebp - 8], 0xffffffc1
mov dword [ebp - 4], ebx
call fcn.0046d9b8
lea eax, [ebp - 0x10]
and dword [ebp - 0xc], 0
push eax
lea eax, [edi + 0x40]
push eax
push str.MaxBoxRect
push esi
mov dword [ebp - 0x10], 0xffffffc1
push dword [ebp + 0xc]
mov dword [ebp - 8], 0xffffffdc
mov dword [ebp - 4], ebx
call fcn.0046d9b8
lea eax, [ebp - 0x10]
and dword [ebp - 0xc], 0
push eax
lea eax, [edi + 0x70]
push eax
push str.CloseBoxRect
push esi
mov dword [ebp - 0x10], 0xffffffdc
push dword [ebp + 0xc]
mov dword [ebp - 8], 0xfffffff7
mov dword [ebp - 4], ebx
call fcn.0046d9b8
add esp, 0x3c
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push dword [ebp + 0xc]
push 0
push str.RoundTopLeftX
push esi
call ebx
push dword [ebp + 0xc]
mov dword [edi], eax
push 0
push str.RoundTopLeftY
push esi
call ebx
push dword [ebp + 0xc]
mov dword [edi + 4], eax
push 0
push str.RoundTopRightX
push esi
call ebx
push dword [ebp + 0xc]
mov dword [edi + 8], eax
push 0
push str.RoundTopRightY
push esi
call ebx
push dword [ebp + 0xc]
mov dword [edi + 0xc], eax
push 0
push str.RoundBottomLeftX
push esi
call ebx
push dword [ebp + 0xc]
mov dword [edi + 0x10], eax
push 0
push str.RoundBottomLeftY
push esi
call ebx
mov dword [edi + 0x14], eax
push dword [ebp + 0xc]
push 0
push str.RoundBottomRightX
push esi
call ebx
push dword [ebp + 0xc]
mov dword [edi + 0x18], eax
push 0
push str.RoundBottomRightY
push esi
call ebx
mov dword [edi + 0x1c], eax
pop edi
pop esi
pop ebx
push 1
pop eax
leave
ret

Function at 0x46ee43
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
je 0x46eea8
push dword [ebp + 0xc]
mov esi, str.CategoryTree
push ebx
push str.custom_draw
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edi, dword [ebp + 0x10]
cmp eax, ebx
mov dword [edi], eax
je 0x46eead
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
push 0xd
call ebx
push eax
push str.hot_bk
push esi
push dword [ebp + 0xc]
call fcn.0046d8da
add esp, 0x10
mov dword [edi + 4], eax
push 0xe
call ebx
push eax
push 0x5037b4
push esi
push dword [ebp + 0xc]
call fcn.0046d8da
add esp, 0x10
mov dword [edi + 8], eax
jmp 0x46eead
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
push 1
pop eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x46eeb5
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
call fcn.0046daf9
mov esi, dword [ebp + 0xc]
mov edi, str.MainToolBar
push dword [esi + 4]
mov dword [esi], eax
push 0x503730
push edi
push ebx
call fcn.0046d8da
push dword [esi + 8]
mov dword [esi + 4], eax
push 0x503738
push edi
push ebx
call fcn.0046d8da
add esp, 0x24
mov dword [esi + 8], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0
push str.text_option
push edi
call ebx
push dword [esi + 0x18]
mov dword [esi + 0x24], eax
push 0x503764
push edi
push dword [ebp + 8]
call fcn.0046d8da
push dword [esi + 0xc]
mov dword [esi + 0x18], eax
push 0x50376c
push edi
push dword [ebp + 8]
call fcn.0046d8da
push dword [esi + 0x10]
mov dword [esi + 0xc], eax
push 0x503774
push edi
push dword [ebp + 8]
call fcn.0046d8da
push dword [esi + 0x14]
mov dword [esi + 0x10], eax
push str.disable_text
push edi
push dword [ebp + 8]
call fcn.0046d8da
add esp, 0x40
mov dword [esi + 0x14], eax
push dword [ebp + 8]
push 0x18
push str.btn_width
push edi
call ebx
push dword [ebp + 8]
mov dword [esi + 0x1c], eax
push 0x2d
push 0x50375c
push edi
call ebx
push 1
mov dword [esi + 0x20], eax
pop eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x46ef84
Capabilities:
Read .ini file

Disassembly:
push ebx
push ebp
mov ebx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, str.MainMenuBar
push dword [esi + 0xc]
push 0x5037f4
push edi
push ebx
call fcn.0046d8da
push dword [esi + 0x10]
mov dword [esi + 0xc], eax
push 0x503738
push edi
push ebx
call fcn.0046d8da
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esp, 0x20
mov dword [esi + 0x10], eax
push ebx
push 0
push str.UseItemColor
push edi
call ebp
test eax, eax
mov dword [esi + 4], eax
je 0x46f05c
push dword [esi + 8]
push 0x5037ec
push edi
push ebx
call fcn.0046d8da
push dword [esi + 0x14]
mov dword [esi + 8], eax
push str.hot_border
push edi
push ebx
call fcn.0046d8da
push dword [esi + 0x18]
mov dword [esi + 0x14], eax
push str.hot_item
push edi
push ebx
call fcn.0046d8da
push dword [esi + 0x1c]
mov dword [esi + 0x18], eax
push str.hot_text
push edi
push ebx
call fcn.0046d8da
add esp, 0x40
mov dword [esi + 0x1c], eax
push dword [esi + 0x20]
push str.sel_border
push edi
push ebx
call fcn.0046d8da
push dword [esi + 0x24]
mov dword [esi + 0x20], eax
push str.sel_item
push edi
push ebx
call fcn.0046d8da
push dword [esi + 0x28]
mov dword [esi + 0x24], eax
push 0x503844
push edi
push ebx
call fcn.0046d8da
add esp, 0x30
mov dword [esi + 0x28], eax
push ebx
push 0x15
push 0x5037dc
push edi
call ebp
push dword [esi + 0x2c]
mov dword [esi], eax
push str.chevron
push edi
push ebx
call fcn.0046d8da
add esp, 0x10
mov dword [esi + 0x2c], eax
push 1
pop eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x46f086
Capabilities:
Read .ini file

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, str.MainStatusBar
push dword [esi]
push str.bk_top
push edi
push ebx
call fcn.0046d8da
push dword [esi + 4]
mov dword [esi], eax
push str.bk_bottom
push edi
push ebx
call fcn.0046d8da
push dword [esi + 0xc]
mov dword [esi + 4], eax
push 0x50387c
push edi
push ebx
call fcn.0046d8da
push eax
push str.border
push edi
push ebx
mov dword [esi + 0xc], eax
call fcn.0046d8da
add esp, 0x40
mov dword [esi + 8], eax
push ebx
push 0x1c
push str.height
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 1
mov dword [esi + 0x10], eax
pop eax
pop edi
pop esi
pop ebx
ret

Function at 0x472d0d
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x4ed816
call fcn.004e1580
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [edi]
lea ecx, [esi + 4]
mov dword [esi], eax
lea eax, [edi + 4]
push eax
call sub.MFC42.DLL_CString::CString_1
and dword [ebp - 4], 0
lea eax, [edi + 8]
push eax
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::CString_1
lea eax, [edi + 0xc]
lea ecx, [esi + 0xc]
push eax
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [edi + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x472fec
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4ed874
call fcn.004e1580
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [edi + 4]
and dword [ebp - 4], 0
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x30]
add edi, 0x34
lea ecx, [esi + 0x34]
push edi
mov dword [esi + 0x30], eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x47a558
Capabilities:
Parse credit card information

Disassembly:
mov eax, 0x4ee5a7
call fcn.004e1580
sub esp, 0xc
and dword [ebp - 0x18], 0
push esi
push edi
push 0x52fdc0
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_4
push 1
xor esi, esi
cmp dword [ebp + 0x10], esi
pop edi
mov dword [ebp - 4], edi
jbe 0x47a61d
mov eax, dword [ebp + 0xc]
mov al, byte [esi + eax]
cmp al, 0x25
mov byte [ebp - 0x14], al
jne 0x47a5a5
push 0x52d30c
lea ecx, [ebp - 0x10]
call fcn.004e090c
jmp 0x47a613
cmp al, 0x2b
jne 0x47a5b0
push 0x52d308
jmp 0x47a59b
cmp al, 0x20
jne 0x47a5bb
push 0x52d304
jmp 0x47a59b
cmp al, 0x3d
jne 0x47a5c6
push 0x52d300
jmp 0x47a59b
cmp al, 0x26
jne 0x47a5d1
push 0x52d2fc
jmp 0x47a59b
cmp al, 0x3f
jne 0x47a5dc
push 0x52d2f8
jmp 0x47a59b
cmp al, 0x2f
jne 0x47a5e7
push 0x52d2f4
jmp 0x47a59b
cmp al, 0x5c
jne 0x47a5f2
push 0x52d2f0
jmp 0x47a59b
cmp al, 0xd
jne 0x47a5fd
push 0x52d2ec
jmp 0x47a59b
cmp al, 0xa
jne 0x47a608
push 0x52d2e8
jmp 0x47a59b
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.004e072c
inc esi
cmp esi, dword [ebp + 0x10]
jb 0x47a589
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x18], edi
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x47ad0b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0xac], 0
je 0x47ae20
mov eax, dword [ebp + 8]
cmp dword [esi + 0xa4], eax
je 0x47ae20
cmp dword [esi + 0xa8], eax
je 0x47ae20
lea edi, [esi + 0x1c]
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.0047c5a0
test eax, eax
jne 0x47ae20
lea eax, [ebp + 8]
lea ecx, [esi + 0x54]
push eax
call fcn.0047c5a0
test eax, eax
jne 0x47ae20
mov eax, dword [ebp + 8]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
push dword [ebp + 8]
mov ecx, edi
call fcn.0047c539
cmp dword [esi + 0x9c], 0
mov edi, dword [sym.imp.MSVCRT.dll__beginthreadex]
mov ebx, str.ComThunder
jne 0x47adbe
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x47a68a
push 0x200000
push 0
call edi
push dword [ebp - 4]
mov dword [esi + 0x9c], eax
push str._QueryRecommendThread
push str.CTaskFailQuery
push ebx
call fcn.004d4ea3
add esp, 0x28
push dword [esi + 0x8c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
push dword [ebp + 8]
lea ecx, [esi + 0x54]
call fcn.0047c539
xor eax, eax
cmp dword [esi + 0xa0], eax
jne 0x47ae13
lea ecx, [ebp - 4]
push ecx
push eax
push esi
push 0x47a7bb
push eax
push eax
call edi
push dword [ebp - 4]
mov dword [esi + 0xa0], eax
push str._QueryKeywordThread
push str.CTaskFailQuery
push ebx
call fcn.004d4ea3
add esp, 0x28
push dword [esi + 0x90]
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop ebx
pop edi
pop esi
leave
ret 4
Function at 0x47bd8d
Capabilities:
Check http status code

Disassembly:
mov eax, 0x4ee824
call fcn.004e1580
sub esp, 0x898
push ebx
push esi
mov esi, dword [ecx + 0x98]
push edi
call fcn.004164d3
xor ebx, ebx
cmp dword [eax], ebx
je 0x47bf51
push ebx
push ebx
push ebx
push ebx
push esi
call dword [eax + 0x34]
mov esi, eax
cmp esi, ebx
je 0x47bf51
mov edi, 0x4e20
mov dword [ebp - 0x10], edi
call fcn.004164d3
cmp dword [eax], ebx
je 0x47bde4
lea ecx, [ebp - 0x10]
push 4
push ecx
push 2
push esi
call dword [eax + 0x60]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], edi
call fcn.004164d3
cmp dword [eax], ebx
je 0x47be02
lea ecx, [ebp - 0x10]
push 4
push ecx
push 5
push esi
call dword [eax + 0x60]
mov dword [ebp - 0x10], edi
call fcn.004164d3
cmp dword [eax], ebx
je 0x47be1a
lea ecx, [ebp - 0x10]
push 4
push ecx
push 6
push esi
call dword [eax + 0x60]
mov eax, dword [ebp + 8]
mov edi, dword [eax]
call fcn.004164d3
cmp dword [eax], ebx
je 0x47bf44
push 0x84200100
push ebx
push ebx
push edi
push esi
call dword [eax + 0x38]
cmp eax, ebx
je 0x47bf44
push 0x1f
xor eax, eax
pop ecx
lea edi, [ebp - 0xa3]
mov byte [ebp - 0xa4], bl
mov dword [ebp - 0x14], 0x80
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.004164d3
cmp dword [eax], ebx
je 0x47bf44
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0xa4]
push ecx
push 0x13
push esi
call dword [eax + 0x44]
cmp eax, ebx
je 0x47bf44
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
cmp eax, 0xc8
pop ecx
jne 0x47bf44
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CFile::CFile
push ebx
push 0x1011
push dword [0x531828]
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x47bf32
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x8a3]
mov byte [ebp - 0x8a4], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp + 8], ebx
call fcn.004164d3
cmp dword [eax], ebx
je 0x47bf14
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x8a4]
push 0x800
push ecx
push esi
call dword [eax + 0x58]
cmp eax, ebx
je 0x47bf14
cmp dword [ebp + 8], ebx
je 0x47bf14
push dword [ebp + 8]
lea eax, [ebp - 0x8a4]
lea ecx, [ebp - 0x24]
push eax
call sub.MFC42.DLL_CFile::Write
jmp 0x47beda
call fcn.004164d3
cmp dword [eax], ebx
je 0x47bf21
push esi
call dword [eax + 0x64]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004e0bc4
push 1
pop eax
jmp 0x47bf53
call dword [sym.imp.KERNEL32.dll_GetLastError]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004e0bc4
call fcn.004164d3
cmp dword [eax], ebx
je 0x47bf51
push esi
call dword [eax + 0x64]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x48b346
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4eff73
call fcn.004e1580
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004e0720
xor edi, edi
mov ebx, 0x505b38
mov dword [ebp - 4], edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 1
call fcn.0048a99d
mov ecx, dword [ebp - 0xc]
lea eax, [esi + 0x98]
mov dword [eax], ebx
mov dword [eax + 4], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0xc], edi
mov dword [eax + 8], edi
mov dword [esi + 0xac], 0x505b14
mov dword [esi], 0x505abc
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x48ee30
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4f058c
call fcn.004e1580
sub esp, 0x5c
push ebx
push esi
xor ebx, ebx
push 0x44
lea eax, [ebp - 0x68]
push ebx
mov esi, ecx
push eax
call sub.MSVCRT.dll_memset
push 0x10
lea eax, [ebp - 0x24]
push ebx
push eax
mov dword [ebp - 0x68], 0x44
call sub.MSVCRT.dll_memset
add esp, 0x18
add esi, 0x174
lea ecx, [ebp - 0x14]
push esi
call sub.MFC42.DLL_CString::CString_1
lea eax, [ebp - 0x10]
push 6
push eax
mov dword [ebp - 4], ebx
call fcn.0041aab4
pop ecx
pop ecx
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 1
push dword [ebp - 0x10]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call sub.MFC42.DLL_CString::GetBuffer
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x48eed1
push dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x24]
call esi
call fcn.00499c14
mov ecx, dword [eax]
push 1
pop esi
push esi
push eax
call dword [ecx + 0xc0]
jmp 0x48eed3
xor esi, esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4931bd
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
mov eax, 0x4f0bbd
call fcn.004e1580
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004e0720
push 0xa
xor edi, edi
pop ecx
mov dword [ebp - 4], edi
mov dword [esi + 0x38], 0x506488
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], ecx
mov dword [esi + 0x54], 0x506474
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], ecx
lea eax, [esi + 0x70]
mov edx, 0x506460
mov dword [eax], edx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax + 8], edi
mov dword [eax + 4], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], ecx
lea eax, [esi + 0x8c]
mov dword [eax], edx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax + 8], edi
mov dword [eax + 4], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], ecx
lea ebx, [esi + 0xb0]
mov dword [esi + 0xa8], 0x50644c
mov ecx, ebx
mov byte [ebp - 4], 4
mov dword [esi + 0xac], 0x506434
call fcn.004a0431
mov dword [ebx], 0x5063c8
mov dword [ebx + 0x20], 0xb0
mov ecx, esi
mov byte [ebp - 4], 5
mov dword [esi], 0x506368
call sub.MFC42.DLL_CCmdTarget::EnableConnections
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x30], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x34], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4a0c0c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
cmp dword [esi + 0xe0], 0
je 0x4a0c62
mov ebp, dword [esi + 0x4c]
mov ebx, dword [esi + 0x48]
call sub.MFC42.DLL_AfxGetModuleState
mov edi, dword [eax + 0xc]
mov eax, dword [esi + 0x44]
test eax, eax
je 0x4a0c51
push 5
push eax
call sub.MFC42.DLL_AfxFindResourceHandle
push 5
mov edi, eax
push dword [esi + 0x44]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4a0c5e
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
jne 0x4a0c6a
or eax, 0xffffffff
jmp 0x4a0d4c
mov ecx, esi
call sub.MFC42.DLL_CDialog::PreModal
mov ebx, eax
call sub.MFC42.DLL_AfxUnhookWindowCreate
and dword [esp + 0x10], 0
test ebx, ebx
je 0x4a0c9d
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4a0c9d
push 0
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x10], 1
push esi
call sub.MFC42.DLL_AfxHookWindowCreate
push edi
push ebx
call sub.MFC42.DLL_CWnd::FromHandle
push eax
push ebp
mov ecx, esi
call sub.MFC42.DLL_CWnd::CreateDlgIndirect
test eax, eax
je 0x4a0d14
test byte [esi + 0x28], 0x10
je 0x4a0cfa
movzx eax, word [esi + 0xf4]
shl eax, 0x10
or al, 1
xor ebp, ebp
push eax
push ebp
push 0x401
push dword [esi + 0xc0]
call dword [sym.imp.USER32.dll_SendMessageA]
push 4
mov ecx, esi
pop edi
call sub.MFC42.DLL_CWnd::GetStyle
test ah, 1
je 0x4a0cf0
push 5
pop edi
push edi
mov ecx, esi
call fcn.004a0972
jmp 0x4a0cfc
xor ebp, ebp
cmp dword [esi + 0x20], ebp
je 0x4a0d16
push 0x97
push ebp
push ebp
push ebp
push ebp
push ebp
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetWindowPos
jmp 0x4a0d16
xor ebp, ebp
cmp dword [esp + 0x10], ebp
je 0x4a0d25
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
cmp ebx, ebp
je 0x4a0d3b
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x4a0d3b
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call sub.MFC42.DLL_CDialog::PostModal
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4bd421
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push edi
xor edi, edi
mov dword [esi], edi
mov eax, dword [ecx + 0x11c]
cmp eax, edi
mov dword [ebp - 4], ecx
jle 0x4bd45f
cmp eax, 2
jle 0x4bd44d
cmp eax, 4
jg 0x4bd45f
mov dword [ebx], edi
jmp 0x4bd45f
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
neg al
sbb eax, eax
inc eax
mov dword [ebx], eax
cmp dword [ebp + 0x10], edi
je 0x4bd47f
cmp dword [ebx], edi
je 0x4bd483
push 0xffffffffffffffff
push 0x24
push 0x8198
call sub.MFC42.DLL_AfxMessageBox_1
cmp eax, 6
je 0x4bd47f
xor eax, eax
jmp 0x4bd4c8
cmp dword [ebx], edi
jne 0x4bd4c5
push edi
push str.DeleteHint
push str.Other
call fcn.00430e04
mov ecx, eax
call fcn.00431542
push 0x24
push esi
push 0x8159
push 0x8158
mov dword [esi], eax
call fcn.00462705
mov ecx, dword [ebp - 4]
add esp, 0x10
mov esi, eax
call sub.MFC42.DLL_CWnd::SetFocus
xor eax, eax
cmp esi, 6
sete al
jmp 0x4bd4c8
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4c7a0e
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4f5d89
call fcn.004e1580
sub esp, 0x220
push ebx
push esi
push edi
and byte [ebp - 0x124], 0
push 1
xor eax, eax
pop edx
lea edi, [ebp - 0x123]
push 0x41
mov dword [ebp - 0x1c], edx
pop ecx
mov dword [ebp - 0x18], 0x104
rep stosd dword es:[edi], eax
mov ecx, dword [0x53378c]
test ecx, ecx
je 0x4c7a59
mov eax, dword [ecx]
push edx
call dword [eax + 4]
and dword [0x53378c], 0
lea eax, [ebp - 0x18]
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x1c]
push eax
push str.Path
mov ebx, reloc.BugReport.dll_Ordinal_2
push str.SOFTWAREThunder_NetworkXmp
push ebx
call esi
test eax, eax
jne 0x4c7b86
lea eax, [ebp - 0x124]
push eax
call fcn.004d1ec8
test eax, eax
pop ecx
je 0x4c7b86
push 0xc
call sub.MFC42.DLL_operatornew
pop ecx
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
test eax, eax
je 0x4c7ab9
mov ecx, eax
call fcn.004c7b9a
jmp 0x4c7abb
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [0x53378c], eax
lea eax, [ebp - 0x124]
lea ecx, [ebp - 0x14]
push eax
call sub.MFC42.DLL_CString::CString_4
push 0x22
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 1
call sub.MFC42.DLL_CString::TrimLeft_2
push 0x22
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::TrimRight_1
mov ecx, dword [0x53378c]
lea eax, [ebp - 0x14]
push eax
call fcn.004c7c58
and byte [ebp - 0x22c], 0
push 0x41
pop ecx
xor eax, eax
lea edi, [ebp - 0x22b]
mov dword [ebp - 0x18], 0x104
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x1c]
push eax
push str.Format
push str.SOFTWAREThunder_NetworkXmp
push ebx
call esi
test eax, eax
jne 0x4c7b7a
lea eax, [ebp - 0x22c]
lea ecx, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::CString_4
push 0x22
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::TrimLeft_2
push 0x22
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::TrimRight_1
mov ecx, dword [0x53378c]
lea eax, [ebp - 0x10]
push eax
call fcn.004c7c67
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, dword [0x53378c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret