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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x188
mov eax, dword [edx + 4]
mov dword [esp + 0x18], ecx
xor edi, edi
mov dword [esp + 0x14], edx
mov dword [esp + 4], 0
mov dword [esp + 8], eax
shl eax, 5
lea ecx, [eax + eax*2]
mov eax, dword [edx]
mov esi, eax
nop word cs:[eax + eax]
nop dword [eax]
mov edx, esi
mov esi, dword [esp + 4]
cmp ecx, esi
je 0x1003713f
add esi, 0x60
inc edi
mov dword [esp + 4], esi
mov esi, dword [ebp + 8]
cmp esi, dword [edx + 0x38]
mov esi, dword [ebp + 0xc]
sbb esi, dword [edx + 0x3c]
lea esi, [edx + 0x60]
jb 0x10036950
mov ebx, dword [ebp + 8]
mov dword [esp + 0x2c], edi
mov edi, dword [edx + 0x44]
cmp dword [edx + 0x40], ebx
sbb edi, dword [ebp + 0xc]
mov edi, dword [esp + 0x2c]
jb 0x10036950
lea esi, [edi - 1]
mov edi, dword [esp + 8]
cmp esi, edi
jae 0x1003711d
mov edx, dword [esp + 4]
mov ecx, dword [eax + edx - 0x28]
mov eax, dword [eax + edx - 0x24]
xor ecx, dword [ebp + 8]
xor eax, dword [ebp + 0xc]
or eax, ecx
jne 0x100369c4
mov eax, dword [esp + 0x18]
mov dword [eax + 4], esi
mov dword [eax], 0
jmp 0x10036fb2
inc edi
mov bl, 7
je 0x100369fb
mov eax, dword [esp + 0x14]
mov bl, 8
cmp edi, dword [eax + 8]
jbe 0x100369fb
mov ecx, edi
call fcn.100032d0
cmp eax, edi
jbe 0x100369ee
mov ecx, dword [esp + 0x14]
mov edx, eax
call fcn.10027030
cmp al, 8
je 0x100369fb
mov ecx, dword [esp + 0x14]
mov edx, edi
call fcn.10027030
mov ebx, eax
mov byte [esp + 0xc], bl
mov dword [esp + 0x4c], esi
xor ebx, ebx
lea esi, [0x5083069]
lea edx, [0x508306a]
mov eax, 0xfffffff9
mov dword [esp + 8], 0
nop
movzx ecx, byte [esi]
mov esi, edx
mov edx, ecx
add dl, 0xd0
cmp dl, 0xa
jb 0x10036a45
or cl, 0x20
mov edx, ecx
add dl, 0x9f
cmp dl, 6
jae 0x10037158
add cl, 0xa9
mov edx, ecx
mov ecx, ebx
movzx edi, dl
lea edx, [esi + 1]
shl ecx, 4
or edi, ecx
test eax, eax
cmove edx, esi
je 0x10036a66
shld dword [esp + 8], ebx, 4
inc eax
test esi, esi
mov ebx, edi
jne 0x10036a20
movzx eax, byte [esp + 0xc]
cmp al, 8
jne 0x10036bef
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x4c]
mov edi, dword [eax + 8]
mov esi, dword [eax + 4]
cmp esi, edi
mov edx, edi
cmovb edx, esi
cmp ecx, edx
jae 0x10037130
mov edx, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [esp + 0x6c], edi
mov edi, dword [ebp + 0xc]
mov ebx, dword [esp + 4]
mov dword [esp + 0x70], esi
xor esi, esi
mov eax, edx
mov dword [esp + 8], ecx
or eax, edi
mov eax, ecx
mov ecx, dword [ecx + ebx - 0x24]
cmove ecx, esi
mov dword [esp + 0xc], ecx
mov ecx, 1
cmovne ecx, dword [eax + ebx - 0x28]
sub edx, 1
mov eax, ebx
mov ebx, dword [esp + 8]
sbb edi, 0
cmovb edi, esi
cmovb edx, esi
mov esi, edi
cmp edx, ecx
sbb esi, dword [esp + 0xc]
mov esi, dword [ebx + eax - 0x20]
mov dword [esp + 0x7c], esi
mov esi, dword [ebx + eax - 0x1c]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x80]
mov byte [esp + 0x90], 2
mov dword [esp + 0x34], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], edx
mov byte [esp + 0x40], 0
mov dword [esp + 0x78], esi
cmovb eax, ecx
mov ecx, dword [eax + 0x11]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x1f], eax
setb al
movsd qword [esp + 0x58], xmm0
movsd qword [esp + 0x60], xmm1
jb 0x10037171
mov edx, dword [esp + 4]
add al, al
movsd xmm0, qword [esp + 0x58]
movsd xmm1, qword [esp + 0x60]
mov ecx, dword [esp + 0x1f]
mov esi, 0xfffff000
mov byte [esp + 0x13], al
lea eax, [ebx + edx - 0x60]
movsd qword [esp + 0x118], xmm1
movsd qword [esp + 0x110], xmm0
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x53], ecx
mov edi, dword [ebx + edx - 0xc]
mov ecx, dword [ebx + edx - 0x10]
lea eax, [edi*8]
lea edx, [eax + eax*2]
mov eax, 0xffffffff
nop word cs:[eax + eax]
test edx, edx
je 0x10036c4d
mov ebx, dword [ecx]
inc eax
add edx, 0xffffffe8
and ebx, esi
cmp ebx, dword [ebp + 8]
mov ebx, dword [ecx + 4]
lea ecx, [ecx + 0x18]
sbb ebx, dword [ebp + 0xc]
mov ebx, dword [esp + 8]
jb 0x10036bb0
cmp edi, eax
jae 0x10036c4f
mov ecx, 0x50809a0
mov edx, 0x22
push 0x50809c4
call fcn.100053c0
add esp, 4
ud2
movzx eax, al
mov edx, 0xa
xor edi, 0x14b
mov ecx, dword [eax*4 + 0x507ef50]
mov ebx, dword [eax*4 + 0x507ef70]
mov dword [esp + 4], ecx
mov ecx, 0x507edeb
call fcn.100091f0
mov edx, dword [esp + 4]
mov ecx, ebx
mov esi, eax
call fcn.100091f0
mov edx, dword [esp + 0x18]
test esi, esi
mov ecx, 1
cmove esi, ecx
test eax, eax
cmove eax, ecx
mov dword [edx], esi
mov dword [edx + 4], eax
mov dword [edx + 8], edi
mov dword [edx + 0xc], 0
jmp 0x10036fb2
mov eax, edi
mov edx, edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], 8
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
sub edx, eax
mov dword [esp + 0x28], edx
call fcn.10026f30
mov ecx, dword [esp + 0x38]
movsd xmm0, qword [esp + 0x30]
mov esi, dword [esp + 4]
cmp al, 8
mov dword [esp + 0x88], ecx
movsd qword [esp + 0x80], xmm0
jne 0x10036d15
mov eax, dword [esp + 0x30]
movzx ecx, byte [esp + 0x34]
test eax, eax
mov dword [esp + 0xc], eax
je 0x10036d25
movzx edx, byte [esp + 0x37]
movzx eax, cl
movzx ecx, word [esp + 0x35]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
shl edx, 0x10
or ecx, edx
xor edx, edx
shl ecx, 8
add ecx, dword [esp + 0x24]
mov dword [esp + 0x24], eax
sub eax, ecx
cmovb eax, edx
mov edx, dword [ebx + esi - 8]
cmp edi, edx
cmovb edx, edi
cmp edx, eax
jb 0x1003718a
mov edx, dword [esp + 0xc]
lea ecx, [ecx + ecx*2]
sub edi, eax
shl eax, 3
lea eax, [eax + eax*2]
lea ecx, [edx + ecx*8]
lea edx, [edi + edi*2]
shl edx, 3
add edx, dword [ebx + esi - 0x10]
push eax
push edx
push ecx
call 0x1006d710
add esp, 0xc
mov dword [ebx + esi - 0xc], edi
jmp 0x10036d34
lea ecx, [esp + 0x80]
mov ebx, eax
call fcn.10027220
mov ecx, ebx
movzx eax, cl
mov dword [esp + 0xc], 0
mov dword [esp + 0x28], eax
xor edi, edi
lea edx, [0x5083069]
lea esi, [0x508306a]
mov eax, 0xfffffff9
xor ebx, ebx
nop dword [eax]
movzx ecx, byte [edx]
mov edx, esi
mov ch, cl
add ch, 0xd0
cmp ch, 0xa
jb 0x10036d75
or cl, 0x20
mov ch, cl
add ch, 0x9f
cmp ch, 6
jae 0x10037158
add cl, 0xa9
mov ch, cl
mov esi, edi
movzx ecx, ch
shl esi, 4
or ecx, esi
lea esi, [edx + 1]
test eax, eax
cmove esi, edx
je 0x10036d94
shld ebx, edi, 4
inc eax
test edx, edx
mov edi, ecx
jne 0x10036d50
cmp dword [esp + 0xc], 0
je 0x10036f56
movsd xmm0, qword [esp + 0x110]
movsd xmm1, qword [esp + 0x118]
mov edx, dword [esp + 0x74]
mov edi, dword [esp + 4]
mov esi, dword [esp + 8]
movzx eax, byte [esp + 0x13]
mov ebx, dword [esp + 0x78]
movsd qword [edx + 0x40], xmm1
movsd qword [edx + 0x38], xmm0
mov byte [esi + edi - 0x18], al
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x53]
mov dword [esi + edi - 0x17], eax
mov dword [esi + edi - 0x14], ecx
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x7c]
mov ecx, dword [ebp + 0xc]
mov eax, ebx
mov byte [esp + 0x90], 2
cmp edi, esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], edi
mov byte [esp + 0x40], 0
sbb eax, ecx
lea eax, [esp + 0x80]
lea ecx, [esp + 0x30]
cmovb ecx, eax
mov eax, dword [ecx + 0x11]
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x1f], ecx
movsd qword [esp + 0x58], xmm0
movsd qword [esp + 0x60], xmm1
jb 0x10037171
movsd xmm0, qword [esp + 0x58]
movsd xmm1, qword [esp + 0x60]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1f]
movsd qword [esp + 0xc0], xmm1
movsd qword [esp + 0xb8], xmm0
mov byte [esp + 0xc8], 0
mov dword [esp + 0xc9], eax
mov dword [esp + 0xcc], ecx
lea ecx, [esp + 0x80]
call fcn.10041e20
movsd xmm2, qword [esp + 0xa0]
movsd xmm1, qword [esp + 0xa8]
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x80]
movsd xmm0, qword [esp + 0x90]
mov edi, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
movsd qword [esp + 0xe0], xmm2
movsd qword [esp + 0xe8], xmm1
movsd xmm2, qword [esp + 0xb0]
movsd xmm1, qword [esp + 0xb8]
mov dword [esp + 0xd8], edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x84]
movsd qword [esp + 0xd0], xmm0
movsd qword [esp + 0xf0], xmm2
movsd qword [esp + 0xf8], xmm1
movsd xmm2, qword [esp + 0xc0]
movsd xmm1, qword [esp + 0xc8]
cmp edx, 6
movsd qword [esp + 0x100], xmm2
movsd qword [esp + 0x108], xmm1
jne 0x10036fba
mov ebx, dword [esp + 8]
jmp 0x10036fa7
movzx eax, byte [esp + 0x28]
xor ecx, 0xb1
mov edi, ecx
mov ecx, 0x507edeb
shl eax, 2
mov edx, dword [eax + 0x507ef50]
mov esi, dword [eax + 0x507ef70]
mov dword [esp + 4], edx
mov edx, 0xa
call fcn.100091f0
mov edx, dword [esp + 4]
mov ecx, esi
mov ebx, eax
call fcn.100091f0
mov esi, dword [esp + 0x18]
test eax, eax
mov ecx, 1
cmove eax, ecx
test ebx, ebx
cmove ebx, ecx
xor ecx, ecx
mov dword [esi], ebx
mov dword [esi + 4], eax
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [esp + 0xd8]
movsd xmm0, qword [esp + 0xd0]
movsd xmm1, qword [esp + 0xe8]
movsd xmm2, qword [esp + 0xf0]
movsd xmm3, qword [esp + 0xe0]
mov dword [esp + 0x138], esi
movsd qword [esp + 0x130], xmm0
movsd qword [esp + 0x148], xmm1
movsd xmm1, qword [esp + 0xf8]
movsd qword [esp + 0x150], xmm2
movsd xmm2, qword [esp + 0x100]
mov esi, dword [esp + 8]
movsd qword [esp + 0x140], xmm3
movsd qword [esp + 0x158], xmm1
movsd xmm1, qword [esp + 0x108]
movsd qword [esp + 0x160], xmm2
movsd qword [esp + 0x168], xmm1
mov dword [esp + 0x120], esi
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], edi
mov edi, dword [esp + 0x70]
mov dword [esp + 0x12c], ecx
mov dword [esp + 0x13c], edx
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x28]
inc edi
mov dword [esp + 0x170], edx
mov dword [esp + 0x174], ecx
mov dword [esp + 0x178], ebx
je 0x100371a3
cmp edi, dword [esp + 0x6c]
mov esi, dword [esp + 0x14]
jbe 0x100370c8
mov ecx, edi
call fcn.100032d0
cmp eax, edi
jbe 0x100370b7
mov ecx, esi
mov edx, eax
call fcn.10027030
cmp al, 8
je 0x100370c8
mov ecx, esi
mov edx, edi
call fcn.10027030
cmp al, 8
jne 0x100371ab
mov ebx, dword [esi + 4]
cmp ebx, dword [esp + 0x4c]
jbe 0x100371a7
mov eax, dword [esi]
mov ecx, dword [esp + 4]
lea edi, [eax + ecx]
lea eax, [eax + ecx + 0x60]
mov ecx, ebx
sub ecx, dword [esp + 0x2c]
shl ecx, 5
lea ecx, [ecx + ecx*2]
push ecx
push edi
push eax
call 0x1006d710
add esp, 0xc
mov eax, esi
lea esi, [esp + 0x120]
mov ecx, 0x18
inc ebx
rep movsd dword es:[edi], dword [esi]
mov dword [eax + 4], ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
jmp 0x100369b9
mov ecx, esi
mov edx, edi
push 0x50830c4
call fcn.10004a00
add esp, 4
ud2
push 0x50830d4
call fcn.10004a00
add esp, 4
ud2
mov ecx, 0x50869e4
mov edx, 0x2b
push 0x5083120
call fcn.100053c0
add esp, 4
ud2
mov ecx, 0x50851ac
mov edx, 0xe
push 0x507ed4c
call fcn.100053c0
add esp, 4
ud2
mov ecx, 0x50869e4
mov edx, 0x2b
push 0x5083e84
call fcn.100053c0
add esp, 4
ud2
mov ecx, 0x5080a50
mov edx, 0x30
push 0x5080a80
call fcn.100053c0
add esp, 4
ud2
mov bl, 7
jmp 0x100371ad
mov bl, 8
jmp 0x100371ad
mov ebx, eax
lea ecx, [esp + 0x120]
call fcn.10027130
mov byte [esp + 0x80], bl
mov ecx, 0x50867d4
mov edx, 0x2b
push 0x50830f0
push 0x5083290
lea eax, [esp + 0x88]
push eax
call fcn.10005c10
add esp, 0xc
ud2