Function at 0x438560
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5206f6
mov eax, dword fs:[0]
push eax
mov eax, 0x100c
call fcn.004e7080
mov eax, dword [0x597f54]
xor eax, esp
mov dword [esp + 0x1008], eax
push ebp
push esi
push edi
mov eax, dword [0x597f54]
xor eax, esp
push eax
lea eax, [esp + 0x101c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1030]
mov esi, ecx
call fcn.004b4151
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4385c1
push 0x80004005
call fcn.004010bd
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x10], ebp
mov ecx, esi
mov dword [esp + 0x1024], 0
call fcn.00438430
test al, al
jne 0x438615
lea eax, [ebp - 0x10]
mov dword [esp + 0x1024], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43860e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x43878d
mov ecx, dword [esp + 0x102c]
mov edx, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 8]
push edx
call fcn.00438210
test eax, eax
jne 0x438631
xor ecx, ecx
jmp 0x438641
mov ecx, eax
lea ebp, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x438636
sub ecx, ebp
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00401452
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + 4]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0040acb6
add esp, 0xc
push eax
mov ecx, edi
mov byte [esp + 0x1028], 1
call fcn.00402e5a
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x1024], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43869a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi]
push 0
push eax
call fcn.004e434a
add esp, 8
test eax, eax
jne 0x4386df
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x1024], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43878b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x43878b
mov edi, dword [edi]
push 0x52e76c
push edi
call fcn.004e3d1b
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x438701
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
jmp 0x4385ea
mov ecx, dword [esp + 0x102c]
mov edx, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 8]
push edx
call fcn.00438240
mov edi, eax
test edi, edi
jne 0x438731
push ebp
call fcn.004e39fa
add esp, 4
lea ecx, [esp + 0x10]
call fcn.0040a724
xor al, al
jmp 0x43878d
mov ecx, dword [esi + 8]
push edi
push 0x1000
lea eax, [esp + 0x20]
push eax
call fcn.004382e0
test eax, eax
je 0x438770
push ebp
push eax
lea ecx, [esp + 0x20]
push 1
push ecx
call fcn.004e3bd5
mov ecx, dword [esi + 8]
add esp, 0x10
push edi
push 0x1000
lea edx, [esp + 0x20]
push edx
call fcn.004382e0
test eax, eax
jne 0x438748
mov ecx, dword [esi + 8]
push edi
call fcn.004383a0
push ebp
call fcn.004e39fa
add esp, 4
lea ecx, [esp + 0x10]
call fcn.0040a724
mov al, 1
mov ecx, dword [esp + 0x101c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x1008]
xor ecx, esp
call fcn.004e2867
add esp, 0x1018
ret 8