joyce8/EMBER2024-capa huggingface dataset:
Function at 0x457690
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46af09
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push ebx
push esi
mov esi, ecx
mov dword [esi], 0x47b488
xor eax, eax
mov dword [esi + 0x16c], 0xf
mov dword [esi + 0x168], eax
push edi
mov dword [esp + 0xc], esi
mov byte [esi + 0x158], al
lea ebx, [esi + 0x50]
mov dword [esp + 0xa4], eax
mov byte [ebx], al
mov eax, dword [esp + 0xb4]
push eax
lea ecx, [esp + 0x30]
call fcn.004555e0
xor eax, eax
lea edi, [esi + 4]
mov ecx, 0x13
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x7c]
mov edi, 0x10
cmp eax, edi
mov eax, dword [esp + 0x68]
mov byte [esp + 0xa4], 1
jae 0x457718
lea eax, [esp + 0x68]
push ebp
mov ebp, dword [fcn.0046e1a0]
push eax
push ebx
call ebp
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x34]
call fcn.00436a60
cmp dword [eax + 0x18], edi
jb 0x45773b
mov eax, dword [eax + 4]
jmp 0x45773e
add eax, 4
push eax
lea edi, [esi + 0x170]
push edi
call ebp
cmp dword [esp + 0x2c], 0x10
pop ebp
jb 0x45775d
mov edx, dword [esp + 0x14]
push edx
call fcn.004588cd
add esp, 4
mov eax, dword [esp + 0xac]
mov dword [esi + 8], eax
mov eax, dword [esp + 0xb0]
mov dword [esi + 4], 0x4c
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], 0x104
mov dword [esi + 0x30], edi
mov edx, dword [eax + 4]
lea ecx, [esp + 0x2c]
mov dword [esi + 0x34], edx
call fcn.00436810
mov ecx, dword [esp + 0x9c]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x9c
ret 0xc

Function at 0x4578d0
Capabilities:
Terminate process

Disassembly:
sub esp, 0xc
push esi
push edi
push 0x47b4b8
call fcn.00454ac0
mov esi, eax
push esi
push 0x47b4a0
push 1
call fcn.004549c0
add esp, 0x10
cmp esi, 0x50050
jae 0x45793f
mov esi, dword [0x497f94]
sub esp, 0x1c
mov ecx, esp
mov eax, esi
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
mov dword [esp + 0x24], esp
mov byte [ecx + 4], 0
lea edi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x457920
sub eax, edi
push eax
push esi
call fcn.00404600
call fcn.004564c0
add esp, 0x1c
push 0xffffffffffffffff
call fcn.0045a7a5
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 0x404
call dword [0x46e02c]
test eax, eax
jne 0x457982
mov edx, dword [0x497f8c]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00404900
call fcn.004564c0
add esp, 0x1c
push 0xffffffffffffffff
call fcn.0045a7a5
pop edi
pop esi
add esp, 0xc
ret
Function at 0x45b911
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x45b93f
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x45b946
cmp ebx, dword [eax + 4]
jae 0x45b946
xor eax, eax
jmp 0x45bb36
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x45b957
xor eax, eax
inc eax
jmp 0x45bb35
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x45b96d
cmp ecx, edx
jae 0x45bab2
cmp dword [eax + 4], 0
je 0x45b976
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x45b95e
cmp dword [ebp + 8], 0
je 0x45b998
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x45bab2
cmp eax, esi
jae 0x45bab2
mov eax, dword [0x4999f0]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x45b9bd
cmp dword [esi*4 + 0x4999f8], edi
je 0x45bab6
inc esi
cmp esi, eax
jl 0x45b9ab
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x46e274]
test eax, eax
je 0x45bb32
cmp dword [ebp - 8], 0x1000000
jne 0x45bb32
test byte [ebp - 0xc], 0xcc
je 0x45ba3b
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x45bb32
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x45bb32
cmp word [eax + 0x18], 0x10b
jne 0x45bb32
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x45bb32
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x45ba3b
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x45ba3b
test byte [ecx + 0x27], 0x80
jne 0x45bab2
push 1
push 0x499a38
call dword [0x46e1a4]
test eax, eax
jne 0x45b94f
mov ecx, dword [0x4999f0]
test ecx, ecx
mov edx, ecx
jle 0x45ba6f
lea eax, [ecx*4 + 0x4999f4]
cmp dword [eax], edi
je 0x45ba6f
dec edx
sub eax, 4
test edx, edx
jg 0x45ba63
test edx, edx
jne 0x45baa0
push 0xf
pop ebx
cmp ecx, ebx
jg 0x45ba7c
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x45ba94
lea eax, [edx*4 + 0x4999f8]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x45ba82
cmp ecx, 0x10
jge 0x45baa0
inc ecx
mov dword [0x4999f0], ecx
push 0
push 0x499a38
call dword [0x46e1a4]
jmp 0x45b94f
xor eax, eax
jmp 0x45bb35
test esi, esi
jle 0x45b94f
mov ebx, dword [0x46e1a4]
push 1
push 0x499a38
call ebx
test eax, eax
jne 0x45b94f
cmp dword [esi*4 + 0x4999f8], edi
je 0x45bb0c
mov eax, dword [0x4999f0]
lea esi, [eax - 1]
test esi, esi
jl 0x45bafa
cmp dword [esi*4 + 0x4999f8], edi
je 0x45baf6
dec esi
jns 0x45baea
test esi, esi
jge 0x45bb0a
cmp eax, 0x10
jge 0x45bb05
inc eax
mov dword [0x4999f0], eax
lea esi, [eax - 1]
jmp 0x45bb0c
je 0x45bb24
xor ecx, ecx
test esi, esi
jl 0x45bb24
lea eax, [ecx*4 + 0x4999f8]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x45bb12
push 0
push 0x499a38
call ebx
jmp 0x45b94f
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x468dc6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push 0x480834
push 0x80000000
call dword [0x46e00c]
test eax, eax
jne 0x468e1c
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x46e6d6
push dword [ebp - 4]
call dword [0x46e000]
test eax, eax
jne 0x468e0f
inc esi
push dword [ebp - 4]
call dword [fcn.0046e010]
mov eax, esi
jmp 0x468e1e
xor eax, eax
pop esi
leave
ret 4
Function at 0x401490
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret

Function at 0x402120
Capabilities:
Create udp socket
Set socket configuration

Disassembly:
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x40213d
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 4], 0
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
jne 0x40215a
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x18
ret
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
lea ecx, [esp + 0xc]
push 4
push ecx
push 0x20
push 0xffff
push eax
mov dword [esp + 0x20], 1
call edi
mov eax, dword [esi + 4]
lea edx, [esp + 0x10]
push 4
push edx
push 0x1002
push 0xffff
push eax
mov dword [esp + 0x24], 0x19000
call edi
mov ecx, esi
call fcn.00402910
mov ecx, dword [esi + 0x238]
mov edi, eax
push edi
push ecx
push str._n_inet_addr_ip_s__nRandPort_d
call fcn.00402a70
mov eax, dword [esi + 0x238]
add esp, 0xc
mov word [esp + 0x14], 2
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
push edi
mov edi, dword [sym.imp.WS2_32.dll_htons]
mov dword [esp + 0x1c], eax
call edi
mov ebx, dword [sym.imp.WS2_32.dll_bind]
mov word [esp + 0x16], ax
mov eax, dword [esi + 4]
lea edx, [esp + 0x14]
push 0x10
push edx
push eax
call ebx
test eax, eax
je 0x402225
mov edx, dword [esi + 4]
lea ecx, [esp + 0x14]
push 0x10
push ecx
push edx
mov word [esp + 0x22], 0
call ebx
test eax, eax
je 0x402225
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 4], 0
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x18
ret
push 0x1a90
mov word [esi + 8], 2
mov dword [esi + 0xc], 0xffffffff
call edi
mov ecx, dword [esi + 4]
mov word [esi + 0xa], ax
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], ecx
mov edx, dword [esi + 0x18]
push 0x410044
inc edx
mov dword [esi + 0x220], 1
mov dword [esi + 0x18], edx
call fcn.00402a70
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x18
ret

Function at 0x4022c0
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push esi
mov esi, ecx
push eax
push 0
push esi
push 0x402380
push 0
push 0
mov dword [esp + 0x1c], 0
mov dword [esi + 0x224], 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x228], eax
test eax, eax
pop esi
jne 0x4022fd
pop ecx
ret
push str._n_OpenListenThread
call fcn.00402a70
add esp, 4
mov eax, 1
pop ecx
ret
Function at 0x402480
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x848
push ebx
push ebp
mov ebx, ecx
push edi
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x44]
xor ebp, ebp
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x34]
push eax
mov eax, dword [ebx + 4]
push ecx
push ebp
lea edx, [esp + 0x50]
push 0x400
push edx
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 0x10
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp eax, 0xffffffff
jne 0x4024e7
push eax
push str._n_recvfrom_nRet_d
call fcn.00402a70
add esp, 8
mov eax, 1
pop edi
pop ebp
pop ebx
add esp, 0x848
ret
cmp dword [esp + 0x70], 0x5a5a5a5a
jne 0x4026ac
cmp dword [esp + 0x74], 0xa5a5a5a5
jne 0x4026ac
cmp dword [esp + 0x50], ebp
ja 0x402518
pop edi
pop ebp
mov eax, 3
pop ebx
add esp, 0x848
ret
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], ebp
sub eax, 0xc9
je 0x402599
sub eax, 2
jne 0x4026a0
mov edx, dword [esp + 0x94]
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x98]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x64]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], eax
mov al, byte [esp + 0xa4]
push ecx
push edx
mov ecx, ebx
mov byte [esp + 0x38], al
call fcn.00402860
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x848
ret
push esi
mov ecx, 0x81
lea esi, [esp + 0x198]
lea edi, [esp + 0x654]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x448]
lea esi, [esp + 0x198]
rep stosd dword es:[edi], eax
mov ecx, 0x81
lea edi, [esp + 0x448]
mov dword [esp + 0x650], ebp
mov al, 1
rep movsd dword es:[edi], dword [esi]
mov byte [esp + 0x64c], al
mov byte [esp + 0x64d], al
lea eax, [esp + 0x10]
push ebp
push eax
push ebp
mov dword [esp + 0x1c], ebp
call sub.iphlpapi.dll_GetIpAddrTable
mov ecx, dword [esp + 0x10]
push ecx
call sub.MFC42.DLL_operatornew
add esp, 4
lea edx, [esp + 0x10]
mov edi, eax
push ebp
push edx
push edi
call sub.iphlpapi.dll_GetIpAddrTable
test eax, eax
jne 0x402681
cmp dword [edi], 0
jbe 0x402675
mov ebx, dword [sym.imp.WS2_32.dll_inet_addr]
lea esi, [edi + 0xc]
lea eax, [esp + 0x799]
push eax
call ebx
cmp eax, dword [esi]
jne 0x402667
lea ecx, [esp + 0x779]
push ecx
call ebx
mov edx, eax
lea eax, [esp + 0x799]
push eax
mov dword [esp + 0x20], edx
call ebx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi - 8]
mov ebx, dword [esi]
and ecx, eax
and edx, ebx
cmp ecx, edx
je 0x402671
mov ebx, dword [sym.imp.WS2_32.dll_inet_addr]
mov eax, dword [edi]
inc ebp
add esi, 0x18
cmp ebp, eax
jb 0x402628
mov ebx, dword [esp + 0x14]
cmp ebp, dword [edi]
jne 0x402681
mov byte [esp + 0x64d], 0
test edi, edi
pop esi
je 0x40268f
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea eax, [esp + 0x444]
mov ecx, ebx
push eax
push 9
call fcn.00402860
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x848
ret
push str._n_error_2
call fcn.00402a70
add esp, 4
mov eax, 2
pop edi
pop ebp
pop ebx
add esp, 0x848
ret
Function at 0x4027f0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
xor esi, esi
test edi, edi
mov ebp, ecx
jbe 0x402829
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebp + 4]
lea eax, [ebp + 8]
push 0x10
push eax
mov eax, edi
push 0
sub eax, esi
push eax
push ebx
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
je 0x402835
add esi, eax
add ebx, eax
cmp esi, edi
jb 0x402804
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8

Function at 0x402d00
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x40b068
push eax
mov dword fs:[0], esp
push esi
mov ecx, dword [ecx + 4]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push edx
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [esp + 0x14]
mov esi, eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 4]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 0xc
Function at 0x407c8b
Capabilities:
Create process on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x40ba7c
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push esi
mov esi, ecx
mov eax, dword [esi + 0x554]
test eax, eax
jl 0x407e39
push edi
push 0x410968
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_1
push 0x410968
lea ecx, [esp + 0x10]
mov dword [esp + 0xa0], 0
call sub.MFC42.DLL_CString::CString_1
mov ecx, 0x20
xor eax, eax
lea edi, [esp + 0x14]
push 1
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x554]
lea ecx, [esp + 0x14]
lea edi, [esi + 0x500]
push eax
push ecx
mov ecx, edi
mov byte [esp + 0xa8], 1
call sub.MFC42.DLL_CListCtrl::GetItemText
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0xa0], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x9c], 1
call sub.MFC42.DLL_CString::CString
mov edx, dword [esi + 0x554]
push 4
lea eax, [esp + 0x14]
push edx
push eax
mov ecx, edi
call sub.MFC42.DLL_CListCtrl::GetItemText
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xa0], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x9c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::TrimRight
mov ecx, dword [esp + 8]
push ecx
push str._n_strDvrIP___s
call fcn.00409540
mov edx, dword [esp + 0x14]
add esp, 8
push edx
push str._n_strWebPort___s
call fcn.00409540
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 0xc
cmp eax, 0x50
pop edi
jne 0x407dc2
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
push ecx
push str.explorer_http:___s
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
jmp 0x407ddf
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
lea edx, [esp + 0x18]
push str.explorer_http:___s:_s
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push str._n_szHttp_s
call fcn.00409540
add esp, 8
lea ecx, [esp + 0x10]
push 5
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
lea ecx, [esp + 8]
mov byte [esp + 0x98], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 4]
mov dword [esp + 0x98], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
add esp, 0x98
ret
push 0xd
mov ecx, esi
call fcn.00407070
mov ecx, dword [esp + 0x90]
pop esi
mov dword fs:[0], ecx
add esp, 0x98
ret
Function at 0x409620
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
lea edx, [esi + 8]
push edi
push edx
push 0
push esi
push 0x4096e0
push 0
push 0
mov edi, 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 4], eax
jne 0x409660
pop edi
pop esi
ret 8
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x100010d0
Capabilities:
Delete network filter via wfp api
Enumerate network filters via wfp api

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
push esi
push edi
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 0
push 0
push 0xa
push 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
call dword [sym.imp.fwpuclnt.dll_FwpmEngineOpen0]
mov ebx, eax
test ebx, ebx
jne 0x10001236
mov dword [esp + 0x1c], eax
lea ecx, [ecx]
mov esi, dword [eax + 0x10002080]
mov eax, dword [0x1000300c]
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x10001153
push str.RtlZeroMemory
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1000300c], eax
test eax, eax
je 0x1000115c
push 0x30
lea ecx, [esp + 0x24]
push ecx
call eax
movdqu xmm0, xmmword [esi]
lea eax, [esp + 0x18]
mov dword [esp + 0x20], 0
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x38], 1
push eax
push edi
movdqu xmmword [esp + 0x30], xmm0
mov dword [esp + 0x44], 2
mov dword [esp + 0x54], 0xffffffff
call dword [sym.imp.fwpuclnt.dll_FwpmFilterCreateEnumHandle0]
mov ebx, eax
test ebx, ebx
jne 0x10001236
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
push 0xffffffffffffffff
push dword [esp + 0x24]
push dword [esp + 0x1c]
call dword [sym.imp.fwpuclnt.dll_FwpmFilterEnum0]
mov ebx, eax
test ebx, ebx
jne 0x10001214
mov edi, dword [esp + 0x10]
test edi, edi
je 0x10001214
mov edx, dword [esp + 0x14]
test edx, edx
je 0x10001214
xor esi, esi
test edx, edx
je 0x10001209
mov eax, dword [edi + esi*4]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x100011e6
cmp dword [ecx], 0
jne 0x10001204
push dword [eax + 0x8c]
push dword [eax + 0x88]
push dword [esp + 0x14]
call dword [sym.imp.fwpuclnt.dll_FwpmFilterDeleteById0]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
inc esi
cmp esi, edx
jb 0x100011d7
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.fwpuclnt.dll_FwpmFreeMemory0]
push dword [esp + 0x18]
push dword [esp + 0x10]
call dword [sym.imp.fwpuclnt.dll_FwpmFilterDestroyEnumHandle0]
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
cmp eax, 8
jb 0x10001120
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10001245
push eax
call dword [sym.imp.fwpuclnt.dll_FwpmEngineClose0]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40651c
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 0x406582
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.00404b68
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004035bc
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40656c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406589
lea eax, [ebp - 0x10]
call fcn.004048f8
ret

Function at 0x408cc4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404db8
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408cdd
test al, 0x10
jne 0x408ce1
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40b898
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 0x40b8d1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004049e8
jmp 0x40b8da
mov eax, ebx
mov edx, esi
call fcn.0040494c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b8e4
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 0x40b905
mov al, byte [esp]
jmp 0x40b907
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40bf9c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40be04
mov eax, dword [0x454490]
cmp byte [eax], 0
je 0x40c018
mov eax, dword [0x4542ac]
call fcn.00403080
call fcn.00402bf4
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.00408fb4
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 0x40c060
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c04e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x45425c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x455664]
call fcn.00405988
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