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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
and esp, 0xfffffff0
sub esp, 0x40
mov eax, dword [0x1006044]
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], 0
test byte [ebx + 0xa], 8
je 0x8150fe
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x40]
cmp dword [ebx + 0x24], eax
setae al
movzx eax, al
mov dword [esp + 0x24], eax
mov eax, dword [ebx]
test eax, eax
je 0x8158d8
lea eax, [ebx + 0x39272]
mov dword [esp + 0x2c], eax
mov dword [ebx + 0x30], eax
add eax, 0x14cbc
mov dword [ebx + 0x34], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
jne 0x815808
mov edx, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x38]
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
movzx eax, byte [edx]
sarx eax, eax, ecx
mov byte [edx], al
mov ecx, dword [ebx + 8]
xor eax, eax
cmp dword [ebx + 0x38], 8
mov edx, dword [ebx + 0x48]
sete al
mov esi, dword [ebx + 0x30]
sub dword [ebx + 0x28], eax
mov eax, dword [ebx + 0x44]
test ch, 0x10
je 0x815290
mov edi, dword [ebx + 0x64]
test edi, edi
jne 0x815290
and ecx, 0xfff
mov dword [esp + 0x20], ecx
je 0x815aea
cmp ecx, 1
je 0x8151b9
cmp ecx, 6
je 0x815a8d
cmp ecx, 0x20
je 0x815a8d
cmp ecx, 0x10
je 0x815a8d
cmp ecx, 0x80
mov edi, 0x9c
mov ecx, 0xda
cmove ecx, edi
mov dword [esp + 0x20], ecx
mov edi, 0x78
mov ecx, dword [ebx + 0x34]
shlx edi, edi, eax
or edi, edx
lea edx, [eax + 8]
mov dword [ebx + 0x48], edi
mov dword [ebx + 0x44], edx
cmp edx, 7
jbe 0x815a9a
cmp esi, ecx
jb 0x815210
lea eax, [edx - 8]
shr edi, 8
mov dword [esp + 0x1c], eax
cmp eax, 7
jbe 0x815b0d
mov edx, dword [esp + 0x1c]
lea esi, [esi]
mov eax, edx
sub edx, 8
shr edi, 8
cmp edx, 7
ja 0x8151f8
jmp 0x81523c
lea eax, [esi + 1]
mov edx, 8
mov dword [ebx + 0x30], eax
mov eax, edi
mov byte [esi], al
mov eax, dword [ebx + 0x44]
shrx edi, dword [ebx + 0x48], edx
mov esi, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x34]
mov dword [ebx + 0x48], edi
lea edx, [eax - 8]
mov dword [ebx + 0x44], edx
cmp edx, 7
ja 0x8151da
shlx edx, dword [esp + 0x20], edx
or edx, edi
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x48], edx
cmp esi, ecx
jae 0x81527d
lea eax, [esi + 1]
mov dword [ebx + 0x30], eax
mov eax, 8
mov byte [esi], dl
shrx edx, dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x44]
mov dword [ebx + 0x48], edx
mov esi, dword [ebx + 0x30]
sub eax, 8
mov dword [ebx + 0x44], eax
cmp eax, 7
jbe 0x815290
mov ecx, dword [ebx + 0x34]
cmp esi, ecx
jb 0x81524f
shr edx, 8
sub eax, 8
mov dword [ebx + 0x48], edx
mov dword [ebx + 0x44], eax
cmp eax, 7
ja 0x81524b
nop
xor ecx, ecx
cmp dword [esp + 0x28], 4
lea edi, [eax + 1]
sete cl
mov dword [ebx + 0x44], edi
shlx ecx, ecx, eax
or ecx, edx
mov dword [ebx + 0x48], ecx
cmp edi, 7
jbe 0x81544b
cmp esi, dword [ebx + 0x34]
jb 0x815420
shr ecx, 8
sub edi, 8
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x44], edi
cmp edi, 7
jbe 0x81544b
lea esi, [esi]
sub edi, 8
shr ecx, 8
cmp edi, 7
ja 0x8152d8
mov edx, dword [esp + 0x24]
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x44], edi
test edx, edx
jne 0x815457
mov edx, 1
test byte [ebx + 0xa], 4
je 0x8156b0
mov eax, ebx
mov dword [esp + 0x24], ecx
call fcn.00813960
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x3c]
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x815678
mov eax, dword [esp + 0x20]
test eax, eax
je 0x815540
mov edx, dword [ebx + 0x30]
mov edi, dword [esp + 0x28]
test edi, edi
je 0x815564
mov eax, dword [ebx + 0x44]
cmp edi, 4
je 0x815956
add eax, 3
mov ecx, dword [ebx + 0x48]
mov esi, dword [ebx + 0x34]
mov dword [ebx + 0x44], eax
cmp eax, 7
jbe 0x81571e
cmp edx, esi
jb 0x8156f0
shr ecx, 8
sub eax, 8
mov dword [ebx + 0x48], ecx
cmp eax, 7
jbe 0x81571e
lea esi, [esi]
sub eax, 8
shr ecx, 8
cmp eax, 7
ja 0x815380
mov dword [ebx + 0x48], ecx
test eax, eax
jne 0x815726
lea esi, [esi]
lea esi, [esi]
mov dword [esp + 0x24], 2
xor edi, edi
mov dword [esp + 0x28], edx
shlx edx, edi, eax
add eax, 0x10
or ecx, edx
mov edx, dword [esp + 0x28]
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x44], eax
cmp edx, esi
jb 0x815790
shr ecx, 8
sub eax, 8
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x28]
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x44], eax
cmp eax, 7
jbe 0x8153fd
lea esi, [esi]
nop
sub eax, 8
shr ecx, 8
cmp eax, 7
ja 0x8153e8
mov dword [esp + 0x28], edx
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x44], eax
xor edi, 0xffff
cmp dword [esp + 0x24], 1
je 0x8157d3
nop
mov dword [esp + 0x24], 1
jmp 0x8153ae
lea eax, [esi + 1]
mov dword [ebx + 0x30], eax
mov eax, 8
mov byte [esi], cl
shrx ecx, dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x44]
mov dword [ebx + 0x48], ecx
mov esi, dword [ebx + 0x30]
lea edi, [eax - 8]
mov dword [ebx + 0x44], edi
cmp edi, 7
ja 0x8152b3
mov edx, dword [esp + 0x24]
test edx, edx
je 0x8152f5
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x40]
cmp dword [ebx + 0x24], eax
jb 0x815540
lea eax, [edi + 2]
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x44], eax
cmp eax, 7
ja 0x8154a7
jmp 0x815901
lea eax, [esi + 1]
mov dword [ebx + 0x30], eax
mov eax, 8
mov byte [esi], cl
shrx ecx, dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x44]
mov dword [ebx + 0x48], ecx
sub eax, 8
mov dword [ebx + 0x44], eax
cmp eax, 7
jbe 0x8154bd
mov esi, dword [ebx + 0x30]
cmp esi, dword [ebx + 0x34]
jb 0x815480
shr ecx, 8
sub eax, 8
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x44], eax
cmp eax, 7
ja 0x8154a4
test eax, eax
jne 0x8158fe
mov esi, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x30]
mov dword [esp + 0x24], 2
movzx esi, si
shlx esi, esi, eax
add eax, 0x10
or ecx, esi
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x44], eax
cmp edx, dword [ebx + 0x34]
jb 0x8156c0
shr ecx, 8
sub eax, 8
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x44], eax
cmp eax, 7
jbe 0x815518
sub eax, 8
shr ecx, 8
cmp eax, 7
ja 0x815500
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x44], eax
lea esi, [esi]
mov edi, dword [ebx + 0x3c]
mov esi, edi
xor esi, 0xffff
cmp dword [esp + 0x24], 1
mov dword [ebx + 0x3c], esi
je 0x81582a
mov dword [esp + 0x24], 1
jmp 0x8154d3
mov dword [ebx + 0x44], edi
mov edx, 1
mov eax, ebx
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x48], ecx
call fcn.00813960
mov edi, dword [esp + 0x28]
mov edx, dword [ebx + 0x30]
test edi, edi
jne 0x815341
mov esi, dword [ebx + 0x34]
cmp edx, esi
jae 0x8157df
lea edi, [ebx + 0x8196]
lea ecx, [ebx + 0x8192]
xor eax, eax
xor edx, edx
and edi, 0xfffffffc
vpxor xmm0, xmm0, xmm0
mov dword [ebx + 0x8192], 0
mov dword [ebx + 0x83ce], 0
sub ecx, edi
add ecx, 0x240
shr ecx, 2
rep stosd dword es:[edi], eax
lea eax, [ebx + 0x9273]
vmovdqu xmmword [ebx + 0x83d2], xmm0
mov dword [ebx + 0x28], eax
lea eax, [ebx + 0x9272]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 0x3c]
add dword [ebx + 0x40], eax
mov eax, 8
mov dword [ebx + 0x38], eax
mov eax, dword [esp + 0x2c]
add dword [ebx + 0x64], 1
mov dword [ebx + 0x3c], edx
vmovdqu xmmword [ebx + 0x83e2], xmm0
vmovdqu xmmword [ebx + 0x83f2], xmm0
vmovdqu xmmword [ebx + 0x8402], xmm0
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call fcn.007df290
mov esi, eax
test eax, eax
je 0x815659
mov edi, dword [ebx]
lea edx, [ebx + 0x39272]
test edi, edi
je 0x815a6c
mov eax, dword [ebx + 0x70]
mov ecx, dword [ebx + 0x78]
mov dword [esp + 0x28], edx
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x84]
mov dword [esp + 0x2c], ecx
mov dword [esp], eax
call fcn.007df290
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov dword [ecx], eax
mov eax, dword [ebx + 4]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp], edx
call edi
test eax, eax
je 0x815af7
mov eax, dword [ebx + 0x5c]
mov edx, dword [esp + 0x3c]
sub edx, dword [0x1006044]
jne 0x815b08
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], esi
mov edx, dword [ebx + 0x30]
mov dword [esp], edx
call fcn.007df290
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
add eax, 1
cmp eax, edx
jb 0x815326
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x40]
cmp dword [ebx + 0x24], eax
jae 0x815466
jmp 0x815326
xor edx, edx
cmp dword [ebx + 0x3c], 0x2f
setbe dl
jmp 0x815304
lea eax, [edx + 1]
mov dword [ebx + 0x30], eax
mov eax, 8
mov byte [edx], cl
shrx ecx, dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x44]
mov dword [ebx + 0x48], ecx
mov edx, dword [ebx + 0x30]
sub eax, 8
mov dword [ebx + 0x44], eax
cmp eax, 7
jbe 0x815518
jmp 0x8154e6
lea eax, [edx + 1]
mov dword [ebx + 0x30], eax
mov eax, 8
mov byte [edx], cl
shrx ecx, dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x30]
mov esi, dword [ebx + 0x34]
mov dword [ebx + 0x48], ecx
sub eax, 8
mov dword [ebx + 0x44], eax
cmp eax, 7
ja 0x815362
test eax, eax
je 0x8153a0
mov dword [ebx + 0x44], 8
mov eax, 8
cmp edx, esi
jae 0x815770
lea eax, [edx + 1]
mov dword [ebx + 0x30], eax
mov eax, 8
mov byte [edx], cl
shrx ecx, dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x30]
mov esi, dword [ebx + 0x34]
mov dword [ebx + 0x48], ecx
sub eax, 8
mov dword [ebx + 0x44], eax
cmp eax, 7
jbe 0x8153a0
cmp edx, esi
jb 0x815736
lea esi, [esi]
nop
sub eax, 8
shr ecx, 8
cmp eax, 7
jbe 0x8153a0
sub eax, 8
shr ecx, 8
cmp eax, 7
ja 0x815770
jmp 0x8153a0
lea eax, [edx + 1]
mov dword [ebx + 0x30], eax
mov eax, 8
mov byte [edx], cl
shrx ecx, dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x30]
mov esi, dword [ebx + 0x34]
mov dword [ebx + 0x48], ecx
sub eax, 8
mov dword [ebx + 0x44], eax
cmp eax, 7
ja 0x8153c2
xor edi, 0xffff
cmp dword [esp + 0x24], 1
mov dword [esp + 0x28], edx
jne 0x815410
mov edx, dword [esp + 0x28]
cmp edx, esi
jb 0x81556f
mov dword [esp + 8], 0xc9e
mov dword [esp + 4], 0xe9e560
mov dword [esp], 0xe9e770
call dword [0x100bb58]
jmp 0x81556f
mov dword [esp + 8], 0xc3c
mov dword [esp + 4], 0xe9e560
mov dword [esp], 0xe9e734
call dword [0x100bb58]
jmp 0x815128
xor esi, esi
cmp edi, 0xffff
je 0x815335
lea esi, [esi]
nop
mov edi, dword [ebx + 0x40]
add edi, esi
and edi, 0x7fff
movzx edi, byte [ebx + edi + 0x90]
shlx edi, edi, eax
add eax, 8
or ecx, edi
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x44], eax
cmp edx, dword [ebx + 0x34]
jb 0x8158a8
shr ecx, 8
sub eax, 8
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x44], eax
cmp eax, 7
jbe 0x815898
lea esi, [esi]
sub eax, 8
shr ecx, 8
cmp eax, 7
ja 0x815880
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x44], eax
lea esi, [esi]
add esi, 1
cmp esi, dword [ebx + 0x3c]
jb 0x815840
jmp 0x815335
lea eax, [edx + 1]
mov dword [ebx + 0x30], eax
mov eax, 8
mov byte [edx], cl
shrx ecx, dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x44]
mov dword [ebx + 0x48], ecx
mov edx, dword [ebx + 0x30]
sub eax, 8
mov dword [ebx + 0x44], eax
cmp eax, 7
jbe 0x815898
jmp 0x815863
mov eax, dword [ebx + 0x7c]
mov edx, dword [ebx + 0x8c]
mov eax, dword [eax]
sub eax, edx
cmp eax, 0x14ccb
jbe 0x815108
add edx, dword [ebx + 0x74]
mov dword [esp + 0x2c], edx
mov eax, edx
jmp 0x815112
mov esi, dword [ebx + 0x30]
mov dword [ebx + 0x44], 8
mov eax, 8
jmp 0x81593b
lea eax, [esi + 1]
mov dword [ebx + 0x30], eax
mov eax, 8
mov byte [esi], cl
shrx ecx, dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x44]
mov dword [ebx + 0x48], ecx
sub eax, 8
mov dword [ebx + 0x44], eax
cmp eax, 7
jbe 0x8154c5
mov esi, dword [ebx + 0x30]
cmp esi, dword [ebx + 0x34]
jb 0x815910
shr ecx, 8
sub eax, 8
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x44], eax
cmp eax, 7
ja 0x815938
jmp 0x8154c5
test eax, eax
je 0x815a85
mov dword [ebx + 0x44], 8
mov ecx, dword [ebx + 0x48]
mov eax, 8
mov esi, dword [ebx + 0x34]
cmp edx, esi
jb 0x81599b
shr ecx, 8
sub eax, 8
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x44], eax
cmp eax, 7
jbe 0x8159c5
lea esi, [esi]
sub eax, 8
shr ecx, 8
cmp eax, 7
ja 0x815988
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x44], eax
jmp 0x8159c5
lea eax, [edx + 1]
mov dword [ebx + 0x30], eax
mov eax, 8
mov byte [edx], cl
shrx ecx, dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x30]
mov esi, dword [ebx + 0x34]
mov dword [ebx + 0x48], ecx
sub eax, 8
mov dword [ebx + 0x44], eax
cmp eax, 7
ja 0x815970
test byte [ebx + 9], 0x10
je 0x815567
mov edi, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x48]
mov dword [esp + 0x24], 4
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x28]
shr edi, 0x18
shlx edi, edi, eax
add eax, 8
or ecx, edi
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x44], eax
cmp edx, esi
jb 0x815a40
shr ecx, 8
sub eax, 8
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x44], eax
cmp eax, 7
jbe 0x815a28
lea esi, [esi]
sub eax, 8
shr ecx, 8
cmp eax, 7
ja 0x815a10
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x44], eax
lea esi, [esi]
shl dword [esp + 0x28], 8
sub dword [esp + 0x24], 1
jne 0x8159e1
jmp 0x815567
lea eax, [edx + 1]
mov dword [ebx + 0x30], eax
mov eax, 8
mov byte [edx], cl
shrx ecx, dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x30]
mov esi, dword [ebx + 0x34]
mov dword [ebx + 0x48], ecx
sub eax, 8
mov dword [ebx + 0x44], eax
cmp eax, 7
jbe 0x815a28
jmp 0x8159f8
mov eax, dword [ebx + 0x8c]
cmp dword [esp + 0x2c], edx
je 0x815aa2
add eax, esi
mov dword [ebx + 0x8c], eax
jmp 0x815659
mov esi, dword [ebx + 0x34]
jmp 0x8159c5
mov dword [esp + 0x20], 0x5e
jmp 0x8151b9
add eax, 0x10
jmp 0x81523c
mov edx, dword [ebx + 0x7c]
mov edi, dword [edx]
mov edx, dword [esp + 0x2c]
sub edi, eax
cmp edi, esi
cmova edi, esi
add eax, dword [ebx + 0x74]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [esp + 8], edi
call fcn.007de188
add dword [ebx + 0x8c], edi
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.007df290
test eax, eax
je 0x815659
mov dword [ebx + 0x58], edi
mov dword [ebx + 0x5c], eax
jmp 0x81565c
mov dword [esp + 0x20], 1
jmp 0x8151b9
mov dword [ebx + 0x6c], 0xffffffff
mov eax, 0xffffffff
jmp 0x81565c
call fcn.00401690
mov eax, edx
mov edx, dword [esp + 0x1c]
jmp 0x81523c