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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov esi, ecx
mov eax, dword [0x1008e00c]
xor eax, ebp
mov dword [esp + 0x78], eax
add edx, 0xfff
mov dword [esp + 0x24], edx
mov eax, edx
and eax, 0xfffff000
mov dword [esp + 0x34], eax
lea eax, [ecx + 0xc]
mov dword [esp + 0x48], eax
push eax
call dword [0x1008be30]
mov dword [esp + 0x14], esi
mov edi, dword [esi + 0x4c]
test edi, edi
je 0x1001c697
xor eax, eax
mov edx, 0xffffffff
mov esi, edi
nop word [eax + eax]
mov ecx, dword [esi + 8]
mov ebx, 0xfffff000
and ecx, ebx
xor ebx, ebx
cmp dword [esp + 0x34], ecx
seta bl
cmovb ebx, edx
lea ecx, [ebx + 1]
cmp ecx, 2
jae 0x1001c568
mov eax, esi
mov esi, dword [esi]
test esi, esi
jne 0x1001c540
jmp 0x1001c57b
cmp ebx, 1
jne 0x1001c8f4
mov esi, dword [esi + 4]
and esi, 0xfffffffe
test esi, esi
jne 0x1001c540
test eax, eax
jne 0x1001c8f6
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x38]
test edx, edx
jne 0x1001c5df
push 0x1008e7b8
call dword [0x1008be30]
mov eax, dword [0x1008e7d4]
test eax, eax
je 0x1001c6cc
xor esi, esi
mov ecx, 0xffffffff
mov edi, dword [eax + 0x14]
xor edx, edx
cmp edi, 0x100000
setb dl
cmova edx, ecx
cmp edx, 0xffffffff
jne 0x1001c5cd
mov esi, eax
mov eax, dword [eax]
test eax, eax
jne 0x1001c5ad
jmp 0x1001c607
test edx, edx
jne 0x1001cdf7
cmp dword [eax + 0x10], 0
jne 0x1001c5c3
mov esi, eax
jmp 0x1001c612
xor esi, esi
mov dword [eax + 0x38], esi
lea eax, [edx + 0x2000]
mov dword [esp + 8], eax
lea eax, [edx + 0x28]
mov dword [esp + 4], eax
lea ecx, [esp + 0x58]
mov dword [ecx], edi
mov dword [ecx + 4], esi
mov dword [esp + 0x10], edx
jmp 0x1001cea3
test esi, esi
je 0x1001c6cc
mov edi, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x18], eax
mov ecx, esi
call 0xffffb90
mov ebx, dword [0x1008e7d0]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], 0
mov ecx, dword [esi + 0x10]
xor edx, edx
dec edx
xor eax, eax
cmp ecx, dword [ebx + 0x10]
seta al
cmovb eax, edx
cmp eax, 0xffffffff
mov dword [esp + 0x10], esi
je 0x1001c784
test eax, eax
je 0x1001c7cd
mov ecx, dword [ebx + 0xc]
mov dword [esp + 8], 0
mov eax, ecx
and eax, 0xfffffffe
je 0x1001c7e9
mov edx, dword [eax + 8]
test edx, edx
je 0x1001c7e9
test byte [edx + 0xc], 1
je 0x1001c7e9
mov dword [esp + 0xc], edi
mov edx, dword [esp + 8]
jmp 0x1001dad1
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x38]
test eax, eax
je 0x1001c58e
xor edx, edx
mov dword [ecx + 0x38], edx
lea ecx, [esp + 0x58]
mov dword [ecx], edx
mov dword [ecx + 4], edx
mov dword [eax + 0x28], edx
lea edx, [eax + 0x2000]
mov dword [eax + 0x2c], 1
add eax, 0x28
jmp 0x1001d00f
push 0x1008e7b8
call dword [0x1008beb0]
mov eax, dword [ebx + 8]
test eax, eax
je 0x1001c7ac
xor edx, edx
test byte [eax + 0xc], 1
mov dword [esp + 0xc], edi
jne 0x1001dad1
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1001c7ac
test byte [ecx + 0xc], 1
jne 0x1001dad1
lea ecx, [esp + 0x54]
mov edx, ebx
call 0x10000450
lea eax, [esp + 0x54]
mov eax, dword [eax]
test eax, eax
je 0x1001e124
and byte [eax + 0xc], 0xfe
xor edx, edx
jmp 0x1001c80f
mov ecx, dword [ebx + 0xc]
cmp ecx, 1
ja 0x1001c88a
mov eax, dword [ebx + 8]
test eax, eax
jne 0x1001c859
mov dword [esp + 0x60], eax
jmp 0x1001d0e5
mov eax, dword [ebx + 8]
test eax, eax
je 0x1001ce16
test byte [eax + 0xc], 1
je 0x1001c81f
lea ecx, [esp + 0x54]
mov edx, ebx
call 0xfffffa0
lea eax, [esp + 0x54]
mov eax, dword [eax]
mov edx, dword [esp + 8]
mov dword [esp + 0xc], edi
lea ebx, [esp + 0x58]
mov dword [ebx + 8], eax
jmp 0x1001dad1
or ecx, 1
mov dword [ebx + 0xc], ecx
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1001c834
mov edx, dword [ecx + 0xc]
test dl, 1
jne 0x1001c897
or byte [eax + 0xc], 1
mov ecx, dword [ebx + 0xc]
mov eax, ecx
and eax, 0xfffffffe
je 0x1001da8b
mov edx, dword [eax + 8]
and edx, 0xfffffffe
and ecx, 1
or ecx, edx
mov dword [ebx + 0xc], ecx
mov dword [eax + 8], ebx
jmp 0x1001c80b
mov ecx, dword [eax + 0xc]
and ecx, 0xfffffffe
mov dword [ebx + 8], ecx
mov ecx, ebx
and ecx, 0xfffffffe
mov edx, dword [eax + 0xc]
and edx, 1
or edx, ecx
mov dword [eax + 0xc], edx
mov edx, dword [ebx + 0xc]
and edx, 1
or edx, ecx
mov dword [eax + 0xc], edx
or byte [ebx + 0xc], 1
and dword [eax + 0xc], 1
jmp 0x1001c7e0
lea eax, [esp + 0x58]
mov dword [esp + 8], eax
jmp 0x1001c66a
and edx, 0xfffffffe
mov dword [ecx + 0xc], edx
mov eax, dword [ebx + 8]
test eax, eax
je 0x1001ce66
mov ecx, dword [eax + 0xc]
and ecx, 0xfffffffe
mov dword [ebx + 8], ecx
mov ecx, ebx
and ecx, 0xfffffffe
mov edx, dword [eax + 0xc]
and edx, 1
or edx, ecx
mov dword [eax + 0xc], edx
mov edx, dword [ebx + 0xc]
mov ecx, edx
and ecx, 0xfffffffe
je 0x1001da8b
mov esi, dword [ecx + 8]
and esi, 0xfffffffe
and edx, 1
or edx, esi
mov dword [ebx + 0xc], edx
mov dword [ecx + 8], ebx
mov edx, dword [eax + 0xc]
and edx, 1
or edx, ecx
mov dword [eax + 0xc], edx
mov esi, dword [esp + 0x10]
jmp 0x1001c80b
mov eax, esi
mov ecx, eax
and eax, 0xfffff
add eax, 0xfffffff0
mov edx, 0xaaaaaaab
mul edx
and ecx, 0xfff00000
and edx, 0xfffffff8
shl edx, 9
add edx, ecx
cmp edx, 1
jne 0x1001c5db
mov eax, dword [eax + 4]
and eax, 0xfffffffe
jmp 0x1001c5c7
or ecx, 1
mov dword [ebx + 0xc], ecx
jmp 0x1001e124
mov dword [ebx + 8], 0
jmp 0x1001dc34
mov edi, dword [ecx]
mov eax, 0xffffffff
mov edx, dword [esp + 0x10]
test edi, edi
je 0x1001cff4
mov ebx, esi
mov esi, ecx
mov ecx, dword [edi]
test ecx, ecx
je 0x1001cec4
mov eax, dword [ecx + 4]
test al, 1
je 0x1001cec4
mov dword [esp + 0xc], ebx
mov ebx, dword [ecx]
test ebx, ebx
je 0x1001cec4
test byte [ebx + 4], 1
jne 0x1001cf1d
mov ecx, edi
mov eax, dword [edx + 0x30]
mov edx, eax
and edx, 0xfffff000
mov edi, dword [ecx + 8]
mov ebx, 0xfffff000
and edi, ebx
xor ebx, ebx
cmp edx, edi
seta bl
mov edx, 0xffffffff
cmovb ebx, edx
cmp ebx, 0xffffffff
je 0x1001ce90
test ebx, ebx
jne 0x1001cf57
mov edi, dword [esp + 4]
test al, 0x10
jne 0x1001d0de
xor eax, eax
cmp edi, ecx
seta bl
jb 0x1001ce90
mov al, bl
mov edx, dword [esp + 0x10]
mov edi, dword [ecx + 4]
and edi, 0xfffffffe
test edi, edi
jne 0x1001cea3
jmp 0x1001cff4
and eax, 0xfffffffe
mov dword [edi], eax
mov ebx, edi
and ebx, 0xfffffffe
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
and edx, 1
or edx, ebx
mov dword [ecx + 4], edx
test eax, eax
je 0x1001e124
and byte [eax + 4], 0xfe
mov ebx, esi
cmp dword [esi], edi
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
jne 0x1001cf5e
mov dword [ebx], ecx
mov esi, ebx
jmp 0x1001cec6
mov eax, 1
jmp 0x1001cf0a
and ecx, 0xfffffffe
mov eax, dword [ebx + 4]
and eax, 1
lea edx, [eax + ecx]
mov dword [ebx + 4], edx
test ecx, ecx
je 0x1001da8b
mov edx, dword [ecx]
and edx, 0xfffffffe
or edx, eax
mov dword [ebx + 4], edx
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
and eax, 1
mov edx, dword [ecx + 4]
and edx, 0xfffffffe
or edx, eax
mov dword [ecx + 4], edx
or byte [ebx + 4], 1
test edi, edi
mov esi, dword [esp + 4]
je 0x1001dc34
cmp dword [edi], ebx
mov edx, dword [esp + 0x10]
je 0x1001d0a6
jmp 0x1001d0ad
mov eax, dword [edx + 0x30]
mov edx, eax
mov ebx, 0xfffff000
and edx, ebx
mov edi, dword [ecx + 8]
and edi, ebx
xor ebx, ebx
cmp edx, edi
seta bl
mov edx, 0xffffffff
cmovb ebx, edx
test ebx, ebx
jne 0x1001d093
jmp 0x1001d0bd
mov edx, dword [esp + 0x10]
mov esi, ecx
test edi, edi
mov ebx, dword [esp + 0xc]
jne 0x1001cea7
mov esi, ebx
mov dword [edx + 0x28], 0
mov dword [edx + 0x2c], 1
cmp eax, 1
je 0x1001d031
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
mov dword [ecx], eax
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x58]
test edi, edi
je 0x1001e124
and byte [edi + 4], 0xfe
mov eax, dword [esp + 0x14]
mov dword [eax + 0x4c], edi
jmp 0x1001c919
mov edi, dword [esp + 4]
and edi, 0xfffffffe
mov eax, dword [ecx + 4]
and eax, 1
lea edx, [eax + edi]
mov dword [ecx + 4], edx
test edi, edi
je 0x1001da8b
mov edx, dword [edi]
and edx, 0xfffffffe
or edx, eax
mov dword [ecx + 4], edx
mov dword [edi], ecx
mov eax, dword [ecx + 4]
and eax, 1
mov edx, dword [edi + 4]
and edx, 0xfffffffe
or edx, eax
mov dword [edi + 4], edx
or byte [ecx + 4], 1
cmp dword [esi], ecx
jne 0x1001d07d
mov dword [esi], edi
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 8]
jmp 0x1001d015
mov eax, dword [esi + 4]
mov edx, eax
and edx, 0xfffffffe
cmp ecx, edx
jne 0x1001d073
and eax, 1
or eax, edi
mov dword [esi + 4], eax
jmp 0x1001d073
xor eax, eax
inc eax
cmp ebx, 0xffffffff
je 0x1001d0d0
mov edi, dword [ecx + 4]
and edi, 0xfffffffe
jmp 0x1001cfe0
mov dword [edi], ecx
jmp 0x1001cfb3
mov eax, dword [edi + 4]
and eax, 1
or eax, ecx
mov dword [edi + 4], eax
jmp 0x1001cfb3
test al, 0x10
mov edx, 0
cmove edx, esi
xor eax, eax
cmp edx, ecx
seta bl
jae 0x1001d0da
mov edi, dword [ecx]
xor eax, eax
dec eax
jmp 0x1001cfe0
mov al, bl
jmp 0x1001d09b
xor edi, edi
jmp 0x1001ceff
mov edx, dword [esp + 4]
lea esi, [edx + 0xfffff]
mov ecx, 0xfff00000
and esi, ecx
mov eax, esi
sub eax, edx
sub edi, eax
add edi, ecx
mov ecx, dword [esp + 0x60]
mov dword [0x1008e7d0], ecx
xor ecx, ecx
mov edx, dword [esp + 0x10]
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
test eax, eax
mov dword [esp + 8], esi
jne 0x1001da1f
test edi, edi
je 0x1001d224
lea eax, [esi + 0x100000]
mov esi, dword [esp + 0x10]
mov dword [esi + 0x10], eax
mov dword [esp + 0xc], edi
mov dword [esi + 0x14], edi
mov eax, dword [esp + 0x18]
mov dword [esi + 0x18], eax
mov edi, dword [0x1008e7d4]
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], 0
test edi, edi
je 0x1001d261
mov dword [esp + 4], 0
lea edx, [esp + 0x58]
xor eax, eax
dec eax
mov ecx, dword [edi]
test ecx, ecx
je 0x1001d192
mov ebx, dword [ecx + 4]
test bl, 1
je 0x1001d192
mov esi, dword [ecx]
test esi, esi
je 0x1001d186
test byte [esi + 4], 1
jne 0x1001d1e0
mov dword [esp + 4], edx
mov edx, edi
mov esi, dword [esp + 0x10]
jmp 0x1001d198
mov dword [esp + 4], edx
mov edx, edi
mov edi, dword [esp + 0xc]
xor ebx, ebx
cmp edi, dword [edx + 0x14]
seta bl
cmovb ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0xc], edi
je 0x1001d1c9
xor ecx, ecx
inc ecx
test ebx, ebx
jne 0x1001d1d8
mov eax, dword [esi + 0x10]
xor ecx, ecx
cmp eax, dword [edx + 0x10]
mov eax, 0xffffffff
seta bl
jae 0x1001d1d6
mov edi, dword [edx]
mov ecx, eax
test edi, edi
jne 0x1001d16c
jmp 0x1001d933
mov cl, bl
mov edi, dword [edx + 4]
and edi, 0xfffffffe
jmp 0x1001d1cd
and ebx, 0xfffffffe
mov dword [edi], ebx
mov ebx, edi
and ebx, 0xfffffffe
mov esi, dword [ecx]
mov eax, dword [ecx + 4]
and eax, 1
or eax, ebx
mov dword [ecx + 4], eax
test esi, esi
je 0x1001e124
and byte [esi + 4], 0xfe
cmp dword [edx], edi
mov eax, 0xffffffff
jne 0x1001d881
mov dword [edx], ecx
mov esi, dword [esp + 0x10]
mov edi, dword [esi + 0x14]
mov dword [esp + 4], edx
mov edx, ecx
jmp 0x1001d19c
lock add dword [0x1008e7b4], 0xfff00000
push 0x1008e7b8
call dword [0x1008beb0]
push 0x1008e784
call dword [0x1008be30]
mov eax, 0x1008e784
mov ecx, dword [0x1008e72c]
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
mov dword [0x1008e72c], edx
jmp 0x1001d494
lea edx, [esp + 0x58]
mov dword [esi], 0
mov dword [esi + 4], 1
mov dword [edx], esi
mov ebx, ecx
and ebx, 0xfffffffe
mov ecx, dword [edx + 4]
and ecx, 1
lea eax, [ecx + ebx]
mov dword [edx + 4], eax
test ebx, ebx
mov esi, dword [esp + 0x10]
je 0x1001da8b
mov eax, dword [ebx]
and eax, 0xfffffffe
or eax, ecx
mov dword [edx + 4], eax
mov dword [ebx], edx
mov eax, dword [edx + 4]
and eax, 1
mov ecx, dword [ebx + 4]
and ecx, 0xfffffffe
or ecx, eax
mov dword [ebx + 4], ecx
or byte [edx + 4], 1
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x1001dc34
cmp dword [ecx], edx
mov eax, 0xffffffff
jne 0x1001d9c1
mov dword [ecx], ebx
mov ecx, dword [esi + 0x14]
xor edx, edx
cmp ecx, dword [ebx + 0x14]
seta dl
cmovb edx, eax
test edx, edx
mov dword [esp + 0xc], ecx
je 0x1001d915
xor ecx, ecx
inc ecx
cmp edx, 0xffffffff
jne 0x1001d929
mov edi, dword [ebx]
mov ecx, eax
test edi, edi
je 0x1001d931
mov ecx, dword [edi]
mov edx, ebx
test ecx, ecx
jne 0x1001d172
mov dword [esp + 4], ebx
jmp 0x1001d196
mov eax, dword [esi + 0x10]
xor ecx, ecx
cmp eax, dword [ebx + 0x10]
mov eax, 0xffffffff
seta dl
jb 0x1001d8f8
mov cl, dl
mov edi, dword [ebx + 4]
and edi, 0xfffffffe
jmp 0x1001d8fc
mov edx, ebx
mov dword [esi], 0
mov dword [esi + 4], 1
cmp ecx, 1
jne 0x1001d272
mov ecx, esi
and ecx, 0xfffffffe
mov esi, dword [edx + 4]
and esi, 1
lea eax, [esi + ecx]
mov dword [edx + 4], eax
test ecx, ecx
je 0x1001da8b
add byte [eax], al
mov eax, dword [ecx + 4]
and eax, 1
or eax, ebx
mov dword [ecx + 4], eax
xor eax, eax
dec eax
jmp 0x1001d8da
mov ebx, edi
mov edi, dword [esp + 0x10]
mov dword [edi + 0x14], eax
mov ecx, edi
call fcn.1003b4e0
mov ecx, 0x1008e7d0
mov edx, edi
call fcn.1003b240
test ebx, ebx
je 0x1001d484
mov edi, ebx
push 0x1008e7b8
call dword [0x1008beb0]
call fcn.1003f1c0
mov dword [esp + 0x10], eax
test eax, eax
je 0x1001da71
push 0x1008e7b8
call dword [0x1008be30]
mov esi, dword [esp + 8]
jmp 0x1001d128
mov ecx, dword [esp + 8]
mov edx, 0x100000
push dword [esp + 0x18]
call fcn.10002630
add esp, 4
jmp 0x1001c6d7
mov ecx, dword [esi + 0x10]
xor eax, eax
cmp ecx, dword [ebx + 0x10]
seta al
mov ecx, 0xffffffff
cmovb eax, ecx
test eax, eax
je 0x1001dad7
cmp eax, 0xffffffff
jne 0x1001dae3
mov eax, dword [ebx + 8]
test eax, eax
je 0x1001dbc2
test byte [eax + 0xc], 1
je 0x1001db83
mov edi, ebx
mov ebx, eax
jmp 0x1001daa0
mov eax, dword [ebx + 0xc]
mov edx, edi
cmp eax, 1
jbe 0x1001db1d
jmp 0x1001dae6
mov eax, dword [ebx + 0xc]
and eax, 0xfffffffe
je 0x1001daf8
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1001daf8
test byte [ecx + 0xc], 1
jne 0x1001dad1
mov dword [esp + 8], edx
lea ecx, [esp + 0x4c]
mov edx, ebx
call 0xfffffa0
mov eax, dword [esp + 0x4c]
cmp dword [edi + 8], ebx
jne 0x1001db71
jmp 0x1001dbba
mov ebx, edi
mov edx, dword [esp + 8]
jmp 0x1001dad1
mov eax, dword [ebx + 8]
test eax, eax
je 0x1001db50
mov ecx, dword [eax + 0xc]
and ecx, 0xfffffffe
mov dword [ebx + 8], ecx
mov ecx, ebx
and ecx, 0xfffffffe
mov edx, dword [eax + 0xc]
and edx, 1
or edx, ecx
mov dword [eax + 0xc], edx
mov edx, dword [ebx + 0xc]
and edx, 1
or edx, ecx
mov dword [eax + 0xc], edx
or byte [ebx + 0xc], 1
and dword [eax + 0xc], 1
cmp dword [edi + 8], ebx
jne 0x1001db61
mov dword [edi + 8], eax
mov edi, dword [esp + 0xc]
jmp 0x1001d0e5
and eax, 0xfffffffe
mov ecx, dword [edi + 0xc]
and ecx, 1
or ecx, eax
mov dword [edi + 0xc], ecx
jmp 0x1001db58
mov ecx, eax
and ecx, 0xfffffffe
mov edx, dword [edi + 0xc]
and edx, 1
or edx, ecx
mov dword [edi + 0xc], edx
jmp 0x1001db15
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1001db94
test byte [ecx + 0xc], 1
jne 0x1001dad1
mov dword [esp + 8], edx
lea ecx, [esp + 0x50]
mov edx, ebx
call 0x10000450
mov eax, dword [esp + 0x50]
cmp dword [edi + 8], ebx
jne 0x1001dc1c
mov dword [edi + 8], eax
mov ebx, eax
mov edx, dword [esp + 8]
jmp 0x1001daa0
mov dword [edi + 8], eax
jmp 0x1001db15
test edx, edx
je 0x1001dc34
cmp dword [edx + 8], esi
jne 0x1001dc01
mov dword [edx + 8], ebx
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
mov eax, dword [esi + 0xc]
and eax, 0xfffffffe
mov ecx, dword [ebx + 0xc]
and ecx, 1
or ecx, eax
mov dword [ebx + 0xc], ecx
mov ecx, dword [esi + 0xc]
and ecx, 1
or ecx, eax
mov dword [ebx + 0xc], ecx
cmp dword [edi + 8], ebx
jne 0x1001dc13
mov dword [edi + 8], 0
jmp 0x1001db58
mov eax, ebx
and eax, 0xfffffffe
mov ecx, dword [edx + 0xc]
and ecx, 1
or ecx, eax
mov dword [edx + 0xc], ecx
jmp 0x1001dbce
and dword [edi + 0xc], 1
jmp 0x1001db58
mov ecx, eax
and ecx, 0xfffffffe
mov edx, dword [edi + 0xc]
and edx, 1
or edx, ecx
mov dword [edi + 0xc], edx
jmp 0x1001dbaf