Function at 0x435920
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x33c
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x270]
push esi
xor esi, esi
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x2c], esi
call fcn.0042ef90
add esp, 4
cmp dword [ebx + 0x230], esi
jne 0x435968
mov ecx, dword [ebx + 0x270]
push ecx
call fcn.0042efb0
add esp, 4
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
mov edi, dword [ebp + 8]
push 0x44fa34
push edi
call fcn.0043cc0b
add esp, 8
mov dword [ebp - 8], eax
cmp eax, esi
jne 0x43599b
mov edx, dword [ebx + 0x270]
push edx
call fcn.0042efb0
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
call fcn.0041a140
add esp, 8
cmp byte [ebx + 0x2aa], 0
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
je 0x4359de
push str.hash
push str.shared
push str.location
push str.fileset
lea eax, [ebp - 0x33c]
push str._s_t_s_t_s_t_s_r_n
push eax
call fcn.0043c2fb
add esp, 0x18
jmp 0x435a01
push str.shared
push str.location
push str.fileset
lea ecx, [ebp - 0x33c]
push str._s_t_s_t_s_r_n
push ecx
call fcn.0043c2fb
add esp, 0x14
lea eax, [ebp - 0x33c]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435a10
sub eax, edx
mov edx, dword [ebp - 8]
push edx
mov esi, eax
push esi
lea eax, [ebp - 0x33c]
push 1
push eax
call fcn.0043d6c5
add esp, 0x10
cmp eax, esi
je 0x435a6b
mov ecx, dword [ebp - 8]
push ecx
call fcn.0043c7b7
push edi
call fcn.0043def0
mov edx, dword [ebx + 0x270]
push edx
call fcn.0042efb0
mov eax, dword [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.0042fb80
add esp, 0x14
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 8]
push edx
call fcn.0043d987
mov eax, dword [ebx + 0x280]
push eax
call fcn.0042ef90
add esp, 8
cmp dword [ebx + 0x234], 0
jne 0x435ab2
mov ecx, dword [ebx + 0x280]
push ecx
call fcn.0042efb0
mov edx, dword [ebx + 0x270]
push edx
call fcn.0042efb0
add esp, 8
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebx + 0x234]
mov cl, byte [eax + 0xb]
and cl, byte [eax + 0xa]
mov edx, dword [ebx + 0x280]
mov esi, dword [eax + 0x194]
mov byte [ebp - 1], cl
movzx ecx, byte [eax + 0xe]
push edx
mov byte [ebp - 0x11], cl
mov dword [ebp - 0x30], esi
call fcn.0042efb0
add esp, 4
test esi, esi
jne 0x435b04
cmp byte [ebp - 1], 0
je 0x435b04
mov eax, dword [ebx + 0x270]
push eax
call fcn.0042efb0
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebx + 0x230]
push 0
call fcn.004112d0
mov esi, eax
test esi, esi
je 0x435e2b
jmp 0x435b20
inc dword [ebp - 0x24]
push esi
mov ecx, ebx
call fcn.00433ce0
test al, al
jne 0x435e12
push 0x2e
push esi
call fcn.0043b260
add esp, 8
cmp byte [ebx + 0x23d], 0
jne 0x435b64
test eax, eax
je 0x435b64
push str..inf
push eax
call fcn.0044b825
add esp, 8
test eax, eax
jne 0x435b64
mov edi, esi
mov dword [ebp - 0x28], edi
jmp 0x435b74
push 0x5c
push esi
call fcn.00419090
add esp, 8
mov dword [ebp - 0x28], eax
mov edi, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
push ecx
push edi
push edx
call fcn.00430320
add esp, 0xc
test al, al
jne 0x435e12
mov ecx, dword [ebx + 0x230]
call fcn.00411320
push eax
lea eax, [ebp - 0x2c]
push eax
push edi
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.00430b20
add esp, 0x14
push esi
mov ecx, ebx
call fcn.004348b0
cmp byte [ebp - 1], 0
mov edi, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0x454d20
je 0x435be8
movzx eax, byte [ebp - 0x11]
mov ecx, dword [ebx + 0x230]
push 0
push eax
push str.nocache
push esi
call fcn.00414a90
test eax, eax
je 0x435bef
mov dword [ebp - 0x1c], 0x454134
mov ecx, dword [ebx + 0x230]
push 0
push 0
push str.optional
push esi
call fcn.00414a90
test eax, eax
je 0x435c1e
push 0
push 0x453270
mov ecx, ebx
call fcn.00432bb0
mov dword [ebp - 0x18], eax
jmp 0x435cec
test edi, edi
je 0x435c3b
push 0
push edi
mov ecx, ebx
mov dword [ebp - 0x1c], 0x454134
call fcn.00432bb0
mov dword [ebp - 0x18], eax
jmp 0x435cec
mov eax, dword [ebp - 0x1c]
mov edi, 0x454134
mov cl, byte [eax]
cmp cl, byte [edi]
jne 0x435c63
test cl, cl
je 0x435c5f
mov cl, byte [eax + 1]
cmp cl, byte [edi + 1]
jne 0x435c63
add eax, 2
add edi, 2
test cl, cl
jne 0x435c43
xor eax, eax
jmp 0x435c68
sbb eax, eax
sbb eax, 0xffffffff
push 0
test eax, eax
jne 0x435c7b
push esi
mov ecx, ebx
call fcn.00432bb0
mov dword [ebp - 0x18], eax
jmp 0x435cec
mov ecx, dword [ebx + 0x230]
push 0
push str.hash
push esi
call fcn.004149a0
push eax
push esi
mov ecx, ebx
call fcn.004323f0
mov dword [ebp - 0x20], eax
test eax, eax
je 0x435e12
mov ecx, dword [ebp - 0x30]
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x435ca8
sub ecx, edi
cmp byte [ecx + eax - 6], 0x5c
lea eax, [ecx + eax - 6]
jne 0x435cbd
inc eax
mov ecx, ebx
test eax, eax
je 0x435e9c
push 0
push eax
call fcn.00432bb0
lea ecx, [ebp - 0x20]
push ecx
mov ecx, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0x454d20
call fcn.00432c80
test al, al
je 0x435e6c
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
push edx
push eax
push ecx
lea edx, [ebp - 0x33c]
push str._s_t_s_t_s
push edx
call fcn.0043c2fb
add esp, 0x14
cmp byte [ebx + 0x2aa], 0
je 0x435d76
lea edi, [ebp - 0x33c]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x435d20
mov ax, word [0x45352c]
mov ecx, dword [ebx + 0x230]
push 0
push 0x450948
push str.hash
push esi
mov word [edi], ax
call fcn.004149a0
mov esi, eax
jmp 0x435d50
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435d50
lea edi, [ebp - 0x33c]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x435d60
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x33c]
dec eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x435d80
mov cx, word [0x453338]
mov dl, byte [0x45333a]
mov word [eax], cx
mov byte [eax + 2], dl
lea eax, [ebp - 0x18]
push eax
mov ecx, ebx
call fcn.00432c80
lea ecx, [ebp - 0x33c]
push 0x44fc78
push ecx
call fcn.0043b2a0
add esp, 8
test eax, eax
je 0x435dd5
mov edi, edi
push 0x44fc78
push eax
mov byte [eax], 0x5c
call fcn.0043b2a0
add esp, 8
test eax, eax
jne 0x435dc0
lea eax, [ebp - 0x33c]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435de0
mov esi, dword [ebp - 8]
sub eax, edx
push esi
mov edi, eax
push edi
lea edx, [ebp - 0x33c]
push 1
push edx
call fcn.0043d6c5
add esp, 0x10
push esi
cmp eax, edi
jne 0x435ea9
call fcn.0043d987
add esp, 4
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebx + 0x230]
push eax
call fcn.004112d0
mov esi, eax
test esi, esi
jne 0x435b20
mov eax, dword [ebp - 8]
push eax
call fcn.0043c7b7
mov ecx, dword [ebx + 0x270]
push ecx
call fcn.0042efb0
mov edx, dword [ebp - 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.0042fb80
mov eax, dword [ebp + 0xc]
add esp, 0x10
test eax, eax
je 0x435ede
push eax
mov ecx, ebx
call fcn.00432580
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 8]
push ecx
call fcn.0043c7b7
mov edx, dword [ebx + 0x270]
push edx
call fcn.0042efb0
mov eax, dword [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.0042fb80
add esp, 0x10
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x20]
push eax
call fcn.00432c80
mov ecx, dword [ebp - 8]
push ecx
call fcn.0043c7b7
mov edx, dword [ebp + 8]
push edx
call fcn.0043def0
mov eax, dword [ebx + 0x270]
push eax
call fcn.0042efb0
mov ecx, dword [ebp - 0xc]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.0042fb80
add esp, 0x14
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8