Function at 0x18002d210
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xf8
mov r13d, dword [rbp + 0x6f]
mov eax, edx
mov r14d, dword [rbp + 0x6f]
mov ebx, eax
mov r15d, dword [rbp + 0x6f]
mov r10, r8
mov rsi, qword [rbp - 0x49]
mov rdx, rcx
add eax, 0x57c
lea r8, [0x180000000]
cmp ebx, eax
jae 0x18002d60e
cmp ebx, 0x13a
ja 0x18002d322
je 0x18002d2e1
lea eax, [rbx - 0xaa]
cmp eax, 0x8f
ja case.0x18002d29c.176
movzx eax, byte [r8 + rax + 0x2d644]
mov ecx, dword [r8 + rax*4 + 0x2d628]
add rcx, r8
jmp rcx
xor r13d, r13d
jmp case.0x18002d29c.176
movzx eax, byte [rdx]
mov r8d, 1
mov rcx, qword [r10 + 8]
lea rdx, [rsp + 0x50]
mov byte [rsp + 0x50], al
call qword [r10]
jmp case.0x18002d29c.176
mov rcx, qword [r10]
movzx eax, byte [rdx]
mov byte [rcx], al
inc qword [r10]
jmp case.0x18002d29c.176
mov qword [rbp - 0x51], 0
jmp case.0x18002d29c.176
mov eax, dword [r10]
lea r9, [rsp + 0x58]
mov dword [rsp + 0x28], 0xbb
lea rdx, [rbp - 0x51]
xor r8d, r8d
mov dword [rsp + 0x58], eax
xor ecx, ecx
mov qword [rsp + 0x20], 0
call fcn.180013880
bt eax, 0xc
jae case.0x18002d29c.176
mov ecx, 0xd7
inc ecx
jmp 0x18002d536
mov eax, ebx
sub eax, 0x187
je 0x18002d589
sub eax, 0x28
je 0x18002d531
sub eax, 0x4d
je 0x18002d360
sub eax, 0x75
je 0x18002d523
cmp eax, 0x75
je 0x18002d60e
jmp case.0x18002d29c.176
mov r12d, 0xa2
nop word [rax + rax]
cmp r12d, 0xa2
je 0x18002d4c2
cmp r12d, 0x7002
je 0x18002d49b
cmp r12d, 0xdf62
je 0x18002d490
cmp r12d, 0x14ec2
je 0x18002d3ba
cmp r12d, 0x1be22
jne 0x18002d50a
mov rcx, rsi
call fcn.1800b16dc
jmp 0x18002d50a
lea rax, [rbp - 0x29]
mov dword [rsp + 0x28], ILGetNext
lea r9, [rbp - 0x41]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x69]
mov rdx, rsi
lea rcx, [rbp - 0x39]
call fcn.18007f9c0
xor edi, edi
cmp dword [rbp - 0x69], edi
jle 0x18002d50a
nop word [rax + rax]
mov ebx, 0x7a
cmp ebx, 0x7a
je 0x18002d436
cmp ebx, 0x33f2
jne 0x18002d46e
mov rax, qword [rbp - 0x49]
xor r9d, r9d
mov qword [rsp + 0x38], 0
xor r8d, r8d
mov dword [rsp + 0x30], 0x13
xor edx, edx
mov qword [rsp + 0x28], 0
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.180028f90
jmp 0x18002d46e
lea eax, [rdi + 1]
mov dword [rbp - 0x79], r15d
mov dword [rsp + 0x58], eax
lea r9, [rbp - 0x79]
lea rax, [rbp - 0x49]
mov dword [rbp - 0x71], r14d
mov qword [rsp + 0x28], rax
lea rcx, [rbp - 0x71]
lea rax, [rsp + 0x58]
mov r8d, 0x48
mov rdx, rsi
mov qword [rsp + 0x20], rax
call fcn.18008e020
add ebx, 0x3378
cmp ebx, 0x66f0
jbe 0x18002d3f5
inc edi
cmp edi, dword [rbp - 0x69]
jl 0x18002d3f0
jmp 0x18002d50a
mov r13d, dword [rsp + 0x54]
add r13d, dword [rbp - 0x65]
jmp 0x18002d50a
mov edx, dword [rbp - 0x65]
xor r8d, r8d
mov rcx, qword [rbp - 0x59]
call fcn.1800b3724
movsxd r8, dword [rsp + 0x54]
mov edx, 1
mov r9, qword [rbp - 0x59]
mov rcx, rsi
call fcn.1800b33e8
jmp 0x18002d50a
mov r9, qword [rbp - 0x59]
lea rax, [rbp - 0x65]
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x79]
lea rax, [rbp - 0x71]
mov dword [rbp - 0x71], 0x7d00
mov edx, 0xeb
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x54]
mov dword [rbp - 0x79], r13d
call fcn.18008b6e0
movsxd rax, dword [rsp + 0x54]
test eax, eax
je 0x18002d523
mov rcx, rax
call fcn.1800b16e4
mov rsi, rax
add r12d, 0x6f60
cmp r12d, 0x22ce0
jbe 0x18002d370
jmp 0x18002d360
mov ebx, 0x271
mov dword [rbp - 0x61], 0
jmp case.0x18002d29c.176
mov ecx, 0xd7
cmp ecx, 0xda
jae 0x18002d56e
mov eax, ecx
sub eax, 0xd7
je 0x18002d316
sub eax, 1
je 0x18002d55d
cmp eax, 1
je 0x18002d60e
inc ecx
jmp 0x18002d536
mov rax, qword [rbp - 0x51]
mov ebx, 0x1af
mov qword [rbp - 0x61], rax
inc ecx
jmp 0x18002d536
mov r10, qword [rbp + 0x77]
mov rdx, qword [rbp + 0x67]
mov r9, qword [rbp + 0x7f]
mov r8d, dword [rdx]
mov rdx, r9
mov rcx, qword [r10 + 8]
call qword [r10]
jmp case.0x18002d29c.176
mov r14d, 1
lea r8, [0x1800e68ac]
lea rdx, str.C:Development_nam.t18z.awip1203.tm00.grib2
mov r15d, r14d
lea rcx, [rbp - 0x59]
call fcn.1800b3020
mov r10, qword [rbp + 0x77]
add ebx, 0x75
mov rdx, qword [rbp + 0x67]
mov eax, dword [rbp + 0x6f]
mov r9, qword [rbp + 0x7f]
jmp 0x18002d255
mov qword [rsp + 0x40], 0
xor r9d, r9d
mov qword [rsp + 0x38], 0
xor r8d, r8d
mov qword [rsp + 0x30], 0
xor edx, edx
mov dword [rsp + 0x28], 0xf2
mov rcx, r10
mov qword [rsp + 0x20], 0
call fcn.18002d6e0
mov dword [rbp + 0x6f], eax
movss xmm0, dword [rbp + 0x6f]
call fcn.1800bdaa0
movss dword [rbp - 0x61], xmm0
mov rax, qword [rbp - 0x61]
add rsp, 0xf8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret