Function at 0x43a840
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e36a8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x6396a8]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x6396a8]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
cmp ebx, 0xffffffff
mov edx, ecx
mov dword [esp + 0x18], edx
jne 0x43a88c
xor eax, eax
jmp 0x43ab50
mov eax, dword [edx + 0x24]
mov ecx, dword [eax]
test ecx, ecx
je 0x43a8b6
mov eax, dword [edx + 0x34]
mov esi, dword [eax]
add esi, ecx
cmp ecx, esi
jae 0x43a8b6
add dword [eax], 0xffffffff
mov eax, dword [edx + 0x24]
mov ecx, dword [eax]
lea edx, [ecx + 1]
mov dword [eax], edx
mov byte [ecx], bl
mov eax, ebx
jmp 0x43ab50
mov eax, dword [edx + 0x4c]
test eax, eax
je 0x43ab4d
cmp dword [edx + 0x3c], 0
jne 0x43a8e4
push eax
movsx eax, bl
push eax
call fcn.005b3b86
add esp, 8
cmp eax, 0xffffffff
je 0x43ab4d
mov eax, ebx
jmp 0x43ab50
mov ecx, 0xf
xor eax, eax
mov edi, 0x10
cmp ecx, edi
mov byte [esp + 0x48], 0
mov byte [esp + 0x14], bl
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x58], 8
jae 0x43a915
lea eax, [esp + 0x48]
mov byte [eax + 8], 0
mov dword [esp + 0x70], 0
jmp 0x43a928
mov edi, 0x10
cmp dword [esp + 0x5c], edi
mov eax, dword [esp + 0x48]
jae 0x43a936
lea eax, [esp + 0x48]
lea ecx, [esp + 0x44]
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.0043e2f0
mov esi, dword [esp + 0x1c]
cmp esi, 0xfffffffe
je 0x43a974
test esi, esi
jne 0x43a957
call fcn.005b2af7
cmp dword [esi + 0x18], edi
jb 0x43a961
mov eax, dword [esi + 4]
jmp 0x43a964
lea eax, [esi + 4]
mov edx, dword [esi + 0x14]
add edx, eax
cmp dword [esp + 0x20], edx
jb 0x43a974
call fcn.005b2af7
cmp dword [esp + 0x5c], edi
mov ebx, dword [esp + 0x58]
mov eax, dword [esp + 0x48]
jae 0x43a986
lea eax, [esp + 0x48]
lea ecx, [esp + 0x44]
push ecx
push eax
lea ecx, [esp + 0x34]
call fcn.0043e2f0
mov esi, dword [esp + 0x2c]
cmp esi, 0xfffffffe
mov edi, dword [esp + 0x30]
je 0x43a9c7
test esi, esi
jne 0x43a9ab
call fcn.005b2af7
cmp dword [esi + 0x18], 0x10
jb 0x43a9b6
mov eax, dword [esi + 4]
jmp 0x43a9b9
lea eax, [esi + 4]
mov edx, dword [esi + 0x14]
add edx, eax
cmp edi, edx
jb 0x43a9c7
call fcn.005b2af7
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x24]
add eax, ebx
push eax
push edi
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x25]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esi + 0x44]
push eax
call edx
test eax, eax
jl 0x43ab44
cmp eax, 1
jg 0x43aafc
mov eax, dword [esp + 0x48]
mov edi, 0x10
cmp dword [esp + 0x5c], edi
jae 0x43aa19
lea eax, [esp + 0x48]
lea ecx, [esp + 0x44]
push ecx
push eax
lea ecx, [esp + 0x44]
call fcn.0043e2f0
mov esi, dword [esp + 0x3c]
cmp esi, 0xfffffffe
mov ebx, dword [esp + 0x40]
je 0x43aa59
test esi, esi
jne 0x43aa3e
call fcn.005b2af7
cmp dword [esi + 0x18], edi
jb 0x43aa48
mov eax, dword [esi + 4]
jmp 0x43aa4b
lea eax, [esi + 4]
mov edx, dword [esi + 0x14]
add edx, eax
cmp ebx, edx
jb 0x43aa59
call fcn.005b2af7
mov edi, dword [esp + 0x28]
sub edi, ebx
je 0x43aac9
cmp dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x48]
jae 0x43aa70
lea eax, [esp + 0x48]
lea ecx, [esp + 0x44]
push ecx
push eax
lea ecx, [esp + 0x3c]
call fcn.0043e2f0
mov esi, dword [esp + 0x34]
cmp esi, 0xfffffffe
mov ebx, dword [esp + 0x38]
je 0x43aab1
test esi, esi
jne 0x43aa95
call fcn.005b2af7
cmp dword [esi + 0x18], 0x10
jb 0x43aaa0
mov eax, dword [esi + 4]
jmp 0x43aaa3
lea eax, [esi + 4]
mov edx, dword [esi + 0x14]
add edx, eax
cmp ebx, edx
jb 0x43aab1
call fcn.005b2af7
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x4c]
push ecx
push edi
push 1
push ebx
call fcn.005b428c
add esp, 0x10
cmp edi, eax
jne 0x43ab44
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
cmp dword [esp + 0x24], eax
mov byte [edx + 0x41], 1
jne 0x43ab36
test edi, edi
ja 0x43a923
cmp dword [esp + 0x58], 0x20
lea ecx, [esp + 0x44]
jae 0x43ab48
push 0
push 8
call fcn.0043b390
jmp 0x43a923
cmp eax, 3
jne 0x43ab44
mov ecx, dword [esi + 0x4c]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.004282e0
add esp, 8
test al, al
je 0x43ab26
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x44]
call fcn.00525310
mov eax, esi
jmp 0x43ab50
lea ecx, [esp + 0x44]
or esi, 0xffffffff
call fcn.00525310
mov eax, esi
jmp 0x43ab50
lea ecx, [esp + 0x44]
call fcn.00525310
mov eax, dword [ebp + 8]
jmp 0x43ab50
lea ecx, [esp + 0x44]
call fcn.00525310
or eax, 0xffffffff
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.005b2f9b
mov esp, ebp
pop ebp
ret 4