joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44ee00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
mov edi, edx
test edi, edi
mov ebx, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
jge 0x44ee53
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x44ee53
push 0x9de
push str.._tun.c
push str.Assertion_failed_at__s:_d
push 0x10
call fcn.00408640
add esp, 0x10
test esi, esi
je 0x44efaf
mov esi, dword [ebp + 8]
test esi, esi
je 0x44eed2
test ebx, ebx
jg 0x44ee8d
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x44ee8d
push 0x9e7
push str.._tun.c
push str.Assertion_failed_at__s:_d
push 0x10
call fcn.00408640
add esp, 0x10
cmp ebx, 0xf4240
jb 0x44eeb3
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x44eeb3
push ebx
push str.fatal_buffer_size_error__size_lu
push 0x10
call fcn.00408640
add esp, 0xc
test ebx, ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], esi
jle 0x44eed2
mov byte [esi], 0
xor eax, eax
test edi, edi
jle 0x44eef2
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 4]
test ecx, ecx
mov dword [esp + 0xc], ecx
je 0x44efaf
add eax, 1
cmp eax, edi
jl 0x44eed8
test esi, esi
je 0x44ef1d
mov edx, dword [esp + 0xc]
mov edi, dword [edx]
mov eax, dword [ebp + 0xc]
call fcn.0044ed40
test eax, eax
lea esi, [esp + 0x10]
je 0x44ef0f
push eax
jmp 0x44ef10
push edi
push 0x5103a4
call fcn.00402ff0
add esp, 8
xor ebx, ebx
xor edi, edi
cmp dword [ebp + 0x10], ebx
mov esi, 0x100
je 0x44ef98
push 0x104
call dword [sym.imp.MSVCR80.dll_malloc]
mov ecx, eax
add esp, 4
test ecx, ecx
jne 0x44ef44
jmp fcn.00408a80
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
mov dword [ecx], edx
mov edx, dword [ebp + 0x10]
lea eax, [ecx + 4]
mov dword [edx], ecx
mov byte [eax], bl
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push ecx
mov dword [esp + 0x14], esi
push 0x5103a4
lea esi, [esp + 0x18]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebx
call fcn.00402ff0
mov eax, dword [esp + 0x24]
add esp, 8
test eax, eax
je 0x44efaf
cmp dword [esp + 0x18], ebx
jl 0x44efaf
mov edx, dword [esp + 0x14]
add eax, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x100
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
test eax, eax
jne 0x44ef53
jmp fcn.00408a80
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44efc0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
push edi
mov esi, eax
xor edi, edi
test esi, esi
mov ebx, 0x100
je 0x44f0e6
push 0x104
call dword [sym.imp.MSVCR80.dll_malloc]
mov ecx, eax
add esp, 4
test ecx, ecx
jne 0x44eff6
jmp fcn.00408a80
mov edx, dword [esi]
lea eax, [ecx + 4]
mov dword [ecx], edx
mov dword [esi], ecx
mov dword [esp + 0x10], ebx
mov ebx, dword [ebp + 0x14]
mov byte [eax], 0
xor ecx, ecx
mov dword [esp + 0x1c], eax
xor eax, eax
test ebx, ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
je 0x44f161
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x44f0a4
mov esi, dword [ebp + 0x10]
test esi, esi
jg 0x44f066
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x44f066
push 0xa19
push str.._tun.c
push str.Assertion_failed_at__s:_d
push 0x10
call fcn.00408640
add esp, 0x10
cmp esi, 0xf4240
jb 0x44f08c
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x44f08c
push esi
push str.fatal_buffer_size_error__size_lu
push 0x10
call fcn.00408640
add esp, 0xc
xor eax, eax
cmp esi, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], edi
jle 0x44f0a4
mov byte [edi], al
mov edi, dword [ebp + 8]
mov eax, ebx
call fcn.0044ecf0
test eax, eax
mov eax, dword [ebp + 0x18]
je 0x44f111
call fcn.0044ed40
push edi
push 0x5103a4
lea esi, [esp + 0x18]
mov ebx, eax
call fcn.00402ff0
add esp, 8
test ebx, ebx
lea esi, [esp + 0x20]
je 0x44f101
push ebx
push 0x5103a4
call fcn.00402ff0
add esp, 8
jmp 0x44f145
push 0x100
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
test eax, eax
jne 0x44efff
jmp fcn.00408a80
push edi
push 0x5103a4
call fcn.00402ff0
add esp, 8
jmp 0x44f145
push ebx
mov ebx, edi
call fcn.0044ed90
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x44f161
mov edx, edi
push edx
push 0x5103a4
lea esi, [esp + 0x28]
call fcn.00402ff0
push ebx
push 0x5103a4
lea esi, [esp + 0x20]
call fcn.00402ff0
add esp, 0x10
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x44f161
cmp dword [esp + 0x18], 0
jl 0x44f161
mov ecx, dword [esp + 0x14]
add eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44f170
Capabilities:
Terminate process

Disassembly:
sub esp, 8
push ebp
push esi
push edi
lea eax, [esp + 0x10]
xor ebp, ebp
push eax
push ebp
mov dword [esp + 0x18], ebp
call sub.iphlpapi.dll_GetAdaptersInfo
mov esi, eax
cmp esi, 0x6f
je 0x44f1d0
cmp dword [0x5426d0], 1
jb 0x44f25d
push 1
call fcn.00408960
add esp, 4
test eax, eax
je 0x44f25d
mov ecx, ebx
mov edx, esi
call fcn.00408fd0
push eax
push esi
push str.GetAdaptersInfo_1_failed__status_u__:__s
push 1
call fcn.00408640
add esp, 0x10
mov eax, ebp
pop edi
pop esi
pop ebp
add esp, 8
ret
cmp ebx, ebp
je 0x44f213
mov ecx, dword [esp + 0x10]
add ecx, 4
push ecx
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
cmp eax, ebp
jne 0x44f1ee
jmp fcn.00408a80
mov edx, dword [ebx]
lea esi, [eax + 4]
mov dword [eax], edx
mov dword [ebx], eax
lea ecx, [esp + 0x10]
push ecx
push esi
mov ebp, esi
call sub.iphlpapi.dll_GetAdaptersInfo
mov edi, eax
test edi, edi
jne 0x44f22c
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 8
ret
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.MSVCR80.dll_malloc]
mov esi, eax
add esp, 4
cmp esi, ebp
jne 0x44f1f7
jmp fcn.00408a80
cmp dword [0x5426d0], 1
jb 0x44f25d
push 1
call fcn.00408960
add esp, 4
test eax, eax
je 0x44f25d
mov ecx, ebx
mov edx, edi
call fcn.00408fd0
push eax
push edi
push str.GetAdaptersInfo_2_failed__status_u__:__s
push 1
call fcn.00408640
add esp, 0x10
pop edi
pop esi
mov eax, ebp
pop ebp
add esp, 8
ret

Function at 0x44f270
Capabilities:
Terminate process

Disassembly:
sub esp, 8
push ebp
push esi
push edi
mov edi, eax
xor ebp, ebp
cmp edi, 0xffffffff
mov dword [esp + 0x10], ebp
je 0x44f36a
lea eax, [esp + 0x10]
push eax
push ebp
push edi
call sub.iphlpapi.dll_GetPerAdapterInfo
mov esi, eax
cmp esi, 0x6f
je 0x44f2dc
cmp dword [0x5426d0], 1
jb 0x44f36a
push 1
call fcn.00408960
add esp, 4
test eax, eax
je 0x44f36a
mov ecx, ebx
mov edx, esi
call fcn.00408fd0
push eax
push esi
push str.GetPerAdapterInfo_1_failed__status_u__:__s
push 1
call fcn.00408640
add esp, 0x10
mov eax, ebp
pop edi
pop esi
pop ebp
add esp, 8
ret
test ebx, ebx
je 0x44f320
mov ecx, dword [esp + 0x10]
add ecx, 4
push ecx
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
test eax, eax
jne 0x44f2fa
jmp fcn.00408a80
mov edx, dword [ebx]
lea esi, [eax + 4]
mov dword [eax], edx
mov dword [ebx], eax
lea ecx, [esp + 0x10]
push ecx
push esi
push edi
mov ebp, esi
call sub.iphlpapi.dll_GetPerAdapterInfo
mov edi, eax
test edi, edi
jne 0x44f339
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 8
ret
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.MSVCR80.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x44f303
jmp fcn.00408a80
cmp dword [0x5426d0], 1
jb 0x44f36a
push 1
call fcn.00408960
add esp, 4
test eax, eax
je 0x44f36a
mov ecx, ebx
mov edx, edi
call fcn.00408fd0
push eax
push edi
push str.GetPerAdapterInfo_2_failed__status_u__:__s
push 1
call fcn.00408640
add esp, 0x10
pop edi
pop esi
mov eax, ebp
pop ebp
add esp, 8
ret
Function at 0x44f380
Capabilities:
Terminate process

Disassembly:
sub esp, 8
push ebp
push esi
push edi
lea eax, [esp + 0x10]
xor ebp, ebp
push eax
push ebp
mov dword [esp + 0x18], ebp
call sub.iphlpapi.dll_GetInterfaceInfo
mov esi, eax
cmp esi, 0x7a
je 0x44f3e0
cmp dword [0x5426d0], 1
jb 0x44f46d
push 1
call fcn.00408960
add esp, 4
test eax, eax
je 0x44f46d
mov ecx, ebx
mov edx, esi
call fcn.00408fd0
push eax
push esi
push str.GetInterfaceInfo_1_failed__status_u__:__s
push 1
call fcn.00408640
add esp, 0x10
mov eax, ebp
pop edi
pop esi
pop ebp
add esp, 8
ret
cmp ebx, ebp
je 0x44f423
mov ecx, dword [esp + 0x10]
add ecx, 4
push ecx
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
cmp eax, ebp
jne 0x44f3fe
jmp fcn.00408a80
mov edx, dword [ebx]
lea esi, [eax + 4]
mov dword [eax], edx
mov dword [ebx], eax
lea ecx, [esp + 0x10]
push ecx
push esi
mov ebp, esi
call sub.iphlpapi.dll_GetInterfaceInfo
mov edi, eax
test edi, edi
jne 0x44f43c
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 8
ret
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.MSVCR80.dll_malloc]
mov esi, eax
add esp, 4
cmp esi, ebp
jne 0x44f407
jmp fcn.00408a80
cmp dword [0x5426d0], 1
jb 0x44f46d
push 1
call fcn.00408960
add esp, 4
test eax, eax
je 0x44f46d
mov ecx, ebx
mov edx, edi
call fcn.00408fd0
push eax
push edi
push str.GetInterfaceInfo_2_failed__status_u__:__s
push 1
call fcn.00408640
add esp, 0x10
pop edi
pop esi
mov eax, ebp
pop ebp
add esp, 8
ret
Function at 0x44f720
Capabilities:
Terminate process

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, dword [esp + 0x3c]
push edi
mov edi, eax
xor eax, eax
cmp esi, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x14], eax
mov ebp, 1
je 0x44f74a
mov dword [esi], eax
cmp edi, eax
je 0x44f7a1
mov edi, edi
mov eax, dword [esp + 0x3c]
push eax
push edi
lea ebx, [esp + 0x28]
call fcn.0044f690
add esp, 8
test eax, eax
je 0x44f79b
test ebp, ebp
mov eax, dword [esp + 0x20]
jne 0x44f781
mov ecx, dword [esp + 0x14]
cmp eax, ecx
ja 0x44f781
jne 0x44f79b
test esi, esi
je 0x44f79b
add dword [esi], 1
jmp 0x44f79b
test esi, esi
mov dword [esp + 0x14], eax
je 0x44f78f
mov dword [esi], 1
mov ecx, dword [edi + 0x19c]
mov dword [esp + 0x18], ecx
xor ebp, ebp
mov edi, dword [edi]
test edi, edi
jne 0x44f750
cmp dword [0x5426d0], 7
jb 0x44f8ea
push 0x46000087
call fcn.00408960
add esp, 4
test eax, eax
je 0x44f8ea
xor ebp, ebp
cmp esi, ebp
je 0x44f7d1
mov edx, dword [esi]
mov dword [esp + 0x1c], edx
jmp 0x44f7d9
mov dword [esp + 0x1c], 0xffffffff
push 0x44
mov esi, 0x40
xor ebx, ebx
call dword [sym.imp.MSVCR80.dll_malloc]
mov edi, eax
add esp, 4
cmp edi, ebp
jne 0x44f7f6
jmp fcn.00408a80
lea eax, [edi + 4]
mov dword [edi], ebp
mov byte [eax], 0
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebp
call dword [sym.imp.WS2_32.dll_htonl]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push 0x5103a4
lea esi, [esp + 0x30]
call fcn.00402ff0
mov eax, dword [esp + 0x3c]
add esp, 8
cmp eax, ebp
je 0x44f84c
cmp dword [esp + 0x30], ebp
jl 0x44f84c
mov ecx, dword [esp + 0x2c]
add ecx, eax
mov dword [esp + 0x20], ecx
jmp 0x44f850
mov dword [esp + 0x20], ebp
push 0x44
mov esi, 0x40
xor ebx, ebx
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
test eax, eax
jne 0x44f86b
jmp fcn.00408a80
mov edx, dword [esp + 0x3c]
mov dword [eax], edi
mov dword [esp + 0x24], eax
add eax, 4
push edx
mov byte [eax], 0
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], eax
call dword [sym.imp.WS2_32.dll_htonl]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push 0x5103a4
lea esi, [esp + 0x30]
call fcn.00402ff0
mov eax, dword [esp + 0x3c]
add esp, 8
test eax, eax
je 0x44f8c2
cmp dword [esp + 0x30], 0
jl 0x44f8c2
mov ecx, dword [esp + 0x2c]
add eax, ecx
jmp 0x44f8c4
xor eax, eax
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x24]
push ecx
push edx
push eax
push str.DEBUG:_IP_Locate:_ip_s_nm_s_index_d_count_d
push 0x46000087
call fcn.00408640
mov esi, dword [esp + 0x58]
add esp, 0x18
cmp dword [esp + 0x18], 0xffffffff
jne 0x44f8fb
test esi, esi
je 0x44f8fb
mov dword [esi], 0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x44f909
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov eax, dword [esp + 0x24]
test eax, eax
je 0x44f925
mov edi, dword [sym.imp.MSVCR80.dll_free]
mov esi, dword [eax]
push eax
call edi
add esp, 4
test esi, esi
mov eax, esi
jne 0x44f917
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x44fcc0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, eax
xor ebp, ebp
test esi, esi
push edi
mov edi, ecx
mov ebx, 0x100
je 0x44fd8e
push 0x104
call dword [sym.imp.MSVCR80.dll_malloc]
mov ecx, eax
add esp, 4
test ecx, ecx
jne 0x44fcf3
jmp fcn.00408a80
mov edx, dword [esi]
lea eax, [ecx + 4]
mov dword [ecx], edx
mov dword [esi], ecx
xor ecx, ecx
test edi, edi
mov byte [eax], 0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
je 0x44fd76
lea eax, [edi + 4]
push eax
push 0x5103a4
lea esi, [esp + 0x20]
call fcn.00402ff0
lea ebx, [edi + 0x14]
mov eax, ebx
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x44fd32
sub eax, edx
je 0x44fd5b
push 0x51645c
lea esi, [esp + 0x1c]
call fcn.00402ff0
push ebx
push 0x5103a4
call fcn.00402ff0
add esp, 0xc
push 0x510330
lea esi, [esp + 0x1c]
call fcn.00402ff0
mov edi, dword [edi]
add esp, 4
test edi, edi
jne 0x44fd15
mov eax, dword [esp + 0x24]
test eax, eax
je 0x44fda9
cmp dword [esp + 0x20], ebp
jl 0x44fda9
mov ecx, dword [esp + 0x1c]
add eax, ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push 0x100
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
test eax, eax
jne 0x44fcfc
jmp fcn.00408a80
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret
Function at 0x450e60
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
mov esi, eax
push edi
mov ecx, esi
call fcn.0044e220
mov ecx, esi
mov edi, eax
call fcn.0044e5a0
test esi, esi
mov ebx, eax
je 0x450eaa
push 0x104
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
test eax, eax
jne 0x450e9b
jmp fcn.00408a80
mov edx, dword [esi]
lea ecx, [eax + 4]
mov dword [esp + 0x10], ecx
mov dword [eax], edx
mov dword [esi], eax
jmp 0x450ec7
push 0x100
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
test eax, eax
mov dword [esp + 0x10], eax
jne 0x450ec5
jmp fcn.00408a80
mov ecx, eax
test edi, edi
mov byte [ecx], 0
jne 0x450eef
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x450eeb
push str.There_are_no_TAP_Win32_adapters_on_this_system.__You_should_be_able_to_create_a_TAP_Win32_adapter_by_going_to_Start____All_Programs____OpenVPN____Add_a_new_TAP_Win32_virtual_ethernet_adapter.
push 0x10
call fcn.00408640
add esp, 8
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + 8]
test eax, eax
je 0x450f0e
push ebx
push edi
push 0x100
push ecx
push eax
mov eax, esi
call fcn.0044efc0
add esp, 0x14
jmp 0x450fae
push esi
push ebx
push ecx
mov eax, edi
mov ecx, 0x100
xor edx, edx
call fcn.0044ee00
add esp, 0xc
test edi, edi
mov dword [esp + 0x14], eax
je 0x450faa
xor eax, eax
mov edi, dword [edi + 4]
test edi, edi
je 0x450faa
add eax, 1
cmp eax, 1
jl 0x450f30
test esi, esi
mov ebx, 0x100
je 0x450fbe
push 0x104
call dword [sym.imp.MSVCR80.dll_malloc]
mov ecx, eax
add esp, 4
test ecx, ecx
jne 0x450f61
jmp fcn.00408a80
mov edx, dword [esi]
lea eax, [ecx + 4]
mov dword [ecx], edx
mov dword [esi], ecx
mov byte [eax], 0
mov dword [esp + 0x24], eax
mov eax, dword [edi]
xor ecx, ecx
push eax
push 0x5103a4
lea esi, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
call fcn.00402ff0
mov eax, dword [esp + 0x2c]
add esp, 8
test eax, eax
je 0x450faa
cmp dword [esp + 0x20], 0
jl 0x450faa
mov ecx, dword [esp + 0x1c]
add eax, ecx
jne 0x450fb2
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x450fd5
mov eax, str.NULL
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x100
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
test eax, eax
jne 0x450f6a
jmp fcn.00408a80
mov edx, dword [esp + 0x10]
mov edi, str.NULL
mov esi, edx
mov ecx, 5
xor ebx, ebx
repe cmpsb byte [esi], byte es:[edi]
je 0x450fed
mov eax, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451080
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [eax + 0xc]
test edi, edi
je 0x4510a0
mov esi, dword [eax + 8]
test esi, esi
jl 0x4510a0
mov ecx, dword [eax + 4]
mov ebx, dword [eax]
lea edx, [ecx + esi + 3]
cmp edx, ebx
jle 0x4510d8
mov eax, dword [esp + 0x1c]
push 0x40
mov dword [eax], 1
call fcn.00408960
add esp, 4
test eax, eax
je 0x451148
pop edi
pop esi
pop ebp
pop ebx
add esp, 4
mov dword [esp + 8], str.write_dhcp_u8:_buffer_overflow_building_DHCP_options
mov dword [esp + 4], 0x40
jmp fcn.00408640
lea edx, [ecx + esi + 1]
cmp edx, ebx
mov byte [esp + 0x13], 0x2e
jg 0x4510fc
lea edx, [ecx + edi]
lea ebp, [esi + edx]
add esi, 1
test ebp, ebp
mov dword [eax + 8], esi
je 0x4510fc
mov dl, byte [esp + 0x13]
mov byte [ebp], dl
mov edx, dword [eax + 8]
test edx, edx
mov byte [esp + 0x13], 1
jl 0x451125
lea esi, [ecx + edx + 1]
cmp esi, ebx
jg 0x451125
lea esi, [ecx + edi]
add esi, edx
add edx, 1
test esi, esi
mov dword [eax + 8], edx
je 0x451125
mov dl, byte [esp + 0x13]
mov byte [esi], dl
mov edx, dword [eax + 8]
test edx, edx
jl 0x451148
lea esi, [ecx + edx + 1]
cmp esi, ebx
jg 0x451148
add ecx, edi
add ecx, edx
add edx, 1
test ecx, ecx
mov dword [eax + 8], edx
je 0x451148
mov al, byte [esp + 0x18]
mov byte [ecx], al
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x4514c0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebx, eax
cmp dword [ebx + 0x94], 0
push esi
push edi
jne 0x4514df
cmp dword [ebx + 0x90], 0
je 0x4515ae
push 0x104
mov esi, 0x100
xor ebp, ebp
call dword [sym.imp.MSVCR80.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
jne 0x4514ff
jmp fcn.00408a80
push 1
lea eax, [edi + 4]
mov dword [esp + 0x14], esi
xor ecx, ecx
push 3
mov dword [edi], ebp
push str.openvpn___verb__d___tap_sleep__d
lea esi, [esp + 0x1c]
mov byte [eax], 0
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
call fcn.00402ff0
add esp, 0xc
cmp dword [ebx + 0x94], ebp
je 0x451543
push str.___dhcp_pre_release
call fcn.00402ff0
add esp, 4
cmp dword [ebx + 0x90], ebp
je 0x45155c
push str.___dhcp_renew
lea esi, [esp + 0x14]
call fcn.00402ff0
add esp, 4
mov eax, dword [ebx + 0x184]
push eax
push str.___dhcp_rr__u
lea esi, [esp + 0x18]
call fcn.00402ff0
mov eax, dword [esp + 0x24]
add esp, 8
test eax, eax
je 0x45158b
cmp dword [esp + 0x18], ebp
jl 0x45158b
mov ecx, dword [esp + 0x14]
lea ebx, [ecx + eax]
jmp 0x45158d
xor ebx, ebx
call fcn.00453ec0
mov eax, edi
mov edi, dword [sym.imp.MSVCR80.dll_free]
lea ebx, [ebx]
mov esi, dword [eax]
push eax
call edi
add esp, 4
test esi, esi
mov eax, esi
jne 0x4515a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x452430
Capabilities:
Terminate process

Disassembly:
push ecx
test ebx, ebx
push esi
push edi
je 0x4524ce
cmp dword [ebx + 0xb0], 0
je 0x4524ce
push 0x400
call dword [sym.imp.MSVCR80.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x452461
jmp fcn.00408a80
mov edi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov byte [esi], 0
lea ebx, [ebx]
mov ecx, dword [ebx + 0xb0]
push 0
lea eax, [esp + 0xc]
push eax
push 0x400
push esi
push 0x400
push esi
push 0x220020
push ecx
call edi
test eax, eax
je 0x4524c4
cmp dword [0x5426d0], 6
jb 0x452470
push 0x3c000086
call fcn.00408960
add esp, 4
test eax, eax
je 0x452470
push esi
push str.TAP_Win32:__s
push 0x3c000086
call fcn.00408640
add esp, 0xc
jmp 0x452470
push esi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
pop edi
pop esi
pop ecx
ret

Function at 0x452760
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, eax
xor ebx, ebx
test esi, esi
push edi
mov edi, 0x100
je 0x4527d4
push 0x104
call dword [sym.imp.MSVCR80.dll_malloc]
mov ecx, eax
add esp, 4
test ecx, ecx
jne 0x452792
jmp fcn.00408a80
mov edx, dword [esi]
lea eax, [ecx + 4]
mov dword [ecx], edx
mov dword [esi], ecx
xor ecx, ecx
mov dword [esp + 0x10], edi
mov byte [eax], bl
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
xor edi, edi
test edi, edi
je 0x4527c6
push 0x510330
lea esi, [esp + 0x14]
call fcn.00402ff0
add esp, 4
cmp edi, 4
ja 0x4527eb
mov eax, dword [edi*4 + 0x508be8]
jmp 0x4527f0
push 0x100
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
test eax, eax
jne 0x45279b
jmp fcn.00408a80
mov eax, str._unknown___ip_win32_type_
push eax
push 0x5103cc
lea esi, [esp + 0x18]
call fcn.00402ff0
add edi, 1
add esp, 8
cmp edi, 5
jl 0x4527b1
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x452825
cmp dword [esp + 0x18], ebx
jl 0x452825
mov ecx, dword [esp + 0x14]
add eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x452830
Capabilities:
Query environment variable
Set environment variable

Disassembly:
sub esp, 0x4c
cmp dword [0x542530], 0
push ebx
push ebp
push esi
push edi
jne 0x452998
push 0x520ff4
push str.c:windows_system32_route.exe
call dword [sym.imp.MSVCR80.dll_fopen]
add esp, 8
test eax, eax
mov dword [esp + 0x14], eax
je 0x452998
lea eax, [esp + 0x10]
push eax
mov esi, 0x1000
lea edi, [esp + 0x3c]
mov dword [esp + 0x14], 0
call fcn.00402dc0
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax]
mov ebp, dword [eax + 0xc]
lea eax, [esp + 0x14]
push eax
lea edi, [esp + 0x50]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
call fcn.00402dc0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x34], edx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x1c]
push eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov esi, 0x52506c
call dword [sym.imp.MSVCR80.dll_fclose]
mov eax, dword [esp + 0x2c]
add esp, 0xc
test ebp, ebp
je 0x4528e5
test eax, eax
jl 0x4528e5
mov edi, dword [esp + 0x1c]
sub ebx, edi
sub ebx, eax
jns 0x4528eb
jmp 0x4528e9
mov edi, dword [esp + 0x1c]
xor ebx, ebx
test ebp, ebp
je 0x4528f8
test eax, eax
jl 0x4528f8
lea eax, [edi + ebp]
jmp 0x4528fa
xor eax, eax
push ebx
push eax
push str.PATH
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x452924
test ebp, ebp
je 0x45291a
cmp dword [esp + 0x20], eax
jl 0x45291a
lea eax, [edi + ebp]
jmp 0x45291c
xor eax, eax
mov byte [eax], 0
mov esi, 0x5118be
test ebp, ebp
je 0x452933
cmp dword [esp + 0x20], 0
jl 0x452933
add ebp, edi
jmp 0x452935
xor ebp, ebp
push ebp
push esi
push str.C:WINDOWSSystem32_C:WINDOWS_C:WINDOWSSystem32Wbem_s_s
lea esi, [esp + 0x34]
call fcn.00402ff0
mov eax, dword [esp + 0x40]
add esp, 0xc
test eax, eax
je 0x45295f
cmp dword [esp + 0x30], 0
jl 0x45295f
mov ecx, dword [esp + 0x2c]
add eax, ecx
jmp 0x452961
xor eax, eax
push eax
push str.PATH
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45298e
mov edi, dword [sym.imp.MSVCR80.dll_free]
jmp 0x452980
mov esi, dword [eax]
push eax
call edi
add esp, 4
test esi, esi
mov eax, esi
jne 0x452980
mov dword [0x542530], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret

Function at 0x4529a0
Capabilities:
Initialize winsock library

Disassembly:
push ecx
push 0x542338
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4529d8
push 0x110
call fcn.00408960
add esp, 4
test eax, eax
je 0x4529d8
push str.WSAStartup_failed
push 0x110
call fcn.00408640
add esp, 8
push 0x104
push 0
push 0x542580
call sub.MSVCR80.dll_memset
xor eax, eax
add esp, 0xc
mov dword [0x542560], eax
mov dword [0x542564], eax
mov dword [0x542568], eax
mov dword [0x54256c], eax
mov dword [0x542570], eax
call fcn.00453370
pop ecx
ret