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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x170
mov edi, ecx
mov eax, dword [0x10376020]
xor eax, ebp
mov dword [esp + 0x168], eax
mov al, byte [0x10379a88]
mov byte [esp + 0x43], al
test al, 0x19
jne 0x3d0f9b
xor eax, eax
dec eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x70], eax
cmp byte [edi + 0x110], 0
je 0x3d0d49
cmp byte [edi + 0x14c], 0
jne 0x3d0e5e
mov esi, 0xffffff
xor eax, eax
dec eax
mov dword [esp + 0x80], 0
mov cl, 1
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x34], 0
xor ecx, ecx
lea edx, [edi + 0x110]
shld esi, eax, 8
shl eax, 8
movzx ecx, cl
or ecx, eax
lea eax, [edi + 0x10]
mov dword [esp + 0x90], eax
lea eax, [edi + 0x128]
mov dword [esp + 0x4c], eax
lea eax, [edi + 0x130]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x60], esi
xor eax, eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x44], edi
mov dword [esp + 0x8c], esi
cmp byte [esp + 0x3c], 0
mov dword [esp + 0x38], ecx
je 0x3d0c36
cmp eax, dword [edi + 0xf8]
jge 0x3d0b6f
mov dword [esp + 0x48], eax
xor ebx, ebx
dec ebx
mov dword [esp + 0x154], ebx
mov dword [esp + 0x150], ebx
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x140], xmm0
mov eax, dword [edi + 0xc]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x134], edx
mov dword [esp + 0x130], ecx
mov ecx, dword [esp + 0x34]
mov byte [esp + 0x138], cl
lea ecx, [esp + 0x139]
mov dword [ecx + 3], ebx
mov dword [ecx], ebx
movdqu xmm0, xmmword [esp + 0x130]
movdqu xmmword [esp], xmm0
mov dword [esp + 0x10], eax
lea edi, [esp + 0x140]
mov ecx, edi
call fcn.003d4880
sub esp, 0x14
mov dword [esp], edi
mov ecx, dword [esp + 0x44]
call fcn.003d0230
sub esp, 4
mov eax, dword [esp + 0x44]
mov esi, dword [eax + 0xa4]
mov eax, dword [esp + 0x44]
sub esi, dword [eax + 0xa0]
mov ecx, dword [esp + 0x4c]
call fcn.003f79b0
movzx eax, al
mov dword [esp + 0x120], ebx
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x110], xmm0
mov ecx, dword [esp + 0x44]
mov ecx, dword [ecx + 0xe8]
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov edi, dword [esp + 0x44]
lea eax, [esp + 0x110]
mov dword [esp], eax
call fcn.0038d730
sub esp, 0xc
mov dword [esp + 0x104], ebx
mov dword [esp + 0x100], ebx
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0xf0], xmm0
mov eax, dword [edi + 0xc]
mov dword [esp], eax
lea ebx, [esp + 0xf0]
mov ecx, ebx
call fcn.003d48a0
sub esp, 4
xor eax, eax
cmp byte [esp + 0x120], 0
mov ecx, 0
je 0x3d08bb
mov ecx, dword [esp + 0x110]
mov eax, dword [ecx + 0x20]
or eax, dword [ecx + 0x24]
jne 0x3d0c21
mov eax, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
sar esi, 4
imul esi, esi, 0xaaaaaaab
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], ecx
movq xmm0, qword [esp + 0xe8]
movq qword [esp], xmm0
mov dword [esp + 8], ebx
mov ecx, dword [esp + 0x90]
call fcn.003d23e0
sub esp, 0xc
cmp byte [esp + 0x120], 0
je 0x3d0be8
mov eax, dword [esp + 0x50]
mov cl, byte [eax]
mov byte [eax], 0
mov al, byte [0x103798fc]
test al, 0x19
mov byte [esp + 0x41], cl
mov byte [esp + 0x42], al
mov dword [esp + 0x88], esi
jne 0x3d0ecc
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0xd0], xmm0
movdqa xmmword [esp + 0xc0], xmm0
movdqa xmmword [esp + 0xb0], xmm0
movdqa xmmword [esp + 0xa0], xmm0
mov dword [esp + 0x54], 0
xor eax, eax
dec eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], eax
lea ebx, [esp + 0xa0]
mov eax, dword [esp + 0x110]
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x5c]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], ecx
mov ecx, ebx
call fcn.003f2d30
sub esp, 0xc
mov eax, dword [edi + 0xe8]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x110]
mov dword [esp + 0x94], eax
lea eax, [esp + 0x9c]
mov dword [esp + 0x98], eax
cmp byte [esp + 0x120], 0
je 0x3d0f6f
mov esi, dword [esp + 0x110]
test byte [0x103796b0], 0x19
je 0x3d0a22
mov dword [esp + 0x158], esi
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x15c], eax
xor eax, eax
mov dword [esp + 0x164], eax
mov dword [esp + 0x160], eax
movq xmm0, qword [esp + 0x160]
movq qword [esp], xmm0
lea eax, [esp + 0x94]
mov dword [esp + 8], eax
mov ecx, 0x10361e4b
lea edx, [esp + 0x158]
call fcn.003d15a0
mov dword [esp], esi
mov ecx, dword [esp + 0x5c]
call fcn.003f2980
sub esp, 4
test byte [0x103796b0], 0x19
je 0x3d0a69
xor eax, eax
mov dword [esp + 0x164], eax
mov dword [esp + 0x160], eax
movq xmm0, qword [esp + 0x160]
movq qword [esp], xmm0
mov ecx, 0x1030745d
lea edx, [esp + 0x158]
call fcn.003d1780
mov ecx, ebx
call fcn.003f2de0
cmp byte [esp + 0x120], 0
je 0x3d0a8e
lea ecx, [esp + 0x110]
call fcn.003d5a50
mov byte [esp + 0x120], 0
xor eax, eax
dec eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb0], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0xa0], xmm0
mov eax, dword [edi + 0xc]
mov dword [esp], eax
mov ecx, ebx
call fcn.003d48a0
sub esp, 4
mov ecx, dword [edi + 0xe8]
mov dword [esp], ebx
call fcn.0038e5f0
sub esp, 4
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
mov dword [esp], ebx
mov ecx, edi
call fcn.003d02e0
sub esp, 8
cmp byte [esp + 0xa8], 0
sete al
test byte [esp + 0x3c], al
jne 0x3d0c08
lea eax, [esp + 0x160]
mov dword [esp], eax
mov ecx, ebx
call fcn.003d48c0
sub esp, 4
mov ecx, dword [esp + 0x160]
mov eax, dword [esp + 0x164]
mov dword [esp + 0x60], eax
mov al, 1
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x48]
cmp byte [edi + 0xf4], 0
sete bl
test byte [esp + 0x42], 0x19
mov esi, ebx
jne 0x3d0cee
test edx, edx
je 0x3d0b4f
mov bl, byte [esp + 0x41]
mov byte [edx], bl
mov ebx, esi
cmp byte [esp + 0x120], 0
jne 0x3d0c86
inc eax
test bl, bl
mov esi, dword [esp + 0x8c]
jne 0x3d0768
cmp byte [edi + 0xf4], 0
jne 0x3d0c2a
lea ecx, [edi + 0x120]
call fcn.003f7900
mov ecx, dword [esp + 0x4c]
call fcn.003f79b0
movzx esi, al
mov ecx, dword [edi + 0xe8]
mov ebx, dword [ebp + 0xc]
mov dword [esp], ebx
call fcn.0038f1b0
sub esp, 4
mov ecx, dword [edi + 0xe8]
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov esi, dword [ebp + 8]
mov dword [esp], esi
call fcn.0038f1f0
sub esp, 0xc
test byte [esp + 0x43], 0x19
jne 0x3d0ca3
mov ecx, dword [esp + 0x168]
xor ecx, ebp
call fcn.002a5ceb
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov dword [esp + 4], esi
mov dword [esp], ebx
mov ecx, edi
call fcn.003d02e0
sub esp, 8
xor ebx, ebx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x38]
jmp 0x3d0b51
mov dword [esp + 0x34], 0
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x38]
jmp 0x3d0b2e
xor eax, eax
xor ecx, ecx
jmp 0x3d08bb
xor eax, eax
mov esi, dword [ebp + 8]
mov byte [esi], al
mov byte [esi + 0x18], al
jmp 0x3d0bc3
cmp byte [esp + 0x34], 0
je 0x3d0ec7
mov ebx, eax
mov eax, ecx
sub eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x60]
sbb ecx, esi
seto dl
mov esi, ecx
sar esi, 0x1f
test dl, dl
cmovne eax, esi
add esi, 0x80000000
test dl, dl
cmove esi, ecx
mov ecx, dword [esp + 0x38]
cmp eax, dword [esp + 0x80]
sbb esi, dword [esp + 0x7c]
mov eax, ebx
jl 0x3d0783
jmp 0x3d0b6f
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x110]
call fcn.003d5a50
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x48]
jmp 0x3d0b5f
mov eax, dword [esp + 0x58]
cmp byte [eax], 0
je 0x3d0bce
mov eax, dword [esp + 0x74]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xa4], eax
movq xmm0, qword [esp + 0xa0]
movq qword [esp + 8], xmm0
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.00316d30
jmp 0x3d0bce
mov ebx, dword [esp + 0x54]
cmp byte [ebx], 0
je 0x3d0b45
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xa4], eax
movq xmm0, qword [esp + 0xa0]
movq qword [esp + 8], xmm0
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 0x38], ecx
call fcn.00316d30
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
jmp 0x3d0b45
mov bl, byte [0x10379068]
test bl, 0x19
jne 0x3d0df4
xor ecx, ecx
dec ecx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x34], ecx
mov edx, dword [edi + 0x108]
mov edi, dword [edi + 0x10c]
mov eax, edi
xor eax, 0x7fffffff
mov esi, edx
not esi
or esi, eax
je 0x3d0d9b
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov dword [eax + 4], edi
pxor xmm0, xmm0
movdqu xmmword [eax + 8], xmm0
mov al, 1
jmp 0x3d0da3
mov eax, dword [ebp + 8]
mov byte [eax], 0
xor eax, eax
mov edx, dword [ebp + 8]
mov byte [edx + 0x18], al
test bl, 0x19
je 0x3d0dec
mov eax, dword [esp + 0x3c]
cmp byte [eax], 0
je 0x3d0dec
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xa4], eax
movq xmm0, qword [esp + 0xa0]
movq qword [esp + 8], xmm0
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.00316d30
mov esi, dword [ebp + 8]
jmp 0x3d0bc3
lea esi, [esp + 0xa0]
mov dword [esp], esi
call fcn.0031e4b0
call fcn.002de5d0
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 8], 0x10361e93
mov dword [esp + 4], 0x10379068
mov dword [esp], 0x58
call fcn.00316cb0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x34], edx
mov ecx, 0x10361e93
mov dword [esp + 0x3c], 0x10379068
jmp 0x3d0d6b
mov al, byte [0x1038fa4c]
test al, 1
je 0x3d06f1
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x10391000]
lea eax, [esp + 0xa0]
mov dword [esp], eax
mov ecx, esi
call ebx
sub esp, 4
lea eax, [esp + 0xa0]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov esi, eax
shr esi, 8
shld eax, ecx, 0x18
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0x1f40
mov dl, 1
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], 0
jmp 0x3d071c
call fcn.002dbd10
lea esi, [esp + 0xa0]
mov dword [esp], esi
call fcn.0031e4b0
call fcn.002de5d0
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 8], 0x10361e43
mov dword [esp + 4], 0x103798fc
mov dword [esp], 0x58
call fcn.00316cb0
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], edx
cmp byte [esp + 0x120], 0
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0xd0], xmm0
movdqa xmmword [esp + 0xc0], xmm0
movdqa xmmword [esp + 0xb0], xmm0
movdqa xmmword [esp + 0xa0], xmm0
je 0x3d0f6f
mov dword [esp + 0x64], 0x10361e43
mov dword [esp + 0x54], 0x103798fc
mov edi, dword [esp + 0x44]
jmp 0x3d0965
mov dword [esp + 0x10], 0x10306a45
mov dword [esp + 0xc], 0x1030677e
mov dword [esp + 8], 0x3f4
mov dword [esp + 4], 0x10306790
mov dword [esp], 0x10306412
call fcn.002eb940
lea esi, [esp + 0xa0]
mov dword [esp], esi
call fcn.0031e4b0
call fcn.002de5d0
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 8], 0x10361e26
mov dword [esp + 4], 0x10379a88
mov dword [esp], 0x58
call fcn.00316cb0
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x78], 0x10361e26
mov dword [esp + 0x58], 0x10379a88
jmp 0x3d06d7