Function at 0x432930
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x274
mov eax, dword [0x5b0c20]
xor eax, esp
mov dword [esp + 0x270], eax
mov eax, dword [esp + 0x280]
push ebx
push ebp
mov ebp, dword [esp + 0x284]
push esi
push edi
mov edi, dword [esp + 0x288]
xor ebx, ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ebx
call fcn.0044b8f0
mov esi, eax
cmp esi, ebx
jne 0x4329c9
cmp dword [0x5b2ebc], ebx
jne 0x43298e
cmp dword [0x5b2db8], ebx
je 0x432a4c
mov ecx, dword [0x5b2ec0]
push 1
push 0x3f58
mov dword [esp + 0x38], 1
mov dword [esp + 0x40], ecx
call fcn.00525178
lea edx, [esp + 0x38]
add esp, 8
mov dword [esp + 0x24], eax
mov dword [eax + 0x734], edx
mov dword [eax + 0x35c], 0x1000
mov esi, eax
push 0x1c60
call fcn.00401bb0
mov ebx, eax
add esp, 4
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x432d36
mov eax, dword [esi + 0x734]
lea ecx, [eax + 8]
mov eax, dword [eax]
test eax, eax
jbe 0x432a09
mov edx, ecx
mov edi, dword [edx]
cmp edi, dword [ecx]
jae 0x4329fd
mov ecx, edx
add edx, 0x18
sub eax, 1
jne 0x4329f5
mov edi, dword [esp + 0x10]
xor eax, eax
push eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov esi, dword [esi + 0x35c]
mov ecx, dword [ecx]
push ebx
push esi
lea eax, [esp + 0x34]
push eax
push esi
push ecx
call fcn.00413640
add esp, 0x18
test eax, eax
jne 0x432a69
push eax
push edi
push 0xef1c
push 0xf03f
mov ecx, 0x5b2810
call fcn.00405df0
jmp 0x432d2d
push ebx
push edi
push 0xef1c
push 0xef40
mov ecx, 0x5b2810
call fcn.00405df0
xor eax, eax
jmp 0x432d4b
cmp dword [ebp + 0x2aec], 0
jne 0x432a8e
push 0
push edi
push 0xef1c
push 0xef41
mov ecx, 0x5b2810
call fcn.00405df0
jmp 0x432d2d
lea esi, [ebx + 0x1400]
push esi
push ebp
call fcn.0040a960
add esp, 8
test eax, eax
je 0x432ab5
add esi, 0x600
mov ecx, 0x6c
lea edi, [ebx + 0x1000]
rep movsd dword es:[edi], dword [esi]
lea edx, [ebx + 0x11b0]
push edx
push ebp
call fcn.0040ac10
lea esi, [ebp + 0x8a8]
lea edi, [ebx + 0x1250]
mov ecx, 0x18
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x2af2]
mov dword [ebx + 0x12b0], eax
mov ecx, dword [ebp + 0x2af6]
add esp, 8
mov dword [ebx + 0x12b4], ecx
mov dword [ebx + 0x12b8], 0x1010101
mov dword [esp + 0x20], 0
xor eax, eax
jmp 0x432b10
movzx ecx, word [eax + str.A:_rb_flop_boot]
mov word [esp + eax + 0x200], cx
add eax, 2
test cx, cx
jne 0x432b10
mov edx, dword [esp + 0x14]
mov ax, word [edx + 0x288]
push 0
push 0x80
push 2
push 0
push 3
push 2
lea ecx, [esp + 0x218]
push ecx
mov word [esp + 0x21c], ax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x432d2d
push 0x167a00
call fcn.00401bb0
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x432bf5
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [esp + 0x24]
push edx
push 0x200
push ebx
push esi
call edi
test eax, eax
je 0x432bcd
push 0
lea eax, [esp + 0x24]
push eax
push 0x400
lea eax, [ebx + 0x1000]
push eax
push esi
call edi
test eax, eax
je 0x432bcd
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x24]
push ecx
push 0x167a00
push edx
push esi
call edi
test eax, eax
je 0x432bcd
mov dword [esp + 0x18], 1
jmp 0x432be8
mov eax, dword [esp + 0x10]
push 0
push eax
push 0xef1c
push 0x9a
mov ecx, 0x5b2810
call fcn.00405df0
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00401bc0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x18], 0
je 0x432d2d
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x200]
push 0
push edx
call fcn.005260d0
add esp, 8
test eax, eax
je 0x432c50
mov eax, dword [esp + 0x10]
push 0
push eax
push 0xef1c
push 0x9b
mov ecx, 0x5b2810
mov dword [esp + 0x28], 0
call fcn.00405df0
jmp 0x432d2d
push 0x60
lea eax, [ebx + 0x1c00]
push 0xaa
push eax
call fcn.00526520
push ebp
call fcn.004238a0
push 0x1b0
lea ecx, [esp + 0x64]
push 0
push ecx
mov ebx, eax
call fcn.00526520
mov eax, dword [0x59f644]
mov esi, dword [esp + 0x38]
mov ecx, dword [0x59f648]
mov edx, dword [str.j:Y]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x6c]
push eax
lea edi, [esi + 0x1c00]
push edi
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x74], edx
mov edx, dword [0x59f64c]
push ebp
push ecx
mov dword [esp + 0x88], edx
call fcn.00423550
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x7c]
push edx
push edi
push ebx
push eax
call fcn.00423550
push ebp
call fcn.00423110
add esp, 0x40
push ebx
call fcn.00423110
lea eax, [esi + 0x1000]
lea edi, [ebp + 0x3b50]
mov ecx, 0x100
mov esi, eax
mov edx, 1
add esp, 4
rep movsd dword es:[edi], dword [esi]
mov dword [ebp + 0x3b44], edx
mov dword [ebp + 0x3b40], edx
test ebx, ebx
je 0x432d29
lea edi, [ebx + 0x3b50]
mov ecx, 0x100
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x3b44], edx
mov dword [ebx + 0x3b40], edx
mov ebx, dword [esp + 0x1c]
push ebx
call fcn.00401bc0
add esp, 4
mov eax, dword [esp + 0x24]
test eax, eax
je 0x432d47
push eax
call fcn.005251b8
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x280]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00524d83
add esp, 0x274
ret