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

Disassembly:
sub esp, 0x4c
mov eax, dword [esp + 0x50]
push ebx
push ebp
push esi
mov ecx, dword [eax + 0x20]
mov ebp, dword [eax]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x60]
push edi
mov edi, dword [ebp + 8]
lea ecx, [ecx + ecx*4]
xor edx, edx
shl ecx, 4
mov dword [esp + 0x38], edx
mov dword [esp + 0x1c], edi
lea ebx, [ecx + eax + 0x38]
mov eax, dword [eax + 0xc]
xor ecx, ecx
mov cl, byte [ebx + 0x34]
shl ecx, 6
mov esi, dword [ecx + eax + 0x28]
lea eax, [ecx + eax + 8]
mov ecx, dword [ebx]
mov dword [esp + 0x2c], eax
mov eax, ecx
mov dword [esp + 0x14], esi
shr eax, 0x19
and eax, 1
test ecx, 0x800000
mov dword [esp + 0x10], eax
je 0x1013ed30
mov al, byte [esp + 0x68]
mov dword [esp + 0x50], 1
test al, 0x20
je 0x1013ed34
mov dword [esp + 0x50], edx
push edi
call fcn.10124200
push edi
mov dword [esp + 0x3c], eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x24], eax
call fcn.10124200
mov dword [esp + 0x4c], eax
mov dword [ebx + 0x2c], eax
mov al, byte [ebx + 0x34]
add esp, 8
test al, al
jbe 0x1013ed7f
mov ecx, dword [esp + 0x2c]
test byte [ecx + 0x1c], 8
je 0x1013ed7f
mov edx, dword [ebp + 0x4c]
inc edx
mov eax, edx
mov dword [ebp + 0x4c], edx
push eax
push 0
push 7
push edi
mov dword [ebx + 0x18], eax
call fcn.10123750
add esp, 0x10
mov eax, dword [ebx]
test eax, 0x8000000
je 0x1013ef28
mov eax, dword [ebx + 0x10]
push ebp
mov dword [esp + 0x54], eax
mov esi, dword [eax]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 4]
mov dword [esp + 0x34], esi
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
call fcn.10126340
lea eax, [esi + 2]
push eax
push ebp
mov dword [esp + 0x58], eax
call fcn.10126c90
add esp, 0xc
cmp esi, 1
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], 1
jl 0x1013ee3a
mov ecx, dword [esp + 0x30]
xor esi, esi
test ecx, ecx
jle 0x1013ee25
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x68]
cmp dword [eax], edx
je 0x1013edef
inc esi
add eax, 8
cmp esi, ecx
jl 0x1013ede1
jmp 0x1013ee25
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
lea eax, [ecx + edx + 1]
mov edx, dword [esp + 0x40]
lea ecx, [esi + esi*2]
push eax
mov eax, dword [edx + ecx*4 + 8]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x20]
lea eax, [eax + eax*4]
mov eax, dword [edx + eax*8]
mov ecx, dword [eax + 0xc]
push ecx
push ebp
call fcn.101244b0
mov ecx, dword [esp + 0x3c]
add esp, 0xc
cmp esi, ecx
je 0x1013ee3a
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x30]
inc eax
cmp eax, ecx
mov dword [esp + 0x68], eax
jle 0x1013edcf
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 0x64]
push edx
mov eax, dword [esi + 0x14]
push eax
push 7
push edi
call fcn.10123750
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
inc ecx
dec edx
push ecx
push edx
push 7
push edi
call fcn.10123750
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
neg eax
mov edx, dword [esp + 0x84]
sbb eax, eax
and al, 0xf7
add eax, 0xfffffffe
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push ecx
push 0x88
push edi
call fcn.10122d70
mov eax, dword [esp + 0x6c]
add esp, 0x3c
test eax, eax
mov dword [esi + 0x1c], 0
jle 0x1013eef4
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
add ecx, 4
mov dword [esp + 0x40], eax
lea esi, [edx + 8]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x68]
cmp byte [edx], 0
je 0x1013eedb
mov eax, dword [esi]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x20]
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
push eax
push ebx
call fcn.1013fd20
add esp, 8
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x40]
add edx, 8
add esi, 0xc
dec eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x40], eax
jne 0x1013eeb9
mov ecx, dword [esp + 0x14]
push edi
mov byte [ebx + 0x35], 0x8a
mov dword [ebx + 0x38], ecx
call fcn.10124270
mov edx, dword [esp + 0x50]
mov dword [ebx + 0x3c], eax
mov eax, dword [esp + 0x68]
push edx
push eax
push ebp
call fcn.10126cc0
push 1
push ebp
call fcn.10126350
add esp, 0x18
jmp 0x1013fa95
test ah, 0x10
je 0x1013efaa
push ebp
call fcn.10123790
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
push 0
push 3
push ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x28]
push edx
push 0xffffffffffffffff
push esi
push eax
call fcn.1013cd90
mov ecx, dword [esp + 0x58]
push ecx
push ebx
push eax
push ebp
call fcn.1013fdf0
mov ecx, dword [ebx + 0x28]
mov dword [esp + 0x98], eax
push ecx
push eax
push 0x15
push edi
mov dword [esp + 0x6c], ecx
call fcn.10123750
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0x6c]
add esp, 0x40
push edx
push eax
push esi
push 0x36
push edi
call fcn.10122db0
mov ecx, dword [esp + 0x7c]
push ecx
push 0xffffffffffffffff
push esi
push ebp
call fcn.10126420
add esp, 0x24
mov byte [ebx + 0x35], 0x95
jmp 0x1013fa95
test ah, 0x20
je 0x1013f1ba
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x18]
push 0
push 0x24
push edx
push eax
push 0xffffffffffffffff
push esi
push ecx
mov dword [esp + 0x48], 0x95
mov dword [esp + 0x5c], 0
call fcn.1013cd90
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x88]
push 0
push 0x18
push edx
push eax
push 0xffffffffffffffff
push esi
push ecx
call fcn.1013cd90
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x48]
add esp, 0x38
test eax, eax
je 0x1013f028
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x68], edx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x68]
test eax, eax
je 0x1013f0a4
mov eax, dword [eax]
lea ecx, [esp + 0x48]
push ecx
mov byte [esp + 0x34], 0x31
mov edx, dword [eax + 0xc]
mov byte [esp + 0x35], 0x2f
push edx
push ebp
mov byte [esp + 0x3e], 0x2e
mov byte [esp + 0x3f], 0x30
mov dword [esp + 0x5c], eax
call fcn.10126560
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x58], eax
push eax
mov eax, dword [esp + 0x44]
xor ecx, ecx
push eax
mov cl, byte [edx]
xor eax, eax
push esi
mov al, byte [esp + ecx - 5]
push eax
push edi
call fcn.10122db0
mov ecx, dword [esp + 0x6c]
push 1
push ecx
push ebp
call fcn.10126540
mov edx, dword [esp + 0x74]
push edx
push ebp
call fcn.101237c0
mov eax, dword [esp + 0x9c]
push eax
push ebx
call fcn.1013fd20
add esp, 0x3c
jmp 0x1013f0c2
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
neg edx
sbb edx, edx
push ecx
and edx, 0xfffffffb
push esi
add edx, 0x48
push edx
push edi
call fcn.10123750
add esp, 0x10
mov eax, dword [esp + 0x64]
test eax, eax
je 0x1013f126
mov ecx, dword [ebp + 0x4c]
mov eax, dword [eax]
inc ecx
mov dword [esp + 0x50], eax
mov dword [ebp + 0x4c], ecx
mov dword [esp + 0x40], ecx
push ecx
mov ecx, dword [eax + 0xc]
push ecx
push ebp
call fcn.101244b0
mov edx, dword [esp + 0x5c]
add esp, 0xc
mov al, byte [edx]
cmp al, 0x4f
je 0x1013f107
cmp al, 0x4d
je 0x1013f107
mov eax, dword [esp + 0x10]
neg eax
sbb eax, eax
and eax, 2
add eax, 0x4d
jmp 0x1013f114
mov eax, dword [esp + 0x10]
neg eax
sbb eax, eax
and al, 0xfe
add eax, 0x50
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x64]
push eax
push ebx
call fcn.1013fd20
add esp, 8
push edi
call fcn.10124270
mov ecx, dword [esp + 0x14]
add esp, 4
neg ecx
sbb cl, cl
mov dword [ebx + 0x3c], eax
mov eax, dword [esp + 0x68]
and cl, 0xfd
add cl, 0x5f
mov dword [ebx + 0x38], esi
test eax, eax
mov byte [ebx + 0x35], cl
jne 0x1013f15a
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x1013f15a
mov byte [ebx + 0x36], 1
cmp dword [esp + 0x2c], 0x95
je 0x1013fa95
push ebp
call fcn.10123790
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov esi, eax
push esi
push edx
push 0x41
push edi
mov dword [esp + 0x4c], esi
call fcn.10123750
mov eax, dword [esp + 0x28]
push esi
push 0xffffffffffffffff
push eax
push ebp
call fcn.10126420
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x50]
push esi
push ecx
push edx
push eax
push edi
call fcn.10122db0
push 0x6b
push edi
call fcn.10123c80
add esp, 0x40
jmp 0x1013fa95
test eax, 0x30000
je 0x1013f693
mov edx, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x20]
mov esi, dword [ebx + 4]
mov dword [esp + 0x34], ecx
mov ecx, dword [edx + 0x24]
xor eax, eax
cmp esi, ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x28], edx
jne 0x1013f1f5
mov dword [esp + 0x2c], 0xffffffff
jmp 0x1013f1ff
mov edx, dword [edx + 4]
mov edx, dword [edx + esi*4]
mov dword [esp + 0x2c], edx
test byte [esp + 0x68], 1
je 0x1013f21b
test dword [ebx], 0x1000000
je 0x1013f21b
cmp ecx, esi
jle 0x1013f21b
mov eax, 1
mov dword [esp + 0x48], eax
test dword [ebx], 0x100000
je 0x1013f257
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x30]
push 0x18
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
call fcn.1013cd90
mov dword [esp + 0x80], eax
add esp, 0x1c
mov eax, 1
test dword [ebx], 0x200000
je 0x1013f290
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x30]
push 0x24
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
call fcn.1013cd90
mov dword [esp + 0x4c], eax
add esp, 0x1c
mov eax, 1
mov edx, dword [esp + 0x70]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x74]
push edx
push eax
push ecx
push ebx
push ebp
call fcn.1013ff10
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x84], eax
mov eax, dword [ebp]
push edx
push eax
call fcn.10108e30
mov edx, dword [esp + 0x4c]
mov ecx, dword [ebx + 0x28]
mov dword [esp + 0x48], eax
add esp, 0x24
mov eax, dword [edx + 0x24]
mov dword [esp + 0x2c], ecx
cmp esi, eax
jge 0x1013f2ef
mov ecx, edx
mov edx, dword [ecx + 0x1c]
xor ecx, ecx
cmp byte [edx + esi], cl
mov edx, dword [esp + 0x10]
sete cl
cmp edx, ecx
je 0x1013f2fb
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x1013f30d
cmp eax, esi
jne 0x1013f30d
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x30], eax
jmp 0x1013f315
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1013f32e
test byte [eax + 0x10], 0x28
jne 0x1013f32e
mov dword [esp + 0x3c], 0
mov edx, 1
jmp 0x1013f337
mov edx, 1
mov dword [esp + 0x3c], edx
test ecx, ecx
je 0x1013f349
test byte [ecx + 0x10], 0x28
mov dword [esp + 0x4c], 0
je 0x1013f34d
mov dword [esp + 0x4c], edx
test eax, eax
jne 0x1013f359
test esi, esi
mov dword [esp + 0x40], eax
jle 0x1013f35d
mov dword [esp + 0x40], edx
test eax, eax
mov dword [esp + 0x28], esi
je 0x1013f3ec
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x68]
add ecx, esi
mov eax, dword [edx]
push ecx
mov eax, dword [eax + 0xc]
push eax
push ebp
mov dword [esp + 0x34], eax
call fcn.101244b0
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
add eax, esi
push edx
push eax
push ecx
push edi
call fcn.1013fbd0
mov eax, dword [esp + 0x3c]
add esp, 0x1c
test eax, eax
je 0x1013f3e3
mov dl, byte [eax + esi]
mov eax, dword [esp + 0x28]
push edx
push eax
call fcn.10125260
add esp, 8
cmp al, 0x62
jne 0x1013f3c2
mov ecx, dword [esp + 0x20]
mov byte [ecx + esi], al
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov al, byte [edx + esi]
push eax
push ecx
call fcn.1013fc40
add esp, 8
test eax, eax
je 0x1013f3e3
mov edx, dword [esp + 0x20]
mov byte [edx + esi], 0x62
lea eax, [esi + 1]
mov dword [esp + 0x28], eax
jmp 0x1013f41f
mov eax, dword [esp + 0x48]
test eax, eax
je 0x1013f41f
mov ecx, dword [esp + 0x68]
add ecx, esi
push ecx
push 0
push 0xa
push edi
call fcn.10123750
lea edx, [esi + 1]
add esp, 0x10
mov dword [esp + 0x28], edx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 1
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x68]
push eax
push ecx
push edx
push ebp
call fcn.1013fd80
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x5c]
push eax
lea eax, [ecx + edx*2]
mov edx, dword [esp + 0x30]
xor ecx, ecx
mov cl, byte [edx + eax*2 + 0x10162bf0]
push ecx
push edi
call fcn.10125d10
mov eax, dword [esp + 0x8c]
add esp, 0x28
test eax, eax
mov dword [esp + 0x28], esi
je 0x1013f52a
mov ecx, dword [eax]
mov eax, dword [esp + 0x68]
add eax, esi
push 1
mov edx, dword [ecx + 0xc]
push eax
push ebp
mov dword [esp + 0x34], edx
call fcn.101262b0
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x34]
lea eax, [ecx + esi]
push eax
push edx
push ebp
call fcn.101244b0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x40]
push eax
lea eax, [ecx + esi]
push eax
push edx
push edi
call fcn.1013fbd0
mov eax, dword [esp + 0x4c]
add esp, 0x28
test eax, eax
je 0x1013f50c
mov cl, byte [eax + esi]
mov edx, dword [esp + 0x28]
push ecx
push edx
call fcn.10125260
add esp, 8
cmp al, 0x62
jne 0x1013f4eb
mov eax, dword [esp + 0x24]
mov byte [eax + esi], 0x62
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dl, byte [ecx + esi]
push edx
push eax
call fcn.1013fc40
add esp, 8
test eax, eax
je 0x1013f50c
mov ecx, dword [esp + 0x24]
mov byte [ecx + esi], 0x62
mov edx, dword [esp + 0x24]
lea eax, [esi + 1]
push edx
push eax
mov eax, dword [esp + 0x70]
push eax
push ebp
call fcn.1013fd80
lea eax, [esi + 1]
add esp, 0x10
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp]
push ecx
push edx
call fcn.100f8b00
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebp]
push eax
push ecx
call fcn.100f8b00
push edi
call fcn.10124270
mov dword [ebx + 0x3c], eax
mov eax, dword [esp + 0x78]
add esp, 0x14
test eax, eax
jne 0x1013f562
test esi, esi
jne 0x1013f562
xor eax, eax
jmp 0x1013f567
mov eax, 1
mov edx, dword [esp + 0x10]
inc edx
imul edx, eax
xor eax, eax
mov al, byte [edx + 0x10162bf8]
cmp eax, 0x95
je 0x1013f5b0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x3c]
push ecx
push edx
push eax
push edi
call fcn.10125d10
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x64]
cmp ecx, eax
setne cl
push ecx
push edi
call fcn.10123c80
add esp, 0x20
push ebp
call fcn.10123790
mov dword [esp + 0x6c], eax
mov eax, dword [ebx]
add esp, 4
test eax, 0x300000
je 0x1013f5ee
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x34]
push edx
push esi
push eax
push 0x1d
push edi
call fcn.10122db0
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x7c]
push ecx
push edx
push 0x49
push edi
call fcn.10123750
add esp, 0x24
mov eax, dword [esp + 0x68]
push eax
push ebp
call fcn.101237c0
mov ecx, dword [esp + 0x38]
push ecx
push ebx
call fcn.1013fd20
mov edx, dword [esp + 0x74]
push edx
push ebx
call fcn.1013fd20
mov eax, dword [esp + 0x68]
add esp, 0x18
test eax, eax
jne 0x1013f653
push ebp
call fcn.10123790
mov esi, eax
mov eax, dword [esp + 0x38]
push esi
push eax
push 0x63
push edi
mov dword [esp + 0x4c], esi
call fcn.10123750
mov ecx, dword [esp + 0x28]
push esi
push 0xffffffffffffffff
push ecx
push ebp
call fcn.10126420
mov edx, dword [esp + 0x38]
push esi
push edx
push 0x32
push edi
call fcn.10123750
add esp, 0x34
test dword [ebx], 0x4000000
je 0x1013f66b
mov eax, dword [esp + 0x34]
mov byte [ebx + 0x35], 0x95
mov dword [ebx + 0x38], eax
jmp 0x1013fa95
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1013f683
mov eax, dword [esp + 0x34]
mov byte [ebx + 0x35], 0x5c
mov dword [ebx + 0x38], eax
jmp 0x1013fa95
mov eax, dword [esp + 0x34]
mov byte [ebx + 0x35], 0x5f
mov dword [ebx + 0x38], eax
jmp 0x1013fa95
test eax, 0x10000000
je 0x1013fa65
mov ecx, dword [ebp + 0x4c]
xor eax, eax
inc ecx
push edi
mov esi, ecx
mov dword [ebp + 0x4c], ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
call fcn.10124200
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x5c], eax
add esp, 4
mov ecx, dword [eax + 0xc]
mov byte [ebx + 0x35], 3
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x60]
mov dword [ebx + 0x38], esi
xor edi, edi
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x20], edi
cmp eax, 1
mov dword [esp + 0x10], edi
jle 0x1013f78e
mov edx, dword [esp + 0x64]
sub eax, edx
mov edx, dword [ebp]
dec eax
mov dword [esp + 0x40], eax
shl eax, 6
add eax, 0x48
push eax
push edx
call fcn.100f7ac0
add esp, 8
cmp eax, edi
mov dword [esp + 0x34], eax
je 0x1013fbb8
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x2c]
inc eax
lea edi, [edx + 8]
mov ecx, 0x10
mov word [edx + 2], ax
mov word [edx], ax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x60]
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x40]
add eax, 8
cmp ecx, 1
jl 0x1013f795
add edx, 0x48
mov dword [esp + 0x50], ecx
mov dword [esp + 0x3c], edx
lea edx, [ebx + 0x84]
xor ecx, ecx
mov edi, dword [esp + 0x3c]
mov cl, byte [edx]
add edx, 0x50
mov esi, ecx
mov ecx, 0x10
shl esi, 6
add esi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x50]
add esi, 0x40
dec ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x50], ecx
jne 0x1013f75d
jmp 0x1013f795
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x68]
and eax, 8
test ax, ax
mov dword [esp + 0x3c], eax
jne 0x1013f7cd
mov eax, dword [ebp + 0x4c]
mov esi, dword [esp + 0x1c]
lea ecx, [eax + 1]
push ecx
push 0
lea eax, [ecx + 1]
push 0xa
push esi
mov dword [esp + 0x58], ecx
mov dword [ebp + 0x4c], eax
mov dword [esp + 0x5c], eax
call fcn.10123750
add esp, 0x10
jmp 0x1013f7d1
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
push eax
push 0
push 7
push esi
call fcn.10123750
mov edi, dword [esp + 0x28]
mov dword [esp + 0x64], eax
add esp, 0x10
mov eax, dword [edi + 0x18]
cmp eax, 1
jle 0x1013f8af
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x50], ecx
jle 0x1013f8af
mov dword [esp + 0x68], ecx
mov ecx, dword [edi + 0x20]
mov edx, dword [esp + 0x68]
mov esi, dword [edx + ecx]
lea eax, [edx + ecx]
mov cl, byte [esi + 2]
and cl, 1
cmp cl, 1
je 0x1013f851
test byte [eax + 0x12], 0x12
jne 0x1013f851
test word [eax + 0x10], 0xfff
je 0x1013f851
mov edx, dword [ebp]
push 0
push esi
push edx
call fcn.101281d0
mov ecx, dword [ebp]
push eax
mov eax, dword [esp + 0x20]
push eax
push ecx
call fcn.10129cd0
add esp, 0x18
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x68]
mov ecx, dword [edi + 0x18]
inc eax
add edx, 0x28
cmp eax, ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x68], edx
jl 0x1013f809
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1013f88a
mov edx, eax
push 0
push edx
push 0
push 0x45
push ebp
call fcn.10122590
add esp, 0x14
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
xor eax, eax
mov dword [esp + 0x68], eax
cmp dword [edx + 0x18], eax
jle 0x1013fa5f
mov edi, dword [esp + 0x34]
mov dword [esp + 0x40], eax
jmp 0x1013f8b9
mov ecx, dword [esp + 0x10]
jmp 0x1013f892
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x40]
mov esi, dword [edx + 0x20]
mov edx, dword [eax + esi + 8]
add eax, esi
mov esi, dword [esp + 0x14]
cmp edx, esi
je 0x1013f8e2
cmp word [eax + 0x10], 0x200
jne 0x1013f9bc
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
test ecx, ecx
je 0x1013f8ed
mov dword [ecx + 8], eax
mov eax, ecx
push 0xf0
push 0
push 0
push eax
push edi
push ebp
call fcn.1013ae10
mov esi, eax
add esp, 0x18
test esi, esi
je 0x1013f9bc
mov ecx, dword [esp + 0x64]
xor eax, eax
mov al, byte [ebx + 0x34]
push 0
push eax
lea edx, [esi + 0x38]
push ecx
push edx
push edi
push ebp
call fcn.1013e8c0
add esp, 0x18
cmp word [esp + 0x3c], 0
jne 0x1013f98b
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x18]
mov eax, dword [esp + 0x68]
dec ecx
cmp eax, ecx
jne 0x1013f943
or edi, 0xffffffff
jmp 0x1013f947
mov edi, dword [esp + 0x68]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
push edx
mov edx, dword [ecx + 0xc]
push eax
push 0xffffffffffffffff
push edx
push ebp
call fcn.101263a0
add esp, 0x14
push edi
mov edi, dword [esp + 0x20]
push eax
push edi
call fcn.10124270
add esp, 4
add eax, 2
push eax
mov eax, dword [esp + 0x54]
push eax
push 0x72
push edi
call fcn.10125d10
mov edi, dword [esp + 0x4c]
add esp, 0x18
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
push ecx
push edx
push 2
push eax
call fcn.10123750
mov al, byte [esi + 7]
add esp, 0x10
test al, al
je 0x1013f9b3
mov dword [esp + 0x20], 1
push esi
call fcn.10140200
add esp, 4
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x40]
inc eax
mov edx, dword [ecx + 0x18]
add esi, 0x28
cmp eax, edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x40], esi
jl 0x1013f8b5
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
test ecx, ecx
je 0x1013f9ff
mov dword [ecx + 8], 0
mov edx, dword [ebp]
push ecx
push edx
call fcn.1011a3b0
add esp, 8
push esi
call fcn.10124270
push eax
mov eax, dword [esp + 0x5c]
push eax
push esi
call fcn.101174b0
mov ecx, dword [ebx + 0x24]
push ecx
push 0
push 1
push esi
call fcn.10123750
mov edx, dword [esp + 0x44]
push edx
push esi
call fcn.10124250
mov eax, dword [esp + 0x88]
add esp, 0x28
cmp dword [eax + 0x1c], 1
jle 0x1013fa47
mov ecx, dword [ebp]
push edi
push ecx
call fcn.100f8b00
add esp, 8
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x1013fa95
mov edx, dword [esp + 0x58]
push edx
push ebx
call fcn.1013fd20
add esp, 8
jmp 0x1013fa95
mov edi, dword [esp + 0x34]
jmp 0x1013f9e7
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
push edx
push esi
mov cl, byte [eax + 0x10162bfc]
mov dword [ebx + 0x38], esi
mov byte [ebx + 0x35], cl
xor ecx, ecx
mov cl, byte [eax + 0x10162c00]
push ecx
push edi
call fcn.10123750
add esp, 0x10
inc eax
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0x36], 1
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push edx
mov eax, dword [edi + 4]
push eax
call fcn.1013bb40
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x78]
not eax
not edx
and ecx, eax
mov eax, dword [edi + 0x18]
and esi, edx
add esp, 8
mov dword [esp + 0x70], esi
mov esi, dword [edi + 0x20]
test eax, eax
mov dword [esp + 0x6c], ecx
jle 0x1013fb31
mov dword [esp + 0x68], eax
test byte [esi + 0x12], 6
jne 0x1013fb23
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
and eax, ecx
mov ecx, dword [esi + 0x24]
and ecx, edx
or eax, ecx
je 0x1013faf6
mov ecx, dword [esp + 0x60]
mov byte [ecx + 7], 1
jmp 0x1013fb23
mov ecx, dword [ebx + 0x18]
mov eax, dword [esi]
test ecx, ecx
je 0x1013fb0a
mov dl, byte [eax + 2]
and dl, 1
cmp dl, 1
jne 0x1013fb23
mov ecx, dword [esp + 0x44]
push 8
push ecx
push eax
push ebp
call fcn.10126620
mov al, byte [esi + 0x12]
add esp, 0x10
or al, 4
mov byte [esi + 0x12], al
mov eax, dword [esp + 0x68]
add esi, 0x28
dec eax
mov dword [esp + 0x68], eax
jne 0x1013fad0
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x1013fbaa
mov esi, dword [esp + 0x1c]
push esi
call fcn.10124270
mov edx, dword [ebx + 0x18]
mov dword [ebx + 0x30], eax
push edx
push 1
push 7
push esi
call fcn.10123750
push ebp
call fcn.101354f0
mov eax, dword [edi + 0x18]
mov esi, dword [edi + 0x20]
add esp, 0x18
xor ebx, ebx
test eax, eax
jle 0x1013fbaa
test byte [esi + 0x12], 6
jne 0x1013fb9f
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
and eax, ecx
mov ecx, dword [esi + 0x24]
and ecx, edx
or eax, ecx
jne 0x1013fb9f
mov eax, dword [esp + 0x44]
mov ecx, dword [esi]
push 8
push eax
push ecx
push ebp
call fcn.10126620
mov al, byte [esi + 0x12]
add esp, 0x10
or al, 4
mov byte [esi + 0x12], al
mov eax, dword [edi + 0x18]
inc ebx
add esi, 0x28
cmp ebx, eax
jl 0x1013fb68
mov edx, dword [esp + 0x38]
push edx
push ebp
call fcn.101237c0
add esp, 8
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret