Function at 0x424df0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x43b2e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x88], ecx
cmp dword [ebp + 8], 0
je 0x424e2b
push 0x436c04
mov eax, dword [ebp + 8]
push eax
push 0x436da0
lea ecx, [ebp - 0x24]
push ecx
call fcn.004171c2
add esp, 0x10
jmp 0x424e3c
push 0x436da8
lea edx, [ebp - 0x24]
push edx
call fcn.00417a80
add esp, 8
lea eax, [ebp - 0x24]
push eax
call fcn.004185b3
add esp, 4
mov dword [ebp - 0x28], 0
push 0x436db4
lea ecx, [ebp - 0x24]
push ecx
push 0x436dbc
lea edx, [ebp - 0x78]
push edx
call fcn.004171c2
add esp, 0x10
push 0x436dc4
lea eax, [ebp - 0x78]
push eax
call fcn.004186a9
add esp, 8
mov dword [ebp - 0x30], eax
push str.v3d.dat
lea ecx, [ebp - 0x24]
push ecx
push 0x436dd0
lea edx, [ebp - 0x78]
push edx
call fcn.004171c2
add esp, 0x10
cmp dword [ebp - 0x30], 0
jne 0x424ef8
push 0x436dd8
lea eax, [ebp - 0x78]
push eax
call fcn.004186a9
add esp, 8
mov ecx, dword [ebp - 0x88]
mov dword [ecx + 0x24], eax
mov dword [ebp - 0x28], 0x64643376
mov edx, dword [ebp - 0x88]
mov eax, dword [edx + 0x24]
push eax
push 1
push 4
lea ecx, [ebp - 0x28]
push ecx
call fcn.00418822
add esp, 0x10
mov edx, dword [ebp - 0x88]
mov eax, dword [edx + 0x24]
push eax
push 1
push 4
push 0x4400e0
call fcn.00418822
add esp, 0x10
jmp 0x42534e
mov ecx, dword [ebp - 0x30]
push ecx
push 1
push 4
lea edx, [ebp - 0x28]
push edx
call fcn.00418596
add esp, 0x10
cmp dword [ebp - 0x28], 0x68643376
je 0x424f7c
mov eax, dword [ebp - 0x30]
push eax
call fcn.0041891b
add esp, 4
push 0x436ddc
lea ecx, [ebp - 0x78]
push ecx
call fcn.004186a9
add esp, 8
mov edx, dword [ebp - 0x88]
mov dword [edx + 0x24], eax
mov dword [ebp - 0x28], 0x64643376
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax + 0x24]
push ecx
push 1
push 4
lea edx, [ebp - 0x28]
push edx
call fcn.00418822
add esp, 0x10
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax + 0x24]
push ecx
push 1
push 4
push 0x4400e0
call fcn.00418822
add esp, 0x10
jmp 0x42534e
mov edx, dword [ebp - 0x30]
push edx
push 1
push 4
lea eax, [ebp - 0x28]
push eax
call fcn.00418596
add esp, 0x10
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [0x4400e0]
je 0x425002
mov edx, dword [ebp - 0x30]
push edx
call fcn.0041891b
add esp, 4
push 0x436de0
lea eax, [ebp - 0x78]
push eax
call fcn.004186a9
add esp, 8
mov ecx, dword [ebp - 0x88]
mov dword [ecx + 0x24], eax
mov dword [ebp - 0x28], 0x64643376
mov edx, dword [ebp - 0x88]
mov eax, dword [edx + 0x24]
push eax
push 1
push 4
lea ecx, [ebp - 0x28]
push ecx
call fcn.00418822
add esp, 0x10
mov edx, dword [ebp - 0x88]
mov eax, dword [edx + 0x24]
push eax
push 1
push 4
push 0x4400e0
call fcn.00418822
add esp, 0x10
jmp 0x42534e
push 0x436de4
lea ecx, [ebp - 0x78]
push ecx
call fcn.004186a9
add esp, 8
mov edx, dword [ebp - 0x88]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 0x88]
cmp dword [eax + 0x24], 0
jne 0x42508f
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0041891b
add esp, 4
push 0x436de8
lea edx, [ebp - 0x78]
push edx
call fcn.004186a9
add esp, 8
mov ecx, dword [ebp - 0x88]
mov dword [ecx + 0x24], eax
mov dword [ebp - 0x28], 0x64643376
mov edx, dword [ebp - 0x88]
mov eax, dword [edx + 0x24]
push eax
push 1
push 4
lea ecx, [ebp - 0x28]
push ecx
call fcn.00418822
add esp, 0x10
mov edx, dword [ebp - 0x88]
mov eax, dword [edx + 0x24]
push eax
push 1
push 4
push 0x4400e0
call fcn.00418822
add esp, 0x10
jmp 0x42534e
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x88]
mov edx, dword [ecx + 0x24]
push edx
push 1
push 4
lea eax, [ebp - 0x28]
push eax
call fcn.00418596
add esp, 0x10
cmp dword [ebp - 0x28], 0x64643376
je 0x425132
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0041891b
add esp, 4
mov edx, dword [ebp - 0x88]
mov eax, dword [edx + 0x24]
push eax
call fcn.0041891b
add esp, 4
push 0x436dec
lea ecx, [ebp - 0x78]
push ecx
call fcn.004186a9
add esp, 8
mov edx, dword [ebp - 0x88]
mov dword [edx + 0x24], eax
mov dword [ebp - 0x28], 0x64643376
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax + 0x24]
push ecx
push 1
push 4
lea edx, [ebp - 0x28]
push edx
call fcn.00418822
add esp, 0x10
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax + 0x24]
push ecx
push 1
push 4
push 0x4400e0
call fcn.00418822
add esp, 0x10
jmp 0x42534e
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0x88]
mov eax, dword [edx + 0x24]
push eax
push 1
push 4
lea ecx, [ebp - 0x28]
push ecx
call fcn.00418596
add esp, 0x10
mov edx, dword [ebp - 0x28]
cmp edx, dword [0x4400e0]
je 0x4251d7
mov eax, dword [ebp - 0x30]
push eax
call fcn.0041891b
add esp, 4
mov ecx, dword [ebp - 0x88]
mov edx, dword [ecx + 0x24]
push edx
call fcn.0041891b
add esp, 4
push 0x436df0
lea eax, [ebp - 0x78]
push eax
call fcn.004186a9
add esp, 8
mov ecx, dword [ebp - 0x88]
mov dword [ecx + 0x24], eax
mov dword [ebp - 0x28], 0x64643376
mov edx, dword [ebp - 0x88]
mov eax, dword [edx + 0x24]
push eax
push 1
push 4
lea ecx, [ebp - 0x28]
push ecx
call fcn.00418822
add esp, 0x10
mov edx, dword [ebp - 0x88]
mov eax, dword [edx + 0x24]
push eax
push 1
push 4
push 0x4400e0
call fcn.00418822
add esp, 0x10
jmp 0x42534e
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x30]
push ecx
push 1
push 4
lea edx, [ebp - 0x2c]
push edx
call fcn.00418596
add esp, 0x10
push 0
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00418271
add esp, 0xc
mov dword [ebp - 0x34], 0
mov edx, dword [ebp - 0x30]
push edx
push 1
push 4
lea eax, [ebp - 0x34]
push eax
call fcn.00418596
add esp, 0x10
push 2
push 0
mov ecx, dword [ebp - 0x88]
mov edx, dword [ecx + 0x24]
push edx
call fcn.00418271
add esp, 0xc
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax + 0x24]
push ecx
call fcn.00418b34
add esp, 4
cmp eax, dword [ebp - 0x34]
je 0x4252c5
mov edx, dword [ebp - 0x30]
push edx
call fcn.0041891b
add esp, 4
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax + 0x24]
push ecx
call fcn.0041891b
add esp, 4
push 0x436df4
lea edx, [ebp - 0x78]
push edx
call fcn.004186a9
add esp, 8
mov ecx, dword [ebp - 0x88]
mov dword [ecx + 0x24], eax
mov dword [ebp - 0x28], 0x64643376
mov edx, dword [ebp - 0x88]
mov eax, dword [edx + 0x24]
push eax
push 1
push 4
lea ecx, [ebp - 0x28]
push ecx
call fcn.00418822
add esp, 0x10
mov edx, dword [ebp - 0x88]
mov eax, dword [edx + 0x24]
push eax
push 1
push 4
push 0x4400e0
call fcn.00418822
add esp, 0x10
jmp 0x42534e
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x30]
push ecx
push 1
push 4
lea edx, [ebp - 0x38]
push edx
call fcn.00418596
add esp, 0x10
cmp dword [ebp - 0x38], 0
je 0x425342
mov eax, dword [ebp - 0x38]
push eax
call fcn.00402880
add esp, 4
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x30]
push edx
push 1
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x7c]
push ecx
call fcn.00418596
add esp, 0x10
push 0
push 0
push 0
mov edx, dword [ebp - 0x7c]
push edx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x88]
call fcn.00424b50
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x84], ecx
mov edx, dword [ebp - 0x84]
push edx
call fcn.00402890
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
call fcn.0041891b
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00417068
mov esp, ebp
pop ebp
ret 4