joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401816
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp 0x407ea0
push 0xffffffffffffffff
push 0x4184e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov esi, ecx
lea eax, [esp + 0x2c]
xor ebx, ebx
push eax
lea ecx, [esi + 0x7c]
mov dword [esp + 0x20], ebx
call sub.MFC42.DLL_CString::operator
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, ebx
je 0x407eed
mov dword [eax + 4], ebx
mov dword [eax], 0x41c23c
mov dword [eax + 8], ebx
mov ebp, eax
jmp 0x407eef
xor ebp, ebp
mov dword [esi + 0x6c], ebp
mov ecx, dword [ebp + 4]
cmp ecx, ebx
je 0x407eff
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [ebp + 8]
mov dword [ebp + 4], ebx
cmp eax, ebx
je 0x407f1d
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp + 8], ebx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
and edx, 0xffff
push ecx
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
cmp edi, ebx
je 0x408038
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
cmp esi, ebx
je 0x408038
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebx
je 0x408038
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x408038
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
je 0x40802b
mov ecx, esi
mov esi, edi
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x24], ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x24]
push ecx
push ebx
push edx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x408021
mov edi, dword [esp + 0x24]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
cmp esi, ebx
je 0x407fea
lea eax, [esp + 0x10]
mov dword [esi], 0x41c230
push eax
push edi
mov dword [esp + 0x18], ebx
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov ecx, dword [esp + 0x10]
mov dword [esi + 8], eax
mov dword [esi + 4], ecx
jmp 0x407fec
xor esi, esi
mov eax, dword [esp + 0x24]
mov dword [ebp + 4], esi
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [ebp + 4]
cmp eax, ebx
je 0x408021
mov ecx, dword [eax + 8]
mov dword [eax + 8], ebx
cmp ecx, ebx
jne 0x408011
mov byte [esp + 0x28], 1
jmp 0x40803c
mov ecx, dword [ebp + 4]
cmp ecx, ebx
je 0x40801e
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebp + 4], ebx
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp + 8], ebx
mov byte [esp + 0x28], bl
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
and esi, 0xff
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x40181b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp 0x408260
push 0xffffffffffffffff
push 0x418528
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov esi, ecx
lea eax, [esp + 0x2c]
xor ebx, ebx
push eax
lea ecx, [esi + 0x7c]
mov dword [esp + 0x20], ebx
mov dword [esi + 0x4c], 1
call sub.MFC42.DLL_CString::operator
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, ebx
je 0x4082b4
mov dword [eax + 4], ebx
mov dword [eax], 0x41c23c
mov dword [eax + 8], ebx
mov ebp, eax
jmp 0x4082b6
xor ebp, ebp
mov dword [esi + 0x70], ebp
mov ecx, dword [ebp + 4]
cmp ecx, ebx
je 0x4082c6
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [ebp + 8]
mov dword [ebp + 4], ebx
cmp eax, ebx
je 0x4082e4
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp + 8], ebx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
and edx, 0xffff
push ecx
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
cmp edi, ebx
je 0x4083ff
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
cmp esi, ebx
je 0x4083ff
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebx
je 0x4083ff
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x4083ff
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
je 0x4083f2
mov ecx, esi
mov esi, edi
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x24], ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x24]
push ecx
push ebx
push edx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x4083e8
mov edi, dword [esp + 0x24]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
cmp esi, ebx
je 0x4083b1
lea eax, [esp + 0x10]
mov dword [esi], 0x41c230
push eax
push edi
mov dword [esp + 0x18], ebx
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov ecx, dword [esp + 0x10]
mov dword [esi + 8], eax
mov dword [esi + 4], ecx
jmp 0x4083b3
xor esi, esi
mov eax, dword [esp + 0x24]
mov dword [ebp + 4], esi
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [ebp + 4]
cmp eax, ebx
je 0x4083e8
mov ecx, dword [eax + 8]
mov dword [eax + 8], ebx
cmp ecx, ebx
jne 0x4083d8
mov byte [esp + 0x28], 1
jmp 0x408403
mov ecx, dword [ebp + 4]
cmp ecx, ebx
je 0x4083e5
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebp + 4], ebx
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp + 8], ebx
mov byte [esp + 0x28], bl
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
and esi, 0xff
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x4018b1
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get socket status
Set socket configuration

Disassembly:
jmp 0x40c3b0
sub esp, 0x120
push esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [0x420f04], eax
jne 0x40c3d7
xor eax, eax
pop esi
add esp, 0x120
ret
mov eax, dword [0x420f08]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0x2710
mov dword [esp + 0x18], eax
mov word [esp + 0x14], 2
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [0x420f04]
mov esi, dword [sym.imp.WS2_32.dll_ioctlsocket]
lea ecx, [esp + 4]
mov word [esp + 0x12], ax
push ecx
push 0x8004667e
push edx
mov dword [esp + 0x10], 1
call esi
mov eax, dword [0x420f04]
lea ecx, [esp + 0x10]
push 0x10
push ecx
push eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], 1
mov dword [esp + 0x14], 5
mov dword [esp + 0x18], 0
call dword [sym.imp.WS2_32.dll_connect]
lea edx, [esp + 8]
lea eax, [esp + 0x20]
push edx
push 0
push eax
push 0
push 0
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jg 0x40c4a1
mov ecx, dword [0x420f7c]
push 0x420784
push 0x423
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
mov ecx, dword [0x420ef4]
push 5
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x420f7c]
push 5
call sub.MFC42.DLL_CWnd::ShowWindow
xor eax, eax
pop esi
add esp, 0x120
ret
mov edx, dword [0x420f04]
lea ecx, [esp + 4]
push ecx
push 0x8004667e
push edx
mov dword [esp + 0x10], 0
call esi
mov eax, 1
pop esi
add esp, 0x120
ret
Function at 0x415170
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 0x415188
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 0x4151a0
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 0x4151b8
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 0x4151d0
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 0x4151e8
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