Function at 0x446830
Capabilities:
Terminate process

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
lea eax, [esp + 0xc]
push edi
push eax
call fcn.004347d0
add esp, 4
test eax, eax
jne 0x446855
lea ebx, [esp + 0x10]
call fcn.00434490
push pe_nt_image_headers32
push 0
push ebp
call sub.MSVCR80.dll_memset
mov ebx, dword [esp + 0x34]
mov ecx, dword [ebx]
mov edx, dword [ecx]
add esp, 0xc
push edx
call fcn.00456a40
add esp, 4
test eax, eax
mov dword [ebp + 8], eax
jne 0x4468a0
push 0x410
call fcn.00408960
add esp, 4
test eax, eax
je 0x4468a0
push str.SSL_new_failed
push 0x410
call fcn.00408640
add esp, 8
mov eax, dword [0x542230]
mov ecx, dword [ebp + 8]
push ebx
push eax
push ecx
call fcn.004568b0
add esp, 0xc
call fcn.00458100
push eax
call fcn.0046da10
mov esi, eax
add esp, 4
test esi, esi
jne 0x4468ef
push 0x410
call fcn.00408960
add esp, 4
test eax, eax
je 0x4468ef
push str.ssl_bio
push str.Error_creating__s_BIO
push 0x410
call fcn.00408640
add esp, 0xc
mov dword [ebp + 0xc], esi
call fcn.0046e4a0
push eax
call fcn.0046da10
mov esi, eax
add esp, 4
test esi, esi
jne 0x44692e
push 0x410
call fcn.00408960
add esp, 4
test eax, eax
je 0x44692e
push str.ct_in
push str.Error_creating__s_BIO
push 0x410
call fcn.00408640
add esp, 0xc
mov dword [ebp + 0x10], esi
call fcn.0046e4a0
push eax
call fcn.0046da10
mov esi, eax
add esp, 4
test esi, esi
jne 0x44696d
push 0x410
call fcn.00408960
add esp, 4
test eax, eax
je 0x44696d
push str.ct_out
push str.Error_creating__s_BIO
push 0x410
call fcn.00408640
add esp, 0xc
mov dword [ebp + 0x14], esi
mov edx, dword [ebx]
cmp dword [edx + 0x10], 0
je 0x446983
mov eax, dword [ebp + 8]
push eax
call fcn.00457380
jmp 0x44698c
mov ecx, dword [ebp + 8]
push ecx
call fcn.004573b0
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
add esp, 4
push edx
push eax
push ecx
call fcn.00455570
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add esp, 0xc
push edx
push 0
push 0x6d
push eax
call fcn.0046d7f0
mov ecx, dword [ebx + 0x50]
mov dword [ebp + 0x30], ecx
mov dword [ebx + 0x50], 3
mov dword [ebp], 1
mov edx, dword [ebx + 0x5c]
mov dword [ebp + 4], edx
mov eax, dword [ebx + 0x5c]
add eax, 1
add esp, 0x10
and eax, 7
mov dword [ebx + 0x5c], eax
jne 0x4469e6
mov dword [ebx + 0x5c], 1
mov esi, dword [sym.imp.MSVCR80.dll_malloc]
push 0xe0
call esi
add esp, 4
test eax, eax
mov dword [ebp + 0x98], eax
jne 0x446a05
jmp fcn.00408a80
push 0xe0
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x158
call esi
add esp, 4
test eax, eax
mov dword [ebp + 0xcc], eax
jne 0x446a2e
jmp fcn.00408a80
push 0x158
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x158
call esi
add esp, 4
test eax, eax
mov dword [ebp + 0xd0], eax
jne 0x446a57
jmp fcn.00408a80
push 0x158
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x24
call esi
add esp, 4
test eax, eax
mov dword [ebp + 0xd4], eax
jne 0x446a7d
jmp fcn.00408a80
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov edi, 0x400
mov dword [eax + 0x1c], ecx
push edi
mov dword [eax + 0x20], ecx
call esi
add esp, 4
test eax, eax
jne 0x446aad
jmp fcn.00408a80
mov byte [eax], 0
mov dword [ebp + 0x9c], edi
xor ecx, ecx
mov dword [ebp + 0xa0], ecx
mov dword [ebp + 0xa4], ecx
push 0x400
mov dword [ebp + 0xa8], eax
call esi
add esp, 4
test eax, eax
jne 0x446add
jmp fcn.00408a80
mov byte [eax], 0
mov dword [ebp + 0xac], edi
xor ecx, ecx
mov dword [ebp + 0xb0], ecx
mov dword [ebp + 0xb4], ecx
mov dword [ebp + 0xb8], eax
mov eax, dword [ebx]
mov esi, dword [eax + 0xe4]
add esi, dword [eax + 0xdc]
mov edx, dword [eax + 0xd8]
mov ecx, dword [eax + 0xe0]
mov eax, dword [eax + 0xd0]
add esi, edx
add esi, ecx
lea esi, [eax + esi*2]
sub esi, edx
sub esi, ecx
push 0
lea edi, [esp + 0x14]
call fcn.00402dc0
mov ecx, dword [eax]
mov dword [ebp + 0xbc], ecx
mov edx, dword [eax + 4]
mov dword [ebp + 0xc0], edx
mov ecx, dword [eax + 8]
mov dword [ebp + 0xc4], ecx
mov edx, dword [eax + 0xc]
add esp, 4
cmp dword [ebp + 4], 0
mov dword [ebp + 0xc8], edx
je 0x446b60
xor edi, edi
jmp 0x446b65
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov eax, dword [ebx]
mov ecx, dword [eax + 0xe4]
add ecx, dword [eax + 0xe0]
mov esi, dword [eax + 0xd8]
add ecx, dword [eax + 0xdc]
mov edx, dword [eax + 0xe0]
add ecx, dword [eax + 0xd8]
push edi
mov edi, ecx
neg edi
and edi, 3
add edi, ecx
mov ecx, dword [eax + 0xe4]
add ecx, dword [eax + 0xdc]
push edi
add ecx, esi
add ecx, edx
add ecx, ecx
sub ecx, esi
sub ecx, edx
mov edx, dword [ebp + 0xcc]
add ecx, dword [eax + 0xd0]
push edx
mov eax, 4
call fcn.0043b720
mov eax, dword [ebx]
mov ecx, dword [eax + 0xe4]
add ecx, dword [eax + 0xe0]
mov esi, dword [eax + 0xd8]
add ecx, dword [eax + 0xdc]
mov edx, dword [eax + 0xe0]
add ecx, dword [eax + 0xd8]
add esp, 0xc
mov edi, ecx
neg edi
and edi, 3
add edi, ecx
mov ecx, dword [eax + 0xe4]
add ecx, dword [eax + 0xdc]
push 0
add ecx, esi
add ecx, edx
add ecx, ecx
sub ecx, esi
sub ecx, edx
add ecx, dword [eax + 0xd0]
mov eax, dword [ebp + 0xd0]
push edi
push eax
mov eax, 8
call fcn.0043b720
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x38]
mov edx, dword [ebp + 0xcc]
mov dword [edx + 4], eax
mov ebx, dword [ebx]
mov ecx, dword [ebx + 0xac]
mov ebx, dword [ebx + 0xa8]
add esp, 0xc
push ecx
lea esi, [ebp + 0x50]
call fcn.004349d0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret