joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415200
Capabilities:
Send data
Send data on socket

Disassembly:
jmp 0x415130
push 0xffffffffffffffff
push 0x4193d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004163d8
mov eax, dword [0x420fa0]
mov dword [esp + 0x10], 0
dec eax
cmp eax, 0xb
ja case.default.0x415169
jmp dword [eax*4 + 0x415344]
push str.5:480p
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.480p
jmp 0x415255
push str.5:576p
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.576p
jmp 0x41529c
push str.5:720p
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.720p
jmp 0x4152df
push str.5:1080p
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.1080p
jmp 0x415255
push str.5:sxga
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.sxga
jmp 0x41529c
push str.5:480i
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.480i
jmp 0x4152df
push str.5:576i
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.576i
jmp 0x415255
push str.5:720i
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.720i
jmp 0x41529c
push str.5:1080i
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.1080i
jmp 0x4152df
push str.5:xga
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.sxga
mov ecx, 0x420f58
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [0x420f58]
push ecx
push 0x402
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
mov eax, dword [esp + 4]
mov edx, dword [0x420fb4]
push 0
mov ecx, dword [eax - 8]
push ecx
push eax
push edx
jmp 0x41530d
push str.5:svga
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.svga
mov ecx, 0x420f58
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [0x420f58]
mov ecx, esi
push eax
push 0x402
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
mov eax, dword [esp + 4]
push 0
mov ecx, dword [eax - 8]
push ecx
mov ecx, dword [0x420fb4]
push eax
push ecx
jmp 0x41530d
push str.5:wuxga
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.wuxga
mov ecx, 0x420f58
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [0x420f58]
mov ecx, esi
push edx
push 0x402
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
mov eax, dword [esp + 4]
push 0
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [0x420fb4]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov ecx, dword [0x420fb4]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x415215
Capabilities:
Send data
Send data on socket

Disassembly:
jmp 0x415130
push 0xffffffffffffffff
push 0x4193d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004163d8
mov eax, dword [0x420fa0]
mov dword [esp + 0x10], 0
dec eax
cmp eax, 0xb
ja case.default.0x415169
jmp dword [eax*4 + 0x415344]
push str.5:480p
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.480p
jmp 0x415255
push str.5:576p
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.576p
jmp 0x41529c
push str.5:720p
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.720p
jmp 0x4152df
push str.5:1080p
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.1080p
jmp 0x415255
push str.5:sxga
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.sxga
jmp 0x41529c
push str.5:480i
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.480i
jmp 0x4152df
push str.5:576i
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.576i
jmp 0x415255
push str.5:720i
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.720i
jmp 0x41529c
push str.5:1080i
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.1080i
jmp 0x4152df
push str.5:xga
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.sxga
mov ecx, 0x420f58
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [0x420f58]
push ecx
push 0x402
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
mov eax, dword [esp + 4]
mov edx, dword [0x420fb4]
push 0
mov ecx, dword [eax - 8]
push ecx
push eax
push edx
jmp 0x41530d
push str.5:svga
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.svga
mov ecx, 0x420f58
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [0x420f58]
mov ecx, esi
push eax
push 0x402
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
mov eax, dword [esp + 4]
push 0
mov ecx, dword [eax - 8]
push ecx
mov ecx, dword [0x420fb4]
push eax
push ecx
jmp 0x41530d
push str.5:wuxga
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.wuxga
mov ecx, 0x420f58
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [0x420f58]
mov ecx, esi
push edx
push 0x402
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
mov eax, dword [esp + 4]
push 0
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [0x420fb4]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov ecx, dword [0x420fb4]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41522a
Capabilities:
Send data
Send data on socket

Disassembly:
jmp 0x415130
push 0xffffffffffffffff
push 0x4193d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004163d8
mov eax, dword [0x420fa0]
mov dword [esp + 0x10], 0
dec eax
cmp eax, 0xb
ja case.default.0x415169
jmp dword [eax*4 + 0x415344]
push str.5:480p
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.480p
jmp 0x415255
push str.5:576p
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.576p
jmp 0x41529c
push str.5:720p
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.720p
jmp 0x4152df
push str.5:1080p
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.1080p
jmp 0x415255
push str.5:sxga
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.sxga
jmp 0x41529c
push str.5:480i
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.480i
jmp 0x4152df
push str.5:576i
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.576i
jmp 0x415255
push str.5:720i
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.720i
jmp 0x41529c
push str.5:1080i
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.1080i
jmp 0x4152df
push str.5:xga
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.sxga
mov ecx, 0x420f58
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [0x420f58]
push ecx
push 0x402
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
mov eax, dword [esp + 4]
mov edx, dword [0x420fb4]
push 0
mov ecx, dword [eax - 8]
push ecx
push eax
push edx
jmp 0x41530d
push str.5:svga
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.svga
mov ecx, 0x420f58
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [0x420f58]
mov ecx, esi
push eax
push 0x402
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
mov eax, dword [esp + 4]
push 0
mov ecx, dword [eax - 8]
push ecx
mov ecx, dword [0x420fb4]
push eax
push ecx
jmp 0x41530d
push str.5:wuxga
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.wuxga
mov ecx, 0x420f58
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [0x420f58]
mov ecx, esi
push edx
push 0x402
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
mov eax, dword [esp + 4]
push 0
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [0x420fb4]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov ecx, dword [0x420fb4]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x415242
Capabilities:
Send data
Send data on socket

Disassembly:
jmp 0x415130
push 0xffffffffffffffff
push 0x4193d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004163d8
mov eax, dword [0x420fa0]
mov dword [esp + 0x10], 0
dec eax
cmp eax, 0xb
ja case.default.0x415169
jmp dword [eax*4 + 0x415344]
push str.5:480p
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.480p
jmp 0x415255
push str.5:576p
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.576p
jmp 0x41529c
push str.5:720p
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.720p
jmp 0x4152df
push str.5:1080p
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.1080p
jmp 0x415255
push str.5:sxga
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.sxga
jmp 0x41529c
push str.5:480i
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.480i
jmp 0x4152df
push str.5:576i
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.576i
jmp 0x415255
push str.5:720i
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.720i
jmp 0x41529c
push str.5:1080i
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.1080i
jmp 0x4152df
push str.5:xga
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.sxga
mov ecx, 0x420f58
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [0x420f58]
push ecx
push 0x402
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
mov eax, dword [esp + 4]
mov edx, dword [0x420fb4]
push 0
mov ecx, dword [eax - 8]
push ecx
push eax
push edx
jmp 0x41530d
push str.5:svga
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.svga
mov ecx, 0x420f58
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [0x420f58]
mov ecx, esi
push eax
push 0x402
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
mov eax, dword [esp + 4]
push 0
mov ecx, dword [eax - 8]
push ecx
mov ecx, dword [0x420fb4]
push eax
push ecx
jmp 0x41530d
push str.5:wuxga
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.wuxga
mov ecx, 0x420f58
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [0x420f58]
mov ecx, esi
push edx
push 0x402
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
mov eax, dword [esp + 4]
push 0
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [0x420fb4]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov ecx, dword [0x420fb4]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x415289
Capabilities:
Send data
Send data on socket

Disassembly:
jmp 0x415130
push 0xffffffffffffffff
push 0x4193d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004163d8
mov eax, dword [0x420fa0]
mov dword [esp + 0x10], 0
dec eax
cmp eax, 0xb
ja case.default.0x415169
jmp dword [eax*4 + 0x415344]
push str.5:480p
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.480p
jmp 0x415255
push str.5:576p
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.576p
jmp 0x41529c
push str.5:720p
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.720p
jmp 0x4152df
push str.5:1080p
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.1080p
jmp 0x415255
push str.5:sxga
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.sxga
jmp 0x41529c
push str.5:480i
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.480i
jmp 0x4152df
push str.5:576i
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.576i
jmp 0x415255
push str.5:720i
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.720i
jmp 0x41529c
push str.5:1080i
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.1080i
jmp 0x4152df
push str.5:xga
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.sxga
mov ecx, 0x420f58
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [0x420f58]
push ecx
push 0x402
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
mov eax, dword [esp + 4]
mov edx, dword [0x420fb4]
push 0
mov ecx, dword [eax - 8]
push ecx
push eax
push edx
jmp 0x41530d
push str.5:svga
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.svga
mov ecx, 0x420f58
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [0x420f58]
mov ecx, esi
push eax
push 0x402
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
mov eax, dword [esp + 4]
push 0
mov ecx, dword [eax - 8]
push ecx
mov ecx, dword [0x420fb4]
push eax
push ecx
jmp 0x41530d
push str.5:wuxga
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.wuxga
mov ecx, 0x420f58
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [0x420f58]
mov ecx, esi
push edx
push 0x402
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
mov eax, dword [esp + 4]
push 0
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [0x420fb4]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov ecx, dword [0x420fb4]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4152cc
Capabilities:
Send data
Send data on socket

Disassembly:
jmp 0x415130
push 0xffffffffffffffff
push 0x4193d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004163d8
mov eax, dword [0x420fa0]
mov dword [esp + 0x10], 0
dec eax
cmp eax, 0xb
ja case.default.0x415169
jmp dword [eax*4 + 0x415344]
push str.5:480p
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.480p
jmp 0x415255
push str.5:576p
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.576p
jmp 0x41529c
push str.5:720p
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.720p
jmp 0x4152df
push str.5:1080p
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.1080p
jmp 0x415255
push str.5:sxga
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.sxga
jmp 0x41529c
push str.5:480i
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.480i
jmp 0x4152df
push str.5:576i
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.576i
jmp 0x415255
push str.5:720i
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.720i
jmp 0x41529c
push str.5:1080i
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.1080i
jmp 0x4152df
push str.5:xga
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.sxga
mov ecx, 0x420f58
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [0x420f58]
push ecx
push 0x402
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
mov eax, dword [esp + 4]
mov edx, dword [0x420fb4]
push 0
mov ecx, dword [eax - 8]
push ecx
push eax
push edx
jmp 0x41530d
push str.5:svga
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.svga
mov ecx, 0x420f58
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [0x420f58]
mov ecx, esi
push eax
push 0x402
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
mov eax, dword [esp + 4]
push 0
mov ecx, dword [eax - 8]
push ecx
mov ecx, dword [0x420fb4]
push eax
push ecx
jmp 0x41530d
push str.5:wuxga
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push str.wuxga
mov ecx, 0x420f58
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [0x420f58]
mov ecx, esi
push edx
push 0x402
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
mov eax, dword [esp + 4]
push 0
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [0x420fb4]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov ecx, dword [0x420fb4]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x402e98
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0040458c
test esi, esi
jne 0x402ecf
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.0040467c
jmp 0x402ef0
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402d34
mov dword [esp], eax
test esi, esi
je 0x402ef0
cmp dword [ebx], 0
je 0x402ef0
dec esi
jmp 0x402ed7
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x4031a8
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4a2008], 0x8088405
inc edx
mov dword [ebx + 0x4a2008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x40366c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4a2024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403704
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4036e4
xor eax, eax
push ebp
push 0x4036dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403720
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4036e4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4a2024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4a2024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404408
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4a504c], 0
je 0x404469
cmp word [0x4a5220], 0xd7b2
jne 0x404431
cmp dword [0x4a5228], 0
jbe 0x404431
mov eax, 0x4a521c
call dword [0x4a5238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4a2070
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404490
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4a2034], 0
jne 0x404485
push 0
push 0x4a2068
push 0x4a2070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406778
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4067de
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004047fc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403230
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4067c8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4067e5
lea eax, [ebp - 0x10]
call fcn.0040458c
ret

Function at 0x40c220
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c259
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040467c
jmp 0x40c262
mov eax, ebx
mov edx, esi
call fcn.004045e0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c26c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c28d
mov al, byte [esp]
jmp 0x40c28f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c924
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c78c
mov eax, dword [0x4a4088]
cmp byte [eax], 0
je 0x40c9a0
mov eax, dword [0x4a3dbc]
call fcn.00402fd8
call fcn.00402c60
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004093cc
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40c9e8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c9d6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4a3d58]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4a5668]
call fcn.00405be4
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40d2b0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40d386
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404624
lea eax, [ebp - 8]
call fcn.00404a9c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404a4c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d370
mov eax, ebx
call fcn.00402ad4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d369
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404a4c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d353
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d398
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d353
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d370
mov eax, dword [ebp - 0x10]
call fcn.00402b04
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d38d
lea eax, [ebp - 8]
call fcn.0040458c
ret

Function at 0x40d8f4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40d958
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004047fc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408e34
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d95f
lea eax, [ebp - 0xc]
call fcn.0040458c
ret

Function at 0x40e150
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov eax, dword [0x4a3de8]
cmp dword [eax], 0
je 0x40e186
push 0xa
push 0x40e1dc
mov eax, dword [0x4a3de8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_FindResourceA
push eax
mov eax, dword [0x4a3de8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_LoadResource
mov dword [esp], eax
jmp 0x40e1d2
xor eax, eax
mov dword [esp], eax
mov eax, dword [0x4a40f0]
mov eax, dword [eax]
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
je 0x40e1d2
mov ebx, dword [esp + 4]
push 0xa
push 0x40e1dc
mov esi, dword [ebx + 4]
push esi
call sub.kernel32.dll_FindResourceA
push eax
push esi
call sub.kernel32.dll_LoadResource
mov dword [esp], eax
cmp dword [esp], 0
jne 0x40e1d2
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
jne 0x40e19d
mov eax, dword [esp]
pop ecx
pop edx
pop esi
pop ebx
ret