joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4938d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp - 0x48]
cmp dword [eax + 0x60], 0
jne 0x493a53
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x40], 0x492800
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
call fcn.0040df80
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0x516c7c
lea edx, [ebp - 0x44]
push edx
call dword [sym.imp.USER32.dll_RegisterClassA]
movzx eax, ax
test eax, eax
jne 0x493946
call sub.MFC71.DLL_AfxThrowResourceException
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x1c], eax
push 8
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 4], eax
push 0xa
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [ebp - 0x14]
call fcn.004bdaa0
lea ecx, [ebp - 0x14]
call fcn.004bdaa0
push eax
mov ecx, dword [ebp - 0x48]
call fcn.0042ec10
mov edx, dword [ebp - 8]
sub edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 4]
sub eax, 0xbf
cmp dword [ebp - 0x14], eax
jle 0x4939c2
mov ecx, dword [ebp - 4]
sub ecx, 0xbf
mov dword [ebp - 0x14], ecx
jmp 0x4939cf
cmp dword [ebp - 0x14], 0
jge 0x4939cf
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x18]
sub edx, 0x96
cmp dword [ebp - 0x10], edx
jle 0x4939e8
mov eax, dword [ebp - 0x10]
sub eax, 0x96
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x96
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
add edx, 0xbf
mov dword [ebp - 0xc], edx
push 0
mov eax, dword [ebp - 0x34]
push eax
push 0
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 0x20]
push edx
lea ecx, [ebp - 0x14]
call fcn.00407200
push eax
lea ecx, [ebp - 0x14]
call fcn.004071e0
push eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0x90800000
push str.Palatte
push 0x516c94
push 8
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x5c], eax
mov eax, dword [ebp - 0x48]
cmp dword [eax + 0x5c], 0
jne 0x493a53
xor eax, eax
jmp 0x493a99
push 0
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 0x58]
push edx
push 0x401
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x5c]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
push 5
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 0x5c]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 0x5c]
push edx
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [ebp - 0x48]
mov dword [eax + 0x60], 1
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x49ad70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0xa
push 0
push 0
push str.http:__bbs.poco.cn_forum.htxfid64c1
push 0x51835c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esp, ebp
pop ebp
ret

Function at 0x49b750
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fae82
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x7c], 0
jne 0x49b816
lea ecx, [ebp - 0x10]
call dword [0x502480]
mov dword [ebp - 4], 0
push 0x104
push 0x104
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::ReleaseBuffer]
push str.winhlp32.exe
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x49b7fc
push 0x6a
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x49b7fc
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.USER32.dll_CopyIcon]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x7c], eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x49b830
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x540cc0]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x11c], ecx
lea eax, [ebp - 4]
push eax
push 1
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov byte [eax], 0
cmp dword [ebp - 8], 0
jne 0x49b8ae
mov dword [ebp - 0xc], 0x104
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x118]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x49b8ae
lea ecx, [ebp - 0x118]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
call fcn.004f2f91
mov esp, ebp
pop ebp
ret 0xc
Function at 0x49b990
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x540cc0]
mov dword [ebp - 4], eax
mov dword [ebp - 0x21c], ecx
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0x5186bc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0x20
ja 0x49badf
lea edx, [ebp - 0x210]
push edx
push str..htm
push SysReAllocString
mov ecx, dword [ebp - 0x21c]
call fcn.0049b830
test eax, eax
jne 0x49badf
push str._shellopencommand
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x210]
push edx
push SysReAllocString
mov ecx, dword [ebp - 0x21c]
call fcn.0049b830
test eax, eax
jne 0x49badf
push str.__1_
lea eax, [ebp - 0x210]
push eax
call fcn.0049bbd0
add esp, 8
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x49ba9c
push 0x5186e8
lea ecx, [ebp - 0x210]
push ecx
call fcn.0049bbd0
add esp, 8
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x49ba91
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp + eax - 0x211]
mov dword [ebp - 0x218], eax
jmp 0x49ba9a
mov ecx, dword [ebp - 0x218]
mov byte [ecx], 0
jmp 0x49baa5
mov edx, dword [ebp - 0x218]
mov byte [edx], 0
push 0x5186ec
mov eax, dword [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 4]
call fcn.004f2f91
mov esp, ebp
pop ebp
ret 8
Function at 0x4a64e0
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
mov eax, dword [0x540cc0]
mov dword [ebp - 4], eax
mov dword [ebp - 0x174], ecx
mov dword [ebp - 0x16c], 0
lea eax, [ebp - 0x16c]
push eax
push 0
mov ecx, dword [ebp - 0x174]
call fcn.0042bc30
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
push 0x160
push 0
lea ecx, [ebp - 0x168]
push ecx
call sub.MSVCR71.dll_memset
add esp, 0xc
push 0x4009
push 0x160
lea edx, [ebp - 0x168]
push edx
push 0
mov eax, dword [ebp - 0x16c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x16c]
push ecx
mov edx, dword [ebp - 0x174]
mov eax, dword [edx + 0x98]
mov ecx, dword [ebp - 0x174]
mov edx, dword [ecx + 0x98]
mov eax, dword [eax]
push edx
call dword [eax + 0x14]
mov ecx, dword [ebp - 0x170]
push ecx
push 0
push 0x1109
mov ecx, dword [ebp - 0x174]
call fcn.0042bc30
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 4]
call fcn.004f2f91
mov esp, ebp
pop ebp
ret
Function at 0x4a6fe0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x80]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
call dword [eax + 0x140]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x60], 0
push 0
push 1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edx, dword [ebp - 8]
mov dword [edx + 0x58], eax
push 0
push 1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x5c], eax
mov dword [ebp - 4], 0
lea edx, [ebp - 4]
push edx
push 2
mov eax, dword [ebp - 8]
push eax
push 0x4a6f40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x54], eax
mov edx, dword [ebp - 8]
cmp dword [edx + 0x68], 0
jbe 0x4a7082
push 0x11
push 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x58]
push ecx
push 5
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x68]
push eax
call dword [sym.imp.WINMM.dll_timeSetEvent]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x64], eax
mov esp, ebp
pop ebp
ret
Function at 0x4b2100
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
mov dword [0x543014], eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
push 0x4c5aa0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret 4
Function at 0x4be750
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 5
push 0
push 0
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 0x51da58
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 4], 1
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x4be7d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 5
push 0
push 0
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 4], 1
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x4c6ec0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fd6d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
call fcn.004bdaa0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x51f2b0
mov ecx, dword [ebp - 0x10]
add ecx, 8
call dword [0x502480]
mov byte [ebp - 4], 2
push 0xa
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.004cc360
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.004bdaa0
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 8
call dword [0x502474]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0x30], eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.0047a920
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x44], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x48], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4cf7a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fdcdd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0
cmp dword [0x540c24], 0
jne 0x4cf7ed
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [ebp - 0x18]
jmp 0x4cf917
mov dword [ebp - 0x10], 0
mov eax, dword [0x5431e4]
and eax, 1
jne 0x4cf82c
mov ecx, dword [0x5431e4]
or ecx, 1
mov dword [0x5431e4], ecx
mov byte [ebp - 4], 1
mov ecx, 0x5431d8
call fcn.004d1360
push 0x5011a0
call fcn.004f31b5
add esp, 4
mov byte [ebp - 4], 0
mov ecx, 0x5431d8
call fcn.004d1510
push 0x5431d8
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea edx, [ebp + 8]
push edx
call dword [0x502470]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x2c]
call fcn.004cebc0
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x4cf8fd
push 0x104
push 0
push 0x543088
call sub.MSVCR71.dll_memset
add esp, 0xc
push 0x543088
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.004cf930
mov dword [0x540c24], 0
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0x5431d8
push 0x4cfbf0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x54318c], eax
cmp dword [0x54318c], 0
jne 0x4cf8e2
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [ebp - 0x20]
jmp 0x4cf917
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x24], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [ebp - 0x24]
jmp 0x4cf917
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4cf930
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fdcf3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
mov eax, dword [0x540cc0]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x138], ecx
push 0x104
push 0
lea eax, [ebp - 0x11c]
push eax
call sub.MSVCR71.dll_memset
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x11c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.MSVCR71.dll_strrchr]
add esp, 8
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
jne 0x4cf9ac
jmp 0x4cfb12
mov eax, dword [ebp - 0x124]
lea ecx, [ebp - 0x11c]
sub eax, ecx
mov dword [ebp - 0x120], eax
mov edx, dword [ebp - 0x120]
add edx, 1
push edx
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
push str.MyPocoTempPic_
mov edx, dword [ebp + 0xc]
push edx
call sub.MSVCR71.dll_strcat
add esp, 8
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.MSVCR71.dll__access]
add esp, 8
mov dword [ebp - 0x12c], eax
lea ecx, [ebp - 0x128]
call dword [0x502480]
mov dword [ebp - 4], 0
cmp dword [ebp - 0x12c], 0xffffffff
jne 0x4cfa70
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
jne 0x4cfa70
mov edx, dword [ebp + 0xc]
push edx
push 0x51f81c
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
push 0x30
push 0x51f83c
lea ecx, [ebp - 0x128]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call sub.MSVCR71.dll_strcat
add esp, 8
push 0x51f844
mov eax, dword [ebp + 0xc]
push eax
call sub.MSVCR71.dll_strcat
add esp, 8
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.MSVCR71.dll__access]
add esp, 8
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0xffffffff
jne 0x4cfaff
push 0
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
jne 0x4cfaff
mov eax, dword [ebp + 0xc]
push eax
push str.__s
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
push 0x30
push 0x51f868
lea ecx, [ebp - 0x128]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x128]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.004f2f91
mov esp, ebp
pop ebp
ret 8
Function at 0x4d8280
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe812
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov dword [ebp - 0x24], ecx
push 0x51fbac
mov ecx, dword [ebp - 0x24]
add ecx, 0xb4
call dword [0x502590]
push 0
mov ecx, dword [ebp - 0x24]
add ecx, 0xb8
call fcn.004411c0
lea eax, [ebp - 0x14]
push eax
call fcn.00430940
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0
push 0x51fbb0
mov edx, dword [ebp - 0x2c]
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.00407f90
add esp, 0xc
mov dword [ebp - 0x30], eax
push 0
mov ecx, dword [ebp - 0x30]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.MSVCR71.dll__access]
add esp, 8
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp dword [ebp - 0x10], 0
je 0x4d838a
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00430940
add esp, 4
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x38], edx
mov dword [ebp - 4], 1
push str.PmkUpdate.exe
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.00407f90
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0xa8], 0
je 0x4d83ac
push 0
push 0x3ea
mov ecx, dword [ebp - 0x24]
call sub.MFC71.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC71.DLL_CWnd::EnableWindow
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x4d8470
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
je 0x4d8482
cmp dword [ebp + 0xc], 0
jg 0x4d848a
xor ax, ax
jmp 0x4d850e
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov word [ebp - 0xc], 0
mov word [ebp - 8], 0
mov dword [ebp - 0x10], 0
jmp 0x4d84ae
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp + 0xc]
jge 0x4d850a
mov eax, dword [ebp - 0x10]
and eax, 0x80000001
jns 0x4d84c5
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
je 0x4d84e0
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x10]
movzx edx, byte [ecx]
shl edx, 8
and edx, 0xff00
mov dword [ebp - 0x14], edx
jmp 0x4d84f2
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x10]
movzx ecx, byte [eax]
and ecx, 0xff
mov dword [ebp - 0x14], ecx
mov dx, word [ebp - 0x14]
mov word [ebp - 8], dx
movzx eax, word [ebp - 8]
movzx ecx, word [ebp - 0xc]
xor ecx, eax
mov word [ebp - 0xc], cx
jmp 0x4d84a5
mov ax, word [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x4d9900
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe8a7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
mov eax, dword [0x540cc0]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xb0], ecx
push 0x80
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x4d9a98
lea ecx, [ebp - 0xa0]
call dword [0x502480]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x94]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], 0
cmp dword [ebp - 0x9c], 0
je 0x4d9a85
mov eax, dword [ebp - 0x9c]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x98]
cmp dword [ecx + edx*4], 0
je 0x4d9a85
mov dword [ebp - 0xa4], 0
jmp 0x4d99b7
mov eax, dword [ebp - 0xa4]
add eax, 1
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0x9c]
movsx edx, word [ecx + 0xa]
cmp dword [ebp - 0xa4], edx
jge 0x4d9a51
lea ecx, [ebp - 0xa8]
call dword [0x502480]
mov byte [ebp - 4], 1
cmp dword [ebp - 0xa4], 0
jle 0x4d99f7
push 0x51ff24
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
mov eax, dword [ebp - 0x9c]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x98]
mov eax, dword [ecx + edx*4]
mov ecx, dword [ebp - 0xa4]
movzx edx, byte [eax + ecx]
push edx
push 0x51ff28
lea eax, [ebp - 0xa8]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
lea ecx, [ebp - 0xa8]
push ecx
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
jmp 0x4d99a8
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0xac], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [ebp - 0xac]
jmp 0x4d9a9b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.004f2f91
mov esp, ebp
pop ebp
ret

Function at 0x4dac10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe8ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x1c], ecx
push 0x28
call fcn.0042ba80
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x4dac5e
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.004dad80
mov dword [ebp - 0x20], eax
jmp 0x4dac65
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 8], edx
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
push 0x4dacb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8