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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f4
push ebx
push esi
mov ebx, eax
push edi
mov edi, dword [ebx + 4]
mov esi, dword [edi + 0x28c]
cmp dword [esi + 0x5b0], 0xffff
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], esi
mov byte [ebp - 0x19], 0
je 0x100e1354
cmp dword [esi + 0x48c], 0
je 0x100e1354
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x100e135c
xor eax, eax
cmp ecx, dword [esi + 0x490]
ja 0x100e1341
mov eax, dword [esi + 0x48c]
movzx eax, word [eax + ecx*2]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x100e135c
pop edi
pop esi
mov eax, 6
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [esi + 0xc]
jae 0x100e1348
mov ecx, dword [ebp + 0x10]
test ecx, 0x400
je 0x100e136d
or ecx, 3
mov dword [ebp + 0x10], ecx
mov eax, 0x10000
mov dword [ebx + 0xa4], eax
mov dword [ebx + 0xa8], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x100e1520
mov edx, dword [eax + 0x10]
mov dword [ebx + 0xa4], edx
mov edx, dword [eax + 0x14]
mov dword [ebx + 0xa8], edx
mov edx, dword [eax]
mov edx, dword [edx + 0x210]
mov dword [ebp - 4], edx
mov edx, dword [eax]
mov edx, dword [edx + 0x68]
mov dword [ebp - 0x20], edx
mov edx, dword [eax + 0x2c]
mov dword [ebp - 0x10], edx
cmp edx, 0xffffffff
je 0x100e1520
mov edx, dword [ebp - 4]
cmp dword [edx + 0x60], 0
je 0x100e1520
test cl, 8
jne 0x100e1520
lea eax, [ebp - 0xc]
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [edx + 0x48]
push eax
push edi
call ecx
add esp, 0x1c
test eax, eax
jne 0x100e151a
movzx ecx, byte [ebp - 0xb]
movsx eax, byte [ebp - 0xa]
xor edx, edx
shl ecx, 6
mov dword [ebx + 0x6c], edx
movzx edx, byte [ebp - 0xc]
mov dword [ebx + 0x18], ecx
shl edx, 6
mov ecx, eax
shl ecx, 6
mov dword [ebx + 0x1c], edx
mov dword [ebx + 0x20], ecx
movsx ecx, byte [ebp - 9]
mov edx, ecx
shl edx, 6
mov dword [ebx + 0x24], edx
movzx edx, byte [ebp - 8]
shl edx, 6
mov dword [ebx + 0x28], edx
movsx edx, byte [ebp - 7]
mov esi, edx
shl esi, 6
mov dword [ebx + 0x2c], esi
movsx esi, byte [ebp - 6]
shl esi, 6
mov dword [ebx + 0x30], esi
movzx esi, byte [ebp - 5]
shl esi, 6
test byte [ebp + 0x10], 0x10
mov dword [ebx + 0x34], esi
mov dword [ebx + 0x48], 0x62697473
je 0x100e146d
movsx eax, byte [ebp - 6]
mov dword [ebx + 0x64], edx
mov dword [ebx + 0x68], eax
jmp 0x100e1473
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x68], ecx
mov esi, dword [ebp + 0xc]
mov eax, dword [edi + 0x210]
mov eax, dword [eax + 0x70]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1c]
push edx
push esi
push 0
push edi
call eax
movzx ecx, word [ebp - 0x14]
add esp, 0x14
mov dword [ebx + 0x38], ecx
cmp byte [edi + 0x124], 0
je 0x100e14d4
cmp word [edi + 0x14a], 0
jbe 0x100e14d4
mov edx, dword [edi + 0x210]
mov edx, dword [edx + 0x70]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push esi
push 1
push edi
call edx
movzx eax, word [ebp - 0x14]
add esp, 0x14
pop edi
mov dword [ebx + 0x3c], eax
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0xffff
cmp word [edi + 0x16c], cx
je 0x100e14fe
movsx edx, word [edi + 0x1b4]
movsx eax, word [edi + 0x1b2]
pop edi
sub eax, edx
mov dword [ebx + 0x3c], eax
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
movsx ecx, word [edi + 0xde]
movsx edx, word [edi + 0xdc]
pop edi
sub edx, ecx
pop esi
mov dword [ebx + 0x3c], edx
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
test ecx, 0x4000
jne 0x100e1348
cmp dword [esi + 0x768], 0
je 0x100e16f1
mov eax, dword [ebp + 0xc]
push eax
lea edi, [esi + 0xb6c]
call fcn.100da620
movzx ecx, al
add esp, 4
cmp ecx, dword [esi + 0x768]
jb 0x100e155e
mov al, byte [esi + 0x768]
dec al
mov edi, dword [esi + 0x570]
movzx edx, al
mov eax, dword [esi + edx*4 + 0x76c]
lea ecx, [esi + edx*4 + 0x76c]
mov edx, dword [eax + 0x30]
mov esi, dword [eax + 0x44]
mov dword [ebp - 0x34], edx
mov edx, dword [eax + 0x34]
mov dword [ebp - 0x30], edx
mov edx, dword [eax + 0x38]
mov dword [ebp - 0x2c], edx
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x28], eax
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x48]
mov eax, dword [ecx + 0x4c]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], eax
cmp edi, esi
je 0x100e15d1
mov ecx, dword [ebx + 0xa4]
push esi
push edi
push ecx
call fcn.100b2ff0
mov edx, dword [ebx + 0xa8]
push esi
push edi
push edx
mov dword [ebx + 0xa4], eax
call fcn.100b2ff0
add esp, 0x18
mov dword [ebx + 0xa8], eax
mov byte [ebp - 0x19], 1
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
xor edx, edx
mov word [ebx + 0x6e], dx
lea edx, [ebx + 0x6c]
mov dword [ebp - 0x38], edx
xor esi, esi
mov word [edx], si
mov edx, ecx
shr edx, 1
not dl
and dl, 1
mov byte [ebp - 0x20], dl
mov byte [ebx + 0xa0], dl
mov dl, cl
sar ecx, 0x10
and ecx, 0xf
push ecx
mov ecx, dword [ebp - 0x20]
push ecx
push eax
not dl
and dl, 1
push edi
mov edi, ebx
lea eax, [ebp - 0x3f4]
mov byte [ebx + 0xa1], dl
mov dword [ebx + 0x48], 0x6f75746c
call fcn.100dc820
add esp, 0x10
test dword [ebp + 0x10], 0x100
je 0x100e163e
mov byte [ebp - 0x103], 1
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
lea esi, [ebp - 4]
lea edx, [ebp - 0x10]
mov ecx, edi
mov byte [ebp - 0x3b2], 0
call fcn.100dcb10
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x100e1b05
mov edx, dword [ebp + 8]
push edx
mov ecx, edi
lea esi, [ebp - 0x3f4]
call fcn.100dc8d0
add esp, 4
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x100e1b05
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push esi
lea edi, [ebp - 0x3f4]
call fcn.100e1120
add esp, 4
mov dword [ebp - 0x24], eax
cmp al, 0xa4
jne 0x100e16bc
mov eax, dword [ebp - 0x10]
push esi
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x19], 1
mov byte [ebx + 0xa0], 0
call fcn.100e1120
add esp, 4
mov dword [ebp - 0x24], eax
mov edi, dword [ebp - 0x14]
push esi
lea ecx, [ebp - 0x10]
mov eax, edi
call fcn.100dcb70
xor edx, edx
add esp, 4
cmp dword [ebp - 0x24], edx
jne 0x100e1b05
mov eax, dword [edi + 0x80]
cmp dword [eax + 0x30], edx
je 0x100e172c
mov dword [ebx + 0x88], edx
mov dword [ebx + 0x8c], edx
jmp 0x100e1757
mov edx, dword [esi + 0x55c]
mov dword [ebp - 0x34], edx
mov edx, dword [esi + 0x560]
mov dword [ebp - 0x30], edx
mov edx, dword [esi + 0x564]
mov dword [ebp - 0x2c], edx
mov edx, dword [esi + 0x568]
mov dword [ebp - 0x28], edx
mov edx, dword [esi + 0x574]
mov dword [ebp - 0x50], edx
mov edx, dword [esi + 0x578]
mov dword [ebp - 0x4c], edx
jmp 0x100e15da
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x4b0]
cmp eax, edx
je 0x100e1757
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + edx*4]
mov ecx, dword [ecx + 0x4b4]
lea edx, [eax + ecx - 1]
mov dword [ebx + 0x88], edx
mov dword [ebx + 0x8c], esi
xor edx, edx
mov ecx, dword [ebp - 0x3ec]
cmp ecx, edx
je 0x100e1784
mov eax, dword [ebp - 0x3e4]
mov esi, dword [eax]
mov dword [ecx + 0x6c], esi
mov esi, dword [eax + 4]
mov dword [ecx + 0x70], esi
mov esi, dword [eax + 8]
mov dword [ecx + 0x74], esi
mov esi, dword [eax + 0xc]
mov dword [ecx + 0x78], esi
mov eax, dword [eax + 0x10]
mov dword [ecx + 0x7c], eax
mov ecx, dword [edi + 0x80]
mov eax, dword [ecx + 0x30]
cmp eax, edx
je 0x100e17fc
mov eax, dword [eax]
cmp dword [eax + 8], edx
je 0x100e17fc
mov ecx, dword [ebp - 0x3d4]
mov eax, dword [ebp - 0x3cc]
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x3c8]
mov dword [ebp - 0x40], eax
mov eax, dword [edi + 0x80]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x3c], ecx
mov eax, dword [eax + 0x30]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ecx + 8]
lea esi, [ebp - 0x48]
push esi
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
call ecx
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x3d4], edx
mov edx, dword [ebp - 0x3c]
add esp, 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x3cc], ecx
mov dword [ebp - 0x3c8], edx
test eax, eax
jne 0x100e1b05
test dword [ebp + 0x10], 0x400
je 0x100e184f
mov ecx, dword [ebp - 0x3d4]
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebx + 0x9c]
mov dword [ebx + 0x20], ecx
mov ecx, dword [ebp - 0x34]
mov dword [ebx + 0x28], edx
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 0x30]
mov dword [eax + 0x10], edx
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x50]
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 0x4c]
pop edi
pop esi
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], edx
mov byte [eax + 8], 1
mov eax, dword [ebp - 0x24]
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10c]
mov dword [ebx + 0x28], eax
lea esi, [ebx + 0x18]
mov dword [ebx + 0x38], eax
mov eax, dword [ebx + 0x9c]
mov byte [eax + 8], 0
cmp byte [edi + 0x124], 0
je 0x100e18b3
xor eax, eax
cmp word [edi + 0x14a], ax
jbe 0x100e18b3
mov ecx, dword [edi + 0x210]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
lea edx, [ebp - 4]
push edx
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ecx + 0x70]
push edx
push 1
push edi
mov byte [ebp - 0x11], 1
call eax
movsx ecx, word [ebp - 0x10]
movzx edx, word [ebp - 4]
add esp, 0x14
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edx
jmp 0x100e18ed
mov eax, 0xffff
mov byte [ebp - 0x11], 0
cmp word [edi + 0x16c], ax
je 0x100e18da
movsx ecx, word [edi + 0x1b4]
movsx edx, word [edi + 0x1b2]
sub edx, ecx
mov dword [esi + 0x1c], edx
jmp 0x100e18ed
movsx eax, word [edi + 0xde]
movsx ecx, word [edi + 0xdc]
sub ecx, eax
mov dword [esi + 0x1c], ecx
mov edx, dword [esi + 0x1c]
mov eax, dword [ebp + 8]
mov dword [ebx + 0x3c], edx
mov dword [ebx + 0x48], 0x6f75746c
mov dword [ebx + 0x7c], 0
test eax, eax
je 0x100e1916
cmp word [eax + 0xe], 0x18
jae 0x100e1916
mov dword [ebx + 0x7c], 0x100
or dword [ebx + 0x7c], 4
mov eax, 0x10000
cmp dword [ebp - 0x34], eax
jne 0x100e1935
cmp dword [ebp - 0x28], eax
jne 0x100e1935
cmp dword [ebp - 0x30], 0
jne 0x100e1935
cmp dword [ebp - 0x2c], 0
je 0x100e1945
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
push eax
push ecx
call fcn.100b4950
add esp, 8
mov eax, dword [ebp - 0x50]
mov edi, dword [ebp - 0x4c]
test eax, eax
jne 0x100e1953
test edi, edi
je 0x100e1961
mov edx, dword [ebp - 0x38]
push edi
push eax
push edx
call fcn.100b4810
add esp, 0xc
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0xc]
push edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
call fcn.100b4850
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x50]
mov edx, dword [esi + 0x1c]
mov dword [esi + 0x10], eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0xc]
push ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], edx
call fcn.100b4850
mov edx, dword [ebp - 8]
add edx, edi
add esp, 0x10
test byte [ebp + 0x10], 1
mov dword [esi + 0x1c], edx
je 0x100e19b9
cmp byte [ebp - 0x19], 0
je 0x100e1aaa
cmp byte [ebp - 0x20], 0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebx + 0xa4]
mov edx, dword [ebx + 0xa8]
mov edi, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], edx
je 0x100e19e0
cmp dword [ebp - 0x3b0], 0
jne 0x100e1a4c
movsx ebx, word [eax + 2]
test ebx, ebx
jle 0x100e1a4c
mov ecx, dword [edi]
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov eax, dword [edi + 4]
mov dword [edi], edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [edi + 4], ecx
dec ebx
add edi, 8
test ebx, ebx
jg 0x100e19e8
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x10], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov dword [esi + 0x1c], edx
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x48]
push eax
push ecx
call fcn.100b4790
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
sub edx, ecx
mov dword [esi], edx
mov edx, eax
sub edx, dword [ebp - 0x44]
add esp, 8
cmp byte [ebp - 0x11], 0
mov dword [esi + 4], edx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
je 0x100e1af2
mov eax, dword [esi + 0x10]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov eax, dword [ebp - 0x24]
pop edi
mov dword [esi + 0x14], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test byte [ebp + 0x10], 0x10
je 0x100e1b05
mov eax, dword [esi + 0x1c]
push eax
push esi
call fcn.100b3890
add esp, 8
mov eax, dword [ebp - 0x24]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret