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

Disassembly:
push 0xffffffffffffffff
push 0x47932f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x19c
mov eax, dword [0x49ae1c]
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 0x433d30
push 0x28
push str.Attempted_to_update_a_read_only_nar_file
lea ecx, [ebx + 0x18]
call fcn.00403ed0
xor al, al
jmp 0x434e13
lea eax, [ebx + 4]
mov dword [esp + 0xf4], 0x47fc94
mov dword [esp + 0xf8], 0x47fc88
mov dword [esp + 0xfc], 0x47fc7c
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 0x433d93
call fcn.00401430
cmp eax, ebp
jge 0x433d93
call fcn.0042f780
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 0x433dd0
call fcn.00401430
cmp eax, ebp
jge 0x433dd0
call fcn.0042f780
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.00432040
lea ecx, [esp + 0x20]
mov byte [esp + 0x1b4], 2
call fcn.0042e840
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 0x433e6a
mov edi, dword [esp + 0x1c0]
cmp edi, ebp
jle 0x433e6a
push esi
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0xc4]
call fcn.00432520
add esi, 4
dec edi
jne 0x433e52
mov eax, dword [ebx + 0xc]
cmp eax, ebp
jne 0x433e75
xor ebx, ebx
jmp 0x433e8f
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.00430170
xor esi, esi
cmp ebx, ebp
mov dword [esp + 0x10], esi
jle 0x433fd9
nop
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0xc4]
call fcn.0042ea70
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
xor ecx, ecx
cmp eax, edx
je 0x433ee3
mov eax, dword [eax]
inc ecx
cmp eax, edx
jne 0x433ed4
cmp ecx, ebp
jne 0x433fbe
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.0042ed30
lea eax, [esp + 0x15c]
push eax
call fcn.00430a80
add esp, 0x50
mov edi, eax
push edi
lea ecx, [esp + 0x160]
mov byte [esp + 0x1b8], 4
call fcn.0042ed30
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.00432770
cmp dword [esp + 0x178], 0x10
jb 0x433f69
mov ecx, dword [esp + 0x164]
push ecx
call fcn.00466af5
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 0x433fa6
mov edx, dword [esp + 0x118]
push edx
call fcn.00466af5
add esp, 4
mov dword [esp + 0x12c], edi
mov dword [esp + 0x128], ebp
mov byte [esp + 0x118], 0
jmp 0x433fcc
mov eax, dword [esp + 0x98]
mov dword [eax + esi*4], 0xffffffff
inc esi
cmp esi, ebx
mov dword [esp + 0x10], esi
jl 0x433eb0
mov edi, dword [esp + 0x1c4]
cmp edi, ebp
je 0x4341aa
mov eax, dword [esp + 0x1c8]
cmp eax, ebp
jle 0x4341aa
mov ebx, eax
lea esp, [esp]
push 0xffffffffffffffff
sub esp, 0x48
mov ecx, esp
mov dword [esp + 0x60], esp
push edi
call fcn.0042ed30
lea ecx, [esp + 0x15c]
push ecx
call fcn.00430a80
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.00403de0
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 0x4340f5
mov edx, dword [esp + 0x118]
push edx
call fcn.00466af5
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.00432770
mov al, byte [esp + 0x78]
test al, al
jne 0x434168
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.00430fa0
lea ecx, [esp + 0x15c]
push ecx
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x28]
call fcn.00432770
cmp dword [esp + 0x178], 0x10
mov byte [esp + 0x1b4], 3
jb 0x43418a
mov eax, dword [esp + 0x164]
push eax
call fcn.00466af5
add esp, 4
add edi, 0x48
dec ebx
mov dword [esp + 0x178], esi
mov dword [esp + 0x174], ebp
mov byte [esp + 0x164], 0
jne 0x434000
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.00432420
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 0x43428c
lea esp, [esp]
lea ecx, [esi + 0xc]
push ecx
lea ecx, [esp + 0x88]
call fcn.004330b0
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x1c]
cmp dword [ecx - 0x48], edx
jne 0x434230
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 0x43427b
mov eax, dword [esi + 8]
mov cl, byte [eax + 0x59]
test cl, cl
jne 0x43425e
mov esi, eax
mov eax, dword [esi]
mov cl, byte [eax + 0x59]
test cl, cl
jne 0x43427b
mov esi, eax
mov eax, dword [esi]
mov cl, byte [eax + 0x59]
test cl, cl
je 0x434251
jmp 0x43427b
mov eax, dword [esi + 4]
mov cl, byte [eax + 0x59]
test cl, cl
jne 0x434279
cmp esi, dword [eax + 8]
jne 0x434279
mov esi, eax
mov eax, dword [eax + 4]
mov cl, byte [eax + 0x59]
test cl, cl
je 0x434268
mov esi, eax
mov eax, dword [esp + 0x3c]
inc ebx
cmp esi, eax
jne 0x434200
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 0x4342bd
call fcn.00401430
cmp eax, ebp
jge 0x4342b9
call fcn.0042f780
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor ecx, ecx
cmp edx, ecx
ja 0x4342f5
jb 0x4342cd
cmp eax, edi
jae 0x4342f5
mov eax, dword [esi]
push ebp
push ebp
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x4342e3
call fcn.0042f780
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4342f5
call fcn.0042f780
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.00433830
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.0042feb0
push ebp
push ebx
lea ecx, [esp + 0xec]
call fcn.00430170
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 0x4343a0
xor eax, eax
jmp 0x4343b2
mov ebx, dword [esp + 0x98]
mov eax, edi
sub eax, ebx
mov ebx, dword [esp + 0x2c]
sar eax, 2
cmp esi, eax
jge 0x4343c8
xor eax, eax
cmp dword [edx + ecx], 0xffffffff
setne al
dec eax
mov dword [ecx], eax
inc esi
add ecx, 4
jmp 0x434393
xor esi, esi
cmp ebx, ebp
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x10], ebp
jle 0x4344ae
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 0x434451
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 0x43444a
mov eax, ebx
mov ecx, edx
sub eax, edi
sub ecx, edi
sar eax, 3
sar ecx, 3
cmp eax, ecx
jae 0x43444a
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.0042e8b0
add esp, 0x14
add ebx, 8
mov dword [esp + 0x54], ebx
jmp 0x434499
lea edx, [esp + 0x14]
push edx
jmp 0x434485
cmp edi, ebp
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
je 0x434480
mov eax, ebx
mov ecx, edx
sub eax, edi
sub ecx, edi
sar eax, 3
sar ecx, 3
cmp eax, ecx
jae 0x434480
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x44]
push edx
jmp 0x434436
lea eax, [esp + 0x3c]
push eax
push 1
lea ecx, [esp + 0x54]
push ebx
call fcn.0042f1c0
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 0x4343e0
cmp dword [esp + 0x2c], ebp
mov dword [esp + 0x10], ebp
jle 0x4345ef
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 0x4345cc
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.0042ec90
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
add esp, 0x14
cmp eax, ecx
mov ebp, eax
je 0x4345cc
sub eax, dword [esp + 0x50]
mov dword [esp + 0xb8], eax
mov ecx, dword [ebp]
cmp ecx, dword [ebp + 4]
je 0x4345ac
mov ecx, dword [esp + 0xb8]
mov eax, dword [esp + 0x10]
sar ecx, 3
cmp ecx, eax
mov dword [esp + 0x14], ecx
je 0x4345ac
mov eax, dword [esp + 0xe8]
inc dword [eax + ecx*4]
mov edx, dword [esi]
test edx, edx
jne 0x434574
xor edi, edi
jmp 0x43457c
mov edi, dword [esi + 4]
sub edi, edx
sar edi, 2
test edx, edx
je 0x434599
mov eax, dword [esi + 8]
sub eax, edx
sar eax, 2
cmp edi, eax
jae 0x434599
mov eax, dword [esi + 4]
mov dword [eax], ecx
add eax, 4
mov dword [esi + 4], eax
jmp 0x4345ac
mov eax, dword [esi + 4]
lea edx, [esp + 0x14]
push edx
push 1
push eax
lea ecx, [esi - 4]
call fcn.0042ef00
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 0x434542
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 0x4344d0
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 0x4346b4
jmp 0x434620
mov ecx, dword [esp + 0xe8]
cmp dword [ecx + ebp*4], 0
jne 0x4346a7
mov edx, dword [esp + 0x68]
lea ecx, [eax + edx]
test cl, 3
jne 0x434656
mov ecx, dword [esp + 0x64]
add eax, 4
shr eax, 2
cmp ecx, eax
ja 0x434656
push 1
lea ecx, [esp + 0x60]
call fcn.00430770
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 0x434670
sub esi, eax
mov ecx, dword [esp + 0x60]
cmp dword [ecx + esi*4], 0
jne 0x43468b
push 0x10
call fcn.00466aca
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 0x43469e
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 0x434620
mov ecx, dword [esp + 0x1cc]
test ecx, ecx
je 0x4346ca
mov eax, dword [esp + 0x38]
mov edx, dword [ecx]
push eax
push 0
call dword [edx]
push 0x400000
call fcn.00466afa
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 0x43481c
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 0x434731
sub eax, ebp
cmp edi, ebx
mov esi, dword [esp + 0x60]
mov eax, dword [esi + eax*4]
mov esi, dword [eax + ecx*4]
je 0x43475e
inc edx
lea ecx, [ebp*4]
cmp ecx, edx
mov dword [esp + 0x68], edx
ja 0x434753
mov dword [esp + 0x68], ebx
dec edi
mov dword [esp + 0x6c], edi
jne 0x43475e
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.00435970
test al, al
je 0x434990
inc dword [esp + 0x34]
mov ecx, dword [esp + 0x1cc]
cmp ecx, ebx
je 0x4347c1
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 0x4347e1
xor eax, eax
jmp 0x4347e9
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jge 0x434810
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 0x43480d
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x60]
call fcn.004313b0
inc edi
jmp 0x4347d6
mov edi, dword [esp + 0x6c]
cmp edi, ebx
jne 0x434711
mov eax, dword [esp + 0x38]
xor ebx, ebx
xor ebp, ebp
cmp eax, ebx
mov edi, 8
mov dword [esp + 0x10], ebx
jle 0x43492b
mov esi, dword [esp + 0x88]
add esi, 0x2c
nop
mov eax, dword [esi - 0x2c]
cmp eax, dword [esp + 0x1c]
je 0x43490a
test ebp, ebp
jne 0x434853
mov ebp, eax
lea eax, [ebp + 4]
mov dword [esp + 0x74], 0x47fc94
mov dword [esp + 0x78], 0x47fc88
mov dword [esp + 0x7c], 0x47fc7c
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 0x4348af
call fcn.00401430
test eax, eax
jl 0x434cee
mov ecx, dword [esi]
push ecx
lea edx, [esp + 0x78]
push edx
push edi
lea ecx, [esp + 0x110]
call fcn.00435a30
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 0x4348f2
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], 0x47dbf4
mov dword [esp + 0x74], 0x47dbec
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 0x434840
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 0x434b26
call fcn.0042f780
push 0x10
push str.Chunk_move_error
lea ecx, [edi + 0x18]
call fcn.00403ed0
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00466af5
add esp, 4
lea ecx, [esp + 0x5c]
call fcn.0042e700
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x4349c6
push eax
call fcn.00466af5
add esp, 4
mov eax, dword [esp + 0xa8]
cmp eax, ebx
je 0x434a12
mov edi, dword [esp + 0xac]
cmp eax, edi
je 0x434a09
mov esi, eax
add esi, 4
mov eax, dword [esi]
cmp eax, ebx
je 0x4349f0
push eax
call fcn.00466af5
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 0x4349e1
mov eax, dword [esp + 0xa8]
push eax
call fcn.00466af5
add esp, 4
mov eax, dword [esp + 0xe8]
cmp eax, ebx
je 0x434a26
push eax
call fcn.00466af5
add esp, 4
cmp ebp, ebx
je 0x434a69
mov edi, dword [esp + 0x8c]
cmp ebp, edi
je 0x434a60
lea esi, [ebp + 0x1c]
cmp dword [esi], 0x10
jb 0x434a49
mov eax, dword [esi - 0x14]
push eax
call fcn.00466af5
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 0x434a38
push ebp
call fcn.00466af5
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.00432270
mov edx, dword [esp + 0x24]
push edx
call fcn.00466af5
mov eax, dword [esp + 0xd4]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
je 0x434ab0
push eax
call fcn.00466af5
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 0x434b08
lea esp, [esp]
mov esi, dword [eax]
push eax
call fcn.00466af5
mov ecx, dword [esp + 0xc8]
add esp, 4
cmp esi, ecx
mov eax, esi
jne 0x434af0
push ecx
call fcn.00466af5
mov eax, dword [esp + 0x9c]
add esp, 4
mov dword [esp + 0xc4], ebx
cmp eax, ebx
jmp 0x434c72
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x434b39
call fcn.0042f780
mov ecx, esi
call fcn.004319d0
test al, al
jne 0x434c84
mov eax, dword [esp + 0x3c]
push eax
call fcn.00466af5
add esp, 4
lea ecx, [esp + 0x5c]
call fcn.0042e700
mov eax, dword [esp + 0x50]
cmp eax, edi
je 0x434b6f
push eax
call fcn.00466af5
add esp, 4
mov esi, dword [esp + 0xa8]
cmp esi, edi
je 0x434b9e
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xac]
push ecx
lea edx, [esp + 0xa8]
push edx
push eax
push esi
call fcn.00430ca0
push esi
call fcn.00466af5
add esp, 0x14
mov eax, dword [esp + 0xe8]
cmp eax, edi
je 0x434bb2
push eax
call fcn.00466af5
add esp, 4
lea ecx, [esp + 0x84]
call fcn.00431ff0
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.00432270
mov edx, dword [esp + 0x24]
push edx
call fcn.00466af5
mov eax, dword [esp + 0xd4]
add esp, 4
cmp eax, edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
je 0x434c05
push eax
call fcn.00466af5
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 0x434c59
mov esi, dword [eax]
push eax
call fcn.00466af5
mov ecx, dword [esp + 0xc8]
add esp, 4
cmp esi, ecx
mov eax, esi
jne 0x434c41
push ecx
call fcn.00466af5
mov eax, dword [esp + 0x9c]
add esp, 4
mov dword [esp + 0xc4], edi
cmp eax, edi
je 0x434c7d
push eax
call fcn.00466af5
add esp, 4
xor al, al
jmp 0x434e13
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 0x434cbd
call fcn.00401430
cmp eax, edi
jge 0x434cbd
call fcn.0042f780
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 0x434cf3
call fcn.00401430
cmp eax, edi
jge 0x434cf3
call fcn.0042f780
mov ecx, dword [esp + 0x1cc]
cmp ecx, edi
je 0x434d08
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.00466af5
add esp, 4
lea ecx, [esp + 0x5c]
call fcn.0042e700
mov eax, dword [esp + 0x50]
cmp eax, edi
je 0x434d2f
push eax
call fcn.00466af5
add esp, 4
mov esi, dword [esp + 0xa8]
cmp esi, edi
je 0x434d5e
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xac]
push ecx
lea edx, [esp + 0xa8]
push edx
push eax
push esi
call fcn.00430ca0
push esi
call fcn.00466af5
add esp, 0x14
mov eax, dword [esp + 0xe8]
cmp eax, edi
je 0x434d72
push eax
call fcn.00466af5
add esp, 4
lea ecx, [esp + 0x84]
call fcn.00431ff0
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.00432270
mov edx, dword [esp + 0x24]
push edx
call fcn.00466af5
mov eax, dword [esp + 0xd4]
add esp, 4
cmp eax, edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
je 0x434dc5
push eax
call fcn.00466af5
add esp, 4
lea ecx, [esp + 0xc0]
mov dword [esp + 0xd0], edi
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd8], edi
call fcn.0042e7b0
mov eax, dword [esp + 0xc4]
push eax
call fcn.00466af5
mov eax, dword [esp + 0x9c]
add esp, 4
cmp eax, edi
mov dword [esp + 0xc4], edi
je 0x434e11
push eax
call fcn.00466af5
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x1ac]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1a8]
call fcn.00447453
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret 0x14