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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
mov eax, 0x14b0
call fcn.101acca0
mov dword [esp + 0x3c], edx
mov eax, dword [0x10588520]
xor eax, ebp
mov dword [esp + 0x14a8], eax
mov byte [esp + 0x8e], 0
mov word [esp + 0x8c], 0
mov edx, dword [ecx]
mov dword [ecx + 8], 0
mov dword [ecx + 4], 0
mov dword [esp + 0x14], ecx
mov dword [ecx + 0xc], 0
lea eax, [edx + 0xac]
mov dword [esp + 4], eax
lea eax, [edx + 0xb0]
mov dword [esp + 0x10], eax
lea eax, [edx + 0x28]
mov dword [esp + 8], eax
lea edi, [edx + 0x2c]
lea eax, [edx + 0x2d]
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0xac]
mov dword [esp + 0x18], edx
mov ebx, dword [edx + 0xb0]
mov esi, 0xfffffff8
mov dword [esp + 0x1c], edi
cmp eax, ebx
jae 0x1001e4f0
lea edi, [eax + 1]
mov edx, dword [esp + 4]
mov dword [edx], edi
movzx edx, byte [eax]
mov eax, edi
mov edi, dword [esp + 0x1c]
jmp 0x1001e540
mov edx, dword [esp + 8]
cmp dword [edx], 0
je 0x1001e51b
mov eax, dword [esp + 0x18]
push dword [eax + 0x20]
push edi
push dword [eax + 0x24]
call dword [eax + 0x10]
add esp, 0xc
test eax, eax
je 0x1001e51f
mov ebx, eax
add ebx, edi
movzx edx, byte [edi]
mov eax, dword [esp + 0xc]
jmp 0x1001e534
xor edx, edx
jmp 0x1001e540
mov eax, dword [esp + 8]
mov dword [eax], 0
mov byte [edi], 0
xor edx, edx
mov eax, dword [esp + 0xc]
mov ebx, eax
mov ecx, dword [esp + 0x10]
mov dword [ecx], ebx
mov ecx, dword [esp + 4]
mov dword [ecx], eax
cmp dl, byte [esi + 0x10398074]
jne 0x1001e5a2
inc esi
jne 0x1001e4d0
mov esi, 1
cmp dword [esp + 0x3c], 1
je 0x1001e5ae
mov edi, dword [esp + 0x18]
mov ebx, 1
mov dword [esp + 0x48], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x24], 0
jmp 0x1001e5df
mov dword [0x1058e718], 0x1053434a
xor esi, esi
mov ecx, dword [esp + 0x14a8]
xor ecx, ebp
call fcn.101ac85a
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov ecx, dword [esp + 4]
mov dword [ecx], eax
xor ebx, ebx
mov edi, dword [esp + 0x18]
mov ecx, edi
call fcn.10021080
mov ecx, edi
call fcn.10021080
mov esi, eax
mov ecx, edi
call fcn.10021080
cmp eax, 0x49484451
jle 0x1001e710
cmp eax, 0x49484452
mov edi, dword [esp + 0x1c]
je 0x1001e7c4
cmp eax, 0x504c5445
je 0x1001e821
cmp eax, 0x74524e53
jne 0x1001ea55
test ebx, ebx
jne 0x1001f148
mov eax, dword [esp + 0x14]
cmp dword [eax + 4], 0
jne 0x1001f166
cmp byte [esp + 0x24], 0
je 0x1001eb71
cmp dword [esp + 0x3c], 2
mov ebx, dword [esp + 0x18]
je 0x1001f208
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1001f219
cmp eax, esi
jb 0x1001f1bd
mov al, 4
mov dword [esp + 0x24], eax
test esi, esi
je 0x1001e5d2
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
xor edi, edi
mov dword [esp + 0x20], esi
jmp 0x1001e6b2
lea ebx, [ecx + 1]
mov edx, dword [esp + 4]
mov dword [edx], ebx
movzx edx, byte [ecx]
mov ecx, ebx
mov ebx, dword [esp + 0x18]
mov byte [esp + edi*4 + 0x93], dl
inc edi
cmp esi, edi
je 0x1001e5d2
cmp ecx, eax
jb 0x1001e690
mov edx, dword [esp + 8]
cmp dword [edx], 0
je 0x1001e6df
push dword [ebx + 0x20]
mov esi, dword [esp + 0x20]
push esi
push dword [ebx + 0x24]
call dword [ebx + 0x10]
add esp, 0xc
test eax, eax
je 0x1001e6e3
add eax, esi
movzx edx, byte [esi]
mov esi, dword [esp + 0xc]
jmp 0x1001e6f8
xor edx, edx
jmp 0x1001e6a2
mov eax, dword [esp + 8]
mov dword [eax], 0
mov byte [esi], 0
xor edx, edx
mov esi, dword [esp + 0xc]
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov ecx, dword [esp + 4]
mov dword [ecx], esi
mov ecx, esi
mov esi, dword [esp + 0x20]
jmp 0x1001e6a2
cmp eax, 0x43674249
je 0x1001e9f3
cmp eax, 0x49444154
jne 0x1001ea4a
test ebx, ebx
jne 0x1001f148
mov eax, dword [esp + 0x24]
test al, al
je 0x1001e741
cmp dword [esp + 0x30], 0
je 0x1001f175
cmp dword [esp + 0x3c], 2
je 0x1001f1a9
mov eax, dword [esp + 0x28]
lea edi, [esi + eax]
cmp edi, eax
mov ecx, dword [esp + 0x18]
jl 0x1001e5ac
mov edx, dword [esp + 0x34]
cmp edi, edx
jbe 0x1001eab3
cmp esi, 0x1001
mov eax, 0x1000
mov dword [esp + 0x20], esi
cmovae eax, esi
test edx, edx
cmovne eax, edx
nop word cs:[eax + eax]
mov ecx, eax
add eax, eax
cmp edi, ecx
ja 0x1001e790
mov esi, ecx
push ecx
mov ebx, dword [esp + 0x18]
push dword [ebx + 4]
call fcn.1037ff63
add esp, 8
test eax, eax
je 0x1001f86d
mov dword [ebx + 4], eax
mov ecx, dword [esp + 0x18]
mov edx, esi
mov esi, dword [esp + 0x20]
jmp 0x1001eaba
test ebx, ebx
je 0x1001f157
cmp esi, 0xd
jne 0x1001f184
mov ebx, dword [esp + 0x18]
mov ecx, ebx
call fcn.10021080
mov dword [ebx], eax
cmp eax, 0x1000001
jae 0x1001f104
mov ecx, ebx
call fcn.10021080
mov dword [ebx + 4], eax
cmp eax, 0x1000001
jae 0x1001f104
mov esi, dword [esp + 4]
mov eax, dword [esi]
mov ecx, dword [esp + 0x10]
cmp eax, dword [ecx]
jae 0x1001eb32
lea ecx, [eax + 1]
mov dword [esi], ecx
movzx ecx, byte [eax]
jmp 0x1001ee68
test ebx, ebx
jne 0x1001f148
cmp esi, 0x301
jae 0x1001f113
movzx eax, si
imul eax, eax, 0xaaab
shr eax, 0x11
mov dword [esp + 0x30], eax
lea eax, [eax + eax*2]
cmp eax, esi
jne 0x1001f113
xor ebx, ebx
cmp si, 3
jb 0x1001e5d4
mov eax, dword [esp + 0x30]
cmp eax, 2
mov ecx, 1
cmovae ecx, eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 4]
mov esi, dword [eax]
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
xor ebx, ebx
jmp 0x1001e8ac
lea edi, [esi + 1]
mov edx, dword [esp + 4]
mov dword [edx], edi
movzx edx, byte [esi]
mov esi, edi
mov edi, dword [esp + 0x1c]
mov byte [esp + ebx*4 + 0x92], dl
mov byte [esp + ebx*4 + 0x93], 0xff
inc ebx
cmp dword [esp + 0x20], ebx
je 0x1001e5d2
cmp esi, eax
jae 0x1001e8d0
lea edi, [esi + 1]
mov edx, dword [esp + 4]
mov dword [edx], edi
movzx edx, byte [esi]
mov esi, edi
mov edi, dword [esp + 0x1c]
jmp 0x1001e91e
mov edx, dword [esp + 8]
cmp dword [edx], 0
je 0x1001e8f9
mov eax, dword [esp + 0x18]
push dword [eax + 0x20]
push edi
push dword [eax + 0x24]
call dword [eax + 0x10]
add esp, 0xc
test eax, eax
je 0x1001e8fd
add eax, edi
movzx edx, byte [edi]
mov esi, dword [esp + 0xc]
jmp 0x1001e912
xor edx, edx
jmp 0x1001e91e
mov eax, dword [esp + 8]
mov dword [eax], 0
mov byte [edi], 0
xor edx, edx
mov esi, dword [esp + 0xc]
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov ecx, dword [esp + 4]
mov dword [ecx], esi
mov byte [esp + ebx*4 + 0x90], dl
cmp esi, eax
jae 0x1001e940
lea edi, [esi + 1]
mov edx, dword [esp + 4]
mov dword [edx], edi
movzx edx, byte [esi]
mov esi, edi
mov edi, dword [esp + 0x1c]
jmp 0x1001e98e
mov edx, dword [esp + 8]
cmp dword [edx], 0
je 0x1001e969
mov eax, dword [esp + 0x18]
push dword [eax + 0x20]
push edi
push dword [eax + 0x24]
call dword [eax + 0x10]
add esp, 0xc
test eax, eax
je 0x1001e96d
add eax, edi
movzx edx, byte [edi]
mov esi, dword [esp + 0xc]
jmp 0x1001e982
xor edx, edx
jmp 0x1001e98e
mov eax, dword [esp + 8]
mov dword [eax], 0
mov byte [edi], 0
xor edx, edx
mov esi, dword [esp + 0xc]
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov ecx, dword [esp + 4]
mov dword [ecx], esi
mov byte [esp + ebx*4 + 0x91], dl
cmp esi, eax
jb 0x1001e880
mov edx, dword [esp + 8]
cmp dword [edx], 0
je 0x1001e9c6
mov eax, dword [esp + 0x18]
push dword [eax + 0x20]
push edi
push dword [eax + 0x24]
call dword [eax + 0x10]
add esp, 0xc
test eax, eax
je 0x1001e9cd
add eax, edi
movzx edx, byte [edi]
mov esi, dword [esp + 0xc]
jmp 0x1001e9e2
xor edx, edx
jmp 0x1001e892
mov eax, dword [esp + 8]
mov dword [eax], 0
mov byte [edi], 0
xor edx, edx
mov esi, dword [esp + 0xc]
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov ecx, dword [esp + 4]
mov dword [ecx], esi
jmp 0x1001e892
test esi, esi
js 0x1001eb62
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x10], 0
je 0x1001ed00
mov eax, dword [esp + 0x10]
mov edi, dword [eax]
mov ecx, dword [esp + 4]
mov eax, dword [ecx]
mov dword [esp + 0x38], edi
sub edi, eax
mov edx, esi
sub edx, edi
jle 0x1001ed06
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
mov dword [eax + 0xac], ecx
push edx
push dword [eax + 0x24]
call dword [eax + 0x14]
add esp, 8
mov dword [esp + 0x38], 1
jmp 0x1001e5d4
cmp eax, 0x49454e44
je 0x1001f140
test ebx, ebx
jne 0x1001f148
test eax, 0x20000000
je 0x1001f193
test esi, esi
js 0x1001e5c6
mov ebx, dword [esp + 0x18]
cmp dword [ebx + 0x10], 0
je 0x1001ed17
mov eax, dword [esp + 0x10]
mov edi, dword [eax]
mov ecx, dword [esp + 4]
mov eax, dword [ecx]
mov dword [esp + 0x58], edi
sub edi, eax
mov edx, esi
sub edx, edi
jle 0x1001ed1d
mov eax, dword [esp + 0x58]
mov dword [ebx + 0xac], eax
push edx
push dword [ebx + 0x24]
call dword [ebx + 0x14]
add esp, 8
jmp 0x1001e5d2
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
mov dword [esp + 0x34], edx
add eax, dword [esp + 0x28]
mov dword [esp + 0x28], eax
cmp dword [ecx + 0x10], 0
je 0x1001ecc9
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov ebx, ecx
sub ebx, eax
mov edx, esi
sub edx, ebx
jle 0x1001ecd5
push ebx
push eax
mov esi, dword [esp + 0x30]
push esi
mov dword [esp + 0x2c], edx
call fcn.10368490
add esp, 0xc
add esi, ebx
push dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x20]
push dword [esi + 0x24]
call dword [esi + 0x10]
add esp, 0xc
mov ecx, dword [esi + 0xb0]
mov dword [esi + 0xac], ecx
xor ebx, ebx
mov dword [esp + 0x28], edi
cmp eax, dword [esp + 0x20]
je 0x1001e5d4
jmp 0x1001f1cc
mov eax, dword [esp + 8]
cmp dword [eax], 0
je 0x1001f228
push dword [ebx + 0x20]
push edi
push dword [ebx + 0x24]
call dword [ebx + 0x10]
add esp, 0xc
test eax, eax
je 0x1001ee45
add eax, edi
movzx ecx, byte [edi]
mov esi, dword [esp + 0xc]
jmp 0x1001ee5a
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov ecx, dword [esp + 4]
jmp 0x1001ed08
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 8]
test al, 1
je 0x1001f3dd
lea ecx, [eax + eax]
cmp ecx, esi
jne 0x1001f1bd
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x10], 0x10
jne 0x1001ed24
mov cl, 1
mov dword [esp + 0x44], ecx
test eax, eax
mov eax, dword [esp + 4]
jle 0x1001eed6
mov ecx, dword [eax]
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
xor esi, esi
jmp 0x1001ebf1
lea edi, [ecx + 1]
mov edx, dword [esp + 4]
mov dword [edx], edi
movzx edx, byte [ecx]
mov ecx, edi
movzx edi, bl
shl edi, 8
movzx edx, dl
or edx, edi
mov word [esp + esi*2 + 0x86], dx
inc esi
xor ebx, ebx
mov edx, dword [esp + 0x18]
cmp esi, dword [edx + 8]
jge 0x1001eed8
cmp ecx, eax
jae 0x1001ec10
lea edx, [ecx + 1]
mov edi, dword [esp + 4]
mov dword [edi], edx
movzx ebx, byte [ecx]
mov ecx, edx
mov edi, dword [esp + 0x1c]
cmp ecx, eax
jb 0x1001ebc0
jmp 0x1001ec73
mov edx, dword [esp + 8]
cmp dword [edx], 0
mov edi, dword [esp + 0x1c]
je 0x1001ec3d
mov eax, dword [esp + 0x18]
push dword [eax + 0x20]
push edi
push dword [eax + 0x24]
call dword [eax + 0x10]
add esp, 0xc
test eax, eax
je 0x1001ec48
add eax, edi
movzx ebx, byte [edi]
mov edx, dword [esp + 0xc]
jmp 0x1001ec5d
xor ebx, ebx
cmp ecx, eax
jae 0x1001ec73
jmp 0x1001ebc0
mov eax, dword [esp + 8]
mov dword [eax], 0
mov byte [edi], 0
xor ebx, ebx
mov edx, dword [esp + 0xc]
mov eax, edx
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov ecx, dword [esp + 4]
mov dword [ecx], edx
mov ecx, edx
cmp ecx, eax
jb 0x1001ebc0
mov edx, dword [esp + 8]
cmp dword [edx], 0
je 0x1001ec9c
mov eax, dword [esp + 0x18]
push dword [eax + 0x20]
push edi
push dword [eax + 0x24]
call dword [eax + 0x10]
add esp, 0xc
test eax, eax
je 0x1001eca3
add eax, edi
movzx edx, byte [edi]
mov edi, dword [esp + 0xc]
jmp 0x1001ecb8
xor edx, edx
jmp 0x1001ebce
mov eax, dword [esp + 8]
mov dword [eax], 0
mov byte [edi], 0
xor edx, edx
mov edi, dword [esp + 0xc]
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov ecx, dword [esp + 4]
mov dword [ecx], edi
jmp 0x1001ebcc
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
mov edx, esi
add edx, eax
cmp edx, ecx
ja 0x1001f1cc
push esi
push eax
push dword [esp + 0x30]
call fcn.10368490
add esp, 0xc
mov eax, dword [esp + 4]
add dword [eax], esi
xor ebx, ebx
mov dword [esp + 0x28], edi
jmp 0x1001e5d4
mov ecx, dword [esp + 4]
mov eax, dword [ecx]
add eax, esi
mov dword [ecx], eax
mov dword [esp + 0x38], 1
jmp 0x1001e5d4
mov ecx, dword [esp + 4]
mov eax, dword [ecx]
add eax, esi
jmp 0x1001e5d0
mov cl, 1
mov dword [esp + 0x44], ecx
test eax, eax
mov eax, dword [esp + 4]
jle 0x1001eed6
mov edx, dword [eax]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
xor esi, esi
jmp 0x1001ed85
lea eax, [edx + 1]
mov edi, dword [esp + 4]
mov dword [edi], eax
movzx ebx, byte [edx]
mov edx, eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
movzx eax, byte [eax + 0x10398074]
mul bl
mov byte [esp + esi + 0x8c], al
inc esi
xor ebx, ebx
mov eax, dword [esp + 0x18]
cmp esi, dword [eax + 8]
jge 0x1001eed8
cmp edx, ecx
jae 0x1001ed90
inc edx
mov edi, dword [esp + 0x18]
jmp 0x1001edd5
mov eax, dword [esp + 8]
cmp dword [eax], 0
mov edi, dword [esp + 0x18]
je 0x1001eddb
push dword [edi + 0x20]
mov ebx, dword [esp + 0x20]
push ebx
push dword [edi + 0x24]
call dword [edi + 0x10]
add esp, 0xc
test eax, eax
je 0x1001edbc
mov ecx, eax
add ecx, ebx
mov edx, dword [esp + 0xc]
jmp 0x1001edcf
mov eax, dword [esp + 8]
mov dword [eax], 0
mov byte [ebx], 0
mov edx, dword [esp + 0xc]
mov ecx, edx
mov eax, dword [esp + 0x10]
mov dword [eax], ecx
mov eax, dword [esp + 4]
mov dword [eax], edx
cmp edx, ecx
jb 0x1001ed50
mov eax, dword [esp + 8]
cmp dword [eax], 0
je 0x1001ee12
push dword [edi + 0x20]
mov ebx, dword [esp + 0x20]
push ebx
push dword [edi + 0x24]
call dword [edi + 0x10]
add esp, 0xc
test eax, eax
je 0x1001ee19
mov ecx, eax
add ecx, ebx
movzx ebx, byte [ebx]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0xc]
jmp 0x1001ee32
xor ebx, ebx
jmp 0x1001ed5e
mov eax, dword [esp + 8]
mov dword [eax], 0
mov byte [ebx], 0
xor ebx, ebx
mov edi, dword [esp + 0xc]
mov ecx, edi
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
mov edx, dword [esp + 4]
mov dword [edx], edi
mov edx, edi
jmp 0x1001ed62
mov eax, dword [esp + 8]
mov dword [eax], 0
mov byte [edi], 0
xor ecx, ecx
mov esi, dword [esp + 0xc]
mov eax, esi
mov edx, dword [esp + 0x10]
mov dword [edx], eax
mov eax, dword [esp + 4]
mov dword [eax], esi
mov esi, eax
movzx eax, cl
mov edx, dword [esp + 0x14]
mov dword [edx + 0x10], eax
cmp cl, 0x10
ja 0x1001f3ec
mov ecx, 0x10116
bt ecx, eax
jae 0x1001f3ec
mov ecx, dword [esi]
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
cmp ecx, eax
jae 0x1001eeab
mov edx, esi
lea esi, [ecx + 1]
mov dword [edx], esi
movzx edx, byte [ecx]
mov ecx, esi
cmp dl, 7
jb 0x1001ef0d
jmp 0x1001f131
mov edx, dword [esp + 8]
cmp dword [edx], 0
je 0x1001eecc
push dword [ebx + 0x20]
push edi
push dword [ebx + 0x24]
call dword [ebx + 0x10]
add esp, 0xc
test eax, eax
je 0x1001eee5
add eax, edi
movzx edx, byte [edi]
jmp 0x1001eef8
mov dword [esp + 0x40], 0
jmp 0x1001ef48
xor ebx, ebx
mov dword [esp + 0x24], 0
jmp 0x1001e5d4
mov eax, dword [esp + 8]
mov dword [eax], 0
mov byte [edi], 0
xor edx, edx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov ecx, dword [esp + 0xc]
mov dword [esi], ecx
cmp dl, 7
jae 0x1001f131
movzx edx, dl
cmp dl, 3
jne 0x1001ef37
mov edx, dword [esp + 0x14]
cmp dword [edx + 0x10], 0x10
mov esi, dword [esp + 4]
je 0x1001f131
mov dl, 3
mov dword [esp + 0x24], edx
mov dword [esp + 0x40], 3
jmp 0x1001ef48
mov dword [esp + 0x40], edx
test dl, 1
mov esi, dword [esp + 4]
jne 0x1001f131
cmp ecx, eax
jae 0x1001ef67
lea esi, [ecx + 1]
mov edx, dword [esp + 4]
mov dword [edx], esi
movzx edx, byte [ecx]
mov ecx, esi
mov esi, dword [esp + 4]
test dl, dl
je 0x1001efaf
jmp 0x1001f1db
mov edx, dword [esp + 8]
cmp dword [edx], 0
je 0x1001efaf
push dword [ebx + 0x20]
push edi
push dword [ebx + 0x24]
call dword [ebx + 0x10]
add esp, 0xc
test eax, eax
je 0x1001ef88
add eax, edi
movzx edx, byte [edi]
jmp 0x1001ef9b
mov eax, dword [esp + 8]
mov dword [eax], 0
mov byte [edi], 0
xor edx, edx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov ecx, dword [esp + 0xc]
mov dword [esi], ecx
test dl, dl
jne 0x1001f1db
cmp ecx, eax
jae 0x1001efce
lea esi, [ecx + 1]
mov edx, dword [esp + 4]
mov dword [edx], esi
movzx edx, byte [ecx]
mov ecx, esi
mov esi, dword [esp + 4]
test dl, dl
je 0x1001f016
jmp 0x1001f1ea
mov edx, dword [esp + 8]
cmp dword [edx], 0
je 0x1001f016
push dword [ebx + 0x20]
push edi
push dword [ebx + 0x24]
call dword [ebx + 0x10]
add esp, 0xc
test eax, eax
je 0x1001efef
add eax, edi
movzx edx, byte [edi]
jmp 0x1001f002
mov eax, dword [esp + 8]
mov dword [eax], 0
mov byte [edi], 0
xor edx, edx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov ecx, dword [esp + 0xc]
mov dword [esi], ecx
test dl, dl
jne 0x1001f1ea
cmp ecx, eax
jae 0x1001f024
lea eax, [ecx + 1]
mov dword [esi], eax
movzx ecx, byte [ecx]
jmp 0x1001f072
mov eax, dword [esp + 8]
cmp dword [eax], 0
je 0x1001f049
push dword [ebx + 0x20]
push edi
push dword [ebx + 0x24]
call dword [ebx + 0x10]
add esp, 0xc
test eax, eax
je 0x1001f051
add eax, edi
movzx ecx, byte [edi]
mov esi, dword [esp + 0xc]
jmp 0x1001f066
xor edx, edx
mov eax, dword [esp + 0x24]
jmp 0x1001f082
mov eax, dword [esp + 8]
mov dword [eax], 0
mov byte [edi], 0
xor ecx, ecx
mov esi, dword [esp + 0xc]
mov eax, esi
mov edx, dword [esp + 0x10]
mov dword [edx], eax
mov eax, dword [esp + 4]
mov dword [eax], esi
cmp cl, 2
mov eax, dword [esp + 0x24]
jae 0x1001f1f9
movzx edx, cl
mov esi, dword [ebx]
test esi, esi
je 0x1001f122
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x1001f122
mov dword [esp + 0x48], edx
test al, al
je 0x1001f0be
mov dword [ebx + 8], 1
xor ebx, ebx
mov eax, 0x40000000
xor edx, edx
div esi
shr eax, 2
cmp eax, ecx
jae 0x1001e5d4
jmp 0x1001f104
mov edx, dword [esp + 0x40]
mov eax, edx
and eax, 2
shr edx, 2
and edx, 1
lea edi, [edx + eax]
inc edi
mov dword [ebx + 8], edi
mov eax, 0x40000000
xor edx, edx
div esi
xor edx, edx
div edi
cmp eax, ecx
jb 0x1001f104
xor ebx, ebx
mov dword [esp + 0x24], 0
cmp dword [esp + 0x3c], 2
jne 0x1001e5d4
mov esi, 1
jmp 0x1001e5ae
mov dword [0x1058e718], 0x10534bff
jmp 0x1001e5ac
mov dword [0x1058e718], 0x105358e9
jmp 0x1001e5ac
mov dword [0x1058e718], 0x10534cd0
jmp 0x1001e5ac
mov dword [0x1058e718], 0x1053471f
jmp 0x1001e5ac
test ebx, ebx
je 0x1001f242
mov dword [0x1058e718], 0x105356bc
jmp 0x1001e5ac
mov dword [0x1058e718], 0x105356cb
jmp 0x1001e5ac
mov dword [0x1058e718], 0x1053568e
jmp 0x1001e5ac
mov dword [0x1058e718], 0x105358d0
jmp 0x1001e5ac
mov dword [0x1058e718], 0x10533d7c
jmp 0x1001e5ac
bswap eax
mov dword [0x105825c4], eax
mov dword [0x1058e718], 0x105825c4
jmp 0x1001e5ac
movzx eax, al
mov ecx, dword [esp + 0x18]
mov dword [ecx + 8], eax
mov esi, 1
jmp 0x1001e5ae
mov dword [0x1058e718], 0x10533d6f
jmp 0x1001e5ac
mov dword [0x1058e718], 0x105355ef
jmp 0x1001e5ac
mov dword [0x1058e718], 0x10534e95
jmp 0x1001e5ac
mov dword [0x1058e718], 0x10534e83
jmp 0x1001e5ac
mov dword [0x1058e718], 0x10534ea5
jmp 0x1001e5ac
mov dword [ebx + 8], 4
mov esi, 1
jmp 0x1001e5ae
mov dword [0x1058e718], 0x105358d8
jmp 0x1001e5ac
mov eax, dword [esp + 0x14]
mov dword [eax + 0x10], 0
mov dword [0x1058e718], 0x10532afc
jmp 0x1001e5ac
mov esi, 1
cmp dword [esp + 0x3c], 0
jne 0x1001e5ae
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 4]
test esi, esi
je 0x1001f680
mov eax, dword [eax + 0x10]
mov edx, dword [esp + 0x18]
imul eax, dword [edx]
add eax, 7
shr eax, 3
mov ecx, dword [edx + 4]
mov edi, dword [edx + 8]
imul edi, ecx
imul edi, eax
add edi, ecx
push edi
call fcn.1037f2d2
add esp, 4
test eax, eax
je 0x1001f69e
xor ebx, ebx
cmp dword [esp + 0x38], 0
sete bl
mov dword [esp + 0x4a0], esi
mov ecx, dword [esp + 0x28]
add ecx, esi
mov dword [esp + 0x4a4], ecx
lea ecx, [esp + 0x4a0]
mov edx, eax
push ebx
push 1
push edi
call fcn.1000d0c0
add esp, 0xc
test eax, eax
je 0x1001f68f
mov ecx, dword [esp + 0x4b0]
mov eax, dword [esp + 0x4b4]
mov ebx, dword [esp + 0x14]
mov dword [ebx + 8], eax
xor esi, esi
test eax, eax
je 0x1001e5ae
sub ecx, eax
mov dword [esp + 0x50], ecx
push dword [ebx + 4]
call fcn.1037ddf5
add esp, 4
mov dword [ebx + 4], 0
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 8]
lea ecx, [eax + 1]
cmp byte [esp + 0x44], 0
cmovne eax, ecx
cmp byte [esp + 0x24], 0
mov edi, ecx
cmovne edi, eax
mov esi, dword [ebp + 8]
cmp ecx, esi
mov ecx, edi
cmovne ecx, eax
cmp esi, 3
cmove ecx, eax
mov dword [edx + 0xc], ecx
mov esi, dword [ebx + 0x10]
mov eax, dword [ebx]
xor edx, edx
mov dword [esp + 0x5c], esi
cmp esi, 0x10
mov esi, dword [eax]
mov edi, dword [eax + 4]
sete al
mov ebx, dword [ebx + 8]
mov dword [esp + 0x4c], ebx
cmp dword [esp + 0x48], 0
je 0x1001f6b7
mov dl, al
inc edx
mov dword [esp + 0x70], ecx
imul edx, ecx
mov eax, esi
or eax, edi
mov dword [esp + 0x2c], 0
mov ecx, edx
mov dword [esp + 0x20], edx
js 0x1001f3ce
test edi, edi
je 0x1001f390
mov dword [esp + 0x2c], 0
mov eax, 0x7fffffff
xor edx, edx
div edi
cmp eax, esi
jl 0x1001f3ce
imul esi, edi
mov eax, esi
or eax, ecx
mov dword [esp + 0x2c], 0
js 0x1001f3ce
test ecx, ecx
je 0x1001f3ba
mov dword [esp + 0x2c], 0
mov eax, 0x7fffffff
xor edx, edx
div ecx
cmp eax, esi
jl 0x1001f3ce
imul esi, ecx
push esi
call fcn.1037f2d2
mov ecx, dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x2c], eax
lea eax, [ecx + ecx]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x14]
xor ebx, ebx
jmp 0x1001f40d
mov dword [0x1058e718], 0x10535614
jmp 0x1001e5ac
mov dword [0x1058e718], 0x10532afc
jmp 0x1001e5ac
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x78]
inc ebx
cmp ebx, 7
je 0x1001f6ae
mov eax, dword [eax]
mov dword [esp + 4], eax
mov ecx, dword [ebx*4 + 0x10398080]
mov edi, dword [ebx*4 + 0x103980b8]
mov dword [esp + 0x54], ecx
not ecx
add ecx, dword [eax]
add ecx, edi
mov eax, ecx
xor edx, edx
div edi
mov dword [esp + 0x34], eax
mov esi, dword [ebx*4 + 0x1039809c]
mov dword [esp + 0x64], esi
not esi
mov eax, dword [esp + 4]
add esi, dword [eax + 4]
mov dword [esp + 0x78], ebx
mov ebx, dword [ebx*4 + 0x103980d4]
add esi, ebx
mov eax, esi
xor edx, edx
div ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x68], edi
cmp edi, ecx
ja 0x1001f3fb
cmp ebx, esi
ja 0x1001f3fb
mov dword [esp + 0x60], ebx
mov esi, dword [esp + 0x34]
mov ebx, esi
mov eax, dword [esp + 0x5c]
imul ebx, eax
mov ecx, dword [esp + 4]
imul ebx, dword [ecx + 8]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x4c]
push dword [esp + 0x40]
push eax
mov edi, dword [esp + 0x50]
push edi
push esi
push dword [esp + 0x80]
push dword [esp + 0x64]
call fcn.10021660
add esp, 0x18
test eax, eax
je 0x1001f707
add ebx, 7
sar ebx, 3
inc ebx
imul ebx, edi
mov dword [esp + 0x74], ebx
test edi, edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
jle 0x1001f660
and edx, 0xfffffffe
mov dword [esp + 0x3c], edx
mov ebx, ecx
imul ebx, dword [esp + 0x64]
mov edx, ecx
imul edx, dword [esp + 0x60]
mov dword [esp + 0x58], edx
mov edi, dword [esp + 0x68]
mov edx, dword [esp + 0x54]
add edx, edi
imul edx, ecx
add edx, dword [esp + 0x2c]
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x6c]
imul edx, edi
mov dword [esp + 0x28], edx
mov edx, ecx
imul edx, dword [esp + 0x54]
mov esi, ebx
add edx, dword [esp + 0x2c]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x30], 0
jmp 0x1001f547
mov ebx, dword [esp + 0x30]
inc ebx
add esi, dword [esp + 0x58]
mov dword [esp + 0x30], ebx
cmp ebx, dword [esp + 0x48]
je 0x1001f660
test edx, edx
jle 0x1001f530
mov edi, dword [esp + 0x30]
imul edi, edx
mov dword [esp + 0x10], edi
xor ebx, ebx
mov edi, dword [eax]
mov dword [esp + 0x1c], edi
mov eax, dword [eax + 0xc]
mov dword [esp + 0xc], eax
cmp edx, 1
mov dword [esp + 8], esi
je 0x1001f5ee
xor ebx, ebx
mov edi, dword [esp + 0x7c]
mov esi, dword [esp + 0x80]
nop
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
imul eax, dword [esp + 8]
add eax, edi
mov ecx, dword [esp + 0x10]
add ecx, ebx
mov ebx, dword [esp + 0x20]
imul ecx, ebx
add ecx, dword [esp + 0xc]
push ebx
push ecx
push eax
call fcn.10368490
add esp, 0xc
mov eax, dword [esp + 4]
or eax, 1
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx]
imul ecx, dword [esp + 8]
add ecx, esi
add eax, dword [esp + 0x10]
imul eax, ebx
add eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 8]
push eax
push ecx
call fcn.10368490
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x48]
add esp, 0xc
add ebx, 2
add esi, ecx
add edi, ecx
cmp eax, ebx
jne 0x1001f580
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
test dl, 1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 8]
je 0x1001f530
mov eax, dword [esp + 0x30]
imul eax, dword [esp + 0x60]
add eax, dword [esp + 0x64]
imul eax, ecx
imul eax, dword [edi]
mov ecx, ebx
imul ecx, dword [esp + 0x68]
add ecx, dword [esp + 0x54]
add eax, dword [esp + 0x2c]
imul ecx, dword [esp + 0x20]
add ecx, eax
mov eax, dword [esp + 0x10]
add eax, ebx
imul eax, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
add edx, eax
push dword [esp + 0x20]
push edx
push ecx
call fcn.10368490
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
add esp, 0xc
jmp 0x1001f530
push dword [eax + 0xc]
call fcn.1037ddf5
mov eax, dword [esp + 0x18]
add esp, 4
mov ecx, dword [esp + 0x74]
add dword [esp + 0x4c], ecx
sub dword [esp + 0x50], ecx
jmp 0x1001f3ff
mov dword [0x1058e718], 0x1053569e
jmp 0x1001e5ac
push dword [esp + 0x4b4]
call fcn.1037ddf5
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [eax + 8], 0
jmp 0x1001e5ac
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0xc], ecx
jmp 0x1001f6e0
mov eax, ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x4c]
push dword [esp + 0x40]
push dword [esp + 0x60]
push edi
push esi
push eax
push dword [esp + 0x64]
call fcn.10021660
add esp, 0x18
test eax, eax
je 0x1001e5ac
cmp byte [esp + 0x44], 0
mov edi, dword [esp + 0x18]
je 0x1001f728
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x10], 0x10
mov eax, dword [edi + 0xc]
jne 0x1001f718
lea edx, [esp + 0x86]
push eax
call fcn.100212e0
jmp 0x1001f725
push dword [esp + 0x2c]
call fcn.1037ddf5
add esp, 4
jmp 0x1001e5ac
lea edx, [esp + 0x8c]
push eax
call fcn.100213e0
add esp, 4
cmp dword [esp + 0x38], 0
je 0x1001f747
cmp dword [0x1058e724], 0
je 0x1001f747
cmp dword [edi + 0xc], 3
jl 0x1001f747
mov ecx, dword [esp + 0x14]
call fcn.100214c0
mov eax, dword [esp + 0x24]
test al, al
je 0x1001f87e
movzx esi, al
mov dword [edi + 8], esi
mov eax, dword [ebp + 8]
cmp eax, 3
cmovge esi, eax
mov dword [edi + 0xc], esi
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov ebx, dword [eax + 4]
imul ebx, dword [eax]
mov eax, ebx
or eax, esi
js 0x1001f86d
mov eax, 0x7fffffff
xor edx, edx
div esi
cmp eax, ebx
jl 0x1001f86d
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0xc]
mov eax, ebx
imul eax, esi
push eax
call fcn.1037f2d2
add esp, 4
mov dword [esp + 8], eax
test eax, eax
je 0x1001f86d
mov dword [esp + 0x1c], ebx
cmp esi, 3
jne 0x1001f895
cmp dword [esp + 0x1c], 0
je 0x1001f918
xor ecx, ecx
mov eax, dword [esp + 8]
cmp dword [esp + 0x1c], 1
je 0x1001f839
mov eax, dword [esp + 0x1c]
and eax, 0xfffffffe
mov dword [esp + 4], eax
xor ecx, ecx
mov eax, dword [esp + 8]
movzx esi, byte [edi + ecx]
movzx edx, byte [esp + esi*4 + 0x90]
mov byte [eax], dl
movzx edx, byte [esp + esi*4 + 0x91]
mov byte [eax + 1], dl
movzx edx, byte [esp + esi*4 + 0x92]
mov byte [eax + 2], dl
movzx edx, byte [edi + ecx + 1]
movzx ebx, byte [esp + edx*4 + 0x90]
mov byte [eax + 3], bl
movzx ebx, byte [esp + edx*4 + 0x91]
mov byte [eax + 4], bl
movzx edx, byte [esp + edx*4 + 0x92]
mov byte [eax + 5], dl
add eax, 6
add ecx, 2
cmp dword [esp + 4], ecx
jne 0x1001f7e3
test byte [esp + 0x1c], 1
je 0x1001f918
movzx ecx, byte [edi + ecx]
movzx edx, byte [esp + ecx*4 + 0x90]
mov byte [eax], dl
movzx edx, byte [esp + ecx*4 + 0x91]
mov byte [eax + 1], dl
movzx ecx, byte [esp + ecx*4 + 0x92]
mov byte [eax + 2], cl
jmp 0x1001f918
lea eax, [esp + 0x4a0]
mov dword [0x1058e718], eax
jmp 0x1001e5ac
cmp byte [esp + 0x44], 0
je 0x1001f92c
mov eax, dword [esp + 0x18]
inc dword [eax + 8]
jmp 0x1001f92c
cmp dword [esp + 0x1c], 0
je 0x1001f918
mov ebx, dword [esp + 0x1c]
mov eax, ebx
and eax, 3
xor ecx, ecx
mov edx, dword [esp + 8]
cmp ebx, 4
jb 0x1001f8fd
and ebx, 0xfffffffc
xor ecx, ecx
mov edx, dword [esp + 8]
movzx esi, byte [edi + ecx]
mov esi, dword [esp + esi*4 + 0x90]
mov dword [edx], esi
movzx esi, byte [edi + ecx + 1]
mov esi, dword [esp + esi*4 + 0x90]
mov dword [edx + 4], esi
movzx esi, byte [edi + ecx + 2]
mov esi, dword [esp + esi*4 + 0x90]
mov dword [edx + 8], esi
movzx esi, byte [edi + ecx + 3]
mov esi, dword [esp + esi*4 + 0x90]
mov dword [edx + 0xc], esi
add edx, 0x10
add ecx, 4
cmp ebx, ecx
jne 0x1001f8b9
test eax, eax
je 0x1001f918
add ecx, edi
xor esi, esi
movzx ebx, byte [ecx + esi]
mov ebx, dword [esp + ebx*4 + 0x90]
mov dword [edx + esi*4], ebx
inc esi
cmp eax, esi
jne 0x1001f905
push edi
call fcn.1037ddf5
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
mov dword [eax + 0xc], ecx
mov esi, dword [esp + 0x14]
push dword [esi + 8]
call fcn.1037ddf5
add esp, 4
mov dword [esi + 8], 0
mov esi, 1
jmp 0x1001e5ae