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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x15b8
call fcn.10512080
mov eax, dword [0x10a78b80]
xor eax, esp
mov dword [esp + 0x15b4], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x20]
mov dword [esp + 0x34], eax
push edi
mov edi, dword [ebp + 0xc]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [esp + 0x3c], eax
mov dword [esp + 0xc], edi
lea eax, [ecx + 0xe0]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
add edi, 0x10
mov dl, byte [ebp + 0x1c]
mov byte [esp + 0x14], dl
lea eax, [eax + eax*8]
lea ecx, [ecx + eax*8]
imul eax, dword [esp + 0x18], 0x538
add eax, edi
mov edi, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
mov eax, dword [ecx + 0x10]
movzx eax, word [eax + edi*2]
mov edi, eax
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0xc]
shl edi, 4
mov dword [esp + 0x5c], edi
lea eax, [eax + edi*4]
movzx edi, dl
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x4c]
mov al, byte [eax]
mov byte [esp + 0x10], al
mov eax, dword [esp + 0x3c]
movzx eax, byte [eax + 0x3adb1]
push eax
push dword [esp + 0x18]
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x20]
push dword [esp + 0x30]
call fcn.100bd990
movzx ecx, al
add esp, 0x18
mov eax, edi
mov dword [esp + 0x50], ecx
shl eax, 4
add eax, ecx
cmp byte [esi + 0xd], 0
lea eax, [eax*8 + 0x107edf00]
mov dword [esp + 0x60], eax
jne 0x100be509
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4c]
mov eax, dword [eax + 0xfd0]
mov eax, dword [eax]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x70]
push eax
mov eax, dword [ecx + 0x4c]
add eax, dword [esp + 0x38]
push eax
mov eax, dword [ecx + 0x48]
add eax, dword [esp + 0x40]
push eax
push dword [esp + 0x24]
mov eax, dword [esp + 0x24]
push eax
push dword [ebp + 0x18]
call fcn.100bf630
mov edx, dword [esp + 0x2c]
push edx
call fcn.100bf5c0
push edx
mov dword [esp + 0x60], eax
call fcn.100bfad0
push edx
mov dword [esp + 0x78], eax
call fcn.100bfa60
movzx edx, byte [edi + 0x106569c0]
add esp, 0x24
movzx ecx, byte [edi + 0x106569ac]
inc edx
add ecx, edx
mov dword [esp + 0x58], eax
mov edx, dword [esp + 0x1c]
mov al, byte [esi + 0xc]
shr ecx, 1
mov byte [esp + 0x44], al
mov edx, dword [edx + 0x1a74]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x30], edx
test al, al
je 0x100bdfb4
cmp dword [esp + 0x20], 0
push 2
sete al
movzx eax, al
push eax
movzx eax, cl
imul eax, eax, 0xd
add eax, dword [esp + 0x78]
lea eax, [eax + eax*2]
lea eax, [edx + eax*2]
push eax
call fcn.100a1900
add esp, 0xc
mov ecx, dword [esp + 0x2c]
movzx edx, byte [esp + 0x10]
mov dword [esp + 0x48], edx
mov eax, dword [ecx + 0x3174]
mov esi, dword [ecx + 0x3180]
movzx ecx, word [eax + edx*2 + 0x4e]
mov eax, dword [esp + 0x18]
shr ecx, 4
mov eax, dword [esi + eax*4 + 0xc]
lea edx, [eax + ecx*2]
mov eax, dword [esp + 0x18]
mov eax, dword [esi + eax*4 + 0x18]
add eax, ecx
add eax, dword [esp + 0xc]
cmp dword [esp + 0x20], 0
mov dword [esp + 0x6c], eax
mov ecx, eax
mov eax, dword [esp + 0x70]
mov byte [ecx], al
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x24]
mov word [edx + ecx*2], ax
jne 0x100be049
push dword [esp + 0x34]
mov eax, dword [esp + 0x18]
push dword [esp + 0x3c]
push 0
push eax
mov eax, dword [ebp + 0x18]
push eax
push dword [esp + 0x2c]
mov eax, dword [esp + 0x64]
push eax
push dword [esp + 0x38]
call fcn.100b8a10
add esp, 0x20
pop edi
pop esi
mov ecx, dword [esp + 0x15b4]
xor ecx, esp
call fcn.105116c0
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x48]
mov eax, dword [eax + 0x3174]
movzx ecx, word [eax + ecx*2 + 0x4e]
mov eax, dword [esp + 0x18]
add ecx, dword [esp + 0x5c]
mov eax, dword [esi + eax*4]
lea esi, [eax + ecx*4]
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x90], esi
movzx eax, byte [eax + 0x9f]
and eax, 7
push eax
mov eax, dword [esp + 0x44]
add eax, 0x3d230
push eax
call fcn.100bd920
shl eax, 2
push eax
push dword [esp + 0x74]
push esi
call fcn.105137c0
lea eax, [esp + 0xa8]
push eax
push dword [esp + 0x74]
push dword [esp + 0x74]
push esi
call dword [0x10b48560]
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x64]
push esi
push dword [eax + 0x24990]
push dword [esp + 0x44]
lea eax, [ecx + 0x3abf0]
push dword [esp + 0x4c]
push dword [esp + 0x70]
push dword [esp + 0x70]
push dword [esp + 0x5c]
push eax
push ecx
call fcn.100bfb40
mov ecx, dword [esp + 0x9c]
add esp, 0x4c
mov al, byte [ecx + 0x10655434]
mov byte [esp + 0x50], al
mov eax, dword [esp + 0x60]
push esi
mov esi, dword [esp + 0x54]
mov eax, dword [eax]
mov dword [esp + 0x60], eax
lea eax, [edi + 0x910]
mov edi, dword [esp + 0x34]
push edi
push dword [esp + 0x18]
shl eax, 4
add eax, ecx
mov ecx, dword [esp + 0x38]
push esi
push dword [esp + 0x24]
push dword [esp + 0x34]
inc dword [ecx + eax*4]
call fcn.100be510
lea eax, [esp + 0x5c8]
push eax
push esi
push dword [esp + 0x34]
mov esi, dword [esp + 0x80]
lea eax, [esp + 0xb4]
push dword [esp + 0x48]
push esi
push eax
call dword [0x10b4860c]
mov eax, dword [esp + 0x50]
add esp, 0x30
add eax, 0xffffffff
mov dword [esp + 0x24], eax
js 0x100be472
mov edi, dword [esp + 0x40]
mov edx, 1
mov ecx, edi
rol edx, cl
mov dword [esp + 0x54], edx
nop word [eax + eax]
movsx esi, word [esi + eax*2]
mov ecx, dword [esp + 0x3c]
movsx eax, byte [esp + esi + 0x5b0]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x64]
mov eax, dword [eax + esi*4]
cdq
xor eax, edx
sub eax, edx
cmp byte [ecx + 0x8f215], 0
mov dword [esp + 0x10], eax
je 0x100be1ce
mov ecx, dword [esp + 0x2c]
cdq
add dword [ecx + 0x24a00], eax
adc dword [ecx + 0x24a04], edx
cmp byte [esp + 0x44], 0
je 0x100be24b
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x10]
movzx eax, al
lea edi, [ecx + eax*2]
mov eax, dword [esp + 0x20]
dec eax
mov ecx, 3
cmp dword [esp + 0x24], eax
movzx eax, dl
jne 0x100be21a
cmp edx, ecx
push ecx
cmovl ecx, eax
dec cl
movzx eax, cl
mov ecx, dword [esp + 0x10]
push eax
lea eax, [ecx + edi*4]
lea eax, [eax*8 + 0x5be]
add eax, dword [esp + 0x38]
jmp 0x100be23e
cmp edx, ecx
push 4
cmovl ecx, eax
movzx eax, cl
mov ecx, dword [esp + 0x10]
push eax
imul eax, edi, 0x2a
add ecx, 0xb3
add eax, ecx
mov ecx, dword [esp + 0x38]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*2]
push eax
call fcn.100a1900
mov edi, dword [esp + 0x4c]
add esp, 0xc
mov eax, dword [esp + 0x10]
cmp eax, 2
jle 0x100be455
add eax, 0xfffffffd
mov ecx, edi
mov dword [esp + 0x10], eax
mov edx, esi
sar edx, cl
mov edi, esi
mov eax, edx
shl eax, cl
sub edi, eax
mov eax, dword [esp + 0x54]
add eax, 4
mov ecx, eax
imul ecx, edx
add ecx, edi
add eax, ecx
mov dword [esp + 0x28], eax
movzx eax, byte [esp + eax + 0x90]
mov dword [esp + 0xc], eax
movzx eax, byte [esp + ecx + 0x91]
add dword [esp + 0xc], eax
movzx eax, byte [esp + 0x50]
sub eax, 0
je 0x100be30c
sub eax, 1
je 0x100be2dd
sub eax, 1
jne 0x100be33e
movzx eax, byte [esp + ecx + 0x92]
mov ecx, dword [esp + 0xc]
inc ecx
add eax, ecx
mov ecx, 6
shr eax, 1
cmp eax, ecx
cmovb ecx, eax
mov dword [esp + 0xc], ecx
test esi, esi
je 0x100be349
test edi, edi
jne 0x100be342
add ecx, 7
jmp 0x100be345
mov eax, dword [esp + 0x54]
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0xc]
movzx eax, byte [esp + eax + 0x98]
inc ecx
add eax, ecx
mov ecx, 6
shr eax, 1
cmp eax, ecx
cmovb ecx, eax
test esi, esi
je 0x100be345
test edx, edx
jne 0x100be342
add ecx, 7
jmp 0x100be345
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
inc ecx
movzx eax, byte [esp + eax + 0x91]
add eax, ecx
mov ecx, 6
sar eax, 1
cmp eax, ecx
cmovl ecx, eax
test esi, esi
je 0x100be345
cmp edi, 2
jge 0x100be342
cmp edx, 2
jge 0x100be342
add ecx, 7
jmp 0x100be345
mov ecx, dword [esp + 0xc]
add ecx, 0xe
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x10]
xor esi, esi
mov dword [esp + 0x28], esi
mov edx, 3
cmp eax, edx
cmovl edx, eax
cmp byte [esp + 0x44], 0
mov dword [esp + 0x88], edx
je 0x100be435
mov eax, dword [esp + 0x68]
cmp al, 3
movzx eax, al
jb 0x100be37f
mov eax, 3
mov esi, dword [esp + 0x48]
add ecx, 0x257
movsx edx, dl
mov dword [esp + 0x80], edx
lea eax, [esi + eax*2]
imul eax, eax, 0x15
add eax, ecx
mov ecx, dword [esp + 0x30]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*2]
movzx eax, word [ecx + 8]
mov esi, eax
mov dword [esp + 0x58], ecx
shr eax, 4
add eax, 5
mov dword [esp + 0x84], esi
mov dword [esp + 0x78], eax
xor esi, esi
movzx eax, ax
mov dword [esp + 0x7c], eax
nop dword [eax]
movzx eax, word [ecx + esi*2]
lea edi, [ecx + esi*2]
cmp esi, edx
jge 0x100be3f1
mov ecx, eax
mov edx, 0x8000
sub edx, ecx
mov ecx, dword [esp + 0x78]
sar edx, cl
add edx, eax
movzx eax, dx
jmp 0x100be401
mov cx, word [esp + 0x7c]
mov edx, eax
shr dx, cl
sub ax, dx
movzx eax, ax
mov ecx, dword [esp + 0x58]
inc esi
mov edx, dword [esp + 0x80]
mov word [edi], ax
cmp esi, 3
jl 0x100be3d0
cmp word [esp + 0x84], 0x20
mov edx, dword [esp + 0x88]
mov esi, dword [esp + 0x28]
sbb eax, eax
neg eax
add word [ecx + 8], ax
mov eax, dword [esp + 0x10]
cmp edx, 3
jl 0x100be455
mov ecx, dword [esp + 0xc]
add esi, 3
sub eax, 3
mov dword [esp + 0x28], esi
mov dword [esp + 0x10], eax
cmp esi, 0xc
jl 0x100be353
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x40]
sub eax, 1
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x24], eax
jns 0x100be190
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x8c]
mov ecx, dword [esi]
test ecx, ecx
je 0x100be4be
cmp byte [esp + 0x44], 0
mov eax, dword [esp + 0x74]
je 0x100be4b5
shr ecx, 0x1f
push 2
push ecx
mov ecx, dword [esp + 0x50]
lea eax, [eax + ecx*2]
add ecx, 0x9b
add eax, ecx
lea eax, [eax + eax*2]
lea eax, [edi + eax*2]
push eax
call fcn.100a1900
mov eax, dword [esp + 0x80]
add esp, 0xc
mov ecx, dword [esp + 0x6c]
shl al, 4
or byte [ecx], al
mov eax, dword [esp + 0x60]
push dword [esp + 0x20]
push eax
push esi
call fcn.100bdaa0
push dword [esp + 0x40]
movzx eax, al
push dword [esp + 0x48]
push eax
push dword [esp + 0x2c]
mov eax, dword [ebp + 0x18]
push eax
push dword [esp + 0x38]
push dword [esp + 0x70]
push dword [esp + 0x44]
call fcn.100b8a10
mov ecx, dword [esp + 0x15e8]
add esp, 0x2c
pop edi
pop esi
xor ecx, esp
call fcn.105116c0
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x64]
jmp 0x100be4c2