Function at 0x1003d06a
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, dword [ebp + 8]
mov eax, dword [0x1008e00c]
xor eax, ebp
xor edi, edi
inc edi
test esi, esi
cmove esi, edi
mov dword [esp + 0x78], eax
mov eax, dword [0x1008e7d8]
test edx, edx
je 0x1003d38d
test eax, eax
je 0x1003fa18
mov ebx, edx
and ebx, 0xfff00000
cmp ebx, edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0xc], edx
je 0x1003f61e
mov eax, edx
shr eax, 0xc
movzx eax, al
lea eax, [eax + eax*2]
mov eax, dword [ebx + eax*4 + 0x18]
mov edx, eax
and edx, 0xfffff000
test al, 2
jne 0x1003d0dc
mov eax, dword [edx]
mov edx, dword [eax + 8]
mov dword [esp + 0x2c], edx
cmp edx, 0xfd000
ja 0x1003f5fb
mov edx, dword [ebx]
mov eax, dword [ecx]
test eax, eax
je 0x1003d0fc
cmp edx, eax
jne 0x1003faa3
cmp esi, 0xfd000
ja 0x1003f57f
cmp esi, 8
mov dword [esp + 0x24], edx
jbe 0x1003df6f
cmp esi, 0x1f0
ja 0x1003d4d7
lea edi, [esi + 0xf]
and edi, 0xfffffff0
xor eax, eax
mov ecx, dword [esp + 0x2c]
cmp ecx, 0xfd000
ja 0x1003d13d
cmp edi, ecx
je 0x1003d744
add ecx, 0xfffff0ff
cmp ecx, 0xfc100
setae cl
xor al, 1
or al, cl
je 0x1003dd06
cmp byte [edx + 0x3d], 0
je 0x1003d48e
cmp esi, 0xf00
ja 0x1003dbdb
test eax, eax
je 0x1003f808
cmp esi, 0x1f1
jae 0x1003d739
mov eax, dword [0x1008e3c8]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov edx, dword [eax + 8]
test edx, edx
ror byte [edi], cl
invalid
mov ch, 0xfc
invalid
invalid
mov edx, dword [0x1008e7f4]
cmp esi, 0xf00
ja 0x1003d95b
lea edi, [esi + 0xff]
and edi, 0xffffff00
jmp 0x1003d127
mov edx, dword [0x1008e7f4]
jmp 0x1003d160
sub ecx, esi
ja 0x1003e435
mov ebx, dword [esp + 0xc]
jmp 0x1003d370
lea edi, [esi + 0xfff]
and edi, 0x1ff000
mov al, 1
jmp 0x1003d129
mov ecx, edx
mov edx, esi
push 0
call fcn.10019bfa
add esp, 4
mov ebx, eax
jmp 0x1003d239
mov eax, edi
mov ebx, dword [esp + 0x2c]
sub eax, ebx
mov dword [esp + 0x1c], eax
jb 0x1003e942
mov eax, dword [esp + 0xc]
shr eax, 0xc
movzx eax, al
mov dword [esp + 4], eax
shr ebx, 0xc
lea eax, [edx + 0xc]
mov dword [esp + 0x28], eax
push eax
call dword [0x1008be30]
mov eax, dword [esp + 4]
add ebx, eax
cmp ebx, 0xfe
mov ecx, dword [esp + 0x20]
ja 0x1003dd58
lea edx, [ebx + ebx*2]
mov eax, dword [ecx + edx*4 + 0x18]
test al, 1
je 0x1003e3a0
push dword [esp + 0x28]
call dword [0x1008beb0]
mov edx, dword [esp + 0x24]
jmp 0x1003d156
cmp esi, 2
jb 0x1003ef9a
mov edx, esi
mov ecx, 0x20
mov eax, 0x20
dec edx
je 0x1003df8d
bsr eax, edx
xor eax, 0x1f
sub ecx, eax
mov edx, dword [esp + 0x24]
mov eax, edi
shl eax, cl
cmp eax, 9
mov edi, 8
cmovae edi, eax
jmp 0x1003d127
and eax, 0xfffff000
cmp eax, dword [esp + 0x1c]
jb 0x1003dd58
shl ebx, 0xc
add ebx, ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10], edx
mov edx, ebx
push dword [esp + 0x1c]
call fcn.100208da
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
add esp, 4
test al, al
je 0x1003dd58
or edi, 3
mov eax, dword [esp + 4]
lea eax, [eax + eax*2]
mov dword [ecx + eax*4 + 0x18], edi
lea eax, [ecx + edx*4]
add eax, 0x18
mov dword [eax], 3
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
add dword [eax + 0x30], ecx
push dword [esp + 0x28]
call dword [0x1008beb0]
jmp 0x1003d74c
mov ebx, dword [esp + 0xc]
add esi, ebx
push ecx
push 0xe5
push esi
call fcn.1007856c
add esp, 0xc
jmp 0x1003d370
mov eax, ebx
sub eax, esi
add esi, dword [esp + 0xc]
push eax
push 0xe5
push esi
mov esi, edx
call fcn.1007856c
add esp, 0xc
lea eax, [esi + 0xc]
mov dword [esp + 0x14], eax
push eax
call dword [0x1008be30]
mov eax, dword [esp + 0xc]
shr eax, 0xc
movzx eax, al
mov ecx, edi
or ecx, 3
lea edx, [eax + eax*2]
mov esi, dword [esp + 0x20]
mov dword [esi + edx*4 + 0x18], ecx
mov ecx, edi
shr ecx, 0xc
add ecx, eax
sub ebx, edi
or ebx, 3
lea eax, [ecx + ecx*2]
mov dword [esi + eax*4 + 0x18], ebx
mov ebx, dword [esp + 0xc]
add edi, ebx
mov esi, dword [esp + 0x24]
mov ecx, esi
mov edx, edi
push 1
call fcn.10024aea
add esp, 4
mov eax, dword [esp + 0x1c]
add dword [esi + 0x30], eax
push dword [esp + 0x14]
jmp 0x1003d36a
xor ecx, ecx
jmp 0x1003df93
mov ecx, edx
mov edx, dword [esp + 0xc]
push dword [esp + 0x2c]
push esi
call 0xfffe2ca
jmp 0x1003e9ea
mov eax, dword [ebx]
mov edx, dword [ebx + 0x18]
cmp eax, dword [edx + 8]
je 0x1003d0ee
mov dword [0x1008f8f4], 0x10082722
int3
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], esi
push 0x1008e744
call dword [0x1008be30]
mov ebx, dword [0x1008e75c]
xor eax, eax
dec eax
mov edx, dword [esp + 0xc]
xor ecx, ecx
cmp dword [ebx + 0x10], edx
setb cl
cmova ecx, eax
test ecx, ecx
je 0x1003f65f
cmp ecx, 0xffffffff
je 0x1003f65a
mov ebx, dword [ebx + 0xc]
and ebx, 0xfffffffe
jmp 0x1003f63e
mov ebx, dword [ebx + 8]
jmp 0x1003f63e
mov esi, dword [ebx + 0x14]
push 0x1008e744
call dword [0x1008beb0]
mov edx, esi
mov esi, dword [esp + 0x14]
xor edi, edi
inc edi
mov ecx, dword [esp + 0x2c]
jmp 0x1003d0dc
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], esi
push 0x1008e804
call dword [0x1008bdf8]
mov eax, dword [0x1008e7d8]
test eax, eax
jne 0x1003f9e3
mov eax, dword [0x1008e80c]
mov ecx, dword [0x1008e3c8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jle 0x1003f87b
push 0x1008e80c
call fcn.10036e23
add esp, 4
cmp dword [0x1008e80c], 0xffffffff
jne 0x1003f87b
lea esi, [esp + 0x50]
push esi
call dword [0x1008be6c]
mov eax, dword [esi + 4]
mov dword [0x1008e808], eax
push 0x1008e80c
call fcn.10036dd9
add esp, 4
mov eax, 0x1000
xor edx, edx
div dword [0x1008e808]
test edx, edx
jne 0x1003fbdb
mov edi, 0x1008e810
push 0x40
push edi
push 0x10081585
call dword [0x1008be50]
test eax, eax
cmove edi, eax
je 0x1003f8eb
mov al, byte [edi]
test al, al
je 0x1003f8eb
xor esi, esi
movsx ecx, al
add ecx, 0xffffffd0
cmp ecx, 9
jbe 0x1003fc25
xor ebx, ebx
inc ebx
dec ebx
movsx ecx, al
cmp ecx, 0x72
jne 0x1003fbb3
mov byte [0x1008e740], 1
sub ebx, 1
jb 0x1003f8e2
mov al, byte [edi + esi]
jmp 0x1003f8c5
mov al, byte [edi + esi + 1]
inc esi
test al, al
jne 0x1003f8b2
mov dword [0x1008e7b4], 0
mov ebx, 0x1388
mov dword [0x1008f8f4], 0x10082608
int3
mov dword [0x1008f8f4], 0x100827d0
int3
cmp ecx, 0x46
jne 0x1003fc4a
mov eax, dword [0x1008e024]
test eax, eax
je 0x1003fc6b
add eax, eax
je 0x1003f8d8
mov dword [0x1008e024], eax
jmp 0x1003f8d8
mov ecx, 0x100818e2
mov edx, 0x10083ec7
call fcn.1003c88a
mov dword [0x1008f8f4], 0x100837fa
int3
xor ebx, ebx
lea eax, [ebx + ebx*4]
lea ebx, [ecx + eax*2]
movsx eax, byte [edi + esi + 1]
inc esi
mov ecx, eax
add ecx, 0xffffffd0
cmp ecx, 0xa
jb 0x1003fc27
test ebx, ebx
je 0x1003f8e2
jmp 0x1003f8c4
cmp ecx, 0x52
jne 0x1003fc5b
mov byte [0x1008e740], 0
jmp 0x1003f8d8
cmp ecx, 0x66
jne 0x1003fc7a
shr dword [0x1008e024], 1
jmp 0x1003f8d8
mov dword [0x1008e024], 1
jmp 0x1003f8d8
lea ecx, [esp + 0x50]
mov byte [ecx], al
mov byte [ecx + 1], 0
mov eax, 2
push 0xa
push 0x100818e2
push eax
call dword [0x1008bfec]
add esp, 0xc
push 0x35
push 0x10083806
mov eax, 2
push eax
call dword [0x1008bfec]
add esp, 0xc
lea ecx, [esp + 0x50]
mov edx, 0x100849ac
call fcn.1003c88a
jmp 0x1003f8d8