Function at 0x100c05f0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x7c
mov eax, dword [0x10178d58]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x90]
push ebx
mov ebx, dword [esp + 0x90]
push ebp
push esi
mov esi, dword [esp + 0x8c]
push edi
mov edi, dword [sym.imp.MSVCR80.dll_fread]
push esi
mov dword [eax], 0
push 1
mov dword [esp + 0x30], eax
mov dword [ebx], 0
lea eax, [esp + 0x54]
push 8
mov dword [ecx], 0
push eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], edx
mov dword [edx], 0
mov byte [esp + 0x64], 0
mov byte [esp + 0x70], 0
mov byte [esp + 0x7c], 0
mov byte [esp + 0x94], 0
mov byte [esp + 0x88], 0
call edi
push esi
push 1
lea ecx, [esp + 0x34]
push 4
push ecx
call edi
push esi
push 1
lea edx, [esp + 0x3c]
push 4
push edx
mov ebp, eax
call edi
add esp, 0x30
cmp dword [esp + 0x14], 0
jne 0x100c06b5
push esi
push 1
lea eax, [esp + 0x54]
push 8
push eax
mov dword [ebx], 1
call edi
add esp, 0x10
jmp 0x100c06d6
push 4
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x54]
push edx
call dword [sym.imp.MSVCR80.dll_strncpy]
push esi
push 1
lea eax, [esp + 0x64]
push 4
push eax
call edi
add esp, 0x1c
push esi
push 1
lea ecx, [esp + 0x28]
push 4
push ecx
call edi
add esp, 0x10
add ebp, eax
cmp dword [ebx], 0
je 0x100c06fb
push esi
push 1
lea edx, [esp + 0x1c]
push 4
push edx
call edi
add esp, 0x10
push esi
push 1
lea eax, [esp + 0x54]
push 8
push eax
call edi
push esi
push 1
lea ecx, [esp + 0x3c]
push 4
push ecx
call edi
add esp, 0x20
add ebp, eax
cmp dword [ebx], 0
je 0x100c072c
push esi
push 1
lea edx, [esp + 0x1c]
push 4
push edx
call edi
add esp, 0x10
push esi
push 1
lea eax, [esp + 0x54]
push 8
push eax
call edi
push esi
push 1
lea ecx, [esp + 0x70]
push 8
push ecx
call edi
mov ebx, dword [sym.imp.MSVCR80.dll_strncmp]
push 7
lea edx, [esp + 0x7c]
push str.SECONDS
push edx
add ebp, eax
call ebx
add esp, 0x2c
test eax, eax
jne 0x100c076d
mov eax, dword [esp + 0x10]
mov dword [eax], 1
jmp 0x100c07ce
push 7
lea ecx, [esp + 0x5c]
push str.MINUTES
push ecx
call ebx
add esp, 0xc
test eax, eax
jne 0x100c078e
mov edx, dword [esp + 0x10]
mov dword [edx], 2
jmp 0x100c07ce
push 7
lea eax, [esp + 0x5c]
push str.DEGREES
push eax
call ebx
add esp, 0xc
test eax, eax
jne 0x100c07af
mov ecx, dword [esp + 0x10]
mov dword [ecx], 3
jmp 0x100c07ce
push 7
lea edx, [esp + 0x5c]
push str.RADIANS
push edx
call ebx
add esp, 0xc
test eax, eax
jne 0x100c07ce
mov eax, dword [esp + 0x10]
mov dword [eax], 4
push esi
push 1
lea ecx, [esp + 0x54]
push 8
push ecx
call edi
push esi
push 1
lea edx, [esp + 0x7c]
push 8
push edx
call edi
push esi
push 1
add ebp, eax
lea eax, [esp + 0x74]
push 8
push eax
call edi
push esi
push 1
lea ecx, [esp + 0xb4]
push 8
push ecx
call edi
add esp, 0x40
push esi
push 1
lea edx, [esp + 0x54]
push 8
push edx
add ebp, eax
call edi
push esi
push 1
lea eax, [esp + 0x88]
push 8
push eax
call edi
push esi
push 1
lea ecx, [esp + 0x74]
push 8
push ecx
add ebp, eax
call edi
push esi
push 1
lea edx, [esp + 0x64]
push 8
push edx
call edi
add esp, 0x40
push esi
push 1
add ebp, eax
lea eax, [esp + 0x54]
push 8
push eax
call edi
push esi
push 1
lea ecx, [esp + 0x4c]
push 8
push ecx
call edi
push esi
push 1
lea edx, [esp + 0x74]
push 8
push edx
add ebp, eax
call edi
push esi
push 1
lea eax, [esp + 0x74]
push 8
push eax
call edi
add esp, 0x40
add ebp, eax
push esi
push 1
lea ecx, [esp + 0x54]
push 8
push ecx
call edi
push esi
push 1
lea edx, [esp + 0x5c]
push 8
push edx
call edi
add esp, 0x20
add ebp, eax
cmp dword [esp + 0x1c], 0xf423f
jle 0x100c08ac
mov eax, dword [esp + 0x18]
mov dword [eax], 1
jmp 0x100c08b5
mov ecx, dword [esp + 0x18]
cmp dword [ecx], 0
je 0x100c08d0
lea edx, [esp + 0x1c]
push 3
push edx
call fcn.100d7a00
lea eax, [esp + 0x34]
push 4
push eax
call fcn.100d7a50
add esp, 0x10
cmp ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [edx], ecx
je 0x100c08f5
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.100db39a
add esp, 0x7c
ret
mov ecx, dword [esp + 0x88]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.100db39a
add esp, 0x7c
ret