Function at 0x41fad3
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc88
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, 0x49dfba
call fcn.00488048
imul edx, dword [esi], 0x5c
add edx, 4
push edx
call fcn.0040bafd
pop ecx
mov dword [ebx + 8], eax
cmp dword [ebx + 8], 0
jne 0x41fb82
lea ecx, [ebx + 0x10]
push ecx
mov word [ebp - 0x134], 8
lea eax, [ebp - 0x10]
push eax
call sym.runtime.exe__OResStr__bctr_qv
pop ecx
add dword [ebp - 0x128], 4
mov dword [ebp - 0x10], 0x498434
push 0x1fa8
lea edx, [ebp - 0x10]
push edx
call sym.runtime.exe__OResStr_set_qi
add esp, 8
lea ecx, [ebp - 0x10]
add dword [ebp - 0x128], 5
push ecx
call sym.runtime.exe__OStr__opc_xqv
pop ecx
push eax
push 0x551
push 0x49eb2d
call fcn.00448a16
add esp, 0x10
sub dword [ebp - 0x128], 5
add dword [ebp - 0x128], 5
sub dword [ebp - 0x128], 4
push 0
lea eax, [ebp - 0x10]
push eax
call sym.runtime.exe__OResStr__bdtr_qv
add esp, 8
mov edx, dword [ebp + 0x10]
mov dword [ebx + 0x120], edx
xor ecx, ecx
mov dword [ebx + 0xc], ecx
mov eax, dword [esi]
mov edx, dword [ebx + 8]
mov dword [edx], eax
xor eax, eax
jmp 0x41fbc0
imul edx, eax, 0x17
imul ecx, eax, 0x17
mov edi, dword [ebx + 8]
push esi
lea esi, [esi + edx*4 + 4]
lea edi, [edi + ecx*4 + 4]
mov ecx, 0x17
rep movsd dword es:[edi], dword [esi]
pop esi
imul edx, eax, 0x17
mov ecx, dword [esi + edx*4 + 0x5c]
add dword [ebx + 0xc], ecx
inc eax
cmp eax, dword [esi]
jl 0x41fb9b
cmp dword [ebx + 0xc], 0
ja 0x41fc47
lea eax, [ebx + 0x10]
push eax
mov word [ebp - 0x134], 0x14
lea eax, [ebp - 0x20]
push eax
call sym.runtime.exe__OResStr__bctr_qv
pop ecx
add dword [ebp - 0x128], 4
mov dword [ebp - 0x20], 0x498434
push 0x1fa8
lea edx, [ebp - 0x20]
push edx
call sym.runtime.exe__OResStr_set_qi
add esp, 8
lea ecx, [ebp - 0x20]
add dword [ebp - 0x128], 5
push ecx
call sym.runtime.exe__OStr__opc_xqv
pop ecx
push eax
push 0x560
push 0x49eb3d
call fcn.00448a16
add esp, 0x10
sub dword [ebp - 0x128], 5
add dword [ebp - 0x128], 5
sub dword [ebp - 0x128], 4
push 0
lea eax, [ebp - 0x20]
push eax
call sym.runtime.exe__OResStr__bdtr_qv
add esp, 8
mov edx, dword [ebx + 0xc]
add edx, 4
mov dword [ebx + 0x64], edx
push 0x10
call fcn.0040bafd
pop ecx
mov dword [ebx + 0x118], eax
cmp dword [ebx + 0x118], 0
jne 0x41fcff
add ebx, 0x10
push ebx
mov word [ebp - 0x134], 0x20
lea eax, [ebp - 0x30]
push eax
call sym.runtime.exe__OResStr__bctr_qv
pop ecx
add dword [ebp - 0x128], 4
mov dword [ebp - 0x30], 0x498434
push 0x1fa8
lea edx, [ebp - 0x30]
push edx
call sym.runtime.exe__OResStr_set_qi
add esp, 8
lea ecx, [ebp - 0x30]
add dword [ebp - 0x128], 5
push ecx
call sym.runtime.exe__OStr__opc_xqv
pop ecx
push eax
push 0x567
push 0x49eb4d
call fcn.00448a16
add esp, 0x10
sub dword [ebp - 0x128], 5
add dword [ebp - 0x128], 5
sub dword [ebp - 0x128], 4
push 0
lea eax, [ebp - 0x30]
push eax
call sym.runtime.exe__OResStr__bdtr_qv
add esp, 8
mov eax, 1
mov edx, dword [ebp - 0x144]
mov dword fs:[0], edx
jmp 0x420bd8
mov ecx, dword [ebx + 0x118]
mov eax, dword [ebp + 0x1c]
mov dword [ecx + 0xc], eax
mov edx, dword [ebx + 0x118]
mov ecx, dword [ebp + 0x18]
mov dword [edx], ecx
mov eax, dword [ebx + 0x118]
imul edx, dword [eax], 0x17
mov ecx, dword [ebx + 8]
cmp dword [ecx + edx*4 + 0x5c], 0x50
jge 0x41fd3b
mov eax, dword [ebx + 0x118]
imul edx, dword [eax], 0x17
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + edx*4 + 0x5c]
jmp 0x41fd40
mov eax, 0x50
mov edx, dword [ebx + 0x118]
mov dword [edx + 4], eax
mov ecx, dword [ebx + 0x118]
mov edx, dword [ecx + 4]
add edx, 4
mov eax, 0x1000
cmp eax, edx
jl 0x41fd63
sar eax, 4
jmp 0x41fd5a
shl eax, 4
mov ecx, dword [ebx + 0x118]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x20]
mov dword [ebx + 0x11c], eax
push 0x40
lea edx, [ebx + 0x6c]
push edx
call sub.KERNEL32.dll__lopen
mov dword [ebx + 0x10c], eax
cmp dword [ebx + 0x10c], 0xffffffff
je 0x41fd99
push ebx
call fcn.004238f3
pop ecx
push 0
lea ecx, [ebp - 0x268]
push ecx
lea eax, [ebx + 0xbc]
push eax
call fcn.00488eb0
add esp, 0xc
test eax, eax
je 0x41feb4
test byte [ebx + 0x60], 8
je 0x41fdf1
cmp dword [ebx + 0x10c], 0xffffffff
je 0x41fdda
push ebx
call fcn.004239b8
pop ecx
push dword [ebx + 0x10c]
call sub.KERNEL32.dll__lclose
mov eax, 1
mov edx, dword [ebp - 0x144]
mov dword fs:[0], edx
jmp 0x420bd8
push 0x1001
lea ecx, [ebp - 0x2f0]
push ecx
lea eax, [ebx + 0xbc]
push eax
call sub.KERNEL32.dll_OpenFile
mov dword [ebx + 0x110], eax
cmp dword [ebx + 0x110], 0xffffffff
jne 0x41fe9c
lea edx, [ebx + 0xbc]
push edx
mov word [ebp - 0x134], 0x2c
lea ecx, [ebp - 0x40]
push ecx
call sym.runtime.exe__OResStr__bctr_qv
pop ecx
add dword [ebp - 0x128], 4
mov dword [ebp - 0x40], 0x498434
push 0x1fa9
lea eax, [ebp - 0x40]
push eax
call sym.runtime.exe__OResStr_set_qi
add esp, 8
lea edx, [ebp - 0x40]
add dword [ebp - 0x128], 5
push edx
call sym.runtime.exe__OStr__opc_xqv
pop ecx
push eax
push 0x5a9
push 0x49eb5d
call fcn.00448a16
add esp, 0x10
sub dword [ebp - 0x128], 5
add dword [ebp - 0x128], 5
sub dword [ebp - 0x128], 4
push 0
lea ecx, [ebp - 0x40]
push ecx
call sym.runtime.exe__OResStr__bdtr_qv
add esp, 8
push dword [ebx + 0x110]
call sub.KERNEL32.dll__lclose
xor eax, eax
mov dword [ebx + 0x124], eax
jmp 0x420674
test byte [ebx + 0x60], 8
jne 0x420661
mov esi, dword [ebp - 0x264]
push 0x40
lea eax, [ebx + 0xbc]
push eax
call sub.KERNEL32.dll__lopen
mov dword [ebx + 0x110], eax
cmp dword [ebx + 0x110], 0xffffffff
jne 0x41ff65
lea edx, [ebx + 0xbc]
push edx
mov word [ebp - 0x134], 0x38
lea ecx, [ebp - 0x50]
push ecx
call sym.runtime.exe__OResStr__bctr_qv
pop ecx
add dword [ebp - 0x128], 4
mov dword [ebp - 0x50], 0x498434
push 0x1fa9
lea eax, [ebp - 0x50]
push eax
call sym.runtime.exe__OResStr_set_qi
add esp, 8
lea edx, [ebp - 0x50]
add dword [ebp - 0x128], 5
push edx
call sym.runtime.exe__OStr__opc_xqv
pop ecx
push eax
push 0x5bb
push 0x49eb6d
call fcn.00448a16
add esp, 0x10
sub dword [ebp - 0x128], 5
add dword [ebp - 0x128], 5
sub dword [ebp - 0x128], 4
push 0
lea ecx, [ebp - 0x50]
push ecx
call sym.runtime.exe__OResStr__bdtr_qv
add esp, 8
push dword [ebx + 0x110]
push dword [ebx + 0x29a]
call fcn.0041ed91
add esp, 8
push dword [ebx + 0x29a]
call fcn.0041eefe
pop ecx
test ax, ax
je 0x41ffa6
push 0x49eb7d
call fcn.00485ca4
pop ecx
mov edi, eax
push 0x49eb86
call fcn.00485ca4
pop ecx
add edi, eax
sub esi, edi
push dword [ebx + 0x110]
call sub.KERNEL32.dll__lclose
mov eax, esi
xor edx, edx
div dword [ebx + 0x64]
mov ecx, edx
mov eax, esi
xor edx, edx
div dword [ebx + 0x64]
mov dword [ebx + 0x124], eax
test ecx, ecx
jne 0x41ffdd
mov ecx, dword [ebx + 0x124]
cmp ecx, dword [ebx + 0x120]
jbe 0x420164
mov word [ebp - 0x134], 0x44
lea eax, [ebp - 0x60]
push eax
call sub.cppv32.dll__VString__bctr_qv
pop ecx
add dword [ebp - 0x128], 2
mov dword [ebp - 0x60], 0x4984b0
add dword [ebp - 0x128], 3
mov word [ebp - 0x134], 0x50
lea edx, [ebx + 0xbc]
push edx
mov word [ebp - 0x134], 0x5c
lea ecx, [ebp - 0x70]
push ecx
call sym.runtime.exe__OResStr__bctr_qv
pop ecx
add dword [ebp - 0x128], 4
mov dword [ebp - 0x70], 0x498434
push 0x1fb9
lea eax, [ebp - 0x70]
push eax
call sym.runtime.exe__OResStr_set_qi
add esp, 8
lea edx, [ebp - 0x70]
add dword [ebp - 0x128], 5
push edx
call sym.runtime.exe__OStr__opc_xqv
pop ecx
push eax
lea ecx, [ebp - 0x60]
push ecx
call sub.cppv32.dll__VString_prints_qpxce
add esp, 0xc
sub dword [ebp - 0x128], 5
add dword [ebp - 0x128], 5
sub dword [ebp - 0x128], 4
push 0
lea eax, [ebp - 0x70]
push eax
call sym.runtime.exe__OResStr__bdtr_qv
add esp, 8
lea edx, [ebp - 0x60]
push edx
call sym.runtime.exe__OStr__opc_xqv
pop ecx
push eax
push 0
mov word [ebp - 0x134], 0x68
lea ecx, [ebp - 0x80]
push ecx
call sym.runtime.exe__OResStr__bctr_qv
pop ecx
add dword [ebp - 0x128], 4
mov dword [ebp - 0x80], 0x498434
push 0x1f86
lea eax, [ebp - 0x80]
push eax
call sym.runtime.exe__OResStr_set_qi
add esp, 8
lea edx, [ebp - 0x80]
add dword [ebp - 0x128], 5
push edx
call sym.runtime.exe__OStr__opc_xqv
pop ecx
push eax
call sub.cppv32.dll__VReport_warning_qpxcp7VWindowt1e
add esp, 0xc
sub dword [ebp - 0x128], 5
add dword [ebp - 0x128], 5
sub dword [ebp - 0x128], 4
push 0
lea ecx, [ebp - 0x80]
push ecx
call sym.runtime.exe__OResStr__bdtr_qv
add esp, 8
cmp dword [0x4affb4], 0
je 0x42012e
sub dword [ebp - 0x128], 3
sub dword [ebp - 0x128], 2
push 0
lea eax, [ebp - 0x60]
push eax
call sub.cppv32.dll__VString__bdtr_qv
add esp, 8
jmp 0x420674
lea edx, [ebx + 0xbc]
push edx
call fcn.00489c10
pop ecx
xor ecx, ecx
mov dword [ebx + 0x124], ecx
sub dword [ebp - 0x128], 3
sub dword [ebp - 0x128], 2
push 0
lea eax, [ebp - 0x60]
push eax
call sub.cppv32.dll__VString__bdtr_qv
add esp, 8
jmp 0x41fd99
cmp dword [ebx + 0x124], 0
jbe 0x420674
mov edx, dword [ebx + 0x124]
cmp edx, dword [ebx + 0x120]
jae 0x420674
push dword [ebx + 0xc]
call fcn.0040bafd
pop ecx
mov esi, eax
test esi, esi
jne 0x420254
cmp dword [ebx + 0x10c], 0xffffffff
je 0x4201b1
push ebx
call fcn.004239b8
pop ecx
push dword [ebx + 0x10c]
call sub.KERNEL32.dll__lclose
add ebx, 0x10
push ebx
mov word [ebp - 0x134], 0x74
lea eax, [ebp - 0x90]
push eax
call sym.runtime.exe__OResStr__bctr_qv
pop ecx
add dword [ebp - 0x128], 4
mov dword [ebp - 0x90], 0x498434
push 0x1fa8
lea edx, [ebp - 0x90]
push edx
call sym.runtime.exe__OResStr_set_qi
add esp, 8
lea ecx, [ebp - 0x90]
add dword [ebp - 0x128], 5
push ecx
call sym.runtime.exe__OStr__opc_xqv
pop ecx
push eax
push 0x612
push 0x49eb9b
call fcn.00448a16
add esp, 0x10
sub dword [ebp - 0x128], 5
add dword [ebp - 0x128], 5
sub dword [ebp - 0x128], 4
push 0
lea eax, [ebp - 0x90]
push eax
call sym.runtime.exe__OResStr__bdtr_qv
add esp, 8
mov eax, 1
mov edx, dword [ebp - 0x144]
mov dword fs:[0], edx
jmp 0x420bd8
push 0x40
lea ecx, [ebx + 0xbc]
push ecx
call sub.KERNEL32.dll__lopen
mov dword [ebx + 0x110], eax
cmp dword [ebx + 0x110], 0xffffffff
jne 0x420304
lea eax, [ebx + 0xbc]
push eax
mov word [ebp - 0x134], 0x80
lea edx, [ebp - 0xa0]
push edx
call sym.runtime.exe__OResStr__bctr_qv
pop ecx
add dword [ebp - 0x128], 4
mov dword [ebp - 0xa0], 0x498434
push 0x1fa9
lea ecx, [ebp - 0xa0]
push ecx
call sym.runtime.exe__OResStr_set_qi
add esp, 8
lea eax, [ebp - 0xa0]
add dword [ebp - 0x128], 5
push eax
call sym.runtime.exe__OStr__opc_xqv
pop ecx
push eax
push 0x61b
push 0x49ebab
call fcn.00448a16
add esp, 0x10
sub dword [ebp - 0x128], 5
add dword [ebp - 0x128], 5
sub dword [ebp - 0x128], 4
push 0
lea edx, [ebp - 0xa0]
push edx
call sym.runtime.exe__OResStr__bdtr_qv
add esp, 8
lea ecx, [ebp - 0x148]
push ecx
push esi
push 0
push ebx
call fcn.00423a33
add esp, 0x10
cmp eax, 0xc
jne 0x42045e
mov word [ebp - 0x134], 0x8c
lea eax, [ebp - 0xb0]
push eax
call sub.cppv32.dll__VString__bctr_qv
pop ecx
add dword [ebp - 0x128], 2
mov dword [ebp - 0xb0], 0x4984b0
add dword [ebp - 0x128], 3
mov word [ebp - 0x134], 0x98
push str.Code_de_protection_incorrect.
lea edx, [ebp - 0xb0]
push edx
call sub.cppv32.dll__VString_prints_qpxce
add esp, 8
lea ecx, [ebp - 0xb0]
push ecx
call sym.runtime.exe__OStr__opc_xqv
pop ecx
push eax
push 0
mov word [ebp - 0x134], 0xa4
lea eax, [ebp - 0xc0]
push eax
call sym.runtime.exe__OResStr__bctr_qv
pop ecx
add dword [ebp - 0x128], 4
mov dword [ebp - 0xc0], 0x498434
push 0x1f86
lea edx, [ebp - 0xc0]
push edx
call sym.runtime.exe__OResStr_set_qi
add esp, 8
lea ecx, [ebp - 0xc0]
add dword [ebp - 0x128], 5
push ecx
call sym.runtime.exe__OStr__opc_xqv
pop ecx
push eax
call sub.cppv32.dll__VReport_warning_qpxcp7VWindowt1e
add esp, 0xc
sub dword [ebp - 0x128], 5
add dword [ebp - 0x128], 5
sub dword [ebp - 0x128], 4
push 0
lea eax, [ebp - 0xc0]
push eax
call sym.runtime.exe__OResStr__bdtr_qv
add esp, 8
push dword [ebx + 0x110]
call sub.KERNEL32.dll__lclose
push esi
call fcn.0040bbb6
pop ecx
cmp dword [ebx + 0x10c], 0xffffffff
je 0x420426
push ebx
call fcn.004239b8
pop ecx
push dword [ebx + 0x10c]
call sub.KERNEL32.dll__lclose
mov eax, 0xc
push eax
sub dword [ebp - 0x128], 3
sub dword [ebp - 0x128], 2
push 0
lea edx, [ebp - 0xb0]
push edx
call sub.cppv32.dll__VString__bdtr_qv
add esp, 8
pop eax
mov edx, dword [ebp - 0x144]
mov dword fs:[0], edx
jmp 0x420bd8
test eax, eax
jne 0x420474
mov ecx, dword [ebp - 0x148]
cmp ecx, dword [ebx + 0x120]
jb 0x42064d
mov word [ebp - 0x134], 0xb0
lea eax, [ebp - 0xd0]
push eax
call sub.cppv32.dll__VString__bctr_qv
pop ecx
add dword [ebp - 0x128], 2
mov dword [ebp - 0xd0], 0x4984b0
add dword [ebp - 0x128], 3
mov word [ebp - 0x134], 0xbc
lea edx, [ebx + 0xbc]
push edx
mov word [ebp - 0x134], 0xc8
lea ecx, [ebp - 0xe0]
push ecx
call sym.runtime.exe__OResStr__bctr_qv
pop ecx
add dword [ebp - 0x128], 4
mov dword [ebp - 0xe0], 0x498434
push 0x1fb9
lea eax, [ebp - 0xe0]
push eax
call sym.runtime.exe__OResStr_set_qi
add esp, 8
lea edx, [ebp - 0xe0]
add dword [ebp - 0x128], 5
push edx
call sym.runtime.exe__OStr__opc_xqv
pop ecx
push eax
lea ecx, [ebp - 0xd0]
push ecx
call sub.cppv32.dll__VString_prints_qpxce
add esp, 0xc
sub dword [ebp - 0x128], 5
add dword [ebp - 0x128], 5
sub dword [ebp - 0x128], 4
push 0
lea eax, [ebp - 0xe0]
push eax
call sym.runtime.exe__OResStr__bdtr_qv
add esp, 8
lea edx, [ebp - 0xd0]
push edx
call sym.runtime.exe__OStr__opc_xqv
pop ecx
push eax
push 0
mov word [ebp - 0x134], 0xd4
lea ecx, [ebp - 0xf0]
push ecx
call sym.runtime.exe__OResStr__bctr_qv
pop ecx
add dword [ebp - 0x128], 4
mov dword [ebp - 0xf0], 0x498434
push 0x1f86
lea eax, [ebp - 0xf0]
push eax
call sym.runtime.exe__OResStr_set_qi
add esp, 8
lea edx, [ebp - 0xf0]
add dword [ebp - 0x128], 5
push edx
call sym.runtime.exe__OStr__opc_xqv
pop ecx
push eax
call sub.cppv32.dll__VReport_warning_qpxcp7VWindowt1e
add esp, 0xc
sub dword [ebp - 0x128], 5
add dword [ebp - 0x128], 5
sub dword [ebp - 0x128], 4
push 0
lea ecx, [ebp - 0xf0]
push ecx
call sym.runtime.exe__OResStr__bdtr_qv
add esp, 8
push dword [ebx + 0x110]
call sub.KERNEL32.dll__lclose
push esi
call fcn.0040bbb6
pop ecx
cmp dword [0x4affb4], 0
je 0x420601
sub dword [ebp - 0x128], 3
sub dword [ebp - 0x128], 2
push 0
lea eax, [ebp - 0xd0]
push eax
call sub.cppv32.dll__VString__bdtr_qv
add esp, 8
jmp 0x420674
lea edx, [ebx + 0xbc]
push edx
call fcn.00489c10
pop ecx
cmp dword [ebx + 0x10c], 0xffffffff
je 0x420629
push ebx
call fcn.004239b8
pop ecx
push dword [ebx + 0x10c]
call sub.KERNEL32.dll__lclose
sub dword [ebp - 0x128], 3
sub dword [ebp - 0x128], 2
push 0
lea ecx, [ebp - 0xd0]
push ecx
call sub.cppv32.dll__VString__bdtr_qv
add esp, 8
jmp 0x41fd99
push dword [ebx + 0x110]
call sub.KERNEL32.dll__lclose
push esi
call fcn.0040bbb6
pop ecx
jmp 0x420674
mov eax, dword [ebx + 0x120]
mov dword [ebx + 0x124], eax
jmp 0x420674
test byte [ebx + 0x60], 8
je 0x420687
push ebx
call fcn.00420bdf
pop ecx
mov dword [ebx + 0x124], eax
cmp dword [ebx + 0x10c], 0xffffffff
jne 0x420a4a
push 0x40
lea edx, [ebx + 0xbc]
push edx
call sub.KERNEL32.dll__lopen
mov dword [ebx + 0x110], eax
cmp dword [ebx + 0x110], 0xffffffff
jne 0x420744
lea ecx, [ebx + 0xbc]
push ecx
mov word [ebp - 0x134], 0xe0
lea eax, [ebp - 0x100]
push eax
call sym.runtime.exe__OResStr__bctr_qv
pop ecx
add dword [ebp - 0x128], 4
mov dword [ebp - 0x100], 0x498434
push 0x1fa9
lea edx, [ebp - 0x100]
push edx
call sym.runtime.exe__OResStr_set_qi
add esp, 8
lea ecx, [ebp - 0x100]
add dword [ebp - 0x128], 5
push ecx
call sym.runtime.exe__OStr__opc_xqv
pop ecx
push eax
push 0x669
push 0x49ebd9
call fcn.00448a16
add esp, 0x10
sub dword [ebp - 0x128], 5
add dword [ebp - 0x128], 5
sub dword [ebp - 0x128], 4
push 0
lea eax, [ebp - 0x100]
push eax
call sym.runtime.exe__OResStr__bdtr_qv
add esp, 8
push dword [ebx + 0xc]
call fcn.0040bafd
pop ecx
mov edi, eax
test edi, edi
jne 0x4207fa
add ebx, 0x10
push ebx
mov word [ebp - 0x134], 0xec
lea eax, [ebp - 0x110]
push eax
call sym.runtime.exe__OResStr__bctr_qv
pop ecx
add dword [ebp - 0x128], 4
mov dword [ebp - 0x110], 0x498434
push 0x1fa8
lea edx, [ebp - 0x110]
push edx
call sym.runtime.exe__OResStr_set_qi
add esp, 8
lea ecx, [ebp - 0x110]
add dword [ebp - 0x128], 5
push ecx
call sym.runtime.exe__OStr__opc_xqv
pop ecx
push eax
push 0x66e
push 0x49ebe9
call fcn.00448a16
add esp, 0x10
sub dword [ebp - 0x128], 5
add dword [ebp - 0x128], 5
sub dword [ebp - 0x128], 4
push 0
lea eax, [ebp - 0x110]
push eax
call sym.runtime.exe__OResStr__bdtr_qv
add esp, 8
mov eax, 1
mov edx, dword [ebp - 0x144]
mov dword fs:[0], edx
jmp 0x420bd8
mov ecx, dword [ebx + 0x118]
push dword [ecx + 8]
push dword [ebx + 0x124]
call fcn.0040bb0f
add esp, 8
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0
jne 0x4208b0
lea eax, [ebx + 0x10]
push eax
mov word [ebp - 0x134], 0xf8
lea edx, [ebp - 0x120]
push edx
call sym.runtime.exe__OResStr__bctr_qv
pop ecx
add dword [ebp - 0x128], 4
mov dword [ebp - 0x120], 0x498434
push 0x1fa8
lea ecx, [ebp - 0x120]
push ecx
call sym.runtime.exe__OResStr_set_qi
add esp, 8
lea eax, [ebp - 0x120]
add dword [ebp - 0x128], 5
push eax
call sym.runtime.exe__OStr__opc_xqv
pop ecx
push eax
push 0x675
push 0x49ebf9
call fcn.00448a16
add esp, 0x10
sub dword [ebp - 0x128], 5
add dword [ebp - 0x128], 5
sub dword [ebp - 0x128], 4
push 0
lea edx, [ebp - 0x120]
push edx
call sym.runtime.exe__OResStr__bdtr_qv
add esp, 8
mov esi, dword [ebp - 0x14c]
xor eax, eax
mov dword [ebx + 0x128], eax
xor edx, edx
mov dword [ebx + 0x130], edx
xor ecx, ecx
mov dword [ebp - 0x150], ecx
jmp 0x42097b
lea eax, [ebp - 0x154]
push eax
push edi
push dword [ebp - 0x150]
push ebx
call fcn.00423a33
add esp, 0x10
cmp dword [ebp - 0x154], 0
je 0x42091b
inc dword [ebx + 0x128]
mov edx, dword [ebx + 0x130]
cmp edx, dword [ebp - 0x154]
jbe 0x42090f
mov ecx, dword [ebx + 0x130]
jmp 0x420915
mov ecx, dword [ebp - 0x154]
mov dword [ebx + 0x130], ecx
test eax, eax
je 0x420931
mov edx, dword [ebp - 0x144]
mov dword fs:[0], edx
jmp 0x420bd8
xor eax, eax
jmp 0x42094f
mov edx, dword [ebx + 0x118]
imul ecx, dword [edx], 0x17
mov edx, dword [ebx + 8]
mov ecx, dword [edx + ecx*4 + 0x58]
lea edx, [edi + ecx]
mov cl, byte [edx + eax]
mov byte [esi + eax], cl
inc eax
mov edx, dword [ebx + 0x118]
cmp eax, dword [edx + 4]
jl 0x420935
mov eax, dword [ebx + 0x118]
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0x150]
mov dword [esi + ecx], eax
mov edx, dword [ebx + 0x118]
add esi, dword [edx + 8]
inc dword [ebp - 0x150]
mov ecx, dword [ebp - 0x150]
cmp ecx, dword [ebx + 0x124]
jb 0x4208d3
push edi
call fcn.0040bbb6
pop ecx
push dword [ebx + 0x130]
push ebx
call fcn.00423c2b
add esp, 8
mov dword [ebx + 0x130], eax
push dword [ebx + 0x110]
call sub.KERNEL32.dll__lclose
push dword [ebp + 0x20]
mov eax, dword [ebx + 0x118]
push dword [eax + 8]
push dword [ebx + 0x124]
push dword [ebp - 0x14c]
call fcn.0040beef
add esp, 0x10
mov edx, dword [ebx + 0x128]
mov dword [ebx + 0x12c], edx
mov ecx, dword [ebx + 0x12c]
cmp ecx, dword [ebx + 0x120]
jne 0x4209f6
xor eax, eax
mov dword [ebx + 0x12c], eax
push 0x1001
lea edx, [ebp - 0x378]
push edx
lea ecx, [ebx + 0x6c]
push ecx
call sub.KERNEL32.dll_OpenFile
mov dword [ebx + 0x10c], eax
cmp dword [ebx + 0x10c], 0xffffffff
je 0x420a34
push dword [ebp - 0x14c]
push ebx
call fcn.00423d46
add esp, 8
push dword [ebx + 0x10c]
call sub.KERNEL32.dll__lclose
push dword [ebp - 0x14c]
call fcn.0040bbb6
pop ecx
jmp 0x420bba
push 0
push 0
push 0
push dword [ebx + 0x10c]
call sub.KERNEL32.dll_SetFilePointer
xor eax, eax
mov dword [ebp - 0x158], eax
mov edx, dword [ebx + 0x124]
mov dword [ebx + 0x128], edx
mov ecx, dword [ebx + 0x124]
mov dword [ebx + 0x12c], ecx
mov eax, dword [ebx + 0x124]
inc eax
mov dword [ebx + 0x130], eax
push 4
lea edx, [ebp - 0x158]
push edx
push dword [ebx + 0x10c]
call sub.KERNEL32.dll__lread
test eax, eax
je 0x420b81
mov ecx, dword [ebp - 0x158]
cmp ecx, dword [ebx + 0x124]
jne 0x420b81
push 4
lea eax, [ebx + 0x128]
push eax
push dword [ebx + 0x10c]
call sub.KERNEL32.dll__lread
test eax, eax
je 0x420b81
push 4
lea edx, [ebx + 0x12c]
push edx
push dword [ebx + 0x10c]
call sub.KERNEL32.dll__lread
test eax, eax
je 0x420b81
push 4
lea ecx, [ebx + 0x130]
push ecx
push dword [ebx + 0x10c]
call sub.KERNEL32.dll__lread
test eax, eax
je 0x420b81
cmp dword [0x4affb4], 0
jne 0x420b6d
push 0
push dword [ebx + 0x10c]
call sub.KERNEL32.dll_GetFileSize
sub eax, 0x10
mov edx, dword [ebx + 0x118]
mov ecx, dword [edx + 8]
xor edx, edx
div ecx
cmp eax, dword [ebx + 0x124]
jb 0x420b42
mov eax, dword [ebx + 0x128]
cmp eax, dword [ebx + 0x124]
jbe 0x420b6d
push ebx
call fcn.004239b8
pop ecx
push dword [ebx + 0x10c]
call sub.KERNEL32.dll__lclose
lea eax, [ebx + 0x6c]
push eax
call fcn.00489c10
pop ecx
mov dword [ebx + 0x10c], 0xffffffff
jmp 0x420687
push ebx
call fcn.004239b8
pop ecx
push dword [ebx + 0x10c]
call sub.KERNEL32.dll__lclose
jmp 0x420bba
cmp dword [0x4affb4], 0
jne 0x420bba
push ebx
call fcn.004239b8
pop ecx
push dword [ebx + 0x10c]
call sub.KERNEL32.dll__lclose
lea edx, [ebx + 0x6c]
push edx
call fcn.00489c10
pop ecx
mov dword [ebx + 0x10c], 0xffffffff
jmp 0x420687
push dword [ebx + 0x128]
push ebx
mov ecx, dword [ebx]
call dword [ecx + 0x68]
add esp, 8
xor eax, eax
mov edx, dword [ebp - 0x144]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret