Function at 0x10071868
Capabilities:
Resume thread

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov dword [esp + 4], ecx
mov ebp, 0x568deff1
cmp ebp, 0xda91143e
jle 0x100718d7
cmp ebp, 0x356a7c93
jle 0x10071929
cmp ebp, 0x64d41416
jle 0x100719b5
cmp ebp, 0x6bdd51b1
jle 0x10071b64
cmp ebp, 0x7b1dec3f
jg 0x10071df9
cmp ebp, 0x6bdd51b2
je 0x10071eac
cmp ebp, 0x7211900c
jne 0x10071878
cmp byte [esp + 2], 0
mov ebp, 0xab95035a
jne 0x10071878
mov ebp, 0x7b1dec40
jmp 0x10071878
cmp ebp, 0xa4c827a3
jle 0x1007196f
cmp ebp, 0xbe8ec2aa
jle 0x10071a4e
cmp ebp, 0xcd3f8559
jle 0x10071b92
cmp ebp, 0xd6a968ab
jg 0x10071e1f
cmp ebp, 0xcd3f855a
je 0x10071ec8
cmp ebp, 0xd0a0b4f9
jne 0x10071878
mov ebp, 0x8f9329e2
jmp 0x10071878
cmp ebp, 0x18220108
jg 0x10071a9c
cmp ebp, 0xf5260580
jg 0x10071bc8
cmp ebp, 0xe2d99f56
jle 0x10071e86
cmp ebp, 0xe2d99f57
je 0x10071ed7
cmp ebp, 0xe4e5edc7
jne 0x10071878
mov ebp, 0x356a7c94
jmp 0x10071878
cmp ebp, 0x935b48a8
jg 0x10071ada
cmp ebp, 0x8e09c8da
jg 0x10071c52
cmp ebp, 0x80fdf1c9
je 0x10071f47
cmp ebp, 0x86610afd
je 0x10071fba
cmp ebp, 0x8d4482fc
jne 0x10071878
mov ebp, 0x91eec76e
jmp 0x10071878
cmp ebp, 0x51e97a62
jg 0x10071ce2
cmp ebp, 0x356a7c94
je 0x10071fff
cmp ebp, 0x3ea16a45
je 0x10072009
cmp ebp, 0x42a1f3e8
jne 0x10071878
mov eax, dword [0x10099124]
lea ecx, [eax + 1]
imul ecx, eax
mov eax, ecx
not eax
and ecx, 0x1e233ce9
mov edx, eax
and edx, 0xe1dcc316
or edx, ecx
xor edx, 0xe1dcc317
and eax, 0xfffffffe
or eax, edx
xor eax, 0xffffffff
setne cl
sete dl
cmp dword [0x10099128], 0xa
setge ah
setl al
xor al, dl
or ah, cl
mov cl, ah
xor cl, al
mov edx, 0xf873d003
mov ebp, 0x9fbe1e45
mov esi, 0xf873d003
test ah, ah
jne 0x1007242d
mov esi, 0x9fbe1e45
jmp 0x1007242d
cmp ebp, 0xb0bc3a3b
jg 0x10071d10
cmp ebp, 0xa4c827a4
je 0x10072023
cmp ebp, 0xab95035a
je 0x10072031
cmp ebp, 0xadfce1f4
jne 0x10071878
mov eax, dword [esp + 4]
push dword [eax]
push 0
push dword [0x100990bc]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ebp, 0xbe8ec2ab
jmp 0x10071878
cmp ebp, 0x1e26ec0b
jg 0x10071d3e
cmp ebp, 0x18220109
je 0x1007204c
cmp ebp, 0x1d8a4c33
je 0x10072056
cmp ebp, 0x1e010c6e
jne 0x10071878
mov eax, dword [esp + 0xc]
mov ebp, 0x9ef8251b
jmp 0x10071878
cmp ebp, 0x9a80e5d6
jg 0x10071d80
cmp ebp, 0x935b48a9
je 0x10071ea2
cmp ebp, 0x94cc05f4
je 0x100720a8
cmp ebp, 0x97c418fd
jne 0x10071878
mov ecx, dword [0x10099124]
mov eax, 0x9db9c607
sub eax, ecx
imul eax, ecx
test al, 1
sete ch
cmp dword [0x10099128], 0xa
setl dl
xor al, dl
mov cl, ch
xor cl, dl
xor al, 1
or dl, ch
xor dl, 1
or dl, al
mov eax, edx
xor al, cl
mov esi, 0x1e010c6e
mov ebp, 0x9ef8251b
mov edi, 0x1e010c6e
test dl, 1
jne 0x10071b55
mov edi, 0x9ef8251b
test cl, cl
cmovne esi, edi
test al, 1
cmovne ebp, esi
jmp 0x10071878
cmp ebp, 0x64d41417
je 0x10072113
cmp ebp, 0x6909cd44
je 0x1007211d
cmp ebp, 0x699ca9c5
jne 0x10071878
mov ebp, 0x1d8a4c33
jmp 0x10071878
cmp ebp, 0xbe8ec2ab
je 0x10072127
cmp ebp, 0xc1ca6eb3
je 0x10072195
cmp ebp, 0xc4c887b4
jne 0x10071878
mov eax, dword [esp + 8]
mov dword [esp + 0x20], eax
mov ebp, 0x2f0376af
jmp 0x10071878
cmp ebp, 0xf5260581
je 0x1007219f
cmp ebp, 0xf873d003
je 0x10072205
cmp ebp, 0x9d89c66
jne 0x10071878
mov eax, dword [0x10099124]
lea ecx, [eax + 1]
imul ecx, eax
mov eax, ecx
not eax
and ecx, 0xa1d5a8ce
mov edx, eax
and edx, 0x5e2a5731
or edx, ecx
xor edx, 0x5e2a5730
and eax, 0xfffffffe
or eax, edx
xor eax, 0x64c06eb2
cmp eax, 0x9b3f914d
sete cl
cmp dword [0x10099128], 0xa
setl al
xor cl, al
mov edx, ecx
xor dl, 1
and al, dl
xor dl, al
mov edx, 0x7cfdd8ed
mov ebp, 0x2b7fd954
jne 0x100724cb
mov edx, 0x2b7fd954
jmp 0x100724cb
cmp ebp, 0x8e09c8db
je 0x1007220f
cmp ebp, 0x8f9329e2
je 0x10072271
cmp ebp, 0x91eec76e
jne 0x10071878
mov dword [esp + 0x18], ebx
mov eax, dword [0x10099124]
lea ecx, [eax + 1]
imul ecx, eax
mov eax, ecx
not eax
mov edx, eax
and edx, 0xfffffffe
and ecx, 1
or ecx, edx
mov edx, dword [esp + 4]
mov edx, dword [edx + 8]
xor eax, ecx
test eax, ecx
sete ah
cmp dword [0x10099128], 0xa
mov dword [esp + 0x1c], edx
setl cl
xor ah, cl
mov al, ah
xor al, 1
and cl, al
mov ebp, 0xd0a0b4f9
test ah, ah
jne 0x10071cc5
mov ebp, 0x8d4482fc
xor al, cl
test cl, cl
jne 0x10071cd0
mov ebp, 0x8d4482fc
test al, al
jne 0x10071878
mov ebp, 0xd0a0b4f9
jmp 0x10071878
cmp ebp, 0x51e97a63
je 0x10072288
cmp ebp, 0x568deff1
je 0x100722f0
cmp ebp, 0x5cfa2988
jne 0x10071878
mov ebp, 0x8e09c8db
jmp 0x10071878
cmp ebp, 0xb0bc3a3c
je 0x1007234d
cmp ebp, 0xb0d41d06
je 0x10072359
cmp ebp, 0xb7a0f7cd
jne 0x10071878
mov ebp, 0x9d89c66
jmp 0x10071878
cmp ebp, 0x1e26ec0c
je 0x10072019
cmp ebp, 0x2b7fd954
je 0x10072367
cmp ebp, 0x2f0376af
jne 0x10071878
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, 0x935b48a9
jmp 0x10071878
cmp ebp, 0x9a80e5d7
je 0x100723e2
cmp ebp, 0x9ef8251b
je 0x100723ec
cmp ebp, 0x9fbe1e45
jne 0x10071878
mov eax, dword [0x10099124]
lea edx, [eax + 1]
imul edx, eax
test dl, 1
sete ah
cmp dword [0x10099128], 0xa
setl al
setge ch
mov cl, al
or al, ah
and ah, ch
and cl, dl
or cl, ah
xor ch, dl
xor al, 1
or al, ch
mov ah, al
xor ah, cl
mov edx, 0xf873d003
mov ebp, 0x64d41417
test ah, 1
jne 0x10071dea
mov edx, 0x64d41417
test al, 1
cmovne ebp, edx
test cl, cl
cmove ebp, edx
jmp 0x10071878
cmp ebp, 0x7b1dec40
je 0x1007243c
cmp ebp, 0x7cfdd8ed
jne 0x10071878
mov eax, dword [esp + 0x10]
mov ebp, 0x2b7fd954
jmp 0x10071878
cmp ebp, 0xd6a968ac
je 0x10072489
cmp ebp, 0xd73e177f
jne 0x10071878
mov eax, dword [0x10099124]
lea ecx, [eax + 1]
imul ecx, eax
mov eax, ecx
not eax
mov edx, eax
and edx, 0xfffffffe
and ecx, 1
or ecx, edx
xor eax, ecx
test eax, ecx
sete cl
cmp dword [0x10099128], 0xa
setl al
xor cl, al
mov edx, ecx
xor dl, 1
and al, dl
xor dl, al
mov edx, 0x8d4482fc
mov ebp, 0x91eec76e
jne 0x100724cb
mov edx, 0x91eec76e
jmp 0x100724cb
cmp ebp, 0xda91143f
jne 0x100724da
cmp byte [esp + 3], 0
mov ebp, 0xc4c887b4
jne 0x10071878
mov ebp, 0xe4e5edc7
jmp 0x10071878
mov ebp, 0xe2d99f57
push dword [esp + 0x14]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [esp + 8], eax
jmp 0x10071878
mov ebx, dword [esp + 0x24]
inc ebx
mov ebp, 0xd73e177f
jmp 0x10071878
push dword [esp + 0x14]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [esp + 8], eax
test eax, eax
setne byte [esp + 3]
mov eax, dword [0x10099124]
lea ecx, [eax + 1]
imul ecx, eax
mov eax, ecx
not eax
mov edx, eax
and edx, 0xfffffffe
and ecx, 1
or ecx, edx
xor eax, ecx
test eax, ecx
setne cl
cmp dword [0x10099128], 0xa
setge ah
setl al
xor al, cl
or ah, cl
mov ecx, eax
xor cl, ah
mov esi, 0x6bdd51b2
mov edx, 0xda91143f
mov ebp, 0x6bdd51b2
test ah, ah
jne 0x10071f3d
mov ebp, 0xda91143f
test al, al
cmovne ebp, esi
jmp 0x10072432
mov ecx, dword [esp + 0xc]
mov edx, dword [0x10099124]
lea eax, [edx + 1]
imul eax, edx
mov edx, eax
not edx
mov esi, edx
and esi, 0x7ee2bc14
and eax, 0x811d43eb
or eax, esi
mov ecx, dword [ecx]
xor eax, 0x7ee2bc15
or eax, edx
cmp eax, 0xffffffff
sete dl
cmp dword [0x10099128], 0xa
mov dword [esp + 0x14], ecx
setl cl
xor dl, cl
mov eax, edx
xor al, 1
and cl, al
mov ebp, 0xd6a968ac
test dl, dl
jne 0x10071f9d
mov ebp, 0xb0d41d06
xor al, cl
test cl, cl
jne 0x10071fa8
mov ebp, 0xb0d41d06
test al, al
jne 0x10071878
mov ebp, 0xd6a968ac
jmp 0x10071878
mov eax, dword [esp + 4]
mov dword [esp + 0x10], eax
mov ecx, dword [0x10099124]
lea eax, [ecx - 1]
imul eax, ecx
and al, 1
cmp dword [0x10099128], 0xa
setge dl
mov ecx, edx
or cl, al
xor al, dl
mov edx, ecx
xor dl, al
mov edx, 0x6909cd44
mov ebp, 0xb7a0f7cd
jne 0x10071ff5
mov edx, 0xb7a0f7cd
test al, al
cmove ebp, edx
jmp 0x10072432
mov ebp, 0xa4c827a4
jmp 0x10071878
cmp byte [esp + 1], 0
mov ebp, 0x18220109
jne 0x10071878
mov ebp, 0xdde8b3e5
jmp 0x10071878
mov dword [esp + 0x24], ebx
mov ebp, 0xcd3f855a
jmp 0x10071878
lea eax, [ebx*4]
mov ecx, dword [esp + 4]
add eax, dword [ecx]
mov dword [esp + 0xc], eax
mov ebp, 0x97c418fd
jmp 0x10071878
mov ebp, 0x42a1f3e8
jmp 0x10071878
mov eax, dword [0x10099124]
lea ecx, [eax + 1]
imul ecx, eax
mov eax, ecx
not eax
mov edx, eax
and edx, 0xfffffffe
and ecx, 1
or ecx, edx
xor eax, ecx
test eax, ecx
sete dl
setne ah
cmp dword [0x10099128], 0xa
setl cl
setge al
or al, ah
xor cl, dl
mov edx, eax
xor dl, cl
mov edx, 0x699ca9c5
mov ebp, 0x1e26ec0c
jne 0x100723d3
mov edx, 0x1e26ec0c
jmp 0x100723d3
mov eax, dword [0x10099124]
lea ecx, [eax + 1]
imul ecx, eax
mov eax, ecx
not eax
and ecx, 0xdf52a5b7
mov edx, eax
and edx, 0x20ad5a48
or edx, ecx
xor edx, 0x20ad5a49
and eax, 0xfffffffe
or eax, edx
xor eax, 0xffffffff
sete dl
setne ah
cmp dword [0x10099128], 0xa
setl cl
xor ah, cl
mov al, cl
xor al, dl
xor ah, 1
or cl, dl
xor cl, 1
or cl, ah
mov edx, ecx
xor dl, al
mov edx, 0xc1ca6eb3
mov ebp, 0x51e97a63
jne 0x10072267
mov edx, 0x51e97a63
jmp 0x10072267
mov ebp, 0xb0bc3a3c
jmp 0x10071878
mov ebp, 0x86610afd
jmp 0x10071878
mov eax, dword [esp + 4]
push dword [eax]
push 0
push dword [0x100990bc]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [0x10099124]
lea eax, [ecx + 1]
imul eax, ecx
mov ecx, eax
not ecx
mov edx, ecx
and edx, 0x3600f1c3
and eax, 0xc9ff0e3c
or eax, edx
xor eax, 0xc9ff0e3d
xor ecx, eax
test ecx, eax
sete cl
cmp dword [0x10099128], 0xa
setl al
xor cl, al
mov edx, ecx
xor dl, 1
and al, dl
xor dl, al
mov edx, 0xadfce1f4
mov ebp, 0x5cfa2988
jne 0x100724cb
mov edx, 0x5cfa2988
jmp 0x100724cb
mov ebp, 0x94cc05f4
jmp 0x10071878
mov eax, dword [0x10099124]
lea ecx, [eax + 1]
imul ecx, eax
mov eax, ecx
not eax
mov edx, eax
and edx, 0xfffffffe
and ecx, 1
or ecx, edx
xor eax, ecx
test eax, ecx
setne al
sete dl
cmp dword [0x10099128], 0xa
setl cl
setge ah
and ah, dl
and al, cl
or al, ah
mov ah, cl
xor ah, dl
or cl, dl
xor cl, 1
or cl, ah
mov edx, ecx
xor dl, al
mov esi, 0x6bdd51b2
mov ebp, 0xe2d99f57
mov edi, 0x6bdd51b2
test cl, cl
jne 0x100722e1
mov edi, 0xe2d99f57
jmp 0x100722e1
mov ebp, 0x9fbe1e45
jmp 0x10071878
mov ecx, dword [0x10099124]
lea eax, [ecx + 1]
imul eax, ecx
mov ecx, eax
not ecx
mov edx, ecx
and edx, 0xec6dd6e9
and eax, 0x13922916
or eax, edx
xor eax, 0x13922917
xor ecx, eax
test ecx, eax
sete al
setne dl
cmp dword [0x10099128], 0xa
setge cl
setl ah
and ah, dl
and al, cl
or al, ah
or cl, dl
mov edx, ecx
xor dl, al
mov edx, 0x699ca9c5
mov ebp, 0x1d8a4c33
jne 0x10072267
mov edx, 0x1d8a4c33
test cl, cl
cmovne ebp, edx
jmp 0x100724d0
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x1c]
setb byte [esp + 2]
mov ebp, 0x7211900c
jmp 0x10071878
mov eax, dword [0x10099124]
lea ecx, [eax + 1]
imul ecx, eax
mov eax, ecx
not eax
mov edx, eax
and edx, 0xfffffffe
and ecx, 1
or ecx, edx
xor eax, ecx
test eax, ecx
sete dl
setne ah
cmp dword [0x10099128], 0xa
setl cl
xor ah, cl
mov al, dl
xor al, cl
xor ah, 1
or cl, dl
xor cl, 1
or cl, ah
mov edx, ecx
xor dl, al
mov esi, 0xadfce1f4
mov ebp, 0xbe8ec2ab
mov edi, 0xadfce1f4
test cl, cl
jne 0x100722e1
mov edi, 0xbe8ec2ab
test al, al
cmovne esi, edi
test dl, dl
cmovne ebp, esi
jmp 0x10071878
mov ecx, dword [0x10099124]
lea eax, [ecx + 1]
imul eax, ecx
mov ecx, eax
not ecx
mov edx, ecx
and edx, 0xfffffffe
and eax, 1
or eax, edx
not eax
or eax, ecx
xor eax, 0xffffffff
sete cl
setne dl
cmp dword [0x10099128], 0xa
setl ah
setge al
or al, dl
xor ah, cl
mov cl, ah
xor cl, al
mov ebp, 0x86610afd
mov esi, 0x6909cd44
mov edx, 0x86610afd
test ah, ah
jne 0x1007242d
mov edx, 0x6909cd44
jmp 0x1007242d
mov ebp, 0xd73e177f
xor ebx, ebx
jmp 0x10071878
mov eax, dword [esp + 0xc]
mov ebp, 0x80fdf1c9
jmp 0x10071878
mov eax, dword [esp + 0x10]
cmp dword [eax], 0
setne byte [esp + 1]
mov eax, dword [0x10099124]
lea ecx, [eax + 1]
imul ecx, eax
mov eax, ecx
not eax
and ecx, 0xeb37ea0e
mov edx, eax
and edx, 0x14c815f1
or edx, ecx
xor edx, 0x14c815f0
and eax, 0xfffffffe
or eax, edx
xor eax, 0x296f7fd9
xor eax, 0xd6908026
sete dl
setne ah
cmp dword [0x10099128], 0xa
setl cl
setge al
or al, ah
xor cl, dl
mov edx, eax
xor dl, cl
mov edx, 0x7cfdd8ed
mov ebp, 0x3ea16a45
jne 0x100723d3
mov edx, 0x3ea16a45
test cl, cl
cmove ebp, edx
test al, al
cmovne ebp, edx
jmp 0x10071878
mov ebp, 0xf5260581
jmp 0x10071878
mov ecx, dword [0x10099124]
lea eax, [ecx - 1]
imul eax, ecx
not al
or al, 0xfe
cmp al, 0xff
setne cl
cmp dword [0x10099128], 0xa
setge ah
mov al, ah
or al, cl
xor ah, cl
mov ecx, eax
xor cl, ah
mov ebp, 0x80fdf1c9
mov esi, 0xb0d41d06
mov edx, 0x80fdf1c9
test ah, ah
jne 0x1007242d
mov edx, 0xb0d41d06
test al, al
cmovne edx, esi
test cl, cl
cmovne ebp, edx
jmp 0x10071878
mov eax, dword [0x10099124]
lea edx, [eax + 1]
imul edx, eax
test dl, 1
sete ah
cmp dword [0x10099128], 0xa
setl cl
setge al
and ah, al
or al, dl
and cl, dl
or cl, ah
mov ah, al
xor ah, cl
mov edx, 0xc1ca6eb3
mov ebp, 0x94cc05f4
test ah, 1
jne 0x1007247a
mov edx, 0x94cc05f4
test cl, cl
cmove ebp, edx
test al, 1
cmovne ebp, edx
jmp 0x10071878
mov eax, dword [0x10099124]
lea edx, [eax + 0x669faa21]
imul edx, eax
test dl, 1
sete ah
cmp dword [0x10099128], 0xa
setge ch
setl cl
mov al, cl
xor al, dl
and al, cl
and ch, ah
and cl, dl
or cl, ch
mov edx, eax
xor dl, cl
mov ebp, 0x9a80e5d7
mov edx, 0x9a80e5d7
jne 0x100724cb
mov edx, 0x1e010c6e
test cl, cl
cmove ebp, edx
test al, al
cmove ebp, edx
jmp 0x10071878
cmp ebp, 0xdde8b3e5
jne 0x10071878
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret