Function at 0x436250
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x230
mov eax, dword [0x5b0c20]
xor eax, esp
mov dword [esp + 0x22c], eax
mov eax, dword [esp + 0x234]
push ebx
push ebp
xor ebx, ebx
push esi
mov esi, ecx
mov ecx, dword [esp + 0x244]
push edi
mov dword [esp + 0x34], ecx
mov byte [ecx], bl
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
push ebx
push eax
mov ecx, esi
mov dword [esp + 0x34], ebx
xor edi, edi
mov dword [esp + 0x20], ebx
xor ebp, ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.00435ad0
test eax, eax
je 0x4364d6
mov eax, dword [esi + 0xc18]
call eax
mov edi, eax
cmp edi, ebx
je 0x4364d6
push str.certificates_tmp.key
push str.certificates_tmp.crt
push str.certificates_root_ca.crt
push edi
mov ecx, esi
call fcn.00435e00
test eax, eax
jne 0x4364d6
mov edx, dword [esi + 0xc20]
lea ecx, [esp + 0x13c]
push ecx
push 0x271a
push edi
call edx
mov ecx, dword [esi + 0xc20]
lea eax, [esi + 0x7b1]
push eax
push 0x2712
push edi
call ecx
mov edx, dword [esi + 0xc20]
push 1
push 0x2f
push edi
call edx
push 0x11
lea eax, [esi + 0x62d]
push eax
mov eax, dword [esi + 0xc2c]
push 4
push str.hostname
push 1
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x54]
push edx
call eax
add esp, 0x40
test eax, eax
jne 0x4364d6
mov ecx, dword [esp + 0x24]
push 0x11
push ecx
mov ecx, dword [esi + 0xc2c]
push 4
push str.signreq
push 1
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x30]
push eax
call ecx
add esp, 0x1c
test eax, eax
jne 0x4364d6
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0xc20]
push edx
push 0x2728
push edi
call eax
add esp, 0xc
test eax, eax
jne 0x4364d6
mov edx, dword [esi + 0xc20]
lea ecx, [esp + 0x1c]
push ecx
push 0x2711
push edi
call edx
mov eax, dword [esi + 0xc20]
push 0x435c70
push 0x4e2b
push edi
call eax
mov edx, dword [esi + 0xc20]
lea ecx, [esp + 0x44]
push ecx
push 0x272d
push edi
call edx
mov eax, dword [esi + 0xc20]
push 0x435cf0
push 0x4e6f
push edi
call eax
mov ecx, dword [esi + 0xc24]
push edi
call ecx
add esp, 0x34
push eax
push edi
mov ecx, esi
call fcn.00435fa0
mov dword [esp + 0x10], eax
cmp eax, ebx
je 0x4364d6
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x20], ebx
je 0x4364d6
cmp dword [esp + 0x1c], ebx
je 0x4364d6
push 0x104
lea edx, [esi + 0x20c]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.005286b0
push 0x104
lea ecx, [esp + 0x48]
push str.certificatesclient_pk.crt
push ecx
call fcn.00528570
lea edx, [esp + 0x50]
push 0x557a94
push edx
call fcn.005279de
add esp, 0x20
mov dword [esp + 0x14], eax
cmp eax, ebx
je 0x4364d4
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push eax
push ecx
push 1
push edx
call fcn.00527898
add esp, 0x10
cmp eax, dword [esp + 0x20]
jne 0x4364c1
mov edx, dword [esp + 0x2c]
cmp edx, ebx
je 0x4364c1
mov ebp, dword [esp + 0x24c]
mov ecx, dword [esp + 0x30]
lea eax, [ebp - 1]
cmp ecx, eax
mov dword [esp + 0x10], 1
jge 0x4364aa
mov eax, ecx
push eax
mov eax, dword [esp + 0x38]
push edx
push eax
call fcn.005286b0
mov ecx, dword [esp + 0x40]
add esp, 0xc
mov byte [ecx + ebp - 1], bl
mov edx, dword [esp + 0x14]
push edx
call fcn.005276ba
mov ebp, dword [esp + 0x18]
add esp, 4
jmp 0x4364d6
mov ebp, eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4364ea
push eax
mov eax, dword [esi + 0xc30]
call eax
add esp, 4
cmp edi, ebx
je 0x4364fa
mov ecx, dword [esi + 0xc1c]
push edi
call ecx
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x43650b
push eax
call fcn.005251b8
add esp, 4
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x43651c
push eax
call fcn.005251b8
add esp, 4
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x43652d
push eax
call fcn.005251b8
add esp, 4
cmp ebp, ebx
je 0x43653a
push ebp
call fcn.005276ba
add esp, 4
mov ecx, dword [esp + 0x23c]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00524d83
add esp, 0x230
ret 0xc