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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x48], 0xffffffff
mov edi, dword [ebx + 8]
mov esi, dword [ebx]
mov dword [esp + 0x18], 0
mov dword [esp + 0x38], 1
movzx eax, byte [edi + 0x10]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x2c], esi
lea ecx, [eax + eax*8]
mov eax, dword [esi + 4]
lea ecx, [ecx + 1]
test byte [eax + ecx*8 + 0x28], 2
lea edx, [eax + ecx*8]
mov ecx, dword [edx + 0x10]
mov eax, dword [ebx + 4]
mov dword [esp + 0x10], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], eax
je 0x1009dd38
mov ebx, dword [edx + 0x44]
jmp 0x1009dde5
test byte [ecx + 0x1c], 0x80
je 0x1009dd46
mov ebx, dword [ecx + 8]
jmp 0x1009dde5
xorps xmm0, xmm0
mov dword [esp + 0x58], 0
lea eax, [esp + 0x48]
movlpd qword [esp + 0x8f], xmm0
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x60], eax
movlpd qword [esp + 0x68], xmm0
movlpd qword [esp + 0x70], xmm0
movlpd qword [esp + 0x78], xmm0
movlpd qword [esp + 0x80], xmm0
movlpd qword [esp + 0x97], xmm0
mov byte [esp + 0x9f], 0
mov dword [esp + 0x8a], 0x10001
mov byte [esp + 0x8e], 5
mov dword [esp + 0x64], ecx
movzx eax, word [ecx + 0x28]
or dword [esp + 0x90], 3
mov word [esp + 0x88], ax
movzx eax, word [ecx + 0x26]
mov word [esp + 0x3c], ax
xor eax, eax
mov word [esp + 0x3e], ax
test byte [edx + 0x28], 1
jne 0x1009dde1
mov eax, dword [edx + 0x10]
mov eax, dword [eax + 8]
mov dword [esp + 0x6c], eax
lea ebx, [esp + 0x58]
mov eax, ecx
mov dword [esp + 0x20], ebx
mov ecx, 0x1c
add ecx, eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x34], ecx
cmp dword [eax + 0xc], 0
jne 0x1009df59
mov eax, 0x1020
test word [esi + 0x28], ax
jne 0x1009df59
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
and eax, 0x8000
or eax, 0
je 0x1009df59
test byte [edx + 0x28], 0x4b
jne 0x1009df59
test byte [ecx], 0x80
jne 0x1009df59
test byte [edx + 0x24], 0x10
jne 0x1009df59
mov eax, dword [esp + 0x30]
mov esi, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*2]
shl eax, 4
add eax, esi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
movzx eax, word [eax + 0x26]
push eax
mov dword [esp + 0x28], eax
call fcn.10027820
movzx eax, ax
add esp, 4
mov dword [esp + 0x14], eax
cmp esi, dword [esp + 0x1c]
jae 0x1009df55
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0xc]
and ecx, dword [esi + 0x20]
and eax, dword [esi + 0x24]
or ecx, eax
jne 0x1009df3f
push ecx
push ecx
push dword [esp + 0x18]
push esi
call fcn.10094010
add esp, 0x10
test eax, eax
je 0x1009df3f
mov eax, dword [edi + 0x38]
mov ecx, 1
mov edx, dword [esp + 0x28]
mov word [edi + 0x18], cx
mov dword [edi + 0x30], ecx
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x20], 0
mov dword [eax], esi
mov eax, dword [esp + 0x24]
add eax, ecx
mov word [edi + 0x12], ax
cmp byte [edx + 0x2b], 2
je 0x1009deec
mov edx, dword [esp + 0x34]
test dword [edx], 0x4000
jne 0x1009deec
add eax, 0x1c
jmp 0x1009deef
add eax, 0xfffffff6
movzx eax, ax
mov word [edi + 0x12], ax
test ax, ax
jns 0x1009df01
xor eax, eax
mov word [edi + 0x12], ax
mov eax, 0x2b
push eax
push ecx
mov word [edi + 0x16], ax
call fcn.10065920
mov ecx, dword [ebp + 0xc]
mov word [edi + 0x14], ax
mov dword [edi + 0x2c], 0x4000
mov eax, dword [esi + 0x24]
or ecx, dword [esi + 0x20]
or eax, dword [ebp + 0x10]
push edi
push dword [ebp + 8]
mov dword [edi], ecx
mov dword [edi + 4], eax
call fcn.1009fdc0
add esp, 0x10
mov dword [esp + 0x18], eax
jmp 0x1009df43
mov eax, dword [esp + 0x18]
add esi, 0x30
test eax, eax
je 0x1009de76
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
nop dword [eax]
test ebx, ebx
je 0x1009e2fc
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x1009df8c
push eax
push dword [esp + 0x34]
movzx eax, byte [edx + 0x24]
push eax
push dword [edx + 0x2c]
call fcn.100a2300
add esp, 0x10
test eax, eax
je 0x1009e2ce
test dword [ebx + 0x38], 0x100
jne 0x1009e2ce
mov eax, dword [ebx + 8]
xor ecx, ecx
movzx eax, word [eax]
mov dword [edi + 0x18], ecx
mov word [edi + 0x1c], cx
mov dword [edi + 0x30], ecx
mov byte [edi + 0x11], cl
mov word [edi + 0x12], cx
mov ecx, dword [ebp + 0xc]
mov word [edi + 0x16], ax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
mov dword [edi], ecx
mov ecx, dword [ebp + 0x10]
mov dword [edi + 4], ecx
mov dword [edi + 0x20], ebx
push dword [eax + 0x2c]
push ebx
push dword [ebp + 8]
call fcn.10032750
mov edx, dword [ebx + 0x38]
add esp, 0xc
mov ecx, edx
mov esi, eax
and ecx, 3
mov dword [esp + 0x1c], esi
cmp cl, 3
jne 0x1009e056
mov eax, dword [esp + 0x38]
xor ecx, ecx
test esi, esi
movzx eax, al
mov esi, dword [esp + 0x24]
cmovne ecx, eax
mov dword [edi + 0x2c], 0x100
mov byte [edi + 0x11], cl
lea eax, [esi + 0x10]
mov word [edi + 0x14], ax
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x2b], 2
je 0x1009e027
mov eax, dword [esp + 0x34]
test dword [eax], 0x4000
je 0x1009e02e
mov dword [edi + 0x2c], 0x2000100
push esi
push edi
push dword [esp + 0x38]
call fcn.100a0070
push edi
push dword [ebp + 8]
call fcn.1009fdc0
add esp, 0x14
mov word [edi + 0x16], si
test eax, eax
jne 0x1009e2fc
jmp 0x1009e2a1
test dl, 0x20
je 0x1009e077
xorps xmm0, xmm0
mov eax, 0x240
movlpd qword [esp + 0x40], xmm0
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x14], edx
jmp 0x1009e0bf
mov eax, dword [esp + 0x10]
mov esi, dword [ebx + 0x40]
mov edx, dword [ebx + 0x44]
and esi, dword [eax + 0x38]
and edx, dword [eax + 0x3c]
mov dword [esp + 0x14], edx
test esi, esi
jne 0x1009e0af
cmp edx, 0x80000000
jne 0x1009e0af
push dword [eax + 0x2c]
push ebx
push dword [esp + 0x34]
call fcn.1009d830
add esp, 0xc
mov esi, eax
xor edx, edx
mov dword [esp + 0x14], edx
mov ecx, esi
mov eax, 0x240
or ecx, edx
je 0x1009e0bf
mov eax, 0x200
cmp dword [esp + 0x1c], 0
mov dword [edi + 0x2c], eax
jne 0x1009e131
mov eax, dword [esp + 0x34]
test byte [eax], 0x80
jne 0x1009e131
cmp dword [ebx + 0x24], 0
jne 0x1009e131
mov eax, dword [esp + 0x10]
test byte [eax + 0x28], 2
jne 0x1009e131
mov eax, esi
or eax, edx
jne 0x1009e2a1
test byte [ebx + 0x38], 4
jne 0x1009e2a1
mov ecx, dword [esp + 0x28]
mov ax, word [ebx + 0x30]
cmp ax, word [ecx + 0x28]
jge 0x1009e2a1
mov eax, dword [esp + 0x2c]
test byte [eax + 0x28], 4
jne 0x1009e2a1
cmp byte [0x100bc0df], 0
je 0x1009e2a1
mov eax, dword [eax]
mov eax, dword [eax]
test byte [eax + 0x50], 0x20
jne 0x1009e2a1
mov eax, dword [esp + 0x38]
xor ecx, ecx
cmp dword [esp + 0x1c], ecx
movzx eax, al
cmovne ecx, eax
mov byte [edi + 0x11], cl
movsx ecx, word [ebx + 0x30]
mov eax, ecx
shl eax, 4
sub eax, ecx
mov ecx, dword [esp + 0x28]
cdq
movsx ecx, word [ecx + 0x28]
idiv ecx
mov ecx, dword [esp + 0x24]
inc eax
add eax, ecx
or esi, dword [esp + 0x14]
mov word [edi + 0x14], ax
je 0x1009e263
lea eax, [ecx + 0x10]
xor ecx, ecx
movzx esi, ax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0x5c], ecx
jle 0x1009e24d
mov edi, dword [esp + 0x20]
xor edx, edx
mov dword [esp + 0x1c], edx
nop dword [eax]
mov ebx, dword [eax + 0x68]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x40]
add ebx, edx
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0xbc], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx]
mov dword [esp + 0xa4], 0
movlpd qword [esp + 0xac], xmm0
movlpd qword [esp + 0xb4], xmm0
mov dword [esp + 0x50], edi
mov dword [esp + 0xa8], 0x1002a7f0
test eax, eax
je 0x1009e20a
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.1009cbd0
mov ecx, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x1c]
cmp word [esp + 0xb8], 0
jne 0x1009e245
movzx eax, word [ebx + 8]
test ax, ax
jg 0x1009e222
add esi, eax
jmp 0x1009e22c
dec esi
test byte [ebx + 0xc], 0x82
je 0x1009e22c
sub esi, 0x13
mov eax, dword [esp + 0x2c]
inc ecx
add edx, 0x30
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], edx
cmp ecx, dword [eax + 0x5c]
jl 0x1009e1a0
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x20]
movzx eax, word [edi + 0x14]
push esi
push eax
call fcn.10065920
mov ecx, dword [esp + 0x2c]
add esp, 8
mov word [edi + 0x14], ax
push ecx
push edi
push dword [esp + 0x38]
call fcn.100a0070
mov eax, dword [esp + 0x1c]
add esp, 0xc
test byte [eax + 0x24], 0x10
je 0x1009e281
cmp dword [ebx + 0x28], 0
jne 0x1009e291
push edi
push dword [ebp + 8]
call fcn.1009fdc0
add esp, 8
mov ecx, eax
jmp 0x1009e295
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov word [edi + 0x16], ax
test ecx, ecx
jne 0x1009e2fa
mov esi, dword [ebp + 8]
push 0
push ebx
push dword [esp + 0x18]
mov byte [esi + 0x10], 0
push esi
call fcn.1009e310
add esp, 0x10
mov dword [esp + 0x18], eax
cmp byte [esi + 0x10], 1
jne 0x1009e2d2
mov ecx, dword [esp + 0x34]
or dword [ecx], 0x100
jmp 0x1009e2d2
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
test byte [edx + 0x28], 2
je 0x1009e2e0
xor ebx, ebx
jmp 0x1009e2e3
mov ebx, dword [ebx + 0x14]
inc dword [esp + 0x38]
mov dword [esp + 0x20], ebx
test eax, eax
je 0x1009df60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret