Function at 0x10021950
Capabilities:
Resolve function by parsing pe exports

Disassembly:
endbr32
push ebp
mov ebp, esp
push esi
push edi
push ebx
sub esp, 0x350
mov ecx, dword [ebp + 0xc]
mov eax, dword [0x10234e38]
xor eax, ebp
cmp ecx, 0x7f
mov ebx, dword [ebp + 0x14]
jne 0x10021975
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, 0
mov edx, dword [ebx + 0x118]
sete al
mov dword [ebp - 0x2c8], ecx
mov ecx, dword [ebx + 0x74]
mov dword [ebp - 0x2c4], edx
mov dword [ebp - 0x2c0], eax
test ecx, ecx
je 0x10022848
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x100219ba
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x100219a5
dec eax
movsx esi, word [ebx + 0x178]
cmp esi, eax
lea edx, [ebp - 0x15c]
ja 0x100219cd
mov esi, eax
push esi
push ecx
push edx
call fcn.101c8c50
add esp, 0xc
lea eax, [ebp + esi - 0x15c]
mov dword [ebp - 0x34c], eax
mov byte [eax], 0
movzx eax, byte [ebx + 0x19a]
btr eax, 3
jae 0x10021ab3
mov byte [ebx + 0x19a], al
cmp dword [0x102372a0], 0
je 0x1002283e
mov ecx, dword [0x10237310]
mov edx, dword [ebx + 0xb0]
add edx, 0xffffffff
mov eax, dword [ebx + 0xb4]
adc eax, 0xffffffff
push eax
push edx
push str._I64d
push 0x10240480
call ecx
add esp, 0x10
cmp dword [0x102372a0], 0
je 0x10022834
mov eax, dword [0x10237310]
mov dword [ebp - 0x350], eax
mov dword [ebp - 0x2ec], 2
mov eax, 0x202
mov dword [ebp - 0x2e8], 0x10240480
mov edx, 0x10240688
mov esi, dword [ebx + 0x4c]
lea ecx, [ebp - 0x2cc]
sub esi, dword [ebx + 0x58]
mov dword [ecx - 0x18], esi
mov dword [ecx], 0
call fcn.10024680
mov ecx, dword [ebp - 0x2cc]
test ecx, ecx
jne 0x100227a1
mov byte [0x10240580], 0
push 0x10240580
push 0x102109c0
push dword [ebp - 0x34c]
call dword [ebp - 0x350]
add esp, 0xc
test byte [ebx + 0x192], 0x40
je 0x10021ae1
cmp dword [ebp - 0x2c8], 0x3f
je 0x10021ae1
mov eax, dword [ebx + 0x90]
test eax, eax
je 0x10021ae1
mov byte [eax + 0x1e], 0
mov eax, dword [ebx + 0x90]
test eax, eax
je 0x10021ae1
mov byte [eax + 0x1f], 0
mov eax, dword [ebp - 0x2c8]
lea edx, [eax - 0x67]
mov dword [ebp - 0x34c], edx
cmp edx, 1
ja 0x10021b00
mov eax, dword [ebx + 0x7c]
mov dword [ebp - 0x2bc], eax
jmp 0x10021b0a
mov dword [ebp - 0x2bc], 0
mov eax, dword [ebp + 0x10]
xor esi, esi
mov edx, dword [ebx + 0x100]
mov ecx, dword [ebx + 0x118]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], esi
cmp dword [0x10237264], 2
jl 0x10021b58
lea eax, [ebp - 0x2b0]
push eax
call fcn.1003e3b0
add esp, 4
test eax, eax
jne 0x1002233d
mov edi, dword [ebp - 0x2b0]
lea eax, [ebp - 0x24]
add edi, 0x10
jmp 0x10021b6a
mov dword [ebp - 0x2b0], 0x102371c0
mov edi, 0x102371d0
lea eax, [ebp - 0x24]
mov ebx, eax
mov edx, dword [ebp - 0x24]
mov dword [edi], edx
mov ecx, dword [ebp - 0x20]
mov dword [edi + 4], ecx
mov esi, dword [ebp - 0x1c]
mov dword [edi + 8], esi
mov edx, dword [ebp - 0x18]
mov dword [edi + 0xc], edx
mov edx, dword [ebp - 0x14]
mov dword [edi + 0x10], edx
mov esi, dword [ebp - 0x2b0]
push 0x14
push ebx
lea edi, [esi + 0x10]
push edi
call fcn.10061650
add esp, 0xc
test eax, eax
jne 0x10021b6c
mov ebx, dword [ebp + 0x14]
cmp dword [ebp - 0x2bc], 0
je 0x10021bff
mov ecx, dword [ebp - 0x2bc]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x10021bcb
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x10021bb6
dec eax
mov edi, eax
add esi, 0x24
cmp edi, 0x40
mov ebx, ecx
jb 0x10021bdc
mov edi, 0x40
push edi
push ebx
push esi
call fcn.10061710
push edi
mov esi, dword [ebp - 0x2b0]
push ebx
add esi, 0x24
push esi
call fcn.10061650
add esp, 0x18
test eax, eax
jne 0x10021bdc
mov ebx, dword [ebp + 0x14]
movsx edx, byte [ebx + 0x184]
lea eax, [edx - 1]
cmp eax, 2
jbe 0x10021c22
lea eax, [edx - 0x18]
cmp eax, 1
jbe 0x10021c22
add edx, 0xffffffe0
cmp edx, 2
jbe 0x10021c22
xor edx, edx
jmp 0x10021c27
mov edx, 1
movzx eax, byte [ebx + 0x194]
test al, 1
je 0x10021c7e
cmp dword [ebp - 0x2c8], 0x18
je 0x10021c7e
cmp dword [ebp - 0x2c8], 0xffffffff
je 0x10021c7e
cmp dword [ebp - 0x2c8], 0x265
je 0x10021c7e
test edx, edx
je 0x10021c5d
cmp dword [ebp - 0x2c8], 0x1b
je 0x10021c7e
cmp dword [ebp - 0x2c8], 0x10c
je 0x10021c7e
cmp dword [ebp - 0x2c8], 0xfffffffe
je 0x10021c7e
cmp dword [ebp - 0x2c8], 0x2f6
jne 0x10021c90
test byte [ebx + 0x197], 8
je 0x10021ca8
cmp dword [ebp - 0x2c8], 0x3f
jne 0x10021ca8
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x100], 0
mov dword [ebp - 0x2c8], eax
jmp 0x10021d74
test al, 2
je 0x10021d11
cmp dword [ebp - 0x2c8], 0xffffffff
je 0x10021cbe
cmp dword [ebp - 0x2c8], 0x18
jne 0x10021cf8
mov dword [ebx + 0x100], 0
test al, 0x40
jne 0x10021cd5
test byte [ebx + 0x190], 1
jne 0x10021cdc
mov edx, 1
jmp 0x10021cde
xor edx, edx
shl edx, 5
and eax, 0xffffffdf
or eax, edx
mov byte [ebx + 0x194], al
mov dword [ebp - 0x2c8], 0xffffffff
jmp 0x10021d74
test edx, edx
je 0x10021d05
cmp dword [ebp - 0x2c8], 0x1b
je 0x10021cbe
cmp dword [ebp - 0x2c8], 0x265
je 0x10021cbe
test al, 4
je 0x10021f5c
cmp dword [ebp - 0x2c8], 0xfffffffe
je 0x10021d3e
cmp dword [ebp - 0x2c8], 0x10c
je 0x10021d3e
cmp dword [ebp - 0x2c8], 0x2f6
jne 0x10021f5c
mov dword [ebx + 0x100], 0
test al, 0x40
je 0x10021d5a
movzx edx, byte [ebx + 0x190]
not edx
and edx, 1
jmp 0x10021d5c
xor edx, edx
shl edx, 5
and eax, 0xffffffdf
or eax, edx
mov byte [ebx + 0x194], al
mov dword [ebp - 0x2c8], 0xfffffffe
mov esi, dword [ebx + 0x10c]
test esi, esi
je 0x10021f4b
cmp dword [ebp - 0x2bc], 0
je 0x10021e5b
mov esi, dword [ebp - 0x2bc]
mov edx, 0x10240688
mov edi, dword [ebp - 0x2c4]
lea ecx, [ebp - 0x2dc]
mov dword [ecx - 0x48], 3
lea eax, [ebp - 0x15c]
mov dword [ecx - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx - 0x44], esi
mov dword [ecx - 0x40], edi
mov dword [ecx], 0
call fcn.10024680
mov ecx, dword [ebp - 0x2dc]
test ecx, ecx
jne 0x1002234d
mov byte [0x10240580], 0
mov ecx, 0x10240580
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x10021dfb
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x10021de6
dec eax
mov esi, eax
mov eax, dword [ebx + 0x10c]
cmp esi, eax
jb 0x10021e1d
push eax
push 0x10240580
push dword [ebx + 0x98]
call fcn.10061710
add esp, 0xc
jmp 0x10021e4a
push esi
push 0x10240580
push dword [ebx + 0x98]
call fcn.10061710
mov eax, dword [ebx + 0x10c]
sub eax, esi
push eax
mov edx, dword [ebx + 0x98]
push 0x20
add edx, esi
push edx
call fcn.10061620
add esp, 0x18
cmp dword [ebp + 8], 0
je 0x10022317
xor esi, esi
jmp 0x1002205f
cmp dword [ebp - 0x2c8], 0x7f
je 0x10022483
cmp dword [ebp - 0x2c0], 0
jne 0x10021f3a
test byte [ebx + 0x19d], 0x10
jne 0x10021f3a
mov esi, dword [ebp - 0x2c4]
mov edx, 0x10240688
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x334]
mov dword [ecx - 0x1c], 2
lea edi, [ebp - 0x15c]
mov dword [ecx - 0x18], esi
mov dword [ecx - 0x14], edi
mov dword [ecx], 0
call fcn.10024680
mov eax, dword [ebp - 0x334]
mov dword [ebp - 0x340], eax
test eax, eax
jne 0x100223e0
mov byte [0x10240580], 0
mov ecx, 0x10240580
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x10021eeb
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x10021ed6
dec eax
mov esi, eax
mov eax, dword [ebx + 0x10c]
cmp esi, eax
jb 0x10021f0d
push eax
push 0x10240580
push dword [ebx + 0x98]
call fcn.10061710
add esp, 0xc
jmp 0x10021f3a
push esi
push 0x10240580
push dword [ebx + 0x98]
call fcn.10061710
mov eax, dword [ebx + 0x10c]
sub eax, esi
push eax
mov edx, dword [ebx + 0x98]
push 0x20
add edx, esi
push edx
call fcn.10061620
add esp, 0x18
cmp dword [ebp + 8], 0
je 0x10022317
xor esi, esi
jmp 0x1002205f
cmp dword [ebp + 8], 0
je 0x10022317
xor esi, esi
jmp 0x1002205f
mov byte [ebp - 0x2b8], 0xa
cmp dword [0x1024c380], 0
jne 0x10022797
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edi, eax
xor esi, esi
mov ecx, dword [esi*4 + 0x1020d73c]
cmp ecx, dword [ebx + 0x118]
jne 0x10021faa
mov dword [ebp - 0x2b4], ebx
mov edx, ebx
test byte [ebx + 0x191], 0x20
je 0x1002200f
mov eax, dword [ebx + 0x90]
test eax, eax
je 0x1002200f
xor ecx, ecx
jmp 0x10021fe5
push 0xf
lea eax, [ebp - 0x310]
push eax
lea edx, [ebp - 0x2b4]
push edx
push ecx
call fcn.10025880
add esp, 0x10
test eax, eax
jne 0x1002200f
mov edx, dword [ebp - 0x2b4]
test byte [edx + 0x191], 0x20
je 0x10022001
mov eax, dword [edx + 0x90]
test eax, eax
je 0x10022001
mov ecx, 1
cmp byte [eax + 0x1c], 0
jne 0x10021ff1
cmp byte [eax + 0x1d], 0
je 0x10021ffd
cmp edi, dword [edx + 0xfc]
je 0x10022667
test ecx, ecx
je 0x1002200f
push dword [edx + 0x118]
call fcn.10026c60
add esp, 4
inc esi
cmp esi, 4
jl 0x10021f7c
mov edx, dword [ebx + 0x100]
test edx, edx
jne 0x1002277e
cmp dword [ebp - 0x34c], 1
ja 0x10022039
mov eax, dword [ebx + 0x7c]
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebx + 0x10c]
mov edx, dword [ebx + 0x98]
mov dword [0x102406a8], eax
mov dword [0x102406a4], edx
cmp dword [ebp + 8], 0
je 0x10022210
mov esi, 1
cmp dword [ebp + 8], 1
je 0x100221fa
cmp dword [ebp + 8], 2
jne 0x100221cf
mov eax, dword [ebx + 0x118]
mov edx, dword [ebx + 0x78]
mov edi, dword [ebx + 0x6c]
mov dword [ebp - 0x2d0], eax
mov dword [ebp - 0x2d4], edx
test edi, edi
je 0x100220c4
test byte [edi + 0x73], 2
je 0x100220a7
push dword [edi + 4]
call fcn.10025800
add esp, 4
mov dword [edi + 4], 0
movzx eax, word [ebx + 0x17a]
test eax, eax
jg 0x100220bd
push dword [ebx + 0x6c]
call fcn.10025800
add esp, 4
mov dword [ebx + 0x6c], 0
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x100220d4
push eax
call fcn.10025800
add esp, 4
mov edx, dword [ebx + 0x74]
test edx, edx
je 0x100220ef
movsx eax, word [ebx + 0x178]
test eax, eax
je 0x100220ef
push edx
call fcn.10025800
add esp, 4
mov eax, dword [ebx + 0xfc]
test eax, eax
je 0x10022105
cmp eax, 0xffffffff
je 0x10022105
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebx + 0x38]
lea eax, [ebx + 0x20]
mov ecx, dword [ebx + 0x3c]
mov dword [ebp - 0x2f0], edx
mov dword [ebp - 0x2d8], ecx
movzx edi, byte [ebx + 0x19d]
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0xa4]
mov dword [ebp - 0x32c], edx
mov dword [ebp - 0x328], ecx
test byte [ebx + 0x191], 0x18
je 0x10022164
push 0x188
push 0
push eax
call fcn.10061620
add esp, 0xc
movzx eax, byte [ebx + 0x191]
and eax, 0xffffffe7
add eax, 8
mov byte [ebx + 0x191], al
jmp 0x10022174
push 0x188
push 0
push eax
call fcn.10061620
add esp, 0xc
mov edx, dword [ebp - 0x2f0]
mov dword [ebx + 0x38], edx
movzx eax, byte [ebx + 0x19d]
mov edx, edi
and eax, 0xfffffffd
and edx, 2
mov edi, dword [ebp - 0x2d0]
or eax, edx
mov ecx, dword [ebp - 0x2d8]
mov dword [ebx + 0x3c], ecx
mov byte [ebx + 0x19d], al
mov dword [ebx + 0x118], edi
push edi
mov eax, dword [ebp - 0x32c]
mov ecx, dword [ebp - 0x328]
mov edi, dword [ebp - 0x2d4]
mov dword [ebx + 0x30], eax
mov dword [ebx + 0xa4], ecx
mov dword [ebx + 0x78], edi
call fcn.10026c60
jmp 0x10022205
cmp dword [ebp + 8], 3
jne 0x100221e2
push 1
push ebx
call fcn.1001cba0
add esp, 8
jmp 0x10022208
push 0x9db
push str.for_diags_intel.c
push 2
push 8
call fcn.10022aa0
add esp, 0x10
jmp 0x10022208
push dword [ebx + 0x118]
call fcn.10026c60
add esp, 4
test esi, esi
je 0x10022317
cmp dword [ebp - 0x2bc], 0
je 0x10022241
lea eax, [ebp - 0x15c]
push eax
push dword [ebp - 0x2c4]
push dword [ebp - 0x2bc]
push 3
push dword [ebp - 0x2c8]
call fcn.10022aa0
add esp, 0x14
jmp 0x1002230b
cmp dword [ebp - 0x2c8], 0x7f
je 0x10022257
cmp dword [ebp - 0x2c0], 0
je 0x100222ee
cmp dword [ebp + 0x10], 0xffffffff
jne 0x10022264
mov ebx, 0x18
jmp 0x10022271
mov ebx, dword [ebp + 0x10]
cmp ebx, 0xfffffffe
jne 0x10022271
mov ebx, 0x10c
mov eax, dword [0x102406a8]
test eax, eax
je 0x10022290
push dword [0x102406a4]
push eax
push ebx
push 3
push 0x7f
call fcn.10022aa0
add esp, 0x14
jmp 0x1002230b
xor eax, eax
mov edx, 0x10240688
mov dword [ebp - 0x32c], eax
lea ecx, [ebp - 0x2f0]
mov dword [ecx], eax
mov eax, ebx
call fcn.10024680
mov ecx, dword [ebp - 0x2f0]
test ecx, ecx
jne 0x100226e6
mov byte [0x10240580], 0
mov ecx, 0x10240580
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x100222dd
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x100222c8
dec eax
push ecx
push eax
push ebx
push 3
push 0x7f
call fcn.10022aa0
add esp, 0x14
jmp 0x1002230b
lea eax, [ebp - 0x15c]
push eax
push dword [ebp - 0x2c4]
push 2
push dword [ebp - 0x2c8]
call fcn.10022aa0
add esp, 0x10
xor eax, eax
mov dword [0x102406a8], eax
mov dword [0x102406a4], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x10022779
mov eax, dword [ebp - 0x2c8]
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push 0
push eax
call fcn.10022aa0
add esp, 8
jmp 0x10021bff
mov edi, str.place_holder
mov esi, ecx
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10022374
test dl, dl
je 0x10022370
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10022374
add edi, 2
add esi, 2
test dl, dl
jne 0x10022354
xor eax, eax
jmp 0x10022379
sbb eax, eax
or eax, 1
test eax, eax
je 0x10021dd8
cmp dword [ebp - 0x324], 0
jle 0x100223c8
cmp dword [0x102372a0], 0
je 0x100223b5
mov edx, dword [0x10237370]
lea eax, [ebp - 0x320]
push eax
push ecx
push 0x108
push 0x10240580
call edx
add esp, 0x10
jmp 0x10021ddf
call fcn.10061c60
mov edx, dword [0x10237370]
mov ecx, dword [ebp - 0x2dc]
jmp 0x10022399
push 0x100
push ecx
push 0x10240580
call fcn.101c8c50
add esp, 0xc
jmp 0x10021ddf
mov edi, str.place_holder
mov esi, eax
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x10022407
test dl, dl
je 0x10022403
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x10022407
add edi, 2
add esi, 2
test dl, dl
jne 0x100223e7
xor eax, eax
jmp 0x1002240c
sbb eax, eax
or eax, 1
test eax, eax
je 0x10021ec8
cmp dword [ebp - 0x350], 0
jle 0x10022466
cmp dword [0x102372a0], 0
je 0x1002244d
mov edx, dword [0x10237370]
lea eax, [ebp - 0x34c]
push eax
push dword [ebp - 0x340]
push 0x108
push 0x10240580
call edx
add esp, 0x10
jmp 0x10021ecf
call fcn.10061c60
mov eax, dword [ebp - 0x334]
mov edx, dword [0x10237370]
mov dword [ebp - 0x340], eax
jmp 0x1002242c
push 0x100
push dword [ebp - 0x340]
push 0x10240580
call fcn.101c8c50
add esp, 0xc
jmp 0x10021ecf
mov eax, dword [ebx + 0x98]
lea edx, [ebp - 0x340]
push edx
push 0
mov dword [edx - 0x10], eax
lea ecx, [esi + 1]
push ecx
call fcn.10025750
add esp, 0xc
test eax, eax
je 0x100224b1
push 0
push 0x29
call fcn.10022aa0
add esp, 8
mov eax, 0x7f
mov edx, 0x10240688
lea ecx, [ebp - 0x33c]
call fcn.10024680
mov ecx, dword [ebp - 0x33c]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x100224e3
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x100224ce
dec eax
mov dword [ebp - 0x348], eax
cmp dword [0x102372a0], 0
je 0x1002265d
mov edx, dword [0x10237310]
push dword [ebp + 0x10]
push 0x1021389c
lea eax, [ebp - 0x2ac]
push eax
call edx
add esp, 0xc
mov dword [ebp - 0x34c], esi
test esi, esi
jle 0x1002253e
mov ecx, esi
mov ebx, dword [ebp - 0x350]
movsx edx, byte [ecx + ebx - 1]
cmp edx, 0x20
je 0x10022530
test edx, edx
jne 0x10022535
dec ecx
test ecx, ecx
jg 0x10022522
mov dword [ebp - 0x34c], ecx
mov ebx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x348]
neg edx
add edx, esi
sub edx, eax
add edx, 6
mov dword [ebp - 0x348], edx
js 0x10022646
cmp dword [0x102372a0], 0
je 0x1002263c
mov ecx, dword [0x10237310]
mov edx, dword [ebp - 0x34c]
mov eax, dword [ebp - 0x348]
cmp eax, edx
push dword [ebp - 0x350]
jl 0x10022584
mov eax, edx
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x33c]
push dword [ebp - 0x340]
call ecx
add esp, 0x14
cmp esi, eax
jbe 0x100225b5
mov edx, dword [ebp - 0x340]
add edx, eax
neg eax
add eax, esi
push eax
push 0x20
push edx
call fcn.10061620
add esp, 0xc
mov eax, dword [ebp - 0x348]
cmp eax, dword [ebp - 0x34c]
jge 0x10022609
mov eax, 0x81
mov edx, 0x10240688
lea ecx, [ebp - 0x33c]
call fcn.10023f20
cmp dword [0x102372a0], 0
je 0x10022635
mov eax, dword [0x102372a8]
push dword [ebp - 0x33c]
call eax
add esp, 4
cmp dword [0x102372a0], 0
je 0x1002262e
mov eax, dword [0x102372a8]
push 0x102138a0
call eax
add esp, 4
push esi
push dword [ebp - 0x340]
push dword [ebp - 0x350]
call fcn.10061710
push dword [ebp - 0x340]
call fcn.10025800
add esp, 0x10
jmp 0x10021f3a
call fcn.10061c60
jmp 0x100225fa
call fcn.10061c60
jmp 0x100225e1
call fcn.10061c60
jmp 0x10022566
push esi
push dword [ebp - 0x33c]
push dword [ebp - 0x340]
call fcn.101c8c50
jmp 0x100225b2
call fcn.10061c60
jmp 0x100224f6
push 1
mov dword [ebp - 0x350], ecx
lea eax, [ebp - 0x2b8]
push eax
push edx
call fcn.10039390
add esp, 0xc
cmp eax, 0xffffffff
je 0x100226d2
mov edx, dword [ebp - 0x2b4]
mov eax, dword [edx + 0x90]
test eax, eax
je 0x1002269e
mov byte [eax + 0x1c], 0
mov edx, dword [ebp - 0x2b4]
mov eax, dword [edx + 0x90]
test eax, eax
je 0x100226ac
mov byte [eax + 0x1d], 0
cmp dword [ebp - 0x350], 0
je 0x10022019
mov eax, dword [ebp - 0x2b4]
push dword [eax + 0x118]
call fcn.10026c60
add esp, 4
jmp 0x10022019
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov eax, str.forrtl
call fcn.10024d80
jmp 0x10022684
mov edi, str.place_holder
mov esi, ecx
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x1002270d
test dl, dl
je 0x10022709
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x1002270d
add edi, 2
add esi, 2
test dl, dl
jne 0x100226ed
xor eax, eax
jmp 0x10022712
sbb eax, eax
or eax, 1
test eax, eax
je 0x100222ba
cmp dword [ebp - 0x32c], 0
jle 0x10022761
cmp dword [0x102372a0], 0
je 0x1002274e
mov edx, dword [0x10237370]
lea eax, [ebp - 0x328]
push eax
push ecx
push 0x108
push 0x10240580
call edx
add esp, 0x10
jmp 0x100222c1
call fcn.10061c60
mov edx, dword [0x10237370]
mov ecx, dword [ebp - 0x2f0]
jmp 0x10022732
push 0x100
push ecx
push 0x10240580
call fcn.101c8c50
add esp, 0xc
jmp 0x100222c1
call fcn.101a6152
mov eax, str.forrtl
call fcn.10024d80
mov dword [ebx + 0x100], 0
jmp 0x10022027
call fcn.10066b40
jmp 0x10021f78
mov edi, str.place_holder
mov esi, ecx
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x100227c8
test dl, dl
je 0x100227c4
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x100227c8
add edi, 2
add esi, 2
test dl, dl
jne 0x100227a8
xor eax, eax
jmp 0x100227cd
sbb eax, eax
or eax, 1
test eax, eax
je 0x10021a93
cmp dword [ebp - 0x2ec], 0
jle 0x1002281c
cmp dword [0x102372a0], 0
je 0x10022809
mov edx, dword [0x10237370]
lea eax, [ebp - 0x2e8]
push eax
push ecx
push 0x108
push 0x10240580
call edx
add esp, 0x10
jmp 0x10021a9a
call fcn.10061c60
mov edx, dword [0x10237370]
mov ecx, dword [ebp - 0x2cc]
jmp 0x100227ed
push 0x100
push ecx
push 0x10240580
call fcn.101c8c50
add esp, 0xc
jmp 0x10021a9a
call fcn.10061c60
jmp 0x10021a42
call fcn.10061c60
jmp 0x10021a0c
cmp dword [0x10237140], 0
je 0x10022930
mov dword [0x10237140], 0
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
mov esi, eax
cmp dword [0x102372a0], 0
je 0x100229e9
mov eax, dword [0x10237310]
push str.ifcore_msg.dll
push esi
push str._lu__s
lea esi, [ebp - 0x1ac]
push esi
call eax
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1024e6b8], eax
test eax, eax
je 0x100229d7
mov dword [0x10237144], 0
xor esi, esi
mov edx, 0x10240688
lea eax, [esi + 0x1c2]
lea ecx, [ebp - 0x330]
call fcn.10024680
jmp 0x100228dd
mov eax, 0x30b
mov edx, 0x10240688
lea ecx, [ebp - 0x330]
call fcn.10024430
mov ecx, dword [ebp - 0x330]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x100228fa
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x100228e5
dec eax
mov ebx, eax
lea eax, [esi*4 + 0x10237148]
push eax
push 0
inc ebx
push ebx
call fcn.10025750
push ebx
push dword [ebp - 0x330]
push dword [esi*4 + 0x10237148]
call fcn.101c8c50
add esp, 0x18
inc esi
cmp esi, 6
jge 0x1002297b
cmp esi, 5
je 0x100228c8
jmp 0x100228b0
xor edx, edx
lea eax, [edx + edx*2]
cmp dword [eax*4 + 0x10235840], 0x201
je 0x100229fd
inc edx
cmp edx, 0x20f
jl 0x10022932
cmp dword [0x102372a0], 0
je 0x100229f3
mov edx, dword [0x10237310]
push dword [0x1024068c]
push str.__s_
lea eax, [ebp - 0x15c]
push eax
call edx
jmp 0x10021ab0
mov eax, 0x1c7
mov edx, 0x10240688
mov ebx, dword [ebp + 0x14]
lea ecx, [ebp - 0x330]
call fcn.100248e0
push 0x10
push dword [ebp - 0x330]
push str.forrtl
call fcn.101c8c50
add esp, 0xc
mov eax, 0x1f9
mov edx, 0x10240688
lea ecx, [ebp - 0x330]
call fcn.10024b30
push 0x40
push dword [ebp - 0x330]
push str.Intel_r__Visual_Fortran_run_time_error
call fcn.101c8c50
add esp, 0xc
jmp 0x10022930
cmp dword [0x10237144], 0
je 0x100228ae
jmp 0x10022930
call fcn.10061c60
jmp 0x10022874
call fcn.10061c60
jmp 0x1002295c
mov edx, dword [eax*4 + 0x10235844]
mov dword [0x10240688], edx
cmp dword [0x10237144], 0
je 0x10022a24
mov eax, dword [eax*4 + 0x10235848]
mov dword [0x1024068c], eax
jmp 0x1002294f
push 0
push 0x200
mov esi, dword [eax*4 + 0x10235848]
lea eax, [ebp - 0x338]
push eax
push 0x409
push 0x80000201
push dword [0x1024e6b8]
push 0x900
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
je 0x10022a83
mov esi, dword [ebp - 0x338]
mov ecx, esi
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x10022a77
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x10022a62
dec eax
cmp eax, 1
jbe 0x10022a83
cmp byte [esi + eax - 2], 0xd
je 0x10022a8e
mov dword [0x1024068c], esi
jmp 0x1002294f
cmp byte [esi + eax - 1], 0xa
jne 0x10022a83
mov byte [esi + eax - 2], 0
jmp 0x10022a83