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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x88
mov edi, dword [ebp + 8]
mov dword [esp + 4], ecx
xor ecx, ecx
mov dword [esp + 0x50], edx
mov ebx, dword [ebp + 0xc]
movzx eax, byte [edi + 0xc9]
mov esi, dword [edi + 0xf0]
cmp al, 8
mov byte [esp + 0x24], al
mov eax, dword [edi + 0xcc]
mov dword [esp + 0x1c], esi
sete cl
mov dword [esp + 8], eax
lea edx, [eax + ecx*8 + 4]
mov eax, dword [edi + 0xc4]
sub edx, eax
sub ebx, edx
lea edx, [edi + 0xa8]
lea edi, [esi + 8]
jb 0x1002d24d
cmp ebx, eax
jae 0x1002d24d
mov ebx, dword [esp + 8]
mov esi, dword [ebp + 0xc]
lea ecx, [ecx*8 + 4]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
mov edx, esi
sub esi, ecx
lea edi, [ecx + ebx]
mov ecx, dword [ebp + 8]
not edx
sub esi, ebx
add edx, edi
mov dword [esp + 0xc], edx
add eax, dword [ecx + 0xc0]
xor ecx, ecx
mov edi, eax
nop word cs:[eax + eax]
nop
movzx eax, byte [edi + esi]
cmp ecx, 0x3f
mov byte [esp + 8], al
jne 0x1002d201
cmp al, 2
jae 0x1002d266
movzx eax, byte [esp + 8]
mov edx, esi
xor esi, esi
mov ebx, edi
mov edi, 0
and al, 0x7f
movzx eax, al
shld esi, eax, cl
shl eax, cl
test cl, 0x20
cmovne esi, eax
cmovne eax, edi
mov edi, dword [esp + 0x18]
or dword [esp + 0x10], eax
or edi, esi
cmp byte [esp + 8], 0
mov dword [esp + 0x18], edi
jns 0x1002d284
dec dword [esp + 0xc]
mov esi, edx
add ecx, 7
mov edi, ebx
inc esi
jne 0x1002d1f0
xor ecx, ecx
mov bl, 0x13
jmp 0x1002d268
mov eax, dword [esp + 4]
mov dword [eax], 0x38
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], 0
jmp 0x1002d27c
mov bl, 6
mov eax, dword [esp + 4]
movzx edx, byte [esp + 8]
mov byte [eax], bl
mov byte [eax + 1], dl
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 0x10]
lea eax, [ebx + edx + 1]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x54], eax
or ecx, edi
mov dword [esp + 0x58], edx
je 0x1002d368
mov edx, dword [esp + 0x1c]
test edi, edi
jne 0x1002d2bd
mov eax, dword [esp + 0x10]
dec eax
cmp eax, dword [edx + 0x10]
jae 0x1002d2bd
imul ecx, eax, 0x68
add ecx, dword [edx + 0xc]
jmp 0x1002d37f
mov eax, dword [edx + 0x14]
mov bl, 0x12
test eax, eax
je 0x1002d268
mov ecx, dword [edx + 0x18]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], eax
movzx eax, word [eax + 0x4d6]
mov esi, 0xffffffff
lea ecx, [eax*8]
mov dword [esp + 0x4c], eax
nop dword [eax + eax]
test ecx, ecx
je 0x1002d341
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov edx, dword [eax + esi*8 + 8]
mov eax, dword [eax + esi*8 + 0xc]
mov dword [esp + 0xc], eax
xor eax, edi
mov edi, edx
mov dword [esp + 0x1c], edx
xor edx, edx
xor edi, ebx
or edi, eax
mov edi, dword [esp + 0x18]
setne dl
cmp ebx, dword [esp + 0x1c]
mov eax, edi
sbb eax, dword [esp + 0xc]
mov eax, 0xff
cmovb edx, eax
inc esi
add ecx, 0xfffffff8
cmp dl, 1
je 0x1002d2f0
movzx eax, dl
test eax, eax
jne 0x1002d345
jmp 0x1002d374
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x20]
mov bl, 0x12
sub eax, 1
jb 0x1002d268
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + esi*4 + 0x4d8]
jmp 0x1002d2cd
mov eax, dword [esp + 4]
mov byte [eax], 0x37
jmp 0x1002d27c
mov ecx, dword [esp + 0x14]
imul eax, esi, 0x68
lea ecx, [ecx + eax + 0x58]
cmp byte [ecx + 0x62], 1
jne 0x1002d38d
mov dword [esp + 0x64], 1
call fcn.1000d160
test edx, edx
je 0x1002d549
mov ebx, eax
mov eax, dword [ebp + 8]
mov edi, edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x2e
mov dword [esp + 0xc], 0
shl edi, 4
mov eax, dword [eax + 0xf4]
mov dword [esp + 8], eax
movzx eax, byte [esp + 0x24]
mov dword [esp + 0x18], eax
jmp 0x1002d41f
cmp eax, 3
je 0x1002d4bb
cmp eax, 0x31
jne 0x1002d413
lea ecx, [esp + 0x28]
lea edx, [esp + 0x68]
call fcn.10026ab0
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x1c], ecx
add ebx, 0x10
add edi, 0xfffffff0
je 0x1002d520
movsd xmm0, qword [ebx]
movsd xmm1, qword [ebx + 8]
mov eax, dword [esp + 0x5c]
lea esi, [esp + 0x28]
lea ecx, [esp + 0x68]
lea edx, [esp + 0x54]
movsd qword [esp + 0x30], xmm1
movsd qword [esp + 0x28], xmm0
push esi
push dword [eax + 0x20]
call fcn.10021980
add esp, 8
mov eax, dword [esp + 0x68]
xor eax, 0x2e
or eax, dword [esp + 0x6c]
je 0x1002d502
movzx eax, word [esp + 0x78]
cmp eax, 0x46
jle 0x1002d3e0
cmp eax, 0x47
je 0x1002d3ee
cmp eax, 0x6e
je 0x1002d484
cmp eax, 0x2007
jne 0x1002d413
lea esi, [esp + 0x28]
lea edx, [esp + 0x68]
mov ecx, esi
call fcn.10026ab0
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x38]
push esi
push dword [esp + 0xc]
push dword [esp + 0x20]
call fcn.1002ccc0
add esp, 0xc
cmp byte [esp + 0x38], 0x4b
jne 0x1002d413
jmp 0x1002d55c
lea esi, [esp + 0x28]
lea edx, [esp + 0x68]
mov ecx, esi
call fcn.10026ab0
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x38]
push esi
push dword [esp + 0xc]
push dword [esp + 0x20]
call fcn.1002ccc0
add esp, 0xc
cmp byte [esp + 0x38], 0x4b
jne 0x1002d413
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], ecx
jmp 0x1002d413
movsd xmm0, qword [esp + 0x70]
mov eax, dword [esp + 4]
movsd xmm1, qword [esp + 0x78]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
jmp 0x1002d27c
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x1002d538
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
jmp 0x1002d554
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov eax, edx
xor eax, 0x2e
or eax, ebx
jne 0x1002d576
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov byte [eax], 0x4b
jmp 0x1002d27c
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x40]
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
mov byte [edx], 0x4b
jmp 0x1002d27c
mov esi, dword [ebp + 0x18]
movzx eax, byte [esp + 0x50]
mov ecx, dword [esp + 4]
dec esi
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
push eax
push dword [esp + 0x30]
push ebx
call fcn.1002cec0
add esp, 0x1c
jmp 0x1002d27c