Function at 0x46c190
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.MSVCR100.dll_fscanf]
lea eax, [esp + 0x20]
push eax
push 0x4c3258
push esi
call edi
add esp, 0xc
cmp eax, 0xffffffff
jne 0x46c215
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push 0x4c325c
push 0x4c3284
mov byte [0x652212], 1
call esi
mov edi, dword [sym.imp.MSVCR100.dll_fprintf]
add eax, 0x20
push eax
call edi
call esi
mov ebx, dword [sym.imp.MSVCR100.dll_fflush]
add eax, 0x20
push eax
call ebx
add esp, 0x10
push 0x4c3294
push 0x4c32bc
call esi
add eax, 0x40
push eax
call edi
call esi
add eax, 0x40
push eax
call ebx
add esp, 0x10
push 2
call dword [sym.imp.MSVCR100.dll_exit]
push 0x5b
push 0x28
push esi
call fcn.0046bfe0
add esp, 0xc
cmp al, 0x5b
jne 0x46c55c
lea ecx, [esp + 0x30]
push ecx
push 0x4c32cc
push esi
call edi
add esp, 0xc
cmp eax, 0xffffffff
jne 0x46c284
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push 0x4c32d0
push 0x4c32f8
mov byte [0x652212], 1
call esi
mov edi, dword [sym.imp.MSVCR100.dll_fprintf]
add eax, 0x20
push eax
call edi
call esi
mov ebx, dword [sym.imp.MSVCR100.dll_fflush]
add eax, 0x20
push eax
call ebx
add esp, 0x10
push 0x4c3308
push 0x4c3330
jmp 0x46c1fa
lea edx, [esp + 0x1f]
push edx
push 0x4c3084
push esi
call edi
add esp, 0xc
cmp eax, 0xffffffff
je 0x46c2fe
cmp byte [esp + 0x1f], 0x2c
jne 0x46c284
lea eax, [esp + 0x28]
push eax
push 0x4c3340
push esi
call edi
add esp, 0xc
cmp eax, 0xffffffff
jne 0x46c343
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push 0x4c3344
push 0x4c336c
mov byte [0x652212], 1
call esi
mov edi, dword [sym.imp.MSVCR100.dll_fprintf]
add eax, 0x20
push eax
call edi
call esi
mov ebx, dword [sym.imp.MSVCR100.dll_fflush]
add eax, 0x20
push eax
call ebx
add esp, 0x10
push 0x4c337c
push 0x4c33a4
jmp 0x46c1fa
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push 0x4c3088
push 0x4c30b0
mov byte [0x652212], 1
call esi
mov edi, dword [sym.imp.MSVCR100.dll_fprintf]
add eax, 0x20
push eax
call edi
call esi
mov ebx, dword [sym.imp.MSVCR100.dll_fflush]
add eax, 0x20
push eax
call ebx
add esp, 0x10
push 0x4c30c0
push 0x4c30e8
jmp 0x46c1fa
push 0x2c
push esi
call fcn.0046bf50
lea ecx, [esp + 0x40]
push ecx
push 0x4c33b4
push esi
call edi
add esp, 0x14
cmp eax, 0xffffffff
jne 0x46c3a5
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push 0x4c33b8
push 0x4c33e0
mov byte [0x652212], 1
call esi
mov edi, dword [sym.imp.MSVCR100.dll_fprintf]
add eax, 0x20
push eax
call edi
call esi
mov ebx, dword [sym.imp.MSVCR100.dll_fflush]
add eax, 0x20
push eax
call ebx
add esp, 0x10
push 0x4c33f0
push 0x4c3418
jmp 0x46c1fa
mov edx, dword [0x4b95e8]
fld qword [esp + 0x28]
push edx
sub esp, 0x10
fstp qword [esp + 8]
fld qword [esp + 0x44]
fstp qword [esp]
call fcn.004530e0
mov ebx, 1
add esp, 0x14
mov dword [esp + 0x24], eax
cmp dword [esp + 0x20], ebx
jle 0x46c5a0
lea esp, [esp]
lea eax, [esp + 0x1f]
push eax
push 0x4c3084
push esi
call edi
add esp, 0xc
cmp eax, 0xffffffff
je 0x46c2fe
cmp byte [esp + 0x1f], 0x5b
jne 0x46c3e0
lea ecx, [esp + 0x30]
push ecx
push 0x4c3428
push esi
call edi
add esp, 0xc
cmp eax, 0xffffffff
je 0x46c48d
push 0x2c
push esi
call fcn.0046bf50
lea edx, [esp + 0x30]
push edx
push 0x4c349c
push esi
call edi
add esp, 0x14
cmp eax, 0xffffffff
je 0x46c4d2
push 0x2c
push esi
call fcn.0046bf50
lea eax, [esp + 0x40]
push eax
push 0x4c3510
push esi
call edi
add esp, 0x14
cmp eax, 0xffffffff
je 0x46c517
mov ecx, dword [0x4b95ec]
fld qword [esp + 0x28]
push ecx
sub esp, 0x10
fstp qword [esp + 8]
lea edx, [esp + 0x38]
fld qword [esp + 0x44]
fstp qword [esp]
push edx
call fcn.00453160
inc ebx
add esp, 0x18
cmp ebx, dword [esp + 0x20]
jl 0x46c3e0
jmp 0x46c5a0
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push 0x4c342c
push 0x4c3454
mov byte [0x652212], 1
call esi
mov edi, dword [sym.imp.MSVCR100.dll_fprintf]
add eax, 0x20
push eax
call edi
call esi
mov ebx, dword [sym.imp.MSVCR100.dll_fflush]
add eax, 0x20
push eax
call ebx
add esp, 0x10
push 0x4c3464
push 0x4c348c
jmp 0x46c1fa
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push 0x4c34a0
push 0x4c34c8
mov byte [0x652212], 1
call esi
mov edi, dword [sym.imp.MSVCR100.dll_fprintf]
add eax, 0x20
push eax
call edi
call esi
mov ebx, dword [sym.imp.MSVCR100.dll_fflush]
add eax, 0x20
push eax
call ebx
add esp, 0x10
push 0x4c34d8
push 0x4c3500
jmp 0x46c1fa
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push 0x4c3514
push 0x4c353c
mov byte [0x652212], 1
call esi
mov edi, dword [sym.imp.MSVCR100.dll_fprintf]
add eax, 0x20
push eax
call edi
call esi
mov ebx, dword [sym.imp.MSVCR100.dll_fflush]
add eax, 0x20
push eax
call ebx
add esp, 0x10
push str.ReadXDRFile_____premature_end_of_file__n
push 0x4c3574
jmp 0x46c1fa
cmp al, 0x28
jne 0x46c5a0
xor ebx, ebx
cmp dword [esp + 0x20], ebx
jle 0x46c5a0
jmp 0x46c570
lea eax, [esp + 0x1f]
push eax
push 0x4c3084
push esi
call edi
add esp, 0xc
cmp eax, 0xffffffff
je 0x46c2fe
cmp byte [esp + 0x1f], 0x3c
jne 0x46c570
push esi
call fcn.0046c190
inc ebx
add esp, 4
cmp ebx, dword [esp + 0x20]
jl 0x46c570
mov bl, 0x29
lea ecx, [esp + 0x1f]
push ecx
push 0x4c3084
push esi
call edi
add esp, 0xc
cmp eax, 0xffffffff
je 0x46c2fe
cmp byte [esp + 0x1f], bl
jne 0x46c5a2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret