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

Disassembly:
sub esp, 0x88
push ebx
push ebp
mov ebp, dword [esp + 0x94]
xor ecx, ecx
push esi
push edi
mov edi, dword [esp + 0xa0]
mov esi, dword [ebp]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x58], ecx
test byte [edi + 0x24], 0x80
movsx eax, word [edi + 0x2a]
mov dword [esp + 0x5c], ecx
mov byte [esp + 0x1b], cl
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x14], eax
jne 0x10148563
mov dword [esp + 0x34], ecx
mov dword [esp + 0x68], 1
jmp 0x10148578
push edi
call fcn.10152228
mov dword [esp + 0x38], eax
pop ecx
xor ecx, ecx
movzx eax, word [eax + 0x32]
mov dword [esp + 0x68], eax
test dword [edi + 0x24], 0x800
mov al, byte [esp + 0xbc]
mov edx, dword [esp + 0xb0]
mov byte [esp + 0x13], al
je 0x101487c6
xor edx, edx
mov dword [esp + 0x38], ecx
mov eax, ecx
mov esi, edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], esi
cmp dword [esp + 0x14], 0
mov dword [esp + 0x28], edx
jle 0x10148773
xor eax, eax
mov esi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], esi
mov ecx, dword [edi + 4]
add ecx, esi
mov dword [esp + 0x48], ecx
movzx esi, byte [ecx + 0xc]
mov dword [esp + 0x2c], esi
test esi, esi
je 0x1014874f
movsx eax, word [edi + 0x28]
cmp edx, eax
je 0x1014874b
movzx eax, word [ecx + 0x10]
and eax, 0x60
je 0x10148602
cmp dword [esp + 0x24], 0
jne 0x10148602
inc dword [esp + 0x1c]
jmp 0x1014874b
cmp dword [esp + 0xc8], 0
mov ebp, dword [esp + 0x9c]
je 0x10148630
mov ebp, dword [esp + 0xc8]
cmp dword [ebp + edx*4], 0
mov ebp, dword [esp + 0x9c]
jge 0x10148630
test eax, eax
je 0x1014874b
cmp byte [esp + 0x13], 0xb
mov edx, dword [esp + 0x28]
je 0x10148662
movzx esi, byte [esp + 0x13]
mov dword [esp + 0x2c], esi
cmp esi, 5
jne 0x10148670
cmp dword [esp + 0x24], 0
jne 0x10148657
xor eax, eax
cmp dword [ecx + 4], eax
jne 0x1014867f
push 2
pop eax
mov esi, eax
mov dword [esp + 0x2c], esi
jmp 0x1014867f
cmp esi, 0xb
jne 0x10148644
push 2
pop ecx
mov esi, ecx
mov dword [esp + 0x2c], esi
cmp dword [esp + 0x24], 0
je 0x1014867f
test eax, eax
je 0x1014874b
push edx
push edi
call fcn.10156821
pop ecx
pop ecx
mov ecx, dword [esp + 0xb0]
cwde
inc ecx
add ecx, eax
mov eax, esi
mov dword [esp + 0x20], ecx
sub eax, 1
je 0x10148706
sub eax, 1
je 0x101486f8
sub eax, 1
je 0x10148706
dec eax
sub eax, 1
je 0x101486c6
push dword [esp + 0xc0]
push ecx
push 0x32
push ebx
call fcn.101596d3
add esp, 0x10
jmp 0x10148747
push ecx
push 0x33
push ebx
call fcn.101596ba
push dword [esp + 0x2c]
inc dword [esp + 0x48]
mov esi, eax
mov eax, dword [esp + 0x58]
push dword [eax + 4]
push ebp
call fcn.10143be8
push esi
push ebx
call fcn.1015fcbe
mov ecx, dword [ebx + 0x6c]
add esp, 0x20
mov dword [eax + 8], ecx
jmp 0x10148747
cmp dword [ebp + 0x74], 0
mov eax, ebp
cmovne eax, dword [ebp + 0x74]
mov byte [eax + 0x15], 1
mov eax, dword [esp + 0x48]
push dword [eax]
push dword [edi]
push str._s._s
push dword [esp + 0x58]
call fcn.1014ced5
push dword [esp + 0x30]
mov esi, eax
push dword [esp + 0x40]
push 0x513
push 0x43
push ebx
call fcn.1021b520
push 0xfffffffffffffff9
push esi
push ebx
call fcn.1021b520
push 1
push ebx
call fcn.10159a50
add esp, 0x38
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x30]
inc edx
add esi, 0x14
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], esi
cmp edx, eax
jl 0x101485c4
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x1c]
test esi, esi
jne 0x1014877b
test ecx, ecx
je 0x101487bb
test eax, eax
jne 0x101487bb
inc eax
mov dword [esp + 0x24], eax
push 0
pop edx
test ecx, ecx
jle 0x101485a9
test byte [edi + 0x24], 0x60
je 0x101485a9
mov eax, dword [esp + 0xb0]
push edi
inc eax
push eax
push ebp
call fcn.101404ea
mov eax, dword [esp + 0x30]
add esp, 0xc
mov ecx, dword [esp + 0x38]
xor edx, edx
jmp 0x101485a9
mov edx, dword [esp + 0xb0]
mov esi, dword [esp + 0x4c]
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x1014891d
mov eax, dword [esi + 0x20]
xor esi, esi
and eax, 0x200
or eax, esi
jne 0x1014891f
cmp byte [esp + 0x13], 0xb
mov eax, edx
not eax
mov dword [ebp + 0x34], eax
movzx eax, byte [esp + 0x13]
push 2
pop esi
cmovne esi, eax
xor eax, eax
mov dword [esp + 0x20], eax
cmp dword [ecx], eax
jle 0x10148916
lea eax, [ecx + 8]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0xc8]
mov ecx, dword [eax - 4]
mov dword [esp + 0x2c], ecx
test edx, edx
je 0x10148840
movzx eax, byte [esp + 0xb8]
push eax
push edx
push ecx
call fcn.1021b520
add esp, 0xc
test eax, eax
je 0x101488f6
cmp byte [esp + 0x1b], 0
jne 0x1014885f
mov eax, dword [esp + 0xb0]
inc eax
push eax
push edi
push ebx
call fcn.10156732
add esp, 0xc
mov byte [esp + 0x1b], 1
dec dword [ebp + 0x38]
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x48], eax
xor eax, eax
push eax
push dword [esp + 0x30]
push dword [esp + 0x54]
call fcn.101458f3
mov ecx, dword [esp + 0x58]
add esp, 0xc
mov dword [esp + 0x2c], eax
cmp byte [ecx + 0x51], 0
jne 0x101488a2
push 0x10
push dword [esp + 0x4c]
push eax
push ebp
call fcn.10145e10
mov eax, dword [esp + 0x3c]
add esp, 0x10
mov ecx, dword [esp + 0x4c]
test eax, eax
je 0x101488af
push eax
push ecx
call fcn.10145850
pop ecx
pop ecx
push 4
pop eax
cmp esi, eax
jne 0x101488c7
push dword [esp + 0xc0]
push ebx
call fcn.1015fce3
pop ecx
pop ecx
jmp 0x101488ea
push 2
pop eax
cmp esi, 5
push 3
cmove esi, eax
xor eax, eax
push eax
mov eax, dword [esp + 0x24]
push dword [eax]
push esi
push 0x113
push ebp
call fcn.1021b520
add esp, 0x18
push dword [esp + 0x48]
push ebx
call fcn.10161d60
pop ecx
pop ecx
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
inc edx
mov eax, dword [esp + 0x1c]
add eax, 0x14
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
cmp edx, dword [ecx]
jl 0x10148813
xor esi, esi
mov dword [ebp + 0x34], esi
jmp 0x1014891f
xor esi, esi
mov edx, dword [esp + 0xcc]
mov dword [esp + 0x38], edx
test edx, edx
je 0x10148958
cmp dword [edx], esi
jne 0x1014893f
push 4
pop eax
mov byte [esp + 0x13], al
mov dword [esp + 0x38], esi
jmp 0x10148958
mov eax, dword [edx + 0x10]
mov dword [esp + 0x5c], eax
test eax, eax
je 0x10148958
push 0xb
push ebx
call fcn.101596a4
pop ecx
pop ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x78], eax
mov eax, ecx
and eax, 0x6000
or eax, esi
jne 0x1014897b
mov dword [esp + 0x50], esi
mov dword [esp + 0x28], esi
jmp 0x101489ea
and ecx, 0x2000
or ecx, esi
push esi
push esi
je 0x101489af
push 0x7e
push edi
push ebp
call fcn.1021b520
mov esi, eax
add esp, 0x14
mov dword [esp + 0x50], esi
test esi, esi
jne 0x101489c7
push esi
push esi
push edi
push ebp
call fcn.1021b520
add esp, 0x10
test eax, eax
jne 0x101489c7
jmp 0x10148975
push edi
push ebp
mov dword [esp + 0x60], esi
call fcn.1021b520
mov esi, eax
add esp, 0x10
mov dword [esp + 0x28], esi
test esi, esi
je 0x101489ea
inc dword [ebp + 0x2c]
xor eax, eax
mov esi, dword [ebp + 0x2c]
push esi
push eax
push 0x45
push ebx
mov dword [esp + 0x38], esi
call fcn.101596d3
add esp, 0x10
dec dword [ebp + 0x38]
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x60], eax
cmp byte [esp + 0xb8], 0
mov ecx, dword [esp + 0xb4]
je 0x10148b2c
cmp dword [esp + 0x34], 0
jne 0x10148b2c
dec dword [ebp + 0x38]
mov dl, byte [esp + 0x13]
mov eax, dword [ebp + 0x38]
movzx esi, byte [edi + 0x32]
mov dword [esp + 0x1c], eax
cmp dl, 0xb
je 0x10148a26
movzx esi, dl
jmp 0x10148a2f
push 2
cmp esi, 0xb
pop edx
cmove esi, edx
mov edx, dword [esp + 0x38]
test edx, edx
je 0x10148a4c
cmp dword [edx + 0x10], 0
jne 0x10148a4c
cmp dword [edx + 8], 0
push 6
pop esi
push 4
pop edx
cmove esi, edx
jmp 0x10148a78
cmp esi, 5
jne 0x10148a78
cmp byte [esp + 0x13], 5
je 0x10148a78
cmp dword [edi + 8], 0
je 0x10148a78
push 0xb
push ebx
call fcn.101596a4
pop ecx
inc eax
pop ecx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x1c]
test ecx, ecx
je 0x10148a9d
push ecx
push eax
push dword [esp + 0xb8]
push 0x35
pop eax
push eax
push ebx
call fcn.1021b520
push 0x90
push ebx
call fcn.10159a50
add esp, 0x1c
push dword [esp + 0xb0]
push dword [esp + 0x20]
push dword [esp + 0xb0]
push 0x20
push ebx
call fcn.1021b520
mov eax, esi
add esp, 0x14
sub eax, 1
je 0x10148aeb
sub eax, 1
je 0x10148aeb
sub eax, 1
je 0x10148aeb
sub eax, 1
je 0x10148bb6
sub eax, 1
je 0x10148bca
sub eax, 1
je 0x10148b9e
push 2
pop eax
mov esi, eax
push edi
push esi
push ebp
call fcn.101532ab
add esp, 0xc
push dword [esp + 0x1c]
push ebx
call fcn.10161d60
mov esi, dword [esp + 0x78]
pop ecx
pop ecx
test esi, esi
je 0x10148b2c
push 0xb
push ebx
call fcn.101596a4
mov dword [esp + 0x88], eax
lea eax, [esi - 1]
push eax
push ebx
call fcn.1015fcbe
mov ecx, dword [ebx + 0x6c]
add esp, 0x10
mov dword [eax + 8], ecx
mov esi, dword [edi + 8]
xor edx, edx
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x14], edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x2c], eax
test esi, esi
je 0x1014937e
mov dword [esp + 0x2c], eax
mov eax, edx
cmp dword [ecx + eax*4], edx
je 0x1014936a
mov ecx, dword [esp + 0x5c]
cmp ecx, esi
jne 0x10148c5f
mov eax, dword [esp + 0x64]
push edx
inc eax
push ebx
mov dword [esp + 0x48], eax
call fcn.1015fce3
push dword [esp + 0x6c]
mov dword [esp + 0x88], eax
push ebx
call fcn.1015fcbe
mov ecx, dword [ebx + 0x6c]
add esp, 0x10
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x5c]
jmp 0x10148c69
push dword [esp + 0xa8]
xor eax, eax
push eax
push edi
push dword [esp + 0x44]
push ebp
call fcn.10158f9a
add esp, 0x14
push dword [esp + 0xc0]
push ebx
call fcn.1015fce3
pop ecx
pop ecx
jmp 0x10148af6
mov esi, dword [esp + 0x28]
test esi, esi
je 0x10148c23
cmp dword [ebp + 0x74], 0
mov eax, ebp
push 0xffffffffffffffff
cmovne eax, dword [ebp + 0x74]
push 1
push 5
mov byte [eax + 0x14], 1
xor eax, eax
push eax
push 1
push dword [esp + 0xc4]
push dword [esp + 0xc4]
push dword [esp + 0xc4]
push dword [esp + 0x70]
push edi
push ebp
call fcn.1014962f
push 1
push esi
push 0x52
push ebx
call fcn.101596d3
add esp, 0x3c
mov dword [esp + 0x6c], 1
jmp 0x10148c52
xor ecx, ecx
cmp dword [edi + 8], ecx
je 0x10148c52
cmp dword [ebp + 0x74], ecx
mov eax, ebp
push 0xffffffffffffffff
cmovne eax, dword [ebp + 0x74]
push ecx
push dword [esp + 0xb4]
push dword [esp + 0xb4]
mov byte [eax + 0x14], 1
push edi
push ebp
call fcn.1014989a
add esp, 0x18
mov dword [esp + 0x58], 1
jmp 0x10148af6
dec dword [ebp + 0x38]
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x40], eax
cmp byte [esp + 0x1b], 0
jne 0x10148c90
test ecx, ecx
je 0x10148c78
cmp ecx, esi
jne 0x10148c90
mov eax, dword [esp + 0xb0]
inc eax
push eax
push edi
push ebx
call fcn.10156732
add esp, 0xc
mov byte [esp + 0x1b], 1
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp dword [esi + 0x24], eax
je 0x10148cd5
mov edx, dword [esp + 0xa4]
push dword [edx + ecx*4]
push eax
push 0x48
push ebx
call fcn.101596d3
mov eax, dword [esp + 0xc0]
push 0x10
push dword [esp + 0x54]
not eax
mov dword [ebp + 0x34], eax
push dword [esi + 0x24]
push ebp
call fcn.10145dc0
mov ecx, dword [esp + 0x34]
add esp, 0x20
xor eax, eax
mov dword [ebp + 0x34], eax
mov eax, dword [esp + 0xa4]
and dword [esp + 0x20], 0
mov edx, dword [eax + ecx*4]
xor eax, eax
mov dword [esp + 0x30], eax
movzx eax, word [esi + 0x34]
mov ecx, eax
mov dword [esp + 0x24], edx
cmp word [esp + 0x20], ax
jae 0x10148dc2
mov ecx, edx
inc ecx
xor eax, eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x30]
mov eax, dword [esi + 4]
movzx eax, word [eax + edx*2]
movsx edx, ax
mov dword [esp + 0x20], eax
cmp edx, 0xfffffffe
jne 0x10148d4b
mov eax, dword [esp + 0xb0]
not eax
push ecx
mov ecx, dword [esp + 0x20]
mov dword [ebp + 0x34], eax
mov eax, dword [esi + 0x28]
push dword [eax + ecx + 4]
push ebp
call fcn.10143be8
add esp, 0xc
xor eax, eax
mov dword [ebp + 0x34], eax
jmp 0x10148d92
cmp edx, 0xffffffff
je 0x10148d7f
movsx eax, word [edi + 0x28]
cmp edx, eax
je 0x10148d7f
push dword [esp + 0x20]
push edi
call fcn.10156821
mov ecx, dword [esp + 0xb8]
push dword [esp + 0x4c]
cwde
inc ecx
add eax, ecx
push eax
push 0x4e
push ebx
call fcn.101596d3
add esp, 0x18
jmp 0x10148d92
push ecx
push dword [esp + 0xb4]
push 0x4f
push ebx
call fcn.101596d3
add esp, 0x10
mov ecx, dword [esp + 0x44]
inc dword [esp + 0x30]
add dword [esp + 0x1c], 0x14
inc ecx
movzx edx, word [esi + 0x34]
mov dword [esp + 0x44], ecx
cmp dword [esp + 0x30], edx
jl 0x10148d0c
mov eax, dword [esp + 0x14]
mov ecx, edx
mov edx, dword [esp + 0xa4]
mov edx, dword [edx + eax*4]
push edx
movzx eax, cx
push eax
mov eax, dword [esp + 0x2c]
inc eax
push eax
push 0x5b
push ebx
call fcn.1021b520
mov edx, dword [esp + 0x48]
add esp, 0x14
cmp dword [esp + 0xb4], 0
je 0x10148e05
cmp edx, esi
jne 0x10148e05
cmp byte [esp + 0xb8], 0
jne 0x10148e05
push dword [esp + 0x40]
push ebx
call fcn.10161d60
pop ecx
pop ecx
jmp 0x1014935d
movzx eax, byte [esi + 0x36]
test eax, eax
je 0x10148df4
mov cl, byte [esp + 0x13]
cmp cl, 0xb
je 0x10148e1b
movzx eax, cl
jmp 0x10148e24
push 2
cmp eax, 0xb
pop ecx
cmove eax, ecx
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x5c], esi
jne 0x10148e43
mov ecx, dword [esp + 0x38]
push 6
pop eax
push 4
cmp dword [ecx + 8], 0
pop ecx
cmove eax, ecx
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x14], 0
jne 0x10148eaa
xor ecx, ecx
cmp dword [esi + 0x14], ecx
jne 0x10148eaa
cmp edx, esi
jne 0x10148eaa
cmp eax, 5
jne 0x10148eaa
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x20]
and eax, 0x2000
mov dword [esp + 0x74], eax
je 0x10148e80
push ecx
push ecx
push 0x7e
push edi
push ebp
call fcn.1021b520
add esp, 0x14
test eax, eax
jne 0x10148eaa
xor ecx, ecx
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x20]
and eax, 0x4000
mov dword [esp + 0x74], eax
je 0x10148df4
cmp dword [edi + 0x10], ecx
jne 0x10148eaa
push edi
call fcn.10148305
pop ecx
test eax, eax
je 0x10148df4
movzx eax, word [esi + 0x32]
push eax
mov eax, dword [esp + 0x28]
inc eax
push eax
push dword [esp + 0x48]
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0xb8]
push eax
push 0x1c
push ebx
call fcn.1021b520
mov edx, dword [esp + 0x4c]
add esp, 0x18
mov dword [esp + 0x1c], eax
cmp esi, edx
jne 0x10148ee3
mov ecx, dword [esp + 0x24]
inc ecx
jmp 0x10148ef5
push dword [esp + 0x68]
push ebp
call fcn.10149ba4
mov edx, dword [esp + 0x3c]
pop ecx
pop ecx
mov ecx, eax
cmp dword [esp + 0xb4], 0
mov dword [esp + 0x54], ecx
jne 0x10148f0c
mov eax, dword [esp + 0x3c]
cmp eax, 5
jne 0x10148f65
test byte [edi + 0x24], 0x80
jne 0x10149165
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0xac]
push ecx
push eax
push 0x87
push ebx
call fcn.101596d3
mov ecx, dword [esp + 0xc4]
add esp, 0x10
test ecx, ecx
je 0x101492c9
push ecx
push dword [esp + 0x44]
push dword [esp + 0x5c]
push 0x35
pop eax
push eax
push ebx
call fcn.1021b520
push 0x90
push ebx
call fcn.10159a50
add esp, 0x1c
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0xb4]
sub eax, 1
je 0x101492fe
sub eax, 1
je 0x101492fe
sub eax, 1
je 0x101492fe
sub eax, 1
je 0x101492ed
push 2
pop edx
sub eax, edx
je 0x101492d2
mov eax, dword [ebx + 0x6c]
sub eax, dword [esp + 0x1c]
cmp dword [esp + 0x28], 0
mov dword [esp + 0x58], eax
je 0x10148fbf
cmp dword [ebp + 0x74], 0
mov eax, ebp
cmovne eax, dword [ebp + 0x74]
inc dword [esp + 0x6c]
mov byte [eax + 0x14], 1
cmp dword [esp + 0x50], 0
je 0x10148fdf
test ecx, ecx
je 0x10148fdf
push dword [esp + 0xa8]
push 0xa0
push ebx
call fcn.101596ba
add esp, 0xc
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0x14]
add eax, edx
cmp esi, dword [esp + 0x34]
push eax
sete al
movzx eax, al
push eax
push 5
xor eax, eax
push eax
push dword [esp + 0x78]
push dword [esp + 0x68]
push edx
push dword [esp + 0xc4]
push dword [esp + 0x70]
push edi
push ebp
call fcn.1014962f
add esp, 0x2c
cmp dword [esp + 0x50], 0
je 0x10149041
cmp dword [esp + 0xb4], 0
je 0x10149041
push dword [esp + 0xa8]
push 0xa1
push ebx
call fcn.101596ba
add esp, 0xc
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10149158
push 1
push eax
push 0x52
push ebx
call fcn.101596d3
push 0xb
push ebx
call fcn.101596a4
push dword [esp + 0x44]
mov dword [esp + 0x90], eax
push ebx
call fcn.10161d60
add esp, 0x20
xor ecx, ecx
dec dword [ebp + 0x38]
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x2c], eax
cmp dword [esi + 0x24], ecx
je 0x10149095
push eax
push dword [esp + 0x28]
push 0x32
push ebx
call fcn.101596d3
add esp, 0x10
cmp dword [esp + 0x58], 0
jle 0x10149137
mov ebp, dword [esp + 0x58]
mov eax, dword [esp + 0x1c]
lfence
push eax
push ebx
call fcn.1015fcbe
pop ecx
pop ecx
push 5
mov esi, eax
lea edi, [esp + 0x88]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x84]
cmp al, 0x87
je 0x10149117
mov ecx, dword [esp + 0x8c]
movzx edx, al
test byte [edx + 0x10280238], 1
cmovne ecx, dword [esp + 0x2c]
shr eax, 8
movsx eax, al
push eax
push dword [esp + 0x98]
push dword [esp + 0x98]
push ecx
push dword [esp + 0x98]
push edx
push ebx
call fcn.1021b520
push dword [esp + 0xa2]
push ebx
call fcn.10159a50
add esp, 0x24
mov eax, dword [esp + 0x1c]
dec ebp
inc eax
mov dword [esp + 0x1c], eax
test ebp, ebp
jg 0x101490ab
mov ebp, dword [esp + 0x9c]
mov edi, dword [esp + 0xa0]
mov esi, dword [esp + 0x48]
push esi
push 2
pop eax
push eax
push ebp
call fcn.101574bb
push dword [esp + 0x80]
push ebx
call fcn.1015fcbe
mov ecx, dword [ebx + 0x6c]
add esp, 0x14
mov dword [eax + 8], ecx
mov dword [esp + 0x58], 1
jmp 0x1014930c
cmp esi, edx
je 0x101491bf
xor eax, eax
cmp ax, word [edx + 0x32]
jae 0x101491bf
mov ebp, dword [esp + 0x54]
mov edi, eax
mov eax, dword [edx + 4]
movzx eax, word [eax + edi*2]
push eax
push esi
call fcn.101567f8
movsx ecx, ax
lea eax, [edi + ebp]
push eax
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0xb8]
push ecx
push eax
push 0x59
push ebx
call fcn.1021b520
mov edx, dword [esp + 0x50]
add esp, 0x1c
inc edi
movzx eax, word [edx + 0x32]
cmp edi, eax
jl 0x10149177
mov ebp, dword [esp + 0x9c]
mov edi, dword [esp + 0xa0]
mov ecx, dword [esp + 0xb4]
test ecx, ecx
je 0x101492c9
movzx ecx, word [edx + 0x32]
mov eax, dword [ebx + 0x6c]
mov edx, dword [esp + 0x54]
add eax, ecx
mov edi, dword [esp + 0xa0]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x38]
and al, 3
mov dword [esp + 0x44], 0x34
cmp al, 2
mov eax, dword [esp + 0x24]
lea eax, [eax + 1]
cmove edx, eax
xor eax, eax
mov dword [esp + 0x74], edx
mov edx, eax
mov dword [esp + 0x30], edx
test ecx, ecx
je 0x10148f61
mov esi, dword [esp + 0x34]
mov eax, dword [esi + 0x20]
push dword [eax + edx*4]
push ebp
call fcn.1021b520
mov ebp, dword [esp + 0x3c]
mov esi, eax
mov eax, dword [esp + 0x38]
push 0x35
mov ecx, dword [ebp + 4]
movzx edx, word [ecx + eax*2]
movzx ecx, word [ebp + 0x32]
mov ebp, dword [esp + 0x50]
dec ecx
cmp eax, ecx
mov dword [esp + 0x50], ebp
mov eax, ebp
pop ebp
cmove eax, ebp
cmp dword [esp + 0x38], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x48]
cmovne eax, dword [esp + 0x28]
push edx
push edi
mov dword [esp + 0x30], eax
call fcn.10156821
movsx ecx, ax
mov eax, dword [esp + 0x84]
add eax, dword [esp + 0x40]
push 0xfffffffffffffffe
push esi
push eax
mov eax, dword [esp + 0xd0]
push dword [esp + 0x3c]
inc eax
add eax, ecx
push eax
push dword [esp + 0x68]
push ebx
call fcn.1021b520
push 0x90
push ebx
call fcn.10159a50
mov esi, dword [esp + 0x68]
add esp, 0x34
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x9c]
inc edx
mov dword [esp + 0x30], edx
movzx eax, word [esi + 0x32]
cmp edx, eax
jl 0x10149217
mov esi, dword [esp + 0x48]
jmp 0x10148f61
mov eax, dword [esp + 0x3c]
jmp 0x10148f6c
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0xac]
push eax
push esi
push edi
push dword [esp + 0x44]
push ebp
call fcn.10158f9a
add esp, 0x14
push dword [esp + 0xc0]
push ebx
call fcn.1015fce3
pop ecx
pop ecx
jmp 0x1014930c
push esi
push dword [esp + 0x40]
push ebp
call fcn.101574bb
add esp, 0xc
cmp dword [esp + 0x5c], esi
jne 0x10149336
mov eax, dword [esp + 0x64]
inc eax
push eax
push ebx
call fcn.1015fce3
push dword [esp + 0x84]
push ebx
call fcn.1015fcbe
mov ecx, dword [ebx + 0x6c]
add esp, 0x10
mov dword [eax + 8], ecx
jmp 0x10149342
push dword [esp + 0x40]
push ebx
call fcn.10161d60
pop ecx
pop ecx
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x54]
inc ecx
cmp eax, ecx
je 0x1014935d
push dword [esp + 0x68]
push eax
push ebp
call fcn.1021b520
add esp, 0xc
mov eax, dword [esp + 0x14]
xor edx, edx
mov ecx, dword [esp + 0xa4]
mov esi, dword [esi + 0x14]
inc eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x14], eax
test esi, esi
jne 0x10148b56
mov eax, dword [esp + 0x70]
test eax, eax
je 0x101493a3
push eax
push ebx
call fcn.1015fce3
push dword [esp + 0x88]
push ebx
call fcn.1015fcbe
mov ecx, dword [ebx + 0x6c]
add esp, 0x10
mov dword [eax + 8], ecx
cmp dword [esp + 0x6c], 0
je 0x10149437
mov esi, dword [esp + 0x2c]
push esi
push dword [esp + 0x2c]
push 0x14
push ebx
call fcn.101596d3
add esp, 0x10
cmp dword [esp + 0x34], 0
jne 0x10149422
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x101493f8
push eax
push dword [esp + 0x64]
push dword [esp + 0xb8]
push 0x35
pop eax
push eax
push ebx
call fcn.1021b520
push 0x90
push ebx
call fcn.10159a50
add esp, 0x1c
push dword [esp + 0xb0]
push dword [esp + 0x64]
push dword [esp + 0xb0]
push 0x20
push ebx
call fcn.1021b520
push edi
push 2
pop eax
push eax
push ebp
call fcn.101532ab
add esp, 0x20
jmp 0x1014942e
push dword [esp + 0x60]
push ebx
call fcn.1015fce3
pop ecx
pop ecx
push esi
push ebx
call fcn.10161d60
pop ecx
pop ecx
test byte [edi + 0x24], 0x80
jne 0x10149478
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xa4]
push dword [edx + eax*4]
movsx eax, word [edi + 0x2c]
push eax
mov eax, dword [esp + 0xb8]
inc eax
push eax
push 0x5b
push ebx
call fcn.1021b520
add esp, 0x14
cmp byte [esp + 0x1b], 0
jne 0x10149478
xor eax, eax
push eax
push edi
push ebx
call fcn.10156732
add esp, 0xc
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x88
ret