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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
push esi
push edi
mov eax, dword [0x100110a4]
mov dword [esp + 0x38], eax
movzx eax, word [0x10011088]
mov byte [esp + 0x17], al
mov dword [esp + 0x44], 0x2e082883
mov dword [esp + 0x30], 0xaa7c51fd
mov dword [esp + 0x34], 0x4d7d5
mov eax, dword [0x100110e0]
mov dword [esp + 0x18], eax
mov al, byte [0x100110b0]
mov byte [esp + 0x27], al
mov eax, dword [0x10011078]
mov dword [esp + 0x64], eax
mov eax, dword [0x1001107c]
mov dword [esp + 0x54], 0x763abf7
mov ecx, dword [0x10011040]
mov dword [esp + 0x7c], eax
mov eax, dword [0x10011044]
mov al, byte [0x10011070]
mov word [esp + 0x2c], cx
mov byte [esp + 0x26], al
mov eax, 0x6b28
mov word [esp + 0x28], ax
mov eax, 0x31
mov word [esp + 0x50], ax
movzx eax, word [0x10011090]
mov word [esp + 0x1c], ax
mov eax, dword [0x100110ac]
mov word [esp + 0x20], ax
mov dword [esp + 0x38], 0xc891977f
mov eax, dword [0x10011080]
mov dword [esp + 0x38], 0x55
mov dword [esp + 0x3c], 0
mov ecx, dword [0x10011020]
mov eax, dword [0x10011024]
mov word [esp + 0x1c], cx
mov ax, word [0x1001100c]
mov byte [esp + 0x1c], 0xe
mov ecx, dword [0x100110e8]
mov eax, dword [0x100110ec]
mov edi, 0xacf3
mov byte [esp + 0x1c], cl
cmp byte [0x10011014], 0
mov byte [esp + 0x58], 0xaa
mov dword [esp + 0x48], edi
mov dword [esp + 0x40], 0xa427ce8b
jne 0x100081d6
mov eax, dword [esp + 0x44]
mov ecx, dword [0x100110d8]
mov edx, dword [0x100110dc]
xor ecx, eax
mov esi, dword [esp + 0x30]
xor edx, 0
mov eax, dword [esp + 0x34]
add esi, ecx
adc eax, edx
or esi, eax
jne 0x10008198
mov dl, 1
jmp 0x1000819a
xor dl, dl
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
xor cl, 0xaa
mov al, byte [esp + 0x18]
shl al, 4
sub al, byte [esp + 0x18]
sub cl, al
sub cl, dl
mov byte [esp + 0x27], cl
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
and eax, 0xf96f976
and ecx, 0x8ded3
mov dword [0x100110d8], eax
mov dword [0x100110dc], ecx
mov eax, dword [0x1005458c]
mov esi, dword [0x10011070]
mov dword [esp + 0x18], eax
movsx eax, byte [esp + 0x26]
cdq
cmp dword [0x10011074], edx
jb 0x10008200
ja 0x100081f9
cmp esi, eax
jbe 0x10008200
mov ecx, 1
jmp 0x10008202
xor ecx, ecx
cmp dword [0x10011074], 0
ja 0x10008214
cmp esi, 0xa
ja 0x10008214
xor eax, eax
jmp 0x10008219
mov eax, 1
cmp ecx, eax
jb 0x10008242
mov eax, 0xffff82b7
mov word [0x10011090], ax
mov eax, dword [esp + 0x44]
add eax, 0xb1
mov dword [0x10011054], 0
mov dword [0x10011050], eax
jmp 0x1000825a
movsx ax, byte [0x10011cda]
mov word [esp + 0x1c], ax
mov eax, dword [0x10011040]
mov ecx, dword [0x10011044]
mov eax, dword [esp + 0x18]
mov ecx, 0x3b8
add byte [0x1001100a], 0x28
add eax, 0x8c3
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
add eax, 0x66d
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x18]
add eax, 0x5fb
mov dword [esp + 0x38], eax
mov eax, dword [0x1005458c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
add eax, 0xb421
mov dword [esp + 0x6c], eax
mov eax, dword [0x10011038]
dec ecx
inc eax
mov dword [0x10011038], eax
test ecx, ecx
jg 0x100082a3
mov eax, dword [esp + 0x18]
add eax, 0x53f2
mov dword [esp + 0x38], eax
mov ax, word [0x1001103c]
mov cx, word [0x1001103c]
mov dx, word [esp + 0x28]
add dx, ax
mov eax, dword [0x1005458c]
add dx, cx
mov word [0x1001103c], dx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x18]
add eax, 0x53b
mov dword [esp + 0x18], eax
movsx eax, byte [esp + 0x17]
cdq
sub eax, 0x86
mov dword [esp + 0x30], eax
sbb edx, 0
mov dword [esp + 0x34], edx
mov ecx, dword [0x10011020]
mov eax, dword [0x10011024]
mov eax, dword [0x10011060]
mov word [0x101b78f2], cx
mov dword [0x100110d0], eax
mov ecx, dword [esp + 0x18]
or ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x18]
xor eax, 0x46e
sub ecx, eax
xor ecx, 0xb6b2
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0x44]
mov esi, dword [0x100110b0]
mov word [esp + 0x1c], ax
mov eax, dword [0x1005458c]
mov dword [esp + 0x18], eax
mov eax, esi
cdq
cmp edx, dword [0x1001107c]
jb 0x10008378
ja 0x10008371
cmp eax, dword [0x10011078]
jbe 0x10008378
mov ecx, 1
jmp 0x1000837a
xor ecx, ecx
xor eax, eax
cmp esi, 0xf
setg al
cmp ecx, eax
jbe 0x10008391
mov eax, dword [esp + 0x54]
dec eax
mov dword [esp + 0x54], eax
jmp 0x100083a8
mov ecx, dword [0x100110d8]
mov eax, dword [0x100110dc]
add ecx, 0x2e4112ba
mov dword [0x100110e4], ecx
mov eax, dword [esp + 0x18]
add eax, 0x33d3
mov dword [esp + 0x38], eax
call fcn.10001800
movzx eax, al
mov ecx, 0x48
mov word [0x1001108c], ax
movzx eax, word [0x1001108c]
cmp cx, ax
movzx eax, word [0x1001108c]
sbb ecx, ecx
xor dx, dx
neg ecx
cmp dx, ax
sbb eax, eax
neg eax
cmp eax, ecx
jb 0x10008467
mov eax, dword [0x100110a0]
cmp eax, dword [0x10011084]
jne 0x10008416
mov ax, word [0x1001108c]
mov ecx, 0x3175
sub ax, cx
mov word [0x1001108c], ax
mov dword [esp + 0x44], 0xff
jmp 0x1000847d
mov eax, dword [0x10011074]
mov ecx, dword [0x10011070]
not eax
not ecx
cmp eax, dword [0x1001101c]
jb 0x1000843e
ja 0x10008437
cmp ecx, dword [0x10011018]
jb 0x1000843e
mov eax, 1
jmp 0x10008440
xor eax, eax
cmp eax, dword [esp + 0x44]
ja 0x1000847d
movsx edi, word [esp + 0x28]
sub edi, dword [0x10011084]
mov al, byte [0x1005458c]
sub edi, 0xaa
mov dword [esp + 0x48], edi
mov byte [0x1001100b], al
jmp 0x1000847d
mov eax, dword [0x10011030]
add dword [0x10011050], eax
mov eax, dword [0x10011034]
adc dword [0x10011054], eax
mov eax, dword [esp + 0x18]
sub esp, 0x10
add eax, 0x57f
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x28]
add eax, 0x552
mov dword [esp + 0x48], eax
mov al, byte [0x1001100e]
call fcn.10001680
mov dword [0x10011020], eax
mov dword [0x10011024], 0
imul eax, dword [esp + 0x70], 0x233
imul ecx, dword [esp + 0x70], 0x233
xor ecx, eax
mov eax, dword [0x1005458c]
neg ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x28], eax
mov eax, dword [0x100110c8]
mov ecx, dword [0x100110cc]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
call section..text
cwde
add esp, 0x10
cdq
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
test eax, eax
jg 0x10008539
jl 0x1000850b
test ecx, ecx
jae 0x10008539
cmp dword [esp + 0x44], 0
je 0x10008539
cmp byte [esp + 0x17], 0
movsx eax, byte [0x10011014]
mov dword [esp + 0x40], 0xa427ce3a
jne 0x1000852d
movsx eax, word [esp + 0x2c]
cdq
mov dword [0x10011070], eax
mov dword [0x10011074], edx
mov eax, dword [esp + 0x18]
mov edx, dword [ebp + 0xc]
add eax, 0x55d
mov esi, dword [ebp + 8]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x68]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x18]
add eax, 0x6a9
mov dword [esp + 0x60], eax
cmp esi, edx
jge 0x10008e0c
movsx eax, byte [esp + 0x17]
mov esi, dword [esp + 0x64]
mov edx, dword [esp + 0x7c]
not esi
mov dword [esp + 0x68], eax
not edx
mov eax, dword [0x10011098]
sub esi, eax
mov ecx, dword [0x1001109c]
sbb edx, ecx
mov ecx, dword [0x10011020]
mov eax, dword [0x10011024]
add ecx, esi
adc eax, edx
or ecx, eax
jne 0x100085a8
mov al, 1
jmp 0x100085aa
xor al, al
mov ecx, dword [0x10011040]
mov byte [0x1001100f], al
and cl, 0xf9
mov eax, dword [0x10011044]
mov al, 0xf9
sub al, cl
cmp dword [0x100110b0], 0
mov dword [esp + 0x18], eax
mov eax, dword [0x1005458c]
mov dword [esp + 0x28], eax
jne 0x100085f3
mov ax, word [0x10011058]
mov eax, 0xffff8a4a
mov word [0x10011090], ax
mov eax, 0x1e02
mov word [0x1001102c], ax
mov eax, dword [esp + 0x28]
add eax, 0x58f
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x28]
add eax, 0x747
mov dword [esp + 0x38], eax
mov al, byte [esp + 0x17]
sub al, 0x10
and byte [0x10011016], al
mov eax, dword [esp + 0x28]
add eax, 0x765
mov dword [esp + 0x4c], eax
mov eax, 0x89d
mov word [0x10011008], ax
mov eax, 8
mov word [esp + 0x28], ax
movzx eax, word [0x1001108c]
not eax
cdq
mov dword [0x10011018], eax
mov ax, word [esp + 0x20]
sub ax, word [0x10015e04]
cmp word [0x10011068], 0
mov dword [0x1001101c], edx
mov word [esp + 0x20], ax
mov eax, dword [0x1005458c]
mov dword [esp + 0x20], eax
je 0x100086d7
mov ax, word [esp + 0x2c]
sub esp, 0x10
call fcn.10001ff0
movzx eax, al
add esp, 0x10
mov word [0x1001108c], ax
mov ax, word [0x1001108c]
cmp word [0x1001108c], 0x29
sbb eax, eax
inc eax
cmp eax, 1
jb 0x100086d7
mov eax, dword [esp + 0x68]
not eax
add eax, 0x23
je 0x100086d7
movsx eax, byte [esp + 0x17]
mov ecx, dword [0x100110e4]
sub ecx, eax
mov eax, dword [0x100110e4]
add eax, ecx
mov dword [0x100110e4], eax
mov eax, dword [esp + 0x64]
movzx eax, al
imul eax, eax, 0x51
sub al, 0x56
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x20]
add eax, 0x103cb
mov dword [esp + 0x70], eax
mov cx, word [0x10011058]
movzx eax, byte [0x1001100b]
sub cx, ax
mov eax, 0x75c6
sub cx, ax
mov word [0x10011058], cx
mov eax, dword [esp + 0x20]
add eax, 0xd672
mov dword [esp + 0x38], eax
mov eax, dword [section..data]
or eax, dword [0x10011004]
je 0x10008728
mov al, byte [0x1005458c]
mov byte [0x1001100b], al
mov eax, dword [esp + 0x20]
add eax, 0x39c0
mov dword [esp + 0x38], eax
movsx eax, byte [0x10011014]
add eax, 0xa786
mov dword [0x10011080], eax
mov eax, dword [0x1005458c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x70]
or eax, 0xe2
mov byte [0x1001100a], 0x19
xor eax, 0x103eb
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x60]
imul ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x60]
xor eax, dword [esp + 0x5c]
cmp ecx, eax
je 0x10008db6
mov ecx, dword [0x100110b8]
add ecx, dword [0x10011078]
mov eax, dword [0x100110bc]
adc eax, dword [0x1001107c]
or ecx, eax
je 0x100087b5
mov eax, dword [0x100110a4]
shl eax, 4
mov word [esp + 0x2c], ax
mov dword [0x10011084], 0x5df18087
jmp 0x10008818
test edi, edi
je 0x100087e4
cmp byte [0x1001100b], 0
movzx eax, word [0x10011008]
mov byte [esp + 0x18], 0x15
jne 0x100087d3
mov eax, dword [0x10011010]
mov dword [0x100110c8], eax
mov dword [0x100110cc], 0
jmp 0x10008818
mov ax, word [esp + 0x1c]
xor edx, edx
movzx eax, byte [0x10011015]
shl ax, 4
mov word [esp + 0x28], ax
movsx eax, byte [0x10011014]
movzx ecx, ax
movzx eax, word [0x10011090]
cmp cx, ax
sete dl
mov dword [0x100110e0], edx
mov eax, dword [0x1005458c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
add eax, 0xf4e3
mov dword [esp + 0x5c], eax
movzx eax, word [esp + 0x1c]
cdq
mov ecx, eax
mov eax, dword [0x10011098]
mov esi, dword [0x1001109c]
cmp ecx, eax
jne 0x1000884d
cmp edx, esi
jne 0x1000884d
xor edx, edx
jmp 0x10008852
mov edx, 1
mov ax, word [esp + 0x1c]
xor ecx, ecx
cmp ax, 9
setne cl
cmp edx, ecx
ja 0x10008887
movsx eax, word [0x1001103c]
xor eax, 0x3af60e6c
mov dword [0x100110ac], eax
movsx eax, byte [0x1001100a]
sub eax, 0xb793
mov dword [esp + 0x54], eax
jmp 0x10008903
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
or ecx, eax
je 0x100088e8
cmp dword [0x10011080], 0
jne 0x100088e8
mov ecx, dword [0x10011098]
mov eax, dword [0x1001109c]
add ecx, 0x56fb8f28
adc eax, 0xffffffff
or ecx, eax
je 0x100088d7
mov dl, byte [esp + 0x26]
mov eax, 0xffffaff0
movsx cx, dl
cwde
mov byte [0x1004f388], dl
movsx ecx, cx
imul ecx, eax
mov word [0x10011090], cx
jmp 0x10008903
cmp byte [esp + 0x58], 0
je 0x10008903
mov dword [esp + 0x44], 0x32f8
jmp 0x10008903
mov eax, dword [esp + 0x40]
cdq
and eax, 0x135ba783
and edx, 0xcbf27
mov dword [0x10011098], eax
mov dword [0x1001109c], edx
mov eax, dword [esp + 0x20]
add eax, 0x5cc
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x54]
mov ax, word [esp + 0x1c]
call fcn.10002130
movzx eax, al
mov dword [esp + 0x40], eax
test eax, eax
je 0x1000894a
mov ax, word [esp + 0x28]
movsx eax, byte [esp + 0x17]
add dword [0x100110b0], eax
mov eax, dword [0x100110ac]
add eax, 0xffffd73d
mov word [esp + 0x50], ax
jmp 0x1000895e
mov eax, dword [0x1005458c]
mov dword [section..data], eax
mov dword [0x10011004], 0
mov eax, dword [esp + 0x20]
add eax, 0x584
mov dword [esp + 0x74], eax
cmp word [0x10011090], 0
je 0x10008986
cmp word [0x10011008], 0
je 0x10008986
mov ecx, 1
jmp 0x10008988
xor ecx, ecx
movsx eax, word [0x10011028]
cmp eax, ecx
jge 0x100089d4
movzx ecx, byte [esp + 0x27]
xor edx, edx
mov eax, dword [esp + 0x18]
movsx eax, al
cmp ecx, eax
mov eax, dword [esp + 0x18]
cbw
sete dl
movzx ecx, dx
movzx edx, byte [0x10011015]
xor dx, word [esp + 0x64]
add dx, di
xor dx, ax
xor dx, cx
mov word [esp + 0x1c], dx
mov eax, dword [0x100110e4]
add al, 0x57
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x78]
mov ecx, 0x51
mov eax, dword [esp + 0x4c]
mov eax, dword [esp + 0x5c]
imul edi, dword [0x10011084]
or eax, 0x4a5d
xor eax, 0x48cb
sub ecx, dword [0x10011070]
mov dword [esp + 0x78], eax
mov eax, 0
sbb eax, dword [0x10011074]
mul edi
mov esi, eax
mov eax, ecx
mul edi
add esi, edx
mov edx, dword [0x100110c8]
mov ecx, dword [0x100110cc]
add edx, eax
adc ecx, esi
or edx, ecx
jne 0x10008a2e
lea eax, [edx + 1]
jmp 0x10008a30
xor eax, eax
mov word [0x10011008], ax
mov eax, dword [0x1005458c]
mov dword [esp + 0x20], eax
movsx eax, word [esp + 0x28]
mov esi, dword [0x10011074]
cdq
mov ecx, eax
mov eax, dword [0x10011070]
cmp esi, edx
ja 0x10008a63
jb 0x10008a5c
cmp eax, ecx
ja 0x10008a63
mov ecx, 1
jmp 0x10008a65
xor ecx, ecx
test esi, esi
ja 0x10008a77
jb 0x10008a70
cmp eax, 0x4e
ja 0x10008a77
mov eax, 1
jmp 0x10008a79
xor eax, eax
mov esi, dword [esp + 0x40]
cmp ecx, eax
jbe 0x10008aba
movsx eax, word [esp + 0x28]
xor ecx, ecx
cmp esi, eax
setl cl
cmp esi, 0x16
sbb eax, eax
neg eax
cmp ecx, eax
jbe 0x10008a9e
inc byte [esp + 0x58]
jmp 0x10008ac3
cmp word [0x10011068], 0
je 0x10008ab3
movzx edi, word [0x100110a8]
shr edi, 1
jmp 0x10008ac7
mov eax, dword [0x100110d0]
jmp 0x10008ac3
mov al, byte [0x1005458c]
mov byte [esp + 0x17], al
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
sub esp, 0x10
add eax, 0x55c
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x30]
add eax, 0x540
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x30]
add eax, 0x574
mov dword [esp + 0x5c], eax
mov dword [esp + 0x6c], 0x7f1
call fcn.10001680
add esp, 0x10
mov word [0x10011068], ax
cmp dword [0x100110a0], 0
jne 0x10008b17
cmp dword [esp + 0x54], 0
jne 0x10008b60
mov ecx, dword [0x10011098]
mov eax, dword [0x1001109c]
cmp eax, 0x3642f
ja 0x10008b60
jb 0x10008b33
cmp ecx, 0x637570f1
ja 0x10008b60
mov ax, word [0x10011090]
mov ecx, esi
mov word [esp + 0x50], ax
mov eax, dword [0x100110e0]
test eax, eax
mov dword [0x1001101c], 0
cmovne ecx, dword [0x100110d0]
mov dword [0x10011018], ecx
jmp 0x10008b70
mov eax, dword [esp + 0x68]
sub eax, dword [0x100110ac]
mov word [0x1001108c], ax
mov edx, dword [esp + 0x70]
mov esi, dword [ebp + 0xc]
cmp edx, esi
jge 0x10008db6
mov ecx, dword [esp + 0x18]
movsx eax, cl
cmp eax, dword [esp + 0x40]
mov dword [esp + 0x48], 0
mov eax, dword [esp + 0x48]
setle al
cmp cl, 0x20
mov ecx, 0
mov dword [esp + 0x48], eax
setle cl
sub esi, edx
mov dword [esp + 0x74], ecx
mov dword [ebp + 0xc], esi
mov ax, word [esp + 0x1c]
cmp dword [esp + 0x48], ecx
je 0x10008be1
mov eax, dword [0x10011098]
mov ecx, dword [0x1001109c]
add eax, 0xffff2340
mov dword [0x10011098], eax
adc ecx, 0xffffffff
mov dword [0x1001109c], ecx
mov ax, word [esp + 0x50]
jmp 0x10008c3e
mov ax, word [0x1001108c]
xor ecx, ecx
test ax, ax
movsx eax, byte [esp + 0x17]
cdq
sete cl
add ecx, dword [0x100110ac]
mov dword [esp + 0x4c], ecx
mov ecx, dword [0x10011040]
mov esi, dword [0x10011044]
xor ecx, eax
xor esi, edx
add ecx, edi
adc esi, 0
add ecx, dword [esp + 0x4c]
mov dword [esp + 0x30], ecx
adc esi, 0
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x54]
mov esi, dword [ebp + 0xc]
sub eax, 0x446856e7
mov dword [0x10011078], eax
mov dword [0x1001107c], 0
mov eax, dword [0x1005458c]
movups xmm0, xmmword [str.EnterCriticalSecti]
mov dword [esp + 0x18], eax
mov ax, word [0x10010140]
mov word [esp + 0x90], ax
mov al, byte [0x10010142]
mov byte [esp + 0x92], al
lea eax, [esp + 0x80]
push eax
movups xmmword [esp + 0x84], xmm0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [0x10011038], eax
mov eax, dword [esp + 0x18]
add eax, 0x5db
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
or ecx, eax
mov eax, 0x52
jne 0x10008ca6
mov eax, dword [0x100110e4]
mov word [0x100110c0], ax
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x78]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x5c]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x20]
sub ecx, eax
mov eax, dword [esp + 0x4c]
sub eax, 0xb2
cmp ecx, eax
je 0x10008da6
mov ecx, dword [0x100110a0]
xor eax, eax
mov esi, dword [0x100110b0]
add ecx, 0xe485c42f
mov dword [0x100110b8], ecx
adc eax, 0xfffedbe7
mov dword [0x100110bc], eax
mov eax, esi
cdq
test edx, edx
ja 0x10008d1d
jb 0x10008d16
cmp eax, dword [esp + 0x38]
jae 0x10008d1d
mov edx, 1
jmp 0x10008d1f
xor edx, edx
xor eax, eax
cmp esi, 0x5e
setl al
cmp edx, eax
jbe 0x10008d59
movzx eax, word [0x10011008]
cdq
cmp dword [0x10011064], edx
jb 0x10008d52
ja 0x10008d45
cmp dword [0x10011060], eax
jb 0x10008d52
imul eax, edi, 0xb7
mov dword [0x100110e4], eax
jmp 0x10008d9a
mov word [esp + 0x1c], cx
jmp 0x10008d9a
mov ax, word [0x100110c0]
push dword [0x100110bc]
mov eax, dword [esp + 0x44]
push dword [0x100110b8]
cdq
push edx
push eax
call fcn.1000f4d0
or eax, edx
jne 0x10008d7f
mov dl, 1
jmp 0x10008d81
xor dl, dl
cmp byte [esp + 0x17], 0
mov cx, word [0x10011048]
sete al
add cl, dl
add cl, al
not cl
mov byte [esp + 0x58], cl
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x74]
sub esi, 1
mov dword [ebp + 0xc], esi
jne 0x10008bb1
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x7c]
mul ecx
mov esi, eax
mov eax, dword [esp + 0x64]
mul ecx
add esi, edx
or eax, esi
je 0x10008e69
mov eax, dword [esp + 0x58]
mov ecx, 0x28a
movzx eax, al
cdq
sub eax, 0x64edce8f
sbb edx, 0x7fc38
nop
dec ecx
mov dword [0x10011020], eax
mov dword [0x10011024], edx
test ecx, ecx
jg 0x10008df0
mov eax, dword [esp + 0x6c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
movzx edi, byte [0x1001100b]
movzx eax, word [0x1001108c]
sub edi, 0xf74e
mov ecx, dword [0x100110e4]
add ecx, eax
mov eax, dword [0x100110e4]
add eax, ecx
mov dword [0x100110e4], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
or ecx, eax
jne 0x10008e5a
mov ecx, dword [0x100110c8]
mov eax, dword [0x100110cc]
mov eax, 0xd44
add cx, ax
mov word [0x1001100c], cx
lea eax, [esi + edx]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10008dba
movzx eax, word [esp + 0x1c]
mov byte [0x1001100b], al
movzx eax, word [esp + 0x2c]
add ax, di
pop edi
mov word [esp + 0x28], ax
mov eax, dword [esp + 0x68]
pop esi
mov esp, ebp
pop ebp
ret 8