joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452a10
Capabilities:
Set console window title

Disassembly:
sub esp, 0x18
push esi
call fcn.00453690
cmp dword [0x542528], 0
je 0x452a58
cmp dword [0x542560], 0
jne 0x452a4e
push 0
push 0
mov ecx, 2
lea esi, [esp + 0x10]
call fcn.00452e60
add esp, 8
mov eax, esi
call fcn.00453260
call fcn.004530f0
jmp 0x452a58
mov eax, 0x542560
call fcn.00453260
cmp dword [0x542580], 0
je 0x452a6c
push 0x542584
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov esi, 0x542560
call fcn.004530f0
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [0x54252c]
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
pop esi
add esp, 0x18
ret

Function at 0x452ba0
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventA]
push edi
mov edi, eax
and edi, 1
je 0x452bb5
cmp dword [esi + 4], 0
jne 0x452bf6
test al, 2
je 0x452bef
push 0
push 0
push 1
push 0
call ebx
test eax, eax
mov dword [esi + 4], eax
jne 0x452bf6
push 0x110
call fcn.00408960
add esp, 4
test eax, eax
je 0x452bf6
push str.Error:_init_net_event_win32:_CreateEvent__write__failed
push 0x110
call fcn.00408640
add esp, 8
jmp 0x452bf6
mov dword [esi + 4], 0
test edi, edi
je 0x452bff
cmp dword [esi], 0
jne 0x452c32
push 0
push 0
push 1
push 0
call ebx
test eax, eax
mov dword [esi], eax
jne 0x452c32
push 0x110
call fcn.00408960
add esp, 4
test eax, eax
je 0x452c32
push str.Error:_init_net_event_win32:_CreateEvent__read__failed
push 0x110
call fcn.00408640
add esp, 8
mov eax, dword [esp + 0xc]
mov ecx, dword [esi]
mov edx, dword [esp + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
test eax, eax
je 0x452c71
push 0x210
call fcn.00408960
add esp, 4
test eax, eax
je 0x452c71
pop edi
pop ebx
mov dword [esp + 8], str.Error:_init_net_event_win32:_WSAEventSelect_call_failed
mov dword [esp + 4], 0x210
jmp fcn.00408640
pop edi
pop ebx
ret

Function at 0x4532c0
Capabilities:
Set console window title
Terminate process

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
push 0x104
mov esi, 0x100
xor ebx, ebx
xor ebp, ebp
call dword [sym.imp.MSVCR80.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
jne 0x4532e9
jmp fcn.00408a80
cmp dword [esp + 0x24], ebx
lea eax, [edi + 4]
mov dword [edi], ebx
mov byte [eax], bl
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], eax
jne 0x45330e
mov dword [esp + 0x24], 0x5118be
mov eax, dword [esp + 0x24]
push eax
push str.__s__OpenVPN_2.1.1_F4:EXIT_F1:USR1_F2:USR2_F3:HUP
lea esi, [esp + 0x18]
call fcn.00402ff0
mov eax, dword [esp + 0x24]
add esp, 8
test eax, eax
je 0x45333a
cmp dword [esp + 0x18], ebx
jl 0x45333a
mov ecx, dword [esp + 0x14]
add eax, ecx
jmp 0x45333c
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, edi
mov edi, dword [sym.imp.MSVCR80.dll_free]
jmp 0x453350
mov esi, dword [eax]
push eax
call edi
add esp, 4
test esi, esi
mov eax, esi
jne 0x453350
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x453730
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, eax
test ebx, ebx
push esi
push edi
mov dword [esp + 0x10], 0
jne 0x453771
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x453771
push 0x2ed
push str..win32.c
push str.Assertion_failed_at__s:_d
push 0x10
call fcn.00408640
add esp, 0x10
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x45379f
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x45379f
push 0x2ee
push str..win32.c
push str.Assertion_failed_at__s:_d
push 0x10
call fcn.00408640
add esp, 0x10
cmp dword [ebp + 0x10], 0
jg 0x4537cc
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x4537cc
push 0x2ef
push str..win32.c
push str.Assertion_failed_at__s:_d
push 0x10
call fcn.00408640
add esp, 0x10
mov byte [esi], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xfffffffffffffff6
call esi
mov edi, eax
mov eax, dword [0x53c1d4]
test eax, eax
mov dword [esp + 0x20], edi
je 0x4537f0
mov esi, eax
mov dword [esp + 0x14], esi
jmp 0x4537fa
push 0xfffffffffffffff4
call esi
mov dword [esp + 0x14], eax
mov esi, eax
cmp edi, 0xffffffff
je 0x45392c
cmp esi, 0xffffffff
je 0x45392c
cmp dword [0x542560], 1
jne 0x453834
mov eax, dword [0x542564]
test eax, eax
je 0x453834
cmp eax, 0xffffffff
je 0x453834
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x45392c
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x453840
push 0
lea ecx, [esp + 0x14]
push ecx
sub eax, edx
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x45392c
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
xor edx, edx
cmp eax, 2
sete dl
xor esi, esi
mov dword [esp + 0x1c], esi
mov eax, edx
cmp eax, esi
mov dword [esp + 0x18], eax
je 0x4538af
lea eax, [esp + 0x1c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
je 0x4538ab
cmp dword [ebp + 8], esi
mov eax, 3
je 0x4538a1
mov eax, 7
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
jmp 0x4538af
mov dword [esp + 0x18], esi
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x24], eax
call fcn.00403370
mov edi, ebx
call fcn.004033c0
cmp dword [ebp + 8], 0
jne 0x4538f9
mov eax, dword [esp + 0x14]
push 0
lea edx, [esp + 0x14]
push edx
push 2
push 0x5103c8
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esp + 0x18], 0
je 0x453910
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
cmp dword [esp + 0x24], 0
je 0x45392c
call fcn.00453160
test eax, eax
jne 0x45392c
mov eax, 1
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 0x453a50
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, eax
test ebx, ebx
je 0x453b03
mov ecx, dword [ebx + 4]
test ecx, ecx
push esi
push edi
mov esi, 1
je 0x453a8b
lea esp, [esp]
mov eax, dword [ecx]
lea edi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x453a75
mov ecx, dword [ecx + 4]
sub eax, edi
test ecx, ecx
lea esi, [esi + eax + 1]
jne 0x453a70
push ebp
push esi
call dword [sym.imp.MSVCR80.dll_malloc]
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x453aa1
jmp fcn.00408a80
mov esi, dword [ebx + 4]
test esi, esi
mov edi, ebp
je 0x453af9
mov ebx, dword [sym.imp.MSVCR80.dll_strncmp]
cmp dword [0x535e30], 3
mov eax, dword [esi]
jge 0x453acc
push 8
push str.password
push eax
call ebx
add esp, 0xc
test eax, eax
je 0x453af2
mov ecx, dword [esi]
mov edx, edi
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x453ad0
mov eax, dword [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x453ae3
sub eax, edx
lea edi, [edi + eax + 1]
mov esi, dword [esi + 4]
test esi, esi
jne 0x453ab0
mov eax, ebp
pop ebp
mov byte [edi], 0
pop edi
pop esi
pop ebx
ret
xor eax, eax
pop ebx
ret

Function at 0x453b10
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x20
push ebx
push ebp
push esi
push edi
xor edi, edi
test ecx, ecx
mov esi, 1
je 0x453c4e
mov eax, dword [ecx + 4]
test eax, eax
jbe 0x453b5d
mov ebx, dword [ecx + 8]
mov ebp, eax
mov eax, dword [ebx]
lea edx, [eax + 1]
jmp 0x453b40
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x453b40
sub eax, edx
cmp eax, edi
lea esi, [esi + eax + 3]
jbe 0x453b55
mov edi, eax
add ebx, 4
sub ebp, 1
jne 0x453b36
add edi, 1
push edi
call dword [sym.imp.MSVCR80.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x453b75
jmp fcn.00408a80
push 0
lea edi, [esp + 0x24]
call fcn.00402dc0
mov ecx, dword [eax]
mov ebp, dword [esp + 0x38]
mov edx, dword [eax + 4]
mov esi, dword [eax + 0xc]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 8]
xor edi, edi
add esp, 4
cmp dword [ebp + 4], edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], esi
jbe 0x453c2b
lea ecx, [ecx]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + edi*4]
mov edx, ebx
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x453bb8
push 0x5f
push 0x403000
push 0x80
mov eax, ebx
call fcn.00403ae0
add esp, 0xc
test edi, edi
je 0x453bf1
push 0x510330
lea esi, [esp + 0x14]
call fcn.00402ff0
add esp, 4
push 0x200
push 1
mov eax, ebx
call fcn.00403a50
add esp, 8
test eax, eax
push ebx
lea esi, [esp + 0x14]
je 0x453c12
push 0x5103a4
jmp 0x453c17
push str.__s_
call fcn.00402ff0
add edi, 1
add esp, 8
cmp edi, dword [ebp + 4]
jb 0x453bb0
mov esi, dword [esp + 0x1c]
push ebx
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
test esi, esi
je 0x453c4e
cmp dword [esp + 0x18], 0
jl 0x453c4e
mov eax, dword [esp + 0x14]
add eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
Function at 0x453ec0
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Terminate process

Disassembly:
sub esp, 0x164
mov eax, dword [0x535df0]
xor eax, esp
mov dword [esp + 0x15c], eax
test ebx, ebx
push esi
push edi
je 0x453f10
mov eax, ebx
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x453ee0
sub eax, edx
lea edi, [eax + 1]
push edi
call dword [sym.imp.MSVCR80.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x453f03
jmp fcn.00408a80
push edi
push ebx
push esi
call sub.MSVCR80.dll_memcpy
add esp, 0xc
jmp 0x453f12
xor esi, esi
push 0x44
lea eax, [esp + 0x1c]
push 0
push eax
call sub.MSVCR80.dll_memset
xor eax, eax
push 0x100
push eax
lea ecx, [esp + 0x74]
push ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call sub.MSVCR80.dll_memset
add esp, 0x18
push 0x100
lea edx, [esp + 0x64]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x45400b
cmp eax, 0x100
je 0x45400b
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov edi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xfffffffffffffff6
mov dword [esp + 0x1c], 0x44
mov dword [esp + 0x48], 0x101
mov word [esp + 0x4c], 0
call edi
push 0xfffffffffffffff5
mov dword [esp + 0x54], eax
call edi
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], eax
push esi
lea eax, [esp + 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x453fe5
mov ecx, dword [esp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
mov edx, dword [esp + 8]
push edx
call edi
jmp 0x45402e
push 0x140
call fcn.00408960
add esp, 4
test eax, eax
je 0x45402e
push ebx
push str.fork_to_self:_CreateProcess_failed:__s
push 0x140
call fcn.00408640
add esp, 0xc
jmp 0x45402e
push 0x140
call fcn.00408960
add esp, 4
test eax, eax
je 0x45402e
push str.fork_to_self:_CreateProcess_failed:_cannot_get_module_name_via_GetModuleFileName
push 0x140
call fcn.00408640
add esp, 8
push esi
call dword [sym.imp.MSVCR80.dll_free]
mov ecx, dword [esp + 0x168]
add esp, 4
pop edi
pop esi
xor ecx, esp
call fcn.004dcaae
add esp, 0x164
ret

Function at 0x454090
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x54252c]
push esi
push edi
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
test ebx, ebx
je 0x4540e0
mov eax, ebx
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4540b0
sub eax, edx
lea edi, [eax + 1]
push edi
call dword [sym.imp.MSVCR80.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x4540d3
jmp fcn.00408a80
push edi
push ebx
push esi
call sub.MSVCR80.dll_memcpy
add esp, 0xc
jmp 0x4540e2
xor esi, esi
mov ecx, dword [esp + 0xc]
push esi
push ecx
mov eax, str.SystemRoot
mov dword [0x54252c], esi
call fcn.0041a7f0
add esp, 8
pop edi
pop esi
ret
Function at 0x454100
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x110
mov eax, dword [0x535df0]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push 0x100
lea eax, [esp + 0xc]
push eax
push str.SystemRoot
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x454150
push 0x110
call fcn.00408960
add esp, 4
test eax, eax
je 0x454179
push str.SystemRoot
push str.Cannot_find_environmental_variable__s
push 0x110
jmp 0x454171
cmp eax, 0xff
jbe 0x454179
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x454179
push str.SystemRoot
push str.String_overflow_attempting_to_read_environmental_variable__s
push 0x10
call fcn.00408640
add esp, 0xc
push esi
lea ebx, [esp + 0xc]
call fcn.00454090
mov ecx, dword [esp + 0x110]
add esp, 4
pop ebx
xor ecx, esp
call fcn.004dcaae
add esp, 0x110
ret
Function at 0x465fb0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x8c
call fcn.004dcd80
mov eax, dword [0x535df0]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x94]
push ebx
mov ebx, dword [esp + 0xa0]
push ebp
push esi
mov esi, dword [esp + 0x9c]
mov dword [esp + 0xc], eax
xor eax, eax
test ebx, ebx
push edi
mov dword [esp + 0x14], ecx
je 0x465fff
mov eax, 1
mov dword [esi], ebx
jmp 0x466001
mov ebx, dword [esi]
test ecx, ecx
je 0x4660c8
push ebx
call fcn.004676a0
mov edi, eax
add esp, 4
cmp edi, 0x80
jle 0x466030
push str.j____int_sizeof_ctx__key_
push 0x52
push str..cryptohmachmac.c
call fcn.00476040
add esp, 0xc
mov ebp, dword [esp + 0xa8]
cmp edi, ebp
jge 0x466069
mov ecx, dword [esp + 0x10]
push ecx
lea edi, [esi + 4]
push ebx
push edi
call fcn.004682e0
mov edx, dword [esp + 0x20]
push ebp
push edx
push edi
call fcn.00468400
lea ebp, [esi + 0x34]
push ebp
lea eax, [esi + 0x38]
push eax
push edi
call fcn.00468410
add esp, 0x24
jmp 0x4660a4
cmp ebp, 0x80
jbe 0x466085
push str.len_0__len__int_sizeof_ctx__key_
push 0x5c
push str..cryptohmachmac.c
call fcn.00476040
add esp, 0xc
mov ecx, dword [esp + 0x14]
push ebp
push ecx
lea edx, [esi + 0x38]
push edx
call sub.MSVCR80.dll_memcpy
mov eax, dword [esp + 0xb4]
lea ebp, [esi + 0x34]
add esp, 0xc
mov dword [ebp], eax
mov ebp, dword [ebp]
cmp ebp, 0x80
je 0x4660cc
mov ecx, 0x80
sub ecx, ebp
push ecx
lea edx, [esi + ebp + 0x38]
push 0
push edx
call sub.MSVCR80.dll_memset
add esp, 0xc
jmp 0x4660cc
test eax, eax
je 0x466145
xor eax, eax
mov edi, edi
mov cl, byte [esi + eax + 0x38]
xor cl, 0x36
mov byte [esp + eax + 0x18], cl
add eax, 1
cmp eax, 0x80
jl 0x4660d0
mov ebp, dword [esp + 0x10]
push ebp
lea edi, [esi + 0x14]
push ebx
push edi
call fcn.004682e0
push ebx
call fcn.004676a0
push eax
lea edx, [esp + 0x2c]
push edx
push edi
call fcn.00468400
add esp, 0x1c
xor eax, eax
jmp 0x466110
mov cl, byte [esi + eax + 0x38]
xor cl, 0x5c
mov byte [esp + eax + 0x18], cl
add eax, 1
cmp eax, 0x80
jl 0x466110
push ebp
lea edi, [esi + 0x24]
push ebx
push edi
call fcn.004682e0
push ebx
call fcn.004676a0
push eax
lea edx, [esp + 0x2c]
push edx
push edi
call fcn.00468400
add esp, 0x1c
lea eax, [esi + 0x14]
push eax
add esi, 4
push esi
call fcn.00468580
mov ecx, dword [esp + 0xa0]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004dcaae
add esp, 0x8c
ret

Function at 0x466b30
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x58], ecx
mov eax, 1
ret
Function at 0x467a10
Capabilities:
Query environment variable

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, ebx
jne 0x467a35
push 0x164
push str..cryptoengineeng_list.c
push 0x43
push 0x6a
push 0x26
call fcn.0046a850
add esp, 0x14
xor eax, eax
pop ebx
ret
push esi
push 0x167
push str..cryptoengineeng_list.c
push 0x1e
push 9
call fcn.00476070
mov eax, dword [0x535f84]
add esp, 0x10
test eax, eax
mov esi, eax
je 0x467ab8
mov ecx, dword [esi]
mov eax, ebx
jmp 0x467a60
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x467a80
test dl, dl
je 0x467a7c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x467a80
add eax, 2
add ecx, 2
test dl, dl
jne 0x467a60
xor eax, eax
jmp 0x467a85
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x467a92
mov esi, dword [esi + 0x60]
test esi, esi
jne 0x467a57
jmp 0x467ab8
test byte [esi + 0x48], 4
je 0x467ab4
call fcn.00467d90
mov ecx, eax
test ecx, ecx
jne 0x467aa7
xor esi, esi
jmp 0x467ab8
push esi
call fcn.00467990
add esp, 4
mov esi, ecx
jmp 0x467ab8
add dword [esi + 0x4c], 1
push 0x181
push str..cryptoengineeng_list.c
push 0x1e
push 0xa
call fcn.00476070
add esp, 0x10
test esi, esi
je 0x467ad7
mov eax, esi
pop esi
pop ebx
ret
push edi
mov edi, str.dynamic
mov esi, ebx
mov ecx, 8
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x467b79
push str.OPENSSL_ENGINES
call dword [sym.imp.MSVCR80.dll_getenv]
mov edi, eax
add esp, 4
test edi, edi
jne 0x467b07
mov edi, str.d:_VPN_dwopenvpn209_openssl_0.9.8g_output_lib_engines
push str.dynamic
call fcn.00467a10
mov esi, eax
add esp, 4
test esi, esi
je 0x467b79
push 0
push ebx
push 0x4e3534
push esi
call fcn.00468b70
add esp, 0x10
test eax, eax
je 0x467b79
push 0
push 0x4e3530
push str.DIR_LOAD
push esi
call fcn.00468b70
add esp, 0x10
test eax, eax
je 0x467b79
push 0
push edi
push str.DIR_ADD
push esi
call fcn.00468b70
add esp, 0x10
test eax, eax
je 0x467b79
push 0
push 0
push str.LOAD
push esi
call fcn.00468b70
add esp, 0x10
test eax, eax
je 0x467b79
pop edi
mov eax, esi
pop esi
pop ebx
ret
push 0x19f
push str..cryptoengineeng_list.c
push 0x74
push 0x6a
push 0x26
call fcn.0046a850
push ebx
push 0x4e3518
push 2
call fcn.0046a440
add esp, 0x20
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x472200
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
push edi
push esi
push ebx
call dword [sym.imp.MSVCR80.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
jne 0x472292
push 0x7a
push str..crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.0046a850
push 0x4dfd30
push esi
push 0x4e9c40
push ebx
push str.fopen_
push 5
call fcn.0046a440
add esp, 0x2c
call dword [sym.imp.MSVCR80.dll__errno]
cmp dword [eax], 2
jne 0x472277
push 0x7d
push str..crypto_bio_bss_file.c
push 0x80
push 0x6d
push 0x20
call fcn.0046a850
add esp, 0x14
pop edi
pop esi
xor eax, eax
pop ebx
ret
push 0x7f
push str..crypto_bio_bss_file.c
push 2
push 0x6d
push 0x20
call fcn.0046a850
add esp, 0x14
pop edi
pop esi
xor eax, eax
pop ebx
ret
push 0x5310d8
call fcn.0046da10
mov esi, eax
add esp, 4
test esi, esi
jne 0x4722b5
push edi
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
ret
push 0
push esi
call fcn.0046d4e0
push edi
push 1
push 0x6a
push esi
call fcn.0046d7f0
add esp, 0x18
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x473160
Capabilities:
Query environment variable

Disassembly:
mov eax, 0xc
call fcn.004dcd80
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x14]
push ebx
mov ebx, dword [esi + 0x20]
push ebp
shr eax, 6
push edi
and eax, 1
xor ebp, ebp
push str.OPENSSL_ALLOW_PROXY_CERTS
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0xffffffff
call dword [sym.imp.MSVCR80.dll_getenv]
add esp, 4
test eax, eax
je 0x4731a8
mov dword [esp + 0x14], 1
cmp dword [esi + 0x48], ebp
jle 0x473352
mov ecx, dword [esi + 0x4c]
push ebp
push ecx
call fcn.0046ef70
mov edx, dword [esi + 0x14]
add esp, 8
test byte [edx + 0x14], 0x10
mov edi, eax
jne 0x4731ef
test dword [edi + 0x28], 0x200
je 0x4731ef
push esi
push 0
mov dword [esi + 0x5c], 0x22
mov dword [esi + 0x58], ebp
mov dword [esi + 0x60], edi
call ebx
add esp, 8
test eax, eax
je 0x473357
cmp dword [esp + 0x14], 0
jne 0x47321c
test dword [edi + 0x28], 0x400
je 0x47321c
push esi
push 0
mov dword [esi + 0x5c], 0x28
mov dword [esi + 0x58], ebp
mov dword [esi + 0x60], edi
call ebx
add esp, 8
test eax, eax
je 0x473357
push edi
call fcn.00478060
mov ecx, dword [esp + 0x10]
add esp, 4
cmp ecx, 0xffffffff
je 0x473251
test ecx, ecx
je 0x473244
test eax, eax
je 0x473263
mov edx, dword [esi + 0x14]
test byte [edx + 0x14], 0x20
je 0x473284
cmp eax, 1
jmp 0x473261
test eax, eax
je 0x473284
mov dword [esi + 0x5c], 0x25
jmp 0x47326a
mov edx, dword [esi + 0x14]
test byte [edx + 0x14], 0x20
je 0x473284
cmp eax, 1
je 0x473284
test eax, eax
je 0x473284
mov dword [esi + 0x5c], 0x18
push esi
push 0
mov dword [esi + 0x58], ebp
mov dword [esi + 0x60], edi
call ebx
add esp, 8
test eax, eax
je 0x473357
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x18]
test eax, eax
jle 0x4732cf
xor edx, edx
test ecx, ecx
setg dl
push edx
push eax
push edi
call fcn.00478470
add esp, 0xc
test eax, eax
je 0x4732b2
mov ecx, dword [esi + 0x14]
test byte [ecx + 0x14], 0x20
je 0x4732cf
cmp eax, 1
je 0x4732cf
push esi
push 0
mov dword [esi + 0x5c], 0x1a
mov dword [esi + 0x58], ebp
mov dword [esi + 0x60], edi
call ebx
add esp, 8
test eax, eax
je 0x473357
cmp ebp, 1
jle 0x473301
mov eax, dword [edi + 0x20]
cmp eax, 0xffffffff
je 0x473301
mov edx, dword [esp + 0x10]
lea eax, [eax + edx + 1]
cmp ebp, eax
jle 0x473301
push esi
push 0
mov dword [esi + 0x5c], 0x19
mov dword [esi + 0x58], ebp
mov dword [esi + 0x60], edi
call ebx
add esp, 8
test eax, eax
je 0x473357
test dword [edi + 0x28], 0x400
je 0x47333e
mov eax, dword [edi + 0x24]
cmp eax, 0xffffffff
je 0x47332f
cmp ebp, eax
jle 0x47332f
push esi
push 0
mov dword [esi + 0x5c], 0x26
mov dword [esi + 0x58], ebp
mov dword [esi + 0x60], edi
call ebx
add esp, 8
test eax, eax
je 0x473357
add dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
jmp 0x473346
mov dword [esp + 0xc], 1
add ebp, 1
cmp ebp, dword [esi + 0x48]
jl 0x4731b1
mov eax, 1
pop edi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x476980
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
xor esi, esi
test edx, edx
je 0x4769c9
mov al, byte [edx]
test al, al
je 0x4769c9
push edi
mov edi, 0x100
movsx eax, al
or eax, edi
mov ecx, eax
shr ecx, 2
xor ecx, eax
and ecx, 0xf
add edi, 0x100
rol esi, cl
mov ecx, eax
imul ecx, eax
mov al, byte [edx + 1]
add edx, 1
xor esi, ecx
test al, al
jne 0x476997
mov eax, esi
shr eax, 0x10
pop edi
xor eax, esi
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x4c4360
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
mov ebx, dword [esp + 0x10]
cmp ecx, dword [ebx + 4]
push esi
push edi
jge 0x4c4379
mov edi, ebx
mov ebx, eax
jmp 0x4c437b
mov edi, eax
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x10]
cmp eax, dword [esi + 8]
jle 0x4c4391
push eax
push esi
call fcn.0046c320
add esp, 8
xor eax, eax
cmp dword [ebx + 4], eax
jle 0x4c43af
mov edx, dword [edi]
mov ecx, dword [ebx]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [esi]
mov dword [ecx + eax*4], edx
add eax, 1
cmp eax, dword [ebx + 4]
jl 0x4c4398
cmp eax, dword [edi + 4]
jge 0x4c43c6
mov edx, dword [edi]
mov edx, dword [edx + eax*4]
mov ecx, dword [esi]
mov dword [ecx + eax*4], edx
add eax, 1
cmp eax, dword [edi + 4]
jl 0x4c43b4
mov edi, dword [edi + 4]
test edi, edi
mov dword [esi + 4], edi
jle 0x4c43f1
mov eax, dword [esi]
lea eax, [eax + edi*4 - 4]
or ecx, 0xffffffff
lea esp, [esp]
mov edx, dword [eax]
sub eax, 4
test edx, edx
jne 0x4c43f1
add dword [esi + 4], ecx
cmp dword [esi + 4], edx
jg 0x4c43e0
pop edi
pop esi
mov eax, 1
pop ebx
ret