Function at 0x435b00
Capabilities:
Get file size
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x479a1f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x19c
mov eax, dword [0x49afa0]
push ebx
push ebp
mov ebx, ecx
mov dword [esp + 0x1a0], eax
mov al, byte [ebx + 0x34]
push esi
xor ebp, ebp
test al, al
push edi
mov dword [esp + 0x1c], ebx
je 0x435b50
push 0x28
push str.Attempted_to_update_a_read_only_nar_file
lea ecx, [ebx + 0x18]
call fcn.004083b0
xor al, al
jmp 0x436c33
lea eax, [ebx + 4]
mov dword [esp + 0xf4], 0x47fbbc
mov dword [esp + 0xf8], 0x47fbb0
mov dword [esp + 0xfc], 0x47fba4
mov dword [esp + 0x100], eax
mov edx, dword [eax]
push ebp
lea ecx, [esp + 0x7c]
push ecx
push ebp
push edx
mov dword [esp + 0x1c4], ebp
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x435bb3
call fcn.004013c0
cmp eax, ebp
jge 0x435bb3
call fcn.004315d0
mov edx, dword [esp + 0x100]
push ebp
lea eax, [esp + 0x74]
push eax
push 4
lea ecx, [esp + 0xc0]
mov dword [esp + 0xc0], ebp
mov dword [esp + 0x7c], ebp
mov eax, dword [edx]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, ebp
jne 0x435bf0
call fcn.004013c0
cmp eax, ebp
jge 0x435bf0
call fcn.004315d0
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xa0], ebp
lea ecx, [esp + 0x33]
push ecx
lea edx, [esp + 0x37]
push edx
lea ecx, [esp + 0xc4]
mov byte [esp + 0x1bc], 1
call fcn.00433e60
lea ecx, [esp + 0x20]
mov byte [esp + 0x1b4], 2
call fcn.00430730
mov dword [esp + 0x24], eax
mov byte [eax + 0x59], 1
mov eax, dword [esp + 0x24]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x24]
mov dword [eax], eax
mov eax, dword [esp + 0x24]
mov dword [eax + 8], eax
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x1bc]
cmp esi, ebp
mov byte [esp + 0x1b4], 3
je 0x435c8a
mov edi, dword [esp + 0x1c0]
cmp edi, ebp
jle 0x435c8a
push esi
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0xc4]
call fcn.00434340
add esi, 4
dec edi
jne 0x435c72
mov eax, dword [ebx + 0xc]
cmp eax, ebp
jne 0x435c95
xor ebx, ebx
jmp 0x435caf
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 0x10]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
push ebp
push ebx
lea ecx, [esp + 0x9c]
mov dword [esp + 0x34], ebx
call fcn.00431fa0
xor esi, esi
cmp ebx, ebp
mov dword [esp + 0x10], esi
jle 0x435df9
nop
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0xc4]
call fcn.00430930
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
xor ecx, ecx
cmp eax, edx
je 0x435d03
mov eax, dword [eax]
inc ecx
cmp eax, edx
jne 0x435cf4
cmp ecx, ebp
jne 0x435dde
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0xc]
push esi
sub esp, 0x48
lea edx, [esi + esi*8]
lea eax, [eax + edx*8]
mov ecx, esp
mov dword [esp + 0x60], esp
push eax
call fcn.00430bf0
lea eax, [esp + 0x15c]
push eax
call fcn.004328b0
add esp, 0x50
mov edi, eax
push edi
lea ecx, [esp + 0x160]
mov byte [esp + 0x1b8], 4
call fcn.00430bf0
mov ecx, dword [edi + 0x48]
mov dword [esp + 0x1a4], ecx
lea edx, [esp + 0x15c]
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1bc], 5
call fcn.00434590
cmp dword [esp + 0x178], 0x10
jb 0x435d89
mov ecx, dword [esp + 0x164]
push ecx
call fcn.00468d00
add esp, 4
cmp dword [esp + 0x12c], 0x10
mov edi, 0xf
mov dword [esp + 0x178], edi
mov dword [esp + 0x174], ebp
mov byte [esp + 0x164], 0
mov byte [esp + 0x1b4], 3
jb 0x435dc6
mov edx, dword [esp + 0x118]
push edx
call fcn.00468d00
add esp, 4
mov dword [esp + 0x12c], edi
mov dword [esp + 0x128], ebp
mov byte [esp + 0x118], 0
jmp 0x435dec
mov eax, dword [esp + 0x98]
mov dword [eax + esi*4], 0xffffffff
inc esi
cmp esi, ebx
mov dword [esp + 0x10], esi
jl 0x435cd0
mov edi, dword [esp + 0x1c4]
cmp edi, ebp
je 0x435fca
mov eax, dword [esp + 0x1c8]
cmp eax, ebp
jle 0x435fca
mov ebx, eax
lea esp, [esp]
push 0xffffffffffffffff
sub esp, 0x48
mov ecx, esp
mov dword [esp + 0x60], esp
push edi
call fcn.00430bf0
lea ecx, [esp + 0x15c]
push ecx
call fcn.004328b0
add esp, 0x50
mov esi, eax
mov edx, dword [esi]
push 0xffffffffffffffff
push ebp
lea eax, [esi + 4]
push eax
lea ecx, [esp + 0x16c]
mov byte [esp + 0x1c0], 6
mov dword [esp + 0x168], edx
mov dword [esp + 0x184], 0xf
mov dword [esp + 0x180], ebp
mov byte [esp + 0x170], 0
call fcn.004082c0
mov cx, word [esi + 0x20]
mov word [esp + 0x17c], cx
mov edx, dword [esi + 0x24]
mov dword [esp + 0x180], edx
mov eax, dword [esi + 0x28]
mov dword [esp + 0x184], eax
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x188], ecx
mov edx, dword [esi + 0x30]
mov dword [esp + 0x18c], edx
mov eax, dword [esi + 0x34]
mov dword [esp + 0x190], eax
lea ecx, [esi + 0x38]
mov edx, dword [ecx]
mov dword [esp + 0x194], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x198], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x19c], edx
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x1a0], eax
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x1a4], ecx
cmp dword [esp + 0x12c], 0x10
mov byte [esp + 0x1b4], 8
jb 0x435f15
mov edx, dword [esp + 0x118]
push edx
call fcn.00468d00
add esp, 4
lea eax, [esp + 0x15c]
push eax
lea ecx, [esp + 0x78]
push ecx
mov esi, 0xf
lea ecx, [esp + 0x28]
mov dword [esp + 0x134], esi
mov dword [esp + 0x130], ebp
mov byte [esp + 0x120], 0
call fcn.00434590
mov al, byte [esp + 0x78]
test al, al
jne 0x435f88
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x54]
mov edx, dword [esp + 0x98]
push eax
lea eax, [esp + 0x18]
mov dword [edx + ecx*4], 0xffffffff
push eax
lea ecx, [esp + 0x28]
call fcn.00432dd0
lea ecx, [esp + 0x15c]
push ecx
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x28]
call fcn.00434590
cmp dword [esp + 0x178], 0x10
mov byte [esp + 0x1b4], 3
jb 0x435faa
mov eax, dword [esp + 0x164]
push eax
call fcn.00468d00
add esp, 4
add edi, 0x48
dec ebx
mov dword [esp + 0x178], esi
mov dword [esp + 0x174], ebp
mov byte [esp + 0x164], 0
jne 0x435e20
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], ebp
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0x1b8], 9
mov dword [esp + 0x3c], eax
call fcn.00434240
mov eax, dword [esp + 0x24]
mov esi, dword [eax]
mov edi, 8
xor ebx, ebx
cmp esi, eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x3c], eax
je 0x4360ac
lea esp, [esp]
lea ecx, [esi + 0xc]
push ecx
lea ecx, [esp + 0x88]
call fcn.00434ed0
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x1c]
cmp dword [ecx - 0x48], edx
jne 0x436050
mov edx, dword [esp + 0x98]
mov dword [ecx - 0x24], edi
mov eax, dword [esi + 0x54]
mov dword [edx + eax*4], ebx
mov edx, dword [ecx - 0x1c]
mov al, byte [esi + 0x59]
add edi, edx
test al, al
jne 0x43609b
mov eax, dword [esi + 8]
mov cl, byte [eax + 0x59]
test cl, cl
jne 0x43607e
mov esi, eax
mov eax, dword [esi]
mov cl, byte [eax + 0x59]
test cl, cl
jne 0x43609b
mov esi, eax
mov eax, dword [esi]
mov cl, byte [eax + 0x59]
test cl, cl
je 0x436071
jmp 0x43609b
mov eax, dword [esi + 4]
mov cl, byte [eax + 0x59]
test cl, cl
jne 0x436099
cmp esi, dword [eax + 8]
jne 0x436099
mov esi, eax
mov eax, dword [eax + 4]
mov cl, byte [eax + 0x59]
test cl, cl
je 0x436088
mov esi, eax
mov eax, dword [esp + 0x3c]
inc ebx
cmp esi, eax
jne 0x436020
mov dword [esp + 0x70], edi
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x18]
add esi, 4
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
jne 0x4360dd
call fcn.004013c0
cmp eax, ebp
jge 0x4360d9
call fcn.004315d0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor ecx, ecx
cmp edx, ecx
ja 0x436115
jb 0x4360ed
cmp eax, edi
jae 0x436115
mov eax, dword [esi]
push ebp
push ebp
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x436103
call fcn.004315d0
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x436115
call fcn.004315d0
mov dword [esp + 0x34], ebp
mov dword [esp + 0xe8], ebp
mov dword [esp + 0xec], ebp
mov dword [esp + 0xf0], ebp
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xac], ebp
mov dword [esp + 0xb0], ebp
mov ebx, dword [esp + 0x2c]
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x24], esp
push ebx
lea ecx, [esp + 0xb8]
mov byte [esp + 0x1c8], 0xb
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ebp
call fcn.00435650
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
push ebx
lea ecx, [esp + 0x50]
mov byte [esp + 0x1b8], 0xc
call fcn.00431ce0
push ebp
push ebx
lea ecx, [esp + 0xec]
call fcn.00431fa0
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0x98]
mov edi, dword [esp + 0x9c]
xor esi, esi
sub edx, ecx
cmp dword [esp + 0x98], ebp
jne 0x4361c0
xor eax, eax
jmp 0x4361d2
mov ebx, dword [esp + 0x98]
mov eax, edi
sub eax, ebx
mov ebx, dword [esp + 0x2c]
sar eax, 2
cmp esi, eax
jge 0x4361e8
xor eax, eax
cmp dword [edx + ecx], 0xffffffff
setne al
dec eax
mov dword [ecx], eax
inc esi
add ecx, 4
jmp 0x4361b3
xor esi, esi
cmp ebx, ebp
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x10], ebp
jle 0x4362ce
mov edi, dword [esp + 0x50]
mov eax, ebp
mov ecx, dword [esp + 0x98]
mov eax, dword [ecx + eax*4]
cmp eax, 0xffffffff
mov edx, dword [esp + 0x58]
je 0x436271
mov ecx, dword [esp + 0x88]
lea eax, [eax + eax*8]
mov esi, dword [ecx + eax*8 + 0x2c]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x24]
add esi, ecx
cmp edi, ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], esi
je 0x43626a
mov eax, ebx
mov ecx, edx
sub eax, edi
sub ecx, edi
sar eax, 3
sar ecx, 3
cmp eax, ecx
jae 0x43626a
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 1
push ebx
call fcn.0040b720
add esp, 0x14
add ebx, 8
mov dword [esp + 0x54], ebx
jmp 0x4362b9
lea edx, [esp + 0x14]
push edx
jmp 0x4362a5
cmp edi, ebp
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
je 0x4362a0
mov eax, ebx
mov ecx, edx
sub eax, edi
sub ecx, edi
sar eax, 3
sar ecx, 3
cmp eax, ecx
jae 0x4362a0
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x44]
push edx
jmp 0x436256
lea eax, [esp + 0x3c]
push eax
push 1
lea ecx, [esp + 0x54]
push ebx
call fcn.00431050
mov ebx, dword [esp + 0x54]
mov edi, dword [esp + 0x50]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x436200
cmp dword [esp + 0x2c], ebp
mov dword [esp + 0x10], ebp
jle 0x43640f
mov esi, dword [esp + 0xa8]
mov dword [esp + 0x3c], 0
add esi, 4
mov edi, edi
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x10]
cmp dword [ecx + edx*4], 0xffffffff
je 0x4363ec
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0xc]
mov edx, dword [esp + 0x3c]
mov ecx, dword [edx + eax + 0x24]
mov eax, dword [edx + eax + 0x2c]
mov edx, dword [esp + 0x50]
add eax, ecx
push 0
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x48]
push ecx
push ebx
mov dword [esp + 0x54], eax
push edx
lea eax, [esp + 0x84]
push eax
call fcn.00430b50
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
add esp, 0x14
cmp eax, ecx
mov ebp, eax
je 0x4363ec
sub eax, dword [esp + 0x50]
mov dword [esp + 0xb8], eax
mov ecx, dword [ebp]
cmp ecx, dword [ebp + 4]
je 0x4363cc
mov ecx, dword [esp + 0xb8]
mov eax, dword [esp + 0x10]
sar ecx, 3
cmp ecx, eax
mov dword [esp + 0x14], ecx
je 0x4363cc
mov eax, dword [esp + 0xe8]
inc dword [eax + ecx*4]
mov edx, dword [esi]
test edx, edx
jne 0x436394
xor edi, edi
jmp 0x43639c
mov edi, dword [esi + 4]
sub edi, edx
sar edi, 2
test edx, edx
je 0x4363b9
mov eax, dword [esi + 8]
sub eax, edx
sar eax, 2
cmp edi, eax
jae 0x4363b9
mov eax, dword [esi + 4]
mov dword [eax], ecx
add eax, 4
mov dword [esi + 4], eax
jmp 0x4363cc
mov eax, dword [esi + 4]
lea edx, [esp + 0x14]
push edx
push 1
push eax
lea ecx, [esi - 4]
call fcn.00430d90
mov ecx, dword [esp + 0xb8]
mov eax, dword [esp + 0x78]
add ebp, 8
add ecx, 8
cmp ebp, eax
mov dword [esp + 0xb8], ecx
jne 0x436362
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
inc eax
add edi, 0x48
add esi, 0x10
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x3c], edi
jl 0x4362f0
xor eax, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x2c]
xor ebp, ebp
cmp ecx, eax
mov byte [esp + 0x1b4], 0xd
jle 0x4364d4
jmp 0x436440
mov ecx, dword [esp + 0xe8]
cmp dword [ecx + ebp*4], 0
jne 0x4364c7
mov edx, dword [esp + 0x68]
lea ecx, [eax + edx]
test cl, 3
jne 0x436476
mov ecx, dword [esp + 0x64]
add eax, 4
shr eax, 2
cmp ecx, eax
ja 0x436476
push 1
lea ecx, [esp + 0x60]
call fcn.004325a0
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
lea edi, [edx + eax]
mov eax, dword [esp + 0x64]
mov esi, edi
shr esi, 2
cmp eax, esi
ja 0x436490
sub esi, eax
mov ecx, dword [esp + 0x60]
cmp dword [ecx + esi*4], 0
jne 0x4364ab
push 0x10
call fcn.00468cd5
mov edx, dword [esp + 0x64]
add esp, 4
mov dword [edx + esi*4], eax
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + esi*4]
and edi, 3
lea eax, [ecx + edi*4]
test eax, eax
je 0x4364be
mov dword [eax], ebp
mov eax, dword [esp + 0x6c]
inc eax
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x2c]
inc ebp
cmp ebp, ecx
jl 0x436440
mov ecx, dword [esp + 0x1cc]
test ecx, ecx
je 0x4364ea
mov eax, dword [esp + 0x38]
mov edx, dword [ecx]
push eax
push 0
call dword [edx]
push 0x400000
call fcn.00468d05
add esp, 4
mov dword [esp + 0x3c], eax
mov edi, dword [esp + 0x6c]
xor ebx, ebx
cmp edi, ebx
lea ecx, [esp + 0xf4]
mov byte [esp + 0x1b4], 0xe
mov dword [esp + 0x104], ecx
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], 0x400000
je 0x43663c
mov edx, dword [esp + 0x68]
mov ebp, dword [esp + 0x64]
mov eax, edx
shr eax, 2
lea ecx, [eax*4]
mov esi, ecx
mov ecx, edx
sub ecx, esi
cmp ebp, eax
ja 0x436551
sub eax, ebp
cmp edi, ebx
mov esi, dword [esp + 0x60]
mov eax, dword [esi + eax*4]
mov esi, dword [eax + ecx*4]
je 0x43657e
inc edx
lea ecx, [ebp*4]
cmp ecx, edx
mov dword [esp + 0x68], edx
ja 0x436573
mov dword [esp + 0x68], ebx
dec edi
mov dword [esp + 0x6c], edi
jne 0x43657e
mov dword [esp + 0x68], ebx
mov edx, dword [esp + 0x98]
mov eax, dword [edx + esi*4]
mov edi, dword [esp + 0x1c]
mov ecx, dword [edi + 0xc]
mov ebp, dword [esp + 0x88]
lea eax, [eax + eax*8]
lea edx, [esi + esi*8]
lea ecx, [ecx + edx*8]
mov edx, dword [ebp + eax*8 + 0x2c]
mov ecx, dword [ecx + 0x24]
lea eax, [ebp + eax*8]
push edx
mov edx, dword [eax + 0x24]
push ecx
push edx
lea ecx, [esp + 0x110]
call fcn.00437780
test al, al
je 0x4367b0
inc dword [esp + 0x34]
mov ecx, dword [esp + 0x1cc]
cmp ecx, ebx
je 0x4365e1
mov edx, dword [esp + 0x38]
mov eax, dword [ecx]
push edx
mov edx, dword [esp + 0x38]
push edx
call dword [eax]
mov eax, dword [esp + 0xa8]
mov ebp, dword [esp + 0xe8]
shl esi, 4
add esi, eax
xor edi, edi
mov ecx, dword [esi + 4]
cmp ecx, ebx
jne 0x436601
xor eax, eax
jmp 0x436609
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jge 0x436630
mov eax, dword [ecx + edi*4]
mov ecx, dword [ebp + eax*4]
dec ecx
mov dword [esp + 0x14], eax
mov dword [ebp + eax*4], ecx
jne 0x43662d
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x60]
call fcn.004331e0
inc edi
jmp 0x4365f6
mov edi, dword [esp + 0x6c]
cmp edi, ebx
jne 0x436531
mov eax, dword [esp + 0x38]
xor ebx, ebx
xor ebp, ebp
cmp eax, ebx
mov edi, 8
mov dword [esp + 0x10], ebx
jle 0x43674b
mov esi, dword [esp + 0x88]
add esi, 0x2c
nop
mov eax, dword [esi - 0x2c]
cmp eax, dword [esp + 0x1c]
je 0x43672a
test ebp, ebp
jne 0x436673
mov ebp, eax
lea eax, [ebp + 4]
mov dword [esp + 0x74], 0x47fbbc
mov dword [esp + 0x78], 0x47fbb0
mov dword [esp + 0x7c], 0x47fba4
mov dword [esp + 0x80], eax
mov ecx, dword [esi - 8]
mov eax, dword [eax]
push 0
lea edx, [esp + 0x4c]
push edx
push ecx
push eax
mov byte [esp + 0x1c4], 0xf
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x4366cf
call fcn.004013c0
test eax, eax
jl 0x436b0e
mov ecx, dword [esi]
push ecx
lea edx, [esp + 0x78]
push edx
push edi
lea ecx, [esp + 0x110]
call fcn.00437840
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
mov dword [esi - 0x2c], eax
mov eax, dword [esp + 0x1cc]
inc ecx
test eax, eax
mov dword [esi - 8], edi
mov dword [esp + 0x34], ecx
je 0x436712
mov ecx, eax
mov eax, dword [esp + 0x38]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x38]
push eax
call dword [edx]
mov byte [esp + 0x1b4], 0xe
mov dword [esp + 0x78], 0x47b878
mov dword [esp + 0x74], 0x47b870
mov eax, dword [esi]
mov edx, dword [esi + 8]
mov ecx, dword [esp + 0x38]
add edi, eax
mov eax, dword [esp + 0x10]
xor ebx, edx
inc eax
add esi, 0x48
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x436660
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov dword [esi], ebx
mov eax, dword [esi + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x88], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x10], edx
mov edx, dword [esp + 0x70]
xor edi, edi
push edi
mov dword [esp + 0x90], eax
mov eax, dword [esi + 0x14]
push edi
mov dword [esi + 0x14], ecx
mov dword [esp + 0x98], eax
mov eax, dword [esi + 4]
push edx
push eax
call ebx
cmp eax, 0xffffffff
jne 0x436946
call fcn.004315d0
push 0x10
push str.Chunk_move_error
lea ecx, [edi + 0x18]
call fcn.004083b0
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00468d00
add esp, 4
lea ecx, [esp + 0x5c]
call fcn.004305f0
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x4367e6
push eax
call fcn.00468d00
add esp, 4
mov eax, dword [esp + 0xa8]
cmp eax, ebx
je 0x436832
mov edi, dword [esp + 0xac]
cmp eax, edi
je 0x436829
mov esi, eax
add esi, 4
mov eax, dword [esi]
cmp eax, ebx
je 0x436810
push eax
call fcn.00468d00
add esp, 4
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
add esi, 0x10
lea edx, [esi - 4]
cmp edx, edi
jne 0x436801
mov eax, dword [esp + 0xa8]
push eax
call fcn.00468d00
add esp, 4
mov eax, dword [esp + 0xe8]
cmp eax, ebx
je 0x436846
push eax
call fcn.00468d00
add esp, 4
cmp ebp, ebx
je 0x436889
mov edi, dword [esp + 0x8c]
cmp ebp, edi
je 0x436880
lea esi, [ebp + 0x1c]
cmp dword [esi], 0x10
jb 0x436869
mov eax, dword [esi - 0x14]
push eax
call fcn.00468d00
add esp, 4
mov dword [esi], 0xf
mov dword [esi - 4], ebx
mov byte [esi - 0x14], 0
add esi, 0x48
lea eax, [esi - 0x1c]
cmp eax, edi
jne 0x436858
push ebp
call fcn.00468d00
add esp, 4
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c0], 2
call fcn.00434090
mov edx, dword [esp + 0x24]
push edx
call fcn.00468d00
mov eax, dword [esp + 0xd4]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
je 0x4368d0
push eax
call fcn.00468d00
add esp, 4
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0xc4]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0xc4]
cmp eax, ecx
mov dword [esp + 0xc8], ebx
je 0x436928
lea esp, [esp]
mov esi, dword [eax]
push eax
call fcn.00468d00
mov ecx, dword [esp + 0xc8]
add esp, 4
cmp esi, ecx
mov eax, esi
jne 0x436910
push ecx
call fcn.00468d00
mov eax, dword [esp + 0x9c]
add esp, 4
mov dword [esp + 0xc4], ebx
cmp eax, ebx
jmp 0x436a92
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x436959
call fcn.004315d0
mov ecx, esi
call fcn.00433800
test al, al
jne 0x436aa4
mov eax, dword [esp + 0x3c]
push eax
call fcn.00468d00
add esp, 4
lea ecx, [esp + 0x5c]
call fcn.004305f0
mov eax, dword [esp + 0x50]
cmp eax, edi
je 0x43698f
push eax
call fcn.00468d00
add esp, 4
mov esi, dword [esp + 0xa8]
cmp esi, edi
je 0x4369be
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xac]
push ecx
lea edx, [esp + 0xa8]
push edx
push eax
push esi
call fcn.00432ad0
push esi
call fcn.00468d00
add esp, 0x14
mov eax, dword [esp + 0xe8]
cmp eax, edi
je 0x4369d2
push eax
call fcn.00468d00
add esp, 4
lea ecx, [esp + 0x84]
call fcn.00433e10
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c0], 2
call fcn.00434090
mov edx, dword [esp + 0x24]
push edx
call fcn.00468d00
mov eax, dword [esp + 0xd4]
add esp, 4
cmp eax, edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
je 0x436a25
push eax
call fcn.00468d00
add esp, 4
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0xd0], edi
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd8], edi
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0xc4]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0xc4]
cmp eax, ecx
mov dword [esp + 0xc8], edi
je 0x436a79
mov esi, dword [eax]
push eax
call fcn.00468d00
mov ecx, dword [esp + 0xc8]
add esp, 4
cmp esi, ecx
mov eax, esi
jne 0x436a61
push ecx
call fcn.00468d00
mov eax, dword [esp + 0x9c]
add esp, 4
mov dword [esp + 0xc4], edi
cmp eax, edi
je 0x436a9d
push eax
call fcn.00468d00
add esp, 4
xor al, al
jmp 0x436c33
mov ecx, dword [esp + 0x100]
push edi
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0xbc], 0x52414e
mov edx, dword [ecx]
push edi
push edx
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
call ebx
cmp eax, 0xffffffff
jne 0x436add
call fcn.004013c0
cmp eax, edi
jge 0x436add
call fcn.004315d0
mov edx, dword [esp + 0x100]
push edi
lea eax, [esp + 0x18]
push eax
push 4
lea ecx, [esp + 0xc0]
mov dword [esp + 0x20], edi
mov eax, dword [edx]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, edi
jne 0x436b13
call fcn.004013c0
cmp eax, edi
jge 0x436b13
call fcn.004315d0
mov ecx, dword [esp + 0x1cc]
cmp ecx, edi
je 0x436b28
mov eax, dword [esp + 0x38]
mov edx, dword [ecx]
push eax
push eax
call dword [edx]
mov eax, dword [esp + 0x3c]
push eax
call fcn.00468d00
add esp, 4
lea ecx, [esp + 0x5c]
call fcn.004305f0
mov eax, dword [esp + 0x50]
cmp eax, edi
je 0x436b4f
push eax
call fcn.00468d00
add esp, 4
mov esi, dword [esp + 0xa8]
cmp esi, edi
je 0x436b7e
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xac]
push ecx
lea edx, [esp + 0xa8]
push edx
push eax
push esi
call fcn.00432ad0
push esi
call fcn.00468d00
add esp, 0x14
mov eax, dword [esp + 0xe8]
cmp eax, edi
je 0x436b92
push eax
call fcn.00468d00
add esp, 4
lea ecx, [esp + 0x84]
call fcn.00433e10
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c0], 2
call fcn.00434090
mov edx, dword [esp + 0x24]
push edx
call fcn.00468d00
mov eax, dword [esp + 0xd4]
add esp, 4
cmp eax, edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
je 0x436be5
push eax
call fcn.00468d00
add esp, 4
lea ecx, [esp + 0xc0]
mov dword [esp + 0xd0], edi
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd8], edi
call fcn.004306a0
mov eax, dword [esp + 0xc4]
push eax
call fcn.00468d00
mov eax, dword [esp + 0x9c]
add esp, 4
cmp eax, edi
mov dword [esp + 0xc4], edi
je 0x436c31
push eax
call fcn.00468d00
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x1ac]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1a8]
call fcn.004497f7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret 0x14