Function at 0x40edf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47dec2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov esi, ecx
mov dword [esp + 0x34], ebx
call fcn.00456579
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x30], eax
mov dword [esp + 0x5c], ebx
call fcn.00456579
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x5c], 1
call fcn.00456579
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x5c], 2
call fcn.00456579
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x5c], 3
call fcn.00456579
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x5c], 4
call fcn.00456579
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x5c], 5
call fcn.00456579
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x5c], 6
call fcn.00456579
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x5c], 7
call fcn.00456579
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x28], eax
push 2
mov byte [esp + 0x60], 8
push 0xffffffffffffffff
mov eax, dword [esi + 0x134]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0x100c
push eax
call ebp
mov ecx, dword [esi + 0x134]
inc eax
push 2
lea edi, [eax - 1]
push edi
push 0x100c
push ecx
call ebp
push ebx
push edi
lea edx, [esp + 0x48]
push edx
lea ecx, [esi + 0x118]
call fcn.0044ebb4
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x60], 9
call fcn.00406d40
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ef5c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.module.ini
lea eax, [esp + 0x48]
push 0x4aafa8
push eax
call fcn.00406df0
add esp, 0xc
mov eax, dword [eax]
mov edi, 1
push edi
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x64], 0xa
call fcn.00407040
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40efad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
mov ecx, dword [0x4aae28]
push 0
push eax
push ecx
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x5c]
call fcn.004072e0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 0xd
call fcn.00406d40
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40effb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
push 0x7c
push 0
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.004564be
lea ecx, [esp + 0x10]
call fcn.0040b210
mov ecx, eax
call fcn.0040acc0
mov edx, dword [esp + 0x14]
push 0x7c
push edi
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.004564be
lea ecx, [esp + 0x20]
call fcn.0040b210
mov ecx, eax
call fcn.0040acc0
mov ecx, dword [esp + 0x14]
push 0x7c
push 2
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.004564be
lea ecx, [esp + 0x24]
call fcn.0040b210
mov ecx, eax
call fcn.0040acc0
mov eax, dword [esp + 0x14]
push 0x7c
push 3
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.004564be
lea ecx, [esp + 0x18]
call fcn.0040b210
mov ecx, eax
call fcn.0040acc0
mov edx, dword [esp + 0x14]
push 0x7c
push 4
push edx
lea eax, [esp + 0x28]
push eax
call fcn.004564be
lea ecx, [esp + 0x1c]
call fcn.0040b210
mov ecx, eax
call fcn.0040acc0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
test eax, eax
mov ecx, esi
jne 0x40f0cb
mov edx, dword [0x4ab030]
push 0x40
push edx
push 0x4851b8
call fcn.00452119
jmp 0x40f115
push 0
call fcn.00409040
push 0x3f2
mov ecx, esi
call fcn.004554cc
mov eax, dword [eax + 0x1c]
push 0
push 0
push 0xf0
push eax
call ebp
cmp eax, edi
jne 0x40f274
push 0x4aafa4
lea ecx, [esp + 0x14]
push 0x4aafa0
push ecx
mov dword [0x4a824c], 2
mov ecx, esi
call fcn.0040e740
lea ecx, [esp + 0x4c]
mov byte [esp + 0x5c], 8
call fcn.00404eb0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f146
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f169
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f18c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f1af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f1d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f1f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f218
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f23b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x5c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f261
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret
push 0x3f3
mov ecx, esi
call fcn.004554cc
mov edx, dword [eax + 0x1c]
push 0
push 0
push 0xf0
push edx
call ebp
cmp eax, edi
mov ecx, esi
jne 0x40f2b3
push 0x4aafa4
push 0x4aafa0
lea eax, [esp + 0x18]
mov dword [0x4a824c], 4
push eax
jmp 0x40f110
push 0x3f5
call fcn.004554cc
mov ecx, dword [eax + 0x1c]
push 0
push 0
push 0xf0
push ecx
call ebp
cmp eax, edi
jne 0x40f4e5
lea edx, [esp + 0x40]
push edx
call fcn.0040c4a0
add esp, 4
push eax
mov ecx, 0x4aae3c
mov byte [esp + 0x60], 0xe
call fcn.00406d40
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f314
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x40f4d3
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x40f4d3
mov eax, dword [esi + 0x168]
test eax, eax
jne 0x40f365
mov edx, dword [0x4ab030]
push 0x21
push edx
push 0x485170
mov ecx, esi
call fcn.00452119
cmp eax, edi
jne 0x40f6ac
mov ecx, esi
call fcn.0040eab0
jmp 0x40f6ac
push str.openvpn.exe
lea ecx, [esp + 0x38]
call fcn.00406f90
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x60], 0xf
call fcn.0040c390
add esp, 4
lea ecx, [esp + 0x34]
mov ebp, eax
mov byte [esp + 0x5c], 0xc
call fcn.004046e0
test ebp, ebp
je 0x40f3ac
mov ecx, dword [0x4ab030]
push 0x40
push ecx
push 0x4850f0
jmp 0x40f6a5
lea edx, [esp + 0x10]
push edx
mov ecx, 0x4aae2c
call fcn.00406d40
lea eax, [esp + 0x20]
push eax
mov ecx, 0x4aae30
call fcn.00406d40
lea ecx, [esp + 0x24]
push ecx
mov ecx, 0x4aae34
call fcn.00406d40
mov ecx, 0x4aae34
call fcn.0040ac60
push 0x4850e8
push 0x4aae34
call fcn.0040a150
add esp, 8
test al, al
je 0x40f40c
mov edx, dword [0x4ab030]
push 0x40
push edx
push 0x4850b4
jmp 0x40f6a5
push 0x88
call fcn.004563d8
mov esi, eax
add esp, 4
mov dword [esp + 0x48], esi
test esi, esi
mov byte [esp + 0x5c], 0x10
je 0x40f490
push 0
lea ecx, [esp + 0x44]
call fcn.00406f90
push 0
lea ecx, [esp + 0x40]
mov byte [esp + 0x60], 0x11
mov dword [esp + 0x38], edi
call fcn.00406f90
push str.OPENVPN_TCPl
lea ecx, [esp + 0x3c]
mov dword [esp + 0x60], 0x12
mov dword [esp + 0x38], 3
call fcn.00406f90
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x40]
push ecx
push 0x12
lea edx, [esp + 0x44]
mov ebx, 7
push edx
mov ecx, esi
mov dword [esp + 0x6c], 0x13
mov dword [esp + 0x44], ebx
call fcn.0041c540
jmp 0x40f492
xor eax, eax
test bl, 4
mov dword [0x4aae10], eax
je 0x40f4a8
lea ecx, [esp + 0x38]
and ebx, 0xfffffffb
call fcn.004046e0
test bl, 2
je 0x40f4b9
lea ecx, [esp + 0x3c]
and ebx, 0xfffffffd
call fcn.004046e0
test bl, 1
mov dword [esp + 0x5c], 0xc
je 0x40f7ed
lea ecx, [esp + 0x40]
jmp 0x40f7e8
mov eax, dword [0x4ab030]
push 0x40
push eax
push 0x485078
jmp 0x40f6a5
push 0x3f4
mov ecx, esi
call fcn.004554cc
mov ecx, dword [eax + 0x1c]
push 0
push 0
push 0xf0
push ecx
call ebp
cmp eax, edi
jne 0x40f115
push 0
push 0x3f7
mov ecx, esi
call fcn.004554cc
mov ecx, eax
call fcn.00455797
push 0
push 0x3f8
mov ecx, esi
call fcn.004554cc
mov ecx, eax
call fcn.00455797
lea edx, [esp + 0x40]
push edx
call fcn.0040c4a0
add esp, 4
push eax
mov ecx, 0x4aae3c
mov byte [esp + 0x60], 0x17
call fcn.00406d40
lea ecx, [esp + 0x40]
mov byte [esp + 0x5c], 0xc
call fcn.004046e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x40f4d3
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x40f4d3
mov eax, dword [esi + 0x168]
test eax, eax
je 0x40f33c
push str.openvpn.exe
lea ecx, [esp + 0x44]
call fcn.00406f90
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x60], 0x18
call fcn.0040c390
add esp, 4
lea ecx, [esp + 0x40]
mov ebp, eax
mov byte [esp + 0x5c], 0xc
call fcn.004046e0
test ebp, ebp
je 0x40f650
mov ecx, dword [0x4ab030]
push 0x40
push ecx
push 0x4850f0
mov ecx, esi
call fcn.00452119
push edi
mov ecx, esi
call fcn.00409040
lea ecx, [esp + 0x4c]
mov byte [esp + 0x5c], 8
call fcn.00404eb0
lea ecx, [esp + 0x28]
call fcn.004046e0
lea ecx, [esp + 0x2c]
call fcn.004046e0
lea ecx, [esp + 0x18]
call fcn.004046e0
lea ecx, [esp + 0x1c]
call fcn.004046e0
lea ecx, [esp + 0x20]
call fcn.004046e0
lea ecx, [esp + 0x24]
call fcn.004046e0
lea ecx, [esp + 0x10]
call fcn.004046e0
lea ecx, [esp + 0x14]
call fcn.004046e0
lea ecx, [esp + 0x30]
call fcn.004046e0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret
lea edx, [esp + 0x10]
push edx
mov ecx, 0x4aae2c
call fcn.00406d40
lea eax, [esp + 0x18]
push eax
mov ecx, 0x4aae30
call fcn.00406d40
lea ecx, [esp + 0x1c]
push ecx
mov ecx, 0x4aae34
call fcn.00406d40
push 0x485074
push 0x4aae34
call fcn.0040a150
add esp, 8
test al, al
je 0x40f726
mov edx, dword [0x4ab030]
push 0x40
push edx
push 0x485040
mov ecx, esi
call fcn.00452119
push edi
mov ecx, esi
call fcn.00409040
lea ecx, [esp + 0x4c]
mov byte [esp + 0x5c], 8
call fcn.00404eb0
lea ecx, [esp + 0x28]
call fcn.004046e0
lea ecx, [esp + 0x2c]
call fcn.004046e0
lea ecx, [esp + 0x18]
call fcn.004046e0
lea ecx, [esp + 0x1c]
call fcn.004046e0
lea ecx, [esp + 0x20]
call fcn.004046e0
lea ecx, [esp + 0x24]
call fcn.004046e0
lea ecx, [esp + 0x10]
call fcn.004046e0
lea ecx, [esp + 0x14]
call fcn.004046e0
lea ecx, [esp + 0x30]
call fcn.004046e0
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret
push 0x88
call fcn.004563d8
mov esi, eax
add esp, 4
mov dword [esp + 0x48], esi
test esi, esi
mov byte [esp + 0x5c], 0x19
je 0x40f7ae
push 0
lea ecx, [esp + 0x3c]
call fcn.00406f90
push 0
lea ecx, [esp + 0x40]
mov byte [esp + 0x60], 0x1a
mov dword [esp + 0x38], 8
call fcn.00406f90
push str.OPENVPN_UDP_l
lea ecx, [esp + 0x44]
mov dword [esp + 0x60], 0x1b
mov dword [esp + 0x38], 0x18
call fcn.00406f90
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x40]
push ecx
push 0x12
lea edx, [esp + 0x4c]
mov ebx, 0x38
push edx
mov ecx, esi
mov dword [esp + 0x6c], 0x1c
mov dword [esp + 0x44], ebx
call fcn.0041c540
jmp 0x40f7b0
xor eax, eax
test bl, 0x20
mov dword [0x4aae10], eax
je 0x40f7c6
lea ecx, [esp + 0x40]
and ebx, 0xffffffdf
call fcn.004046e0
test bl, 0x10
je 0x40f7d7
lea ecx, [esp + 0x3c]
and ebx, 0xffffffef
call fcn.004046e0
test bl, 8
mov dword [esp + 0x5c], 0xc
je 0x40f7ed
lea ecx, [esp + 0x38]
call fcn.004046e0
mov eax, dword [0x4aae10]
mov dword [eax + 0x84], edi
mov ecx, dword [0x4aae10]
mov edx, dword [ecx]
push 0
push 0x8d
call dword [edx + 0x130]
mov ecx, dword [0x4aae10]
push 0
call fcn.0045575b
jmp 0x40f115