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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xe0
mov eax, dword [edx + 8]
mov dword [esp + 0xc], ecx
cmp eax, 0x7fffffff
jae 0x1003598e
mov dword [esp + 0x84], eax
inc eax
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [esp + 8], edx
mov dword [edx + 8], eax
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 0xc]
and ebx, 0xfffff000
mov edx, ecx
shl eax, 5
add edx, 0xffffffa0
lea eax, [eax + eax*2]
nop dword [eax]
test eax, eax
je 0x10035943
add eax, 0xffffffa0
cmp ebx, dword [edx + 0x98]
mov ecx, edx
mov edx, edi
sbb edx, dword [ecx + 0x9c]
lea edx, [ecx + 0x60]
jb 0x10035210
mov esi, dword [ecx + 0xa4]
cmp dword [ecx + 0xa0], ebx
sbb esi, edi
jb 0x10035210
mov eax, edx
mov edx, dword [edx + 0x50]
mov dword [esp + 4], ebx
mov ecx, dword [eax + 0x54]
mov dword [esp + 0x2c], eax
add edx, 0xfffffff0
shl ecx, 3
lea ecx, [ecx + ecx*2]
nop dword [eax]
test ecx, ecx
je 0x100352c2
mov eax, dword [edx + 0x10]
mov esi, dword [edx + 0x14]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 4]
xor ebx, ebx
mov dword [esp + 0x34], eax
and eax, 0xfffff000
mov dword [esp + 0x30], esi
xor esi, edi
mov edi, eax
xor edi, edx
or edi, esi
mov edi, dword [ebp + 0xc]
mov esi, dword [esp + 0x30]
setne bl
cmp edx, eax
mov edx, dword [esp + 0x10]
mov eax, edi
sbb eax, esi
mov eax, 0xff
cmovb ebx, eax
add edx, 0x18
add ecx, 0xffffffe8
cmp bl, 1
je 0x10035260
mov ecx, dword [esp + 0x34]
movzx eax, bl
cmp eax, 0xff
jne 0x10035412
mov edx, dword [esp + 0x2c]
lea esi, [esp + 0xa0]
mov ecx, esi
call fcn.10041e20
mov eax, dword [esp + 8]
dec dword [eax + 8]
lea eax, [esp + 0x38]
push dword [ebp + 0x10]
push edi
push dword [ebp + 8]
push esi
push eax
call fcn.10040cd0
add esp, 0x14
xor esi, esi
lea edi, [0x14283069]
lea edx, [0x1428306a]
mov eax, 0xfffffff9
mov dword [esp + 0x10], 0
nop dword [eax + eax]
movzx ebx, byte [edi]
mov edi, edx
mov edx, ebx
add dl, 0xd0
cmp dl, 0xa
jb 0x10035335
or bl, 0x20
mov edx, ebx
add dl, 0x9f
cmp dl, 6
jae 0x1003595c
add bl, 0xa9
mov edx, ebx
mov ecx, esi
movzx ebx, dl
lea edx, [edi + 1]
shl ecx, 4
or ebx, ecx
test eax, eax
cmove edx, edi
je 0x10035356
shld dword [esp + 0x10], esi, 4
inc eax
test edi, edi
mov esi, ebx
jne 0x10035310
mov edx, dword [esp + 0x38]
cmp edx, 3
jne 0x100353b4
mov esi, dword [esp + 0x44]
movsd xmm0, qword [esp + 0x3c]
mov edi, dword [esp + 0x48]
mov eax, dword [0x14287000]
xor ebx, 0x163
lea ecx, [esp + 0x58]
mov dword [esp + 0x74], esi
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x78], edi
push 4
push 8
push 0x14286800
push ecx
call dword [eax + 0xc]
add esp, 0x10
cmp byte [esp + 0x58], 0
je 0x10035439
lea ecx, [esp + 0x74]
call fcn.10004080
xor eax, eax
jmp 0x10035442
test edx, edx
je 0x1003549e
movsd xmm0, qword [esp + 0x3c]
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
cmp edx, 1
jne 0x100354ea
mov eax, dword [ebp + 8]
mov edx, ecx
not dl
and al, dl
mov edx, dword [esp + 4]
test al, 0x3f
jne 0x100359b1
mov eax, dword [ebp + 0xc]
movzx ecx, cl
movlps qword [esp + 0x90], xmm0
mov dword [esp + 0x98], esi
or edx, ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
jmp 0x100354a9
mov eax, ecx
mov ecx, dword [ebp + 8]
not al
and cl, al
test cl, 0x3f
je 0x10035479
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x84]
mov ebx, 3
jmp 0x100356f9
mov eax, dword [esp + 0x5c]
mov dword [eax], esi
mov dword [eax + 4], edi
mov edx, dword [esp + 0xc]
movaps xmm0, xmmword [esp + 0x10]
mov ecx, eax
shr ecx, 8
movlps qword [edx + 4], xmm0
mov dword [edx + 0xc], ebx
mov word [edx + 0x11], cx
mov ecx, eax
shr ecx, 0x18
mov byte [edx + 0x13], cl
mov byte [edx + 0x10], al
lea eax, [esp + 0xa0]
mov dword [edx], 1
push eax
jmp 0x10035750
mov eax, dword [edx]
test eax, eax
mov dword [esp + 0x2c], eax
je 0x100356b2
cmp eax, 1
jne 0x100356bb
mov eax, dword [edx + 4]
inc dword [eax]
mov dword [esp + 0x10], eax
jmp 0x100356e9
mov dword [esp + 0x90], 3
mov eax, dword [esp + 0xc]
movsd xmm0, qword [esp + 0x98]
movsd xmm2, qword [esp + 0x88]
movsd xmm1, qword [esp + 0x90]
lea ecx, [esp + 0xa0]
movsd qword [eax + 0x18], xmm0
movsd qword [eax + 0x10], xmm1
movsd qword [eax + 8], xmm2
mov dword [eax], 0
push ecx
jmp 0x10035750
mov edx, dword [esp + 8]
mov ebx, dword [esp + 4]
mov dword [esp + 0x10], esi
cmp dword [edx + 8], 0
jne 0x100359ca
mov dword [edx + 8], 0xffffffff
mov edi, edx
mov eax, dword [esp + 4]
mov esi, dword [edi + 0x10]
mov edi, dword [edi + 0x14]
mov edx, dword [edx + 0xc]
cmp esi, edi
cmovb edi, esi
add edx, 0xffffffa0
shl edi, 5
lea esi, [edi + edi*2]
nop word cs:[eax + eax]
nop
test esi, esi
je 0x10035975
add esi, 0xffffffa0
mov edi, edx
cmp ebx, dword [edx + 0x98]
mov edx, dword [ebp + 0xc]
sbb edx, dword [edi + 0x9c]
lea edx, [edi + 0x60]
jb 0x10035530
mov ebx, dword [edi + 0xa4]
cmp dword [edi + 0xa0], eax
sbb ebx, dword [ebp + 0xc]
mov ebx, dword [esp + 4]
jb 0x10035530
mov eax, dword [ebp + 8]
mov ebx, ecx
not bl
mov bh, al
and bh, bl
test bh, 0x3f
jne 0x100359ed
movzx ecx, cl
mov esi, dword [ebp + 0xc]
mov eax, dword [esp + 0x10]
or ecx, dword [esp + 4]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ecx
movlps qword [esp + 0x60], xmm0
mov dword [esp + 0x68], eax
lea eax, [esp + 0x58]
lea ecx, [esp + 0x38]
push eax
call fcn.10035b20
add esp, 4
xor ebx, ebx
lea edx, [0x14283069]
lea edi, [0x1428306a]
mov eax, 0xfffffff9
mov dword [esp + 0x10], 0
nop word cs:[eax + eax]
nop
movzx ecx, byte [edx]
mov edx, edi
mov ch, cl
add ch, 0xd0
cmp ch, 0xa
jb 0x100355f5
or cl, 0x20
mov ch, cl
add ch, 0x9f
cmp ch, 6
jae 0x1003595c
add cl, 0xa9
mov ch, cl
mov edi, ebx
movzx esi, ch
shl edi, 4
or esi, edi
lea edi, [edx + 1]
test eax, eax
cmove edi, edx
je 0x10035616
shld dword [esp + 0x10], ebx, 4
inc eax
test edx, edx
mov ebx, esi
jne 0x100355d0
cmp dword [esp + 0x38], 0
je 0x10035672
mov edi, dword [esp + 0x44]
movsd xmm0, qword [esp + 0x3c]
mov ebx, dword [esp + 0x48]
mov eax, dword [0x14287000]
xor esi, 0x16d
mov dword [esp + 0x74], edi
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x78], ebx
push 4
push 8
push 0x14286800
lea ecx, [esp + 0x64]
push ecx
call dword [eax + 0xc]
add esp, 0x10
cmp byte [esp + 0x58], 0
je 0x1003571f
lea ecx, [esp + 0x74]
call fcn.10004080
xor eax, eax
jmp 0x10035728
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 8]
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x1003576b
mov esi, dword [esp + 0x4c]
cmp eax, 1
je 0x10035760
cmp eax, 3
je 0x1003576b
mov edx, dword [esp + 0x50]
mov ecx, esi
call fcn.1006bc70
mov ecx, esi
call fcn.100295e0
jmp 0x10035767
mov eax, dword [edx + 4]
mov dword [esp + 0x10], eax
jmp 0x100356e9
mov eax, dword [edx + 4]
cmp dword [eax + 8], 0
jne 0x10035a06
mov dword [eax + 8], 0xffffffff
lea ecx, [eax + 0xc]
mov edi, eax
mov edx, dword [edx + 8]
mov dword [esp + 4], edx
call fcn.1006bbe0
inc dword [edi + 8]
inc dword [edi]
mov dword [esp + 0x10], edi
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x2c]
mov edx, dword [ecx + 8]
dec edx
mov edi, dword [esp + 0x34]
mov dword [eax + 0xc], esi
mov dword [eax + 8], edi
mov dword [eax + 0x10], ebx
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 4]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], edi
mov dword [eax], 0
mov dword [ecx + 8], edx
jmp 0x10035758
mov eax, dword [esp + 0x5c]
mov dword [eax], edi
mov dword [eax + 4], ebx
mov ecx, dword [esp + 0xc]
movaps xmm0, xmmword [esp + 0x10]
lea edx, [esp + 0xa0]
movlps qword [ecx + 4], xmm0
mov dword [ecx + 0xc], esi
mov dword [ecx + 0x10], eax
mov dword [ecx], 1
mov ecx, dword [esp + 8]
inc dword [ecx + 8]
push edx
call fcn.10035a30
add esp, 4
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
call fcn.1002dc40
mov edx, dword [esp + 8]
inc dword [edx + 8]
mov eax, 2
mov ecx, dword [esp + 0xbc]
add ecx, 0xfffffffe
cmp ecx, 4
cmovb eax, ecx
lea ecx, [eax - 1]
cmp ecx, 2
jb 0x1003578f
test eax, eax
jne 0x10035799
mov dword [esp + 0x58], 0
jmp 0x100357d0
mov ebx, dword [ebp + 8]
mov eax, dword [esp + 0xa4]
mov esi, edx
mov ecx, dword [esp + 0xa0]
or ebx, dword [edx + 0x18]
mov edx, dword [eax + 8]
dec edx
and edx, 0xfffffff8
lea ecx, [edx + ecx + 8]
mov edx, dword [esi + 0x1c]
or edx, edi
push dword [ebp + 0x10]
push edx
push ebx
push ecx
lea ecx, [esp + 0x68]
push ecx
call dword [eax + 0x18]
add esp, 0x14
xor ecx, ecx
lea edx, [0x14283069]
lea edi, [0x1428306a]
mov eax, 0xfffffff9
xor esi, esi
nop word cs:[eax + eax]
nop
movzx ebx, byte [edx]
mov edx, edi
mov bh, bl
add bh, 0xd0
cmp bh, 0xa
jb 0x10035815
or bl, 0x20
mov bh, bl
add bh, 0x9f
cmp bh, 6
jae 0x1003595c
add bl, 0xa9
mov bh, bl
mov edi, ecx
movzx ebx, bh
shl edi, 4
or ebx, edi
lea edi, [edx + 1]
test eax, eax
cmove edi, edx
je 0x10035834
shld esi, ecx, 4
inc eax
test edx, edx
mov ecx, ebx
jne 0x100357f0
mov eax, dword [esp + 0x58]
test eax, eax
je 0x100358a4
mov ecx, dword [esp + 0x64]
movsd xmm0, qword [esp + 0x5c]
xor ebx, 0x171
mov dword [esp + 0x38], eax
lea edx, [esp + 0x38]
movsd qword [esp + 0x3c], xmm0
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x74]
push ebx
call fcn.100031f0
add esp, 4
mov eax, dword [esp + 0x74]
mov esi, dword [ebp + 0xc]
test eax, eax
je 0x100358a7
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0xc]
movsd xmm0, qword [esp + 0x78]
mov dword [edx + 0x10], ecx
movsd qword [edx + 8], xmm0
mov dword [edx + 4], eax
mov dword [edx], 1
lea edx, [esp + 0xa0]
jmp 0x1003574f
mov esi, dword [ebp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push esi
call fcn.10035ef0
add esp, 4
mov esi, dword [eax + 0x50]
mov eax, dword [eax + 0x54]
mov dword [esp + 0x30], edx
shl eax, 3
add esi, 0xffffffe8
lea eax, [eax + eax*2]
nop dword [eax + eax]
xor edx, edx
test eax, eax
je 0x1003592c
mov ebx, dword [esi + 0x18]
mov ecx, 0xfffff000
mov edi, dword [esi + 0x1c]
mov edx, esi
and ebx, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x10], edi
mov esi, ebx
xor esi, dword [esp + 4]
xor edi, ecx
xor ecx, ecx
or esi, edi
mov esi, dword [ebp + 0xc]
lea edi, [edx + 0x18]
mov edx, 0xff
setne cl
cmp dword [esp + 4], ebx
sbb esi, dword [esp + 0x10]
mov esi, edi
cmovb ecx, edx
add eax, 0xffffffe8
cmp cl, 1
je 0x100358d0
movzx eax, cl
mov edx, 0
cmp eax, 0xff
je 0x1003592c
mov edx, edi
lea ecx, [esp + 0x88]
call fcn.100040b0
mov eax, dword [esp + 0x30]
dec dword [eax]
jmp 0x100354a9
mov ecx, 0x142869e4
mov edx, 0x2b
push 0x14283100
call fcn.100053c0
add esp, 4
ud2
mov ecx, 0x142851ac
mov edx, 0xe
push 0x1427ed4c
call fcn.100053c0
add esp, 4
ud2
mov ecx, 0x142869e4
mov edx, 0x2b
push 0x14283110
call fcn.100053c0
add esp, 4
ud2
lea eax, [esp + 0x38]
mov ecx, 0x14285230
mov edx, 0x18
push 0x142831a0
push 0x14283270
push eax
call fcn.10005c10
add esp, 0xc
ud2
mov ecx, 0x14283130
mov edx, 0x36
push 0x14283168
call fcn.100053c0
add esp, 4
ud2
mov ecx, 0x14286934
mov edx, 0x10
push 0x142830b4
push 0x14283280
lea eax, [esp + 0x40]
push eax
call fcn.10005c10
add esp, 0xc
ud2
mov ecx, 0x14283130
mov edx, 0x36
push 0x14283178
call fcn.100053c0
add esp, 4
ud2
lea eax, [esp + 0x38]
mov ecx, 0x14286934
mov edx, 0x10
push 0x14285258
push 0x142867c4
push eax
call fcn.10005c10
add esp, 0xc
ud2