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

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x94]
sub eax, 0x17
lea eax, [eax + eax*2]
movzx edx, byte [eax + eax + 0x10212b32]
mov cl, byte [eax + eax + 0x10212b33]
add eax, eax
mov byte [esp + 0x15], dl
movzx edx, byte [eax + 0x10212b31]
mov byte [esp + 0x13], dl
movzx edx, byte [eax + 0x10212b30]
mov byte [esp + 0x12], dl
mov dl, byte [eax + 0x10212b34]
mov al, byte [eax + 0x10212b35]
mov byte [esp + 0x14], al
mov eax, dword [edi + 0x78]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x4c]
mov esi, dword [eax + 0x90]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x20], eax
xor eax, eax
xor ebp, ebp
cmp byte [esp + 0x14], al
mov ebx, 1
mov dword [esp + 0x28], ebx
mov byte [esp + 0x17], cl
mov byte [esp + 0x16], dl
mov dword [esp + 0x1c], 2
mov dword [esp + 0x18], ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
je 0x10136945
mov dword [esp + 0x20], 8
mov eax, dword [edi + 0x24]
shr eax, 1
movzx eax, al
and eax, 1
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], eax
test bl, 1
je 0x10136a15
test cl, cl
je 0x10136a15
xor al, al
cmp dword [edi + 0x90], 0
jbe 0x101368d0
mov eax, dword [edi + 0x8c]
mov al, byte [eax]
and al, 1
test al, al
mov dword [esp + 0x18], 1
jne 0x10136a08
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x24]
push 0
lea ebx, [esi + 8]
push 0
add ecx, 2
and eax, 0xef7fff81
push ecx
or eax, 0x600201
push 2
mov ecx, esi
mov dword [ebx], eax
call fcn.100f2e20
mov edx, dword [edi + 0x44]
mov eax, dword [edi + 0x50]
mov ecx, dword [eax + edx*4]
mov edx, dword [edi + 0x34]
mov eax, dword [edi + 0x30]
mov ecx, dword [edx + ecx*4]
mov edx, dword [eax]
mov eax, dword [ebx]
mov ebp, dword [esi + 0xc]
shr eax, 0x15
and ebp, 0xfffffc3f
and eax, 7
or ebp, 0x20
cmp eax, 5
mov dword [esi + 0xc], ebp
ja case.0x1013693e.0
jmp dword [eax*4 + 0x1013755c]
mov eax, dword [esp + 0x20]
cmp eax, 8
je 0x10136893
cmp eax, 0x10
je 0x10136965
mov ebx, 2
mov dword [esp + 0x28], ebx
jmp 0x101368aa
mov eax, 2
mov dword [esp + 0x30], eax
jmp 0x101368a6
mov eax, dword [esi + 0x10]
and eax, 0xfe45ffff
or eax, 0x450000
mov dword [esi + 0x10], eax
jmp 0x101369b0
mov eax, dword [esi + 0x10]
and eax, 0xfe69ffff
or eax, 0x690000
mov dword [esi + 0x10], eax
jmp 0x101369b0
mov eax, dword [esi + 0x10]
and eax, 0xfe8dffff
or eax, 0x8d0000
mov dword [esi + 0x10], eax
jmp 0x101369b0
and dword [esi + 0x10], 0xfe00ffff
mov ebp, dword [esi + 0x10]
and ecx, 0xff
shl ecx, 5
mov eax, ecx
and ebp, 0xffff601f
or eax, ebp
lea ecx, [edx*4]
xor ecx, eax
and ecx, 0x1f
mov dword [esi + 0x10], eax
xor ecx, eax
mov dword [esi + 0x10], ecx
mov edx, dword [edi + 0x38]
cmp byte [edx], 0
je 0x101369eb
and ecx, 0xfe00ffff
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x4c]
push ebx
lea eax, [esp + 0x38]
push eax
call fcn.10142640
mov ebx, dword [eax]
mov cl, byte [esp + 0x17]
mov dl, byte [esp + 0x16]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], 3
mov ebp, 1
test dl, dl
je 0x10136b90
cmp byte [esp + 0x12], 0
jne 0x10136b90
test cl, cl
jne 0x10136b90
cmp byte [esp + 0x13], cl
jne 0x10136b90
cmp byte [esp + 0x15], cl
je 0x10136b86
test bl, 1
je 0x10136b83
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, edi
call fcn.10119a30
add dword [esp + 0x18], 1
test al, al
jne 0x10136b83
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esi + 8]
lea ebx, [esi + 8]
and eax, 0xff5fff81
or eax, 0x400001
push 1
mov ecx, esi
mov dword [ebx], eax
call fcn.100fc410
movzx ecx, byte [edi + 0x9e]
mov edx, dword [ebx]
mov eax, dword [esp + 0x1c]
shl ecx, 0x1f
and edx, 0x7fffffff
or ecx, edx
mov edx, dword [esi + 0xc]
mov dword [ebx], ecx
mov ecx, dword [esp + 0x24]
add eax, ecx
shl eax, 0x15
and eax, 0x1fe00000
and edx, 0xffe0
or eax, edx
or eax, 0x2000001e
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x44]
mov edx, dword [edi + 0x50]
add ecx, ebp
mov ecx, dword [edx + ecx*4]
mov edx, dword [edi + 0x34]
mov edx, dword [edx + ecx*4]
mov ecx, dword [ebx]
and al, 0xbf
shr ecx, 0x15
and ecx, 7
or eax, 0x3a0
cmp ecx, 5
mov dword [esi + 0xc], eax
ja case.0x10136aeb.0
jmp dword [ecx*4 + 0x10137574]
mov eax, dword [esi + 0x10]
and eax, 0xfe45ffff
or eax, 0x450000
mov dword [esi + 0x10], eax
jmp 0x10136b45
mov ecx, dword [esi + 0x10]
and ecx, 0xfe69ffff
or ecx, 0x690000
mov dword [esi + 0x10], ecx
jmp 0x10136b45
mov eax, dword [esi + 0x10]
and eax, 0xfe8dffff
or eax, 0x8d0000
mov dword [esi + 0x10], eax
jmp 0x10136b45
mov ecx, dword [esi + 0x10]
and ecx, 0xfe8dffff
or ecx, 0x8d0000
mov dword [esi + 0x10], ecx
jmp 0x10136b45
and dword [esi + 0x10], 0xfe00ffff
mov ecx, dword [esi + 0x10]
and edx, 0xff
push 4
shl edx, 5
and ecx, 0xffff600c
push 2
or edx, ecx
push 8
or edx, 0xc
push 0
mov ecx, esi
mov dword [esi + 0x10], edx
call fcn.100ea4b0
mov ecx, dword [esp + 0x4c]
push ebx
lea edx, [esp + 0x4c]
push edx
call fcn.10142640
mov ebx, dword [eax]
mov dword [esp + 0x28], ebx
add ebp, 1
add dword [esp + 0x1c], 1
jmp 0x10137160
cmp byte [esp + 0x15], 0
je 0x10137133
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
add eax, ecx
shl eax, 0x15
test dl, dl
je 0x10136da1
mov dword [esp + 0x48], 3
mov dword [esp + 0x28], 0
mov dword [esp + 0x34], eax
test bl, 1
je 0x10136d4c
mov edx, dword [esp + 0x18]
push edx
mov ecx, edi
call fcn.10119a30
test al, al
jne 0x10136c74
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x34]
and eax, 0xff7fff81
lea ebx, [esi + 8]
or eax, 0x600001
mov dword [ebx], eax
movzx ecx, byte [edi + 0x9e]
and eax, 0x7fffffff
shl ecx, 0x1f
or ecx, eax
mov eax, dword [esi + 0xc]
and edx, 0x1fe00000
and eax, 0xffe0
or edx, eax
mov dword [ebx], ecx
mov ecx, dword [esp + 0x48]
or edx, 0x2000001e
mov dword [esi + 0xc], edx
mov edx, dword [edi + 0x44]
mov eax, dword [edi + 0x50]
push 7
push ecx
add edx, ebp
mov ecx, dword [eax + edx*4]
mov eax, dword [esp + 0x30]
mov edx, dword [edi + 0x34]
shr eax, 1
add eax, dword [edx + ecx*4]
mov ecx, esi
push eax
push 1
push 0
call fcn.100f2ee0
push 0
push 1
push 0
push 0
mov ecx, esi
call fcn.100ea4b0
push ebx
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x54]
call fcn.10142640
mov ebx, dword [eax]
test bl, 1
je 0x10136d4c
cmp dword [esp + 0x20], 0x10
jne 0x10136d4c
mov edx, dword [esp + 0x18]
add edx, 1
push edx
mov ecx, edi
call fcn.10119a30
test al, al
jne 0x10136d4c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esi + 8]
lea ebx, [esi + 8]
and ecx, 0xffffff81
or ecx, 1
mov dword [ebx], ecx
push 8
mov ecx, esi
call fcn.100ea3e0
mov eax, dword [ebx]
mov ecx, dword [esp + 0x24]
and ah, 0xdf
or ah, 0x10
push 7
mov dword [ebx], eax
movzx edx, byte [edi + 0x9e]
shl edx, 0x1f
and eax, 0x7fffffff
or edx, eax
mov eax, dword [esp + 0x20]
mov dword [ebx], edx
lea edx, [eax + ecx + 4]
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x4c]
shl edx, 0x15
and edx, 0x1fe00000
and eax, 0xffe0
or edx, eax
or edx, 0x2000001e
mov dword [esi + 0xc], edx
mov edx, dword [edi + 0x44]
mov eax, dword [edi + 0x50]
push ecx
add edx, ebp
mov ecx, dword [eax + edx*4]
mov eax, dword [esp + 0x30]
mov edx, dword [edi + 0x34]
shr eax, 1
add eax, dword [edx + ecx*4]
mov ecx, esi
push eax
push 1
push 0
call fcn.100f2ee0
push 0
push 1
push 0
push 0
mov ecx, esi
call fcn.100ea4b0
push ebx
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x54]
call fcn.10142640
mov ebx, dword [eax]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x28]
add dword [esp + 0x1c], 1
add dword [esp + 0x34], 0x200000
add edx, 0xfffffffc
add eax, 1
and edx, 7
cmp eax, 4
mov dword [esp + 0x48], edx
mov dword [esp + 0x28], eax
jb 0x10136bc4
add dword [esp + 0x18], 1
add ebp, 1
cmp dword [esp + 0x20], 0x10
mov dword [esp + 0x28], ebx
jne 0x10137160
add dword [esp + 0x1c], 4
add dword [esp + 0x18], 1
jmp 0x10137160
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], 4
lea ecx, [ecx]
test bl, 1
je 0x10136ec1
mov edx, dword [esp + 0x18]
push edx
mov ecx, edi
call fcn.10119a30
test al, al
jne 0x10136ec1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esi + 8]
lea ebx, [esi + 8]
and ecx, 0xffffff81
or ecx, 1
mov dword [ebx], ecx
movzx eax, byte [edi + 0x9e]
shl eax, 0x1f
and ecx, 0x7fffffff
or eax, ecx
cmp byte [esp + 0x48], 0
mov dword [ebx], eax
je 0x10136e30
cmp dword [esp + 0x20], 0x10
jne 0x10136e30
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x28]
and ecx, 0xffe0
and edx, 0xfe00000
and eax, 0xff9fefff
or eax, 0x802000
or ecx, edx
or ecx, 0x3000001e
mov dword [ebx], eax
mov dword [esi + 0xc], ecx
jmp 0x10136e58
mov ecx, dword [esi + 0xc]
and eax, 0xff7fffff
or eax, 0x600000
mov dword [ebx], eax
mov eax, dword [esp + 0x28]
and eax, 0x1fe00000
and ecx, 0xffe0
or eax, ecx
or eax, 0x2000001e
mov dword [esi + 0xc], eax
mov edx, dword [edi + 0x30]
mov eax, dword [edx + ebp*4]
mov ecx, dword [edi + 0x44]
mov edx, dword [edi + 0x50]
push 7
push eax
add ecx, ebp
mov eax, dword [edx + ecx*4]
mov ecx, dword [edi + 0x34]
mov edx, dword [ecx + eax*4]
push edx
push 1
push 0
mov ecx, esi
call fcn.100f2ee0
mov eax, dword [edi + 0x38]
cmp byte [eax + ebp], 0
je 0x10136ea9
push 0
push 1
push 0
push 0
mov ecx, esi
call fcn.100ea4b0
push ebx
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x54]
call fcn.10142640
mov ebx, dword [eax]
jmp 0x10136ec6
add dword [esp + 0x18], 1
push ebx
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x54]
call fcn.10142640
mov ebx, dword [eax]
jmp 0x10136ec6
add dword [esp + 0x18], 1
test bl, 1
je 0x10136fbf
cmp dword [esp + 0x20], 0x10
jne 0x10136fbf
cmp byte [esp + 0x48], 0
jne 0x10136fba
mov edx, dword [esp + 0x18]
push edx
mov ecx, edi
call fcn.10119a30
test al, al
jne 0x10136fba
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esi + 8]
lea ebx, [esi + 8]
and ecx, 0xffffff81
or ecx, 1
mov dword [ebx], ecx
push 8
mov ecx, esi
call fcn.100ea3e0
mov eax, dword [ebx]
mov ecx, dword [esp + 0x24]
and ah, 0xdf
or ah, 0x10
push 7
mov dword [ebx], eax
movzx edx, byte [edi + 0x9e]
shl edx, 0x1f
and eax, 0x7fffffff
or edx, eax
mov eax, dword [esp + 0x20]
mov dword [ebx], edx
lea edx, [eax + ecx + 4]
mov eax, dword [esi + 0xc]
shl edx, 0x15
and edx, 0x1fe00000
and eax, 0xffe0
or edx, eax
or edx, 0x2000001e
mov dword [esi + 0xc], edx
mov ecx, dword [edi + 0x44]
mov edx, dword [edi + 0x50]
add ecx, ebp
mov eax, dword [edx + ecx*4]
mov ecx, dword [edi + 0x34]
mov eax, dword [ecx + eax*4]
mov edx, dword [edi + 0x38]
mov ecx, dword [edi + 0x30]
cmp byte [edx + ebp], 0
mov edx, dword [ecx + ebp*4]
mov ecx, esi
push edx
je 0x10136f9c
push eax
push 1
push 0
call fcn.100f2ee0
push 0
push 1
push 0
push 0
mov ecx, esi
call fcn.100ea4b0
jmp 0x10136fa9
add eax, 1
push eax
push 1
push 0
call fcn.100f2ee0
mov ecx, dword [esp + 0x4c]
push ebx
lea eax, [esp + 0x3c]
push eax
call fcn.10142640
mov ebx, dword [eax]
add dword [esp + 0x18], 1
add dword [esp + 0x28], 0x200000
mov eax, 1
add dword [esp + 0x1c], eax
add ebp, eax
sub dword [esp + 0x34], eax
jne 0x10136db0
cmp byte [esp + 0x14], 0
mov dword [esp + 0x28], ebx
je 0x10137125
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
add ecx, eax
shl ecx, 0x15
add eax, 4
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x34], 4
mov dword [esp + 0x1c], eax
nop
test bl, 1
je 0x10137108
cmp ecx, 0x3f
ja 0x10137049
cmp ecx, dword [edi + 0x90]
jae 0x10137049
mov eax, dword [edi + 0x8c]
mov edx, ecx
and ecx, 0x1f
mov ebx, 1
shl ebx, cl
shr edx, 5
test dword [eax + edx*4], ebx
setne al
test al, al
jne 0x10137100
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x2c]
and al, 0x81
lea ebx, [esi + 8]
or al, 1
and edx, 3
or dh, 6
push 7
mov dword [ebx], eax
movzx ecx, byte [edi + 0x9e]
shl ecx, 0x1f
and eax, 0x7f1fcfff
or ecx, eax
mov eax, dword [esp + 0x4c]
and ecx, 0xff7fcfff
shl edx, 0xc
or ecx, edx
mov dword [ebx], ecx
mov ecx, dword [esi + 0xc]
and ecx, 0xffe0
and eax, 0x1fe00000
or eax, ecx
or eax, 0x2000001e
mov dword [esi + 0xc], eax
mov edx, dword [edi + 0x30]
mov eax, dword [edx + ebp*4]
mov ecx, dword [edi + 0x44]
mov edx, dword [edi + 0x50]
push eax
add ecx, ebp
mov eax, dword [edx + ecx*4]
mov ecx, dword [edi + 0x34]
mov edx, dword [ecx + eax*4]
push edx
push 1
push 0
mov ecx, esi
call fcn.100f2ee0
mov eax, dword [edi + 0x38]
cmp byte [eax + ebp], 0
je 0x101370e0
push 0
push 1
push 0
push 0
mov ecx, esi
call fcn.100ea4b0
jmp 0x101370e5
add dword [esp + 0x18], 1
push ebx
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x54]
call fcn.10142640
mov ebx, dword [eax]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x28], ebx
jmp 0x1013710f
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
add ecx, 1
mov dword [esp + 0x18], ecx
add dword [esp + 0x48], 0x200000
add ebp, 1
sub dword [esp + 0x34], 1
jne 0x10137010
cmp dword [esp + 0x20], 0x10
jne 0x10137160
add dword [esp + 0x1c], 4
jmp 0x10137160
mov ecx, dword [esp + 0x1c]
mov edx, ebx
and edx, 1
mov dword [esp + 0x48], 4
test edx, edx
je 0x10137155
add ecx, 1
cmp dword [esp + 0x20], 0x10
jne 0x10137155
add ecx, 1
sub dword [esp + 0x48], 1
jne 0x10137144
mov dword [esp + 0x1c], ecx
test bl, 1
je 0x1013754c
cmp byte [esp + 0x13], 0
je 0x1013728e
xor al, al
cmp dword [esp + 0x18], 0x3f
ja 0x101371a8
mov ecx, dword [esp + 0x18]
cmp ecx, dword [edi + 0x90]
jae 0x101371a8
mov eax, dword [edi + 0x8c]
mov edx, ecx
and ecx, 0x1f
mov ebx, 1
shl ebx, cl
shr edx, 5
test dword [eax + edx*4], ebx
mov ebx, dword [esp + 0x28]
setne al
add dword [esp + 0x18], 1
test al, al
jne 0x10137274
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x20]
lea ebx, [esi + 8]
and al, 0x81
or al, 1
push ecx
mov ecx, esi
mov dword [ebx], eax
call fcn.100ea3e0
mov edx, dword [esp + 0x2c]
shl edx, 0xc
xor edx, dword [ebx]
push 7
and edx, 0x3000
xor dword [ebx], edx
movzx ecx, byte [edi + 0x9f]
mov eax, dword [ebx]
mov edx, dword [esp + 0x20]
shl ecx, 0x1f
and eax, 0x7fffffff
or ecx, eax
mov eax, dword [esp + 0x28]
mov dword [ebx], ecx
mov ecx, dword [esi + 0xc]
add edx, eax
shl edx, 0x15
and edx, 0x1fe00000
and ecx, 0xffe0
or edx, ecx
or edx, 0x2000001e
mov dword [esi + 0xc], edx
mov edx, dword [edi + 0x30]
mov eax, dword [edx + ebp*4]
mov ecx, dword [edi + 0x44]
mov edx, dword [edi + 0x50]
push eax
add ecx, ebp
mov eax, dword [edx + ecx*4]
mov ecx, dword [edi + 0x34]
mov edx, dword [ecx + eax*4]
push edx
push 1
push 0
mov ecx, esi
call fcn.100f2ee0
mov eax, dword [edi + 0x38]
cmp byte [eax + ebp], 0
je 0x1013725f
push 0
push 1
push 0
push 0
mov ecx, esi
call fcn.100ea4b0
push ebx
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x54]
call fcn.10142640
mov ebx, dword [eax]
mov dword [esp + 0x28], ebx
mov eax, 1
add dword [esp + 0x1c], eax
add ebp, eax
cmp dword [esp + 0x20], 0x10
jne 0x1013728e
add dword [esp + 0x1c], eax
add dword [esp + 0x18], eax
test bl, 1
je 0x1013754c
cmp byte [esp + 0x12], 0
je 0x10137388
mov ecx, dword [esp + 0x18]
cmp ecx, 0x3f
ja 0x101372d6
cmp ecx, dword [edi + 0x90]
jae 0x101372d6
mov eax, dword [edi + 0x8c]
mov edx, ecx
and ecx, 0x1f
mov ebx, 1
shl ebx, cl
shr edx, 5
test dword [eax + edx*4], ebx
setne al
test al, al
jne 0x1013736e
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x20]
lea ebx, [esi + 8]
and al, 0x81
or al, 1
push ecx
mov ecx, esi
mov dword [ebx], eax
call fcn.100ea3e0
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
shl eax, 0xc
xor eax, dword [ebx]
push 0
and eax, 0x3000
xor dword [ebx], eax
mov eax, dword [esp + 0x28]
push 0
add edx, eax
push edx
push 2
mov ecx, esi
call fcn.100f2e20
mov ecx, dword [edi + 0x30]
mov edx, dword [ecx + ebp*4]
mov eax, dword [edi + 0x44]
mov ecx, dword [edi + 0x50]
push 0
push edx
add eax, ebp
mov edx, dword [ecx + eax*4]
mov eax, dword [edi + 0x34]
mov ecx, dword [eax + edx*4]
push ecx
push 1
push 0
mov ecx, esi
call fcn.100f2ee0
mov edx, dword [edi + 0x38]
cmp byte [edx + ebp], 0
je 0x1013735b
push 0
push 1
push 0
push 0
mov ecx, esi
call fcn.100ea4b0
mov ecx, dword [esp + 0x4c]
push ebx
lea eax, [esp + 0x4c]
push eax
call fcn.10142640
mov ebx, dword [eax]
jmp 0x10137372
mov ebx, dword [esp + 0x28]
mov eax, 1
add dword [esp + 0x1c], eax
add ebp, eax
cmp dword [esp + 0x20], 0x10
jne 0x10137388
add dword [esp + 0x1c], eax
test bl, 1
je 0x1013754c
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x24]
push 0
lea ebx, [esi + 8]
push 0
add ecx, 1
and eax, 0xef7fff81
push ecx
or eax, 0x600201
push 2
mov ecx, esi
mov dword [ebx], eax
call fcn.100f2e20
mov edx, dword [edi + 0x30]
mov eax, dword [edx + ebp*4 + 4]
mov ecx, dword [edi + 0x44]
mov edx, dword [edi + 0x50]
push 0
push eax
add ecx, ebp
mov eax, dword [edx + ecx*4 + 4]
mov ecx, dword [edi + 0x34]
mov edx, dword [ecx + eax*4]
push edx
push 1
push 0
mov ecx, esi
call fcn.100f2ee0
mov eax, dword [edi + 0x38]
cmp byte [eax + ebp + 1], 0
je 0x10137400
push 0
push 1
push 0
push 0
mov ecx, esi
call fcn.100ea4b0
push ebx
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x54]
call fcn.10142640
mov ebx, dword [eax]
test bl, 1
je 0x1013754c
cmp dword [esp + 0x20], 0x10
mov ebx, 4
jne 0x10137428
xor ebx, ebx
cmp byte [esp + 0x16], 0
je 0x10137449
cmp byte [esp + 0x12], 0
jne 0x10137449
cmp byte [esp + 0x17], 0
jne 0x10137449
cmp byte [esp + 0x13], 0
jne 0x10137449
mov ebx, 1
cmp byte [esp + 0x14], 0
je 0x1013745e
mov edx, dword [edi + 0x24]
shr edx, 1
movzx ebx, dl
and ebx, 1
or ebx, 2
cmp byte [edi + 0x9c], 0
je 0x1013746a
or ebx, 8
mov eax, dword [edi + 0x98]
mov ecx, dword [esp + 0x4c]
push eax
call fcn.10100040
mov ecx, dword [esp + 0x4c]
mov ecx, dword [ecx + 0x84]
mov edx, dword [ecx]
push eax
mov al, byte [edi + 0x9d]
push ebx
push 4
push eax
mov eax, dword [esp + 0x2c]
push 0
push 0
push eax
call dword [edx + 0xc]
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x48], eax
call dword [edx + 8]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x20]
lea ebx, [esi + 8]
and al, 0xb1
or al, 0x31
push ecx
mov ecx, esi
mov dword [ebx], eax
call fcn.100ea3e0
mov eax, dword [esp + 0x24]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0xc]
mov edx, dword [esi]
push 5
mov ecx, esi
call dword [edx + 0x10]
mov eax, dword [esp + 0x30]
push eax
push 0
push 0
push 0
call fcn.1006dd40
add esp, 8
push eax
push 0
mov ecx, esi
call fcn.100f2e20
mov edx, dword [edi + 0x44]
mov ecx, dword [esp + 0x30]
mov eax, dword [edi + 0x50]
push ecx
add edx, ebp
mov ecx, dword [eax + edx*4]
mov edx, dword [edi + 0x34]
mov eax, dword [edx + ecx*4]
push 0
push eax
push 1
push 0
mov ecx, esi
call fcn.100f2ee0
mov edx, dword [esi + 0xc]
mov ecx, dword [esp + 0x48]
and dh, 0x8f
or dh, 0xc
push ebx
lea eax, [esp + 0x4c]
mov dword [esi + 0x14], ecx
mov ecx, dword [esp + 0x50]
push eax
mov dword [esi + 0xc], edx
call fcn.10142640
mov eax, dword [eax]
mov ecx, dword [esp + 0x44]
pop edi
mov dword [ecx], eax
mov eax, ecx
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 0xc
mov eax, dword [esp + 0x44]
pop edi
pop esi
pop ebp
mov dword [eax], ebx
pop ebx
add esp, 0x30
ret 0xc