Function at 0x10198310
Capabilities:
Execute anti-debugging instructions
Resolve function by parsing pe exports

Disassembly:
push ebp
lea ebp, [esp - 0xc1c]
sub esp, 0xc1c
push 0xffffffffffffffff
push 0x101de270
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x10205ac8]
xor eax, ebp
mov dword [ebp + 0xc18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0xc24]
mov ebx, dword [ebp + 0xc28]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp + 0x14], 0
cmp esi, 0x1fefa
je 0x10198a2e
call fcn.101991e0
rdtsc
mov dword [ebp - 0x50], edx
xor cl, cl
xor dl, dl
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x12], 0
mov byte [ebp - 0x11], dl
test ebx, ebx
je 0x101983bd
cmp dword [ebx], 7
jb 0x101983ae
mov eax, dword [0x10205958]
mov cl, 1
inc eax
mov dword [0x10205958], eax
jmp 0x101983bd
mov eax, dword [ebx]
cmp eax, dword [0x10205954]
jbe 0x101983bd
mov dword [0x10205954], eax
test esi, esi
je 0x101989e9
test cl, cl
jne 0x101989e9
mov byte [ebp - 0x13], dl
xor edi, edi
mov al, byte [esi + edi]
xor al, 0x33
cmp al, 0x1d
je 0x101983e6
cmp al, 0x33
je 0x101989e9
inc edi
jmp 0x101983d2
push 0x400
lea eax, [ebp + 0x818]
push 0
push eax
call fcn.101b66d0
push edi
lea eax, [ebp + 0x818]
push esi
push eax
call fcn.101b6150
add esp, 0x18
lea eax, [ebp + 0x818]
push eax
call fcn.101978c0
mov esi, eax
mov dword [ebp + 0x10], esi
test esi, esi
jne 0x101984e2
push eax
lea eax, [ebp + 0x818]
push eax
call fcn.10198a80
mov dword [ebp + 0x10], eax
test eax, eax
je 0x10198447
mov eax, dword [0x1020592c]
inc eax
mov dword [0x1020592c], eax
jmp 0x101984df
mov eax, dword [0x10205930]
inc eax
mov dword [0x10205930], eax
call fcn.1019c400
mov ecx, eax
test ecx, ecx
je 0x101984df
xorps xmm0, xmm0
lea eax, [ebp + 0x18]
movlpd qword [ebp + 8], xmm0
xor esi, esi
mov dword [ebp + 0xc], eax
movsx ax, byte [ebp + esi + 0x818]
mov word [ebp + esi*2 + 0x18], ax
test ax, ax
je 0x10198487
inc esi
jmp 0x10198471
lea eax, [esi + esi]
mov word [ebp + 8], ax
add eax, 2
mov word [ebp + 0xa], ax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 8]
push eax
push 0
push 0
call ecx
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x101984ba
mov dword [ebp - 0x3c], eax
mov eax, dword [0x10205910]
inc eax
mov dword [0x10205910], eax
jmp 0x101984c5
mov eax, dword [0x10205914]
inc eax
mov dword [0x10205914], eax
lea eax, [esi + esi]
push eax
lea eax, [ebp + 0x18]
push 0
push eax
call fcn.101b66d0
xorps xmm0, xmm0
add esp, 0xc
movlpd qword [ebp + 8], xmm0
mov esi, dword [ebp + 0x10]
push edi
lea eax, [ebp + 0x818]
push 0
push eax
call fcn.101b66d0
mov ecx, dword [ebp - 0x28]
inc edi
mov dword [ebp - 0x20], edi
add esp, 0xc
mov edx, dword [ebp - 0x20]
xor edi, edi
mov al, byte [ecx + edx]
xor al, 0x33
cmp al, 0x10
jne 0x10198525
inc edx
mov byte [ebp - 0x12], 1
mov dword [ebp - 0x20], edx
lea eax, [ecx + edx]
push eax
call fcn.100f4791
mov esi, dword [ebp + 0x10]
add esp, 4
mov edx, dword [ebp - 0x20]
mov edi, eax
mov dword [ebp - 0x40], edx
test ebx, ebx
je 0x10198543
cmp dword [ebx], 7
jb 0x10198543
mov eax, dword [0x10205958]
mov cl, 1
mov esi, dword [ebp + 0x10]
inc eax
mov dword [0x10205958], eax
jmp 0x10198546
mov cl, byte [ebp - 0x13]
test esi, esi
je 0x10198748
test cl, cl
jne 0x10198748
mov eax, dword [esi + 0x3c]
test eax, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + esi]
cmove ecx, esi
test ecx, ecx
je 0x10198748
mov edx, dword [ecx + 0x78]
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x30], eax
test edx, edx
je 0x10198596
mov eax, dword [ecx + 0x7c]
test eax, eax
je 0x10198594
add edx, esi
add eax, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x30], eax
mov eax, edx
jmp 0x10198596
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x10198748
cmp dword [ecx + 0x7c], 0x28
jb 0x10198748
mov ebx, dword [eax + 0x1c]
mov edx, dword [eax + 0x10]
add ebx, esi
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x34], ebx
mov ebx, dword [eax + 0x18]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
add ebx, esi
add eax, esi
mov dword [ebp - 0x18], ebx
mov esi, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x10198748
cmp byte [ebp - 0x12], 0
je 0x101987db
mov eax, dword [0x10205918]
inc eax
mov dword [0x10205918], eax
test ecx, ecx
je 0x10198748
cmp edi, edx
jae 0x10198613
mov bh, 1
jmp 0x1019874b
mov eax, edi
sub eax, edx
cmp eax, ecx
jae 0x1019860c
mov ecx, dword [esi + eax*4]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x10198748
mov esi, dword [ebp + 0x10]
add esi, ecx
cmp esi, dword [ebp - 0x24]
jb 0x101987d3
cmp esi, dword [ebp - 0x30]
ja 0x101987d3
push dword [ebp - 0x28]
push esi
call fcn.10198f40
test al, al
je 0x101987b3
push dword [ebp + 0x10]
push esi
call fcn.10198a80
test eax, eax
je 0x10198672
mov dword [ebp + 0x10], eax
mov eax, dword [0x1020592c]
inc eax
mov dword [0x1020592c], eax
jmp 0x1019867d
mov eax, dword [0x10205930]
inc eax
mov dword [0x10205930], eax
mov eax, dword [0x10205904]
inc eax
mov dword [ebp + 0x14], 0
mov dword [0x10205904], eax
call fcn.1019bdb0
mov ecx, eax
test ecx, ecx
je 0x101986e8
mov eax, dword [0x10205934]
inc eax
mov dword [0x10205934], eax
lea eax, [ebp + 0x14]
push eax
push edi
push 0
push dword [ebp + 0x10]
call ecx
cmp eax, 0xc0000138
jne 0x101986c1
mov dword [ebp + 0x14], 0
jmp 0x101986c7
cmp dword [ebp + 0x14], 0
jne 0x10198727
mov eax, dword [0x10205950]
inc eax
mov dword [0x10205950], eax
mov eax, dword [0x10205938]
inc eax
mov dword [0x10205938], eax
mov eax, dword [0x1020593c]
inc eax
mov dword [0x1020593c], eax
mov bh, byte [ebp - 0x11]
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x10198704
call fcn.1019afa0
test eax, eax
je 0x101986fe
push esi
call eax
cmp dword [ebp + 0x14], 0
jne 0x10198751
mov eax, dword [0x1020590c]
mov bl, byte [ebp - 0x12]
inc eax
mov dword [0x1020590c], eax
test bl, bl
je 0x101989f0
mov eax, dword [0x10205920]
inc eax
mov dword [0x10205920], eax
jmp 0x1019875f
mov eax, dword [0x10205950]
inc eax
mov dword [0x10205950], eax
mov eax, dword [0x10205944]
inc eax
mov dword [0x10205944], eax
mov eax, dword [0x10205948]
inc eax
mov dword [0x10205948], eax
mov bh, byte [ebp - 0x11]
cmp dword [ebp + 0x14], 0
je 0x101986eb
mov eax, dword [0x10205908]
mov bl, byte [ebp - 0x12]
inc eax
mov dword [0x10205908], eax
mov ecx, dword [0x10205970]
rdtsc
mov esi, eax
mov eax, dword [0x10205974]
sub esi, dword [ebp - 0x54]
sbb edx, dword [ebp - 0x50]
or ecx, eax
je 0x1019878d
mov ecx, dword [0x10205970]
mov eax, dword [0x10205974]
cmp eax, edx
ja 0x10198799
jb 0x1019878d
cmp ecx, esi
jae 0x10198799
mov dword [0x10205970], esi
mov dword [0x10205974], edx
cmp dword [ebp + 0x14], 0
je 0x10198a00
xor eax, eax
push eax
call fcn.1019e3e0
mov eax, dword [ebp + 0x14]
jmp 0x10198a50
mov eax, dword [0x10205900]
inc eax
mov dword [0x10205900], eax
test ebx, ebx
je 0x101987c4
inc dword [ebx]
push ebx
push esi
call fcn.10198310
mov dword [ebp + 0x14], eax
jmp 0x10198748
mov dword [ebp + 0x14], esi
jmp 0x10198748
mov eax, dword [0x1020591c]
inc eax
mov dword [0x1020591c], eax
test ecx, ecx
je 0x10198748
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x10198748
cmp dword [ebp - 0x38], 0
je 0x10198748
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x10198748
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp eax, esi
jae 0x10198748
mov ecx, dword [edx + eax*4]
test ecx, ecx
je 0x10198979
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp - 0x20]
add esi, ecx
mov dword [ebp - 4], 8
xor ecx, ecx
mov eax, dword [ebp - 0x28]
mov dl, byte [ecx + esi]
add eax, ecx
cmp dl, byte [eax + edi]
jne 0x10198969
test dl, dl
jne 0x101989e3
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x34]
mov dword [ebp - 4], 8
movzx eax, word [ecx + eax*2]
mov eax, dword [esi + eax*4]
test eax, eax
je 0x10198969
mov edi, dword [ebp + 0x10]
lea esi, [eax + edi]
cmp esi, dword [ebp - 0x24]
jb 0x101989ce
cmp esi, dword [ebp - 0x30]
ja 0x101989ce
push dword [ebp - 0x28]
push esi
call fcn.10198f40
test al, al
je 0x101989a0
push edi
push esi
call fcn.10198a80
mov edi, dword [ebp - 0x40]
mov ecx, eax
add edi, dword [ebp - 0x44]
test ecx, ecx
je 0x101988c4
mov eax, dword [0x1020592c]
push edi
inc eax
mov dword [ebp + 0x10], ecx
push ecx
mov dword [0x1020592c], eax
call fcn.10197e00
mov ecx, eax
jmp 0x101988d1
mov eax, dword [0x10205930]
inc eax
xor ecx, ecx
mov dword [0x10205930], eax
mov eax, dword [0x10205904]
inc eax
mov dword [ebp + 0x14], ecx
mov dword [0x10205904], eax
test ecx, ecx
jne 0x101989d7
call fcn.1019bdb0
mov esi, eax
test esi, esi
je 0x10198997
push edi
call fcn.101994a0
movzx eax, ax
mov word [ebp], ax
inc eax
mov word [ebp + 2], ax
lea eax, [ebp + 0x14]
push eax
push 0
lea eax, [ebp]
mov dword [ebp + 4], edi
push eax
push dword [ebp + 0x10]
call esi
xorps xmm0, xmm0
movlpd qword [ebp], xmm0
cmp eax, 0xc0000138
je 0x10198930
cmp eax, 0xc0000142
jne 0x10198937
mov dword [ebp + 0x14], 0
mov eax, dword [0x10205934]
inc eax
cmp dword [ebp + 0x14], 0
mov dword [0x10205934], eax
jne 0x1019897f
mov eax, dword [0x10205950]
inc eax
mov dword [0x10205950], eax
mov eax, dword [0x10205938]
inc eax
mov dword [0x10205938], eax
mov eax, dword [0x10205940]
inc eax
mov dword [0x10205940], eax
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
inc eax
jmp 0x10198810
mov eax, dword [0x10205944]
inc eax
mov dword [0x10205944], eax
mov eax, dword [0x1020594c]
inc eax
mov dword [0x1020594c], eax
jmp 0x101989d1
mov dword [ebp + 0x14], 0
jmp 0x10198969
mov eax, dword [0x10205900]
inc eax
mov dword [0x10205900], eax
test ebx, ebx
je 0x101989b1
inc dword [ebx]
push ebx
push esi
call fcn.10198310
mov dword [ebp + 0x14], eax
jmp 0x101989d1
mov dword [ebp + 0x14], esi
cmp dword [ebp + 0x14], 0
je 0x10198969
mov dword [ebp - 4], 0xffffffff
jmp 0x10198748
inc ecx
jmp 0x10198837
mov bh, dl
jmp 0x1019874b
mov eax, dword [0x10205924]
inc eax
mov dword [0x10205924], eax
jmp 0x1019875f
test bl, bl
je 0x10198a1e
test bh, bh
mov ecx, 0x4750412d
mov eax, 0xc0000138
cmovne eax, ecx
push eax
call fcn.1019e3e0
mov eax, dword [ebp + 0x14]
jmp 0x10198a50
mov eax, 0xc0000139
push eax
call fcn.1019e3e0
mov eax, dword [ebp + 0x14]
jmp 0x10198a50
cmp dword [0x10205994], 0x33c0
jne 0x10198a4e
call fcn.1019e91d
add eax, 0x33c0
mov dword [0x10205994], eax
mov eax, dword [ebp + 0x14]
jmp 0x10198a50
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc18]
xor ecx, ebp
call fcn.101b4a00
lea esp, [ebp + 0xc1c]
pop ebp
ret 8