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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, ecx
mov dword [esp + 0x18], edx
push esi
movzx ecx, byte [eax]
mov eax, dword [eax + 4]
mov esi, dword [ebx + 8]
push edi
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
test edi, edi
je 0x1006e30f
movzx eax, byte [edi + 1]
jmp 0x1006e311
xor eax, eax
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x30], eax
test ecx, ecx
je 0x1006e326
cmp dword [ecx], 0
jne 0x1006e33a
xor ecx, ecx
mov dword [ebp + 0x10], ecx
test eax, eax
jne 0x1006e33a
push dword [ebp + 0x1c]
mov edx, dword [edx + 0xc]
mov ecx, esi
call fcn.1006e130
add esp, 4
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 8]
mov edx, dword [edx]
mov dword [esp + 0x14], edx
test eax, eax
jne 0x1006e379
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1006e36a
test byte [ecx + 0x1c], 1
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
jne 0x1006e367
inc eax
mov dword [esp + 0x1c], eax
add dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebp + 0x18]
inc eax
mov dword [ecx + 8], eax
add dword [ebx + 0x48], edx
jmp 0x1006e388
mov ecx, dword [ebx + 0x48]
add eax, edx
cmp eax, ecx
jle 0x1006e388
lea eax, [ecx + edx]
mov dword [ebx + 0x48], eax
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp + 0x18]
mov dword [eax + 0xc], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x10], eax
jl 0x1006e444
xor edi, edi
test edx, edx
jle 0x1006e40d
mov ebx, eax
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x54], ecx
jg 0x1006e3cf
lea eax, [edi + ebx]
mov edx, 0x30
push eax
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.10038de0
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x1006e400
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x30
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edi
lea ecx, [eax + ecx*4]
mov eax, dword [ebp + 0xc]
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], eax
lea eax, [edi + ebx]
mov dword [ecx + 0xc], eax
inc edi
cmp edi, edx
jl 0x1006e3a7
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
mov edi, dword [ebp + 0x14]
cmp dword [esp + 0x30], 0
je 0x1006e769
movzx ecx, byte [edi + 1]
sub ecx, 1
je 0x1006e6d1
sub ecx, 1
je 0x1006e484
push eax
push edx
push dword [ebp + 0x1c]
mov edx, dword [edi + 4]
mov ecx, ebx
call fcn.1006e1a0
add esp, 0xc
jmp 0x1006e701
mov ecx, dword [esp + 0x28]
cmp ecx, 3
je 0x1006e410
cmp ecx, 0xa
je 0x1006e461
cmp ecx, 9
je 0x1006e461
mov byte [esp + 0x34], 0
cmp ecx, 0xd
jne 0x1006e466
mov byte [esp + 0x34], 1
push dword [esp + 0x34]
mov edx, dword [ebp + 8]
mov ecx, ebx
push 0
push eax
call fcn.100518d0
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov edx, dword [esp + 0x14]
jmp 0x1006e410
mov eax, dword [ebx + 0x48]
lea ecx, [eax + 1]
add eax, edx
mov dword [ebx + 0x48], eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi]
cmp byte [ecx + 0x41], 0
jne 0x1006e4ca
mov eax, dword [edi + 8]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
push dword [eax + edx*4 + 0x10]
lea edi, [eax + edx*4]
movsx edx, byte [edi + 1]
call fcn.100397d0
mov edx, dword [esp + 0x18]
add esp, 4
mov word [edi], 0xa1
mov dword [edi + 0x10], 0
mov edi, dword [ebp + 0x14]
mov ecx, dword [edi + 8]
test ecx, ecx
jns 0x1006e4d5
mov ecx, dword [esi + 0x20]
dec ecx
mov eax, dword [esi]
cmp byte [eax + 0x41], 0
je 0x1006e4e4
mov eax, 0x102004bc
jmp 0x1006e4ed
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
mov byte [eax], 0x1a
mov dword [eax + 4], 1
mov dword [eax + 8], ecx
mov eax, dword [esi + 0x20]
add eax, edx
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], eax
test edx, edx
jle 0x1006e67d
lea eax, [edx - 1]
xor ecx, ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x2c]
sub eax, edi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
mov edx, dword [ecx + edx]
mov ecx, ebx
call fcn.1004c8a0
mov edx, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x30], edx
cmp dword [esp + 0x34], eax
jge 0x1006e59d
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
cmp dword [ecx + 0x54], edx
jg 0x1006e57e
mov eax, dword [esp + 0x24]
mov edx, 0x4e
add eax, edi
mov ecx, esi
push eax
push dword [esp + 0x40]
push edi
call fcn.10038de0
mov edx, dword [esp + 0x3c]
add esp, 0xc
jmp 0x1006e5fa
lea eax, [edx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x30]
mov word [eax + ecx*4], 0x4e
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x3c]
jmp 0x1006e5e0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x54], ecx
jg 0x1006e5c8
mov eax, dword [esp + 0x24]
mov edx, 0x4f
add eax, edi
mov ecx, esi
push eax
push dword [ebp + 0x1c]
push edi
call fcn.10038de0
mov edx, dword [esp + 0x3c]
add esp, 0xc
jmp 0x1006e5fa
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x4f
lea ecx, [eax + ecx*4]
mov eax, dword [ebp + 0x1c]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x24]
mov dword [ecx + 0x10], 0
add eax, edi
mov dword [ecx + 0xc], eax
mov dword [ecx + 4], edi
mov byte [ecx + 3], 0
mov ecx, dword [esi]
cmp byte [ecx + 0x41], 0
je 0x1006e612
push edx
mov edx, 0xfffffffc
call fcn.100397d0
add esp, 4
jmp 0x1006e642
mov eax, dword [esi + 0x20]
dec eax
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x1006e637
push 0xfffffffffffffffc
push edx
mov edx, eax
mov ecx, esi
call fcn.100399e0
add esp, 8
jmp 0x1006e642
test edx, edx
je 0x1006e642
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xfc
mov eax, dword [esi]
cmp byte [eax + 0x41], 0
jne 0x1006e658
mov eax, dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov byte [eax + ecx*4 - 0x11], 0x80
mov eax, dword [esp + 0x34]
inc edi
mov ecx, dword [esp + 0x40]
inc eax
mov edx, dword [esp + 0x14]
add ecx, 0x18
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], ecx
cmp eax, edx
jl 0x1006e532
mov edi, dword [esp + 0x10]
mov eax, dword [esi + 0x18]
dec edx
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x54], ecx
jg 0x1006e6a0
push edx
push dword [esp + 0x30]
mov edx, 0x1f
mov ecx, esi
push edi
call fcn.10038de0
add esp, 0xc
jmp 0x1006e701
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x1f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1006e701
mov ecx, dword [esi]
cmp byte [ecx + 0x41], 0
jne 0x1006e701
mov eax, dword [edi + 8]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
push dword [eax + edx*4 + 0x10]
lea edi, [eax + edx*4]
movsx edx, byte [edi + 1]
call fcn.100397d0
add esp, 4
mov word [edi], 0xa1
mov dword [edi + 0x10], 0
mov ecx, dword [ebp + 0x10]
mov edi, dword [esp + 0x20]
test ecx, ecx
jne 0x1006e770
mov edx, dword [edi + 0xc]
test edx, edx
jle 0x1006e770
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x54], ecx
jg 0x1006e735
push 1
push dword [ebp + 0x1c]
mov ecx, esi
push edx
mov edx, 0x8b
call fcn.10038de0
add esp, 0xc
jmp 0x1006e76d
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 0x1c]
mov word [eax + ecx*4], 0x8b
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 1
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1006e76d
mov edi, dword [esp + 0x20]
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x28]
lea eax, [edx - 1]
cmp eax, 0xd
ja case.0x1006e780.4
jmp dword [eax*4 + 0x1006eec0]
mov al, byte [ebx + 0x13]
test al, al
jne 0x1006e796
inc dword [ebx + 0x48]
mov edi, dword [ebx + 0x48]
jmp 0x1006e7a2
dec al
mov byte [ebx + 0x13], al
movzx eax, al
mov edi, dword [ebx + eax*4 + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, esi
push edi
push edx
mov edx, dword [esp + 0x18]
push edx
mov edx, 0x32
call fcn.10038e20
add esp, 0xc
mov edx, 0x70
mov ecx, esi
push edi
push dword [esp + 0x1c]
call fcn.10038f70
add esp, 8
mov edx, edi
mov ecx, ebx
call fcn.10052c50
jmp case.0x1006e780.4
mov edx, dword [esp + 0x14]
mov ecx, esi
push edx
mov edx, dword [esp + 0x14]
push edx
push dword [esp + 0x20]
mov edx, 0x71
call fcn.10038e20
add esp, 0xc
jmp case.0x1006e780.4
mov edx, dword [esp + 0x1c]
mov edi, dword [ebx + 0x38]
inc edx
mov ecx, dword [ebx + 0x3c]
mov dword [esp + 0x24], ecx
cmp edx, edi
jg 0x1006e820
lea eax, [ecx + edx]
sub edi, edx
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x38], edi
jmp 0x1006e82f
mov eax, dword [ebx + 0x48]
lea ecx, [eax + 1]
add eax, edx
mov dword [esp + 0x24], ecx
mov dword [ebx + 0x48], eax
mov eax, dword [esi + 0x18]
mov edi, dword [esp + 0x1c]
add edi, ecx
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x44], edi
cmp dword [eax + 0x54], ecx
jg 0x1006e860
mov edx, dword [esp + 0x14]
mov ecx, esi
push edi
push edx
mov edx, dword [esp + 0x18]
push edx
mov edx, 0x32
call fcn.10038de0
add esp, 0xc
jmp 0x1006e893
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov word [eax + ecx*4], 0x32
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x28], 6
jne 0x1006e8d1
mov eax, dword [esi + 0x20]
mov edx, 0x49
mov edi, dword [esp + 0x18]
add eax, 4
push 0
push dword [esp + 0x28]
inc edi
mov ecx, esi
push eax
push edi
call fcn.10039350
push dword [esp + 0x34]
mov edx, 0x70
mov ecx, esi
push edi
call fcn.10038f70
mov edi, dword [esp + 0x5c]
add esp, 0x18
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x1006e8f8
push dword [esp + 0x1c]
mov edx, eax
mov ecx, ebx
push 1
push dword [esp + 0x18]
push edi
push dword [esp + 0x30]
call fcn.1006dae0
add esp, 0x14
jmp 0x1006e981
mov al, byte [ebx + 0x13]
test al, al
jne 0x1006e907
inc dword [ebx + 0x48]
mov edi, dword [ebx + 0x48]
jmp 0x1006e913
dec al
mov byte [ebx + 0x13], al
movzx eax, al
mov edi, dword [ebx + eax*4 + 0x18]
push edi
push dword [esp + 0x1c]
mov edx, 0x54
mov ecx, esi
call fcn.10038f70
push edi
push dword [esp + 0x30]
mov edx, 0x5f
mov ecx, esi
push dword [esp + 0x28]
call fcn.10038e20
mov eax, dword [esi]
add esp, 0x14
cmp byte [eax + 0x41], 0
jne 0x1006e952
mov eax, dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov byte [eax + ecx*4 - 0x11], 8
test edi, edi
je 0x1006e981
mov dl, byte [ebx + 0x13]
cmp dl, 8
jae 0x1006e981
xor ecx, ecx
lea eax, [ebx + 0x78]
cmp dword [eax + 0xc], edi
je 0x1006e97d
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x1006e963
movzx eax, dl
mov dword [ebx + eax*4 + 0x18], edi
inc byte [ebx + 0x13]
jmp 0x1006e981
mov byte [eax + 6], 1
mov eax, dword [esp + 0x1c]
mov ecx, ebx
mov edi, dword [esp + 0x24]
inc eax
push eax
mov edx, edi
call fcn.1004ff70
mov eax, dword [esp + 0x20]
add esp, 4
inc eax
cmp eax, dword [ebx + 0x38]
jle case.0x1006e780.4
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], edi
jmp case.0x1006e780.4
mov edi, dword [ebp + 0x18]
inc edi
mov al, byte [edi]
mov byte [esp + 0xf], al
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
call fcn.1004c730
mov cl, byte [esp + 0xf]
test al, al
je 0x1006e9e4
test cl, cl
je 0x1006e9ec
cmp al, 0x43
jge 0x1006e9e0
cmp cl, 0x43
jge 0x1006e9e0
mov al, 0x41
jmp 0x1006e9ee
mov al, 0x43
jmp 0x1006e9ee
test cl, cl
jne 0x1006e9ec
mov al, 0x41
jmp 0x1006e9ee
add al, cl
mov ecx, dword [ebp + 0x10]
mov byte [edi], al
test ecx, ecx
je 0x1006ea18
push dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov edx, ecx
push 1
push eax
push eax
push dword [esp + 0x30]
mov ecx, ebx
call fcn.1006dae0
add esp, 0x14
jmp case.0x1006e780.4
mov al, byte [ebx + 0x13]
test al, al
jne 0x1006ea27
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
jmp 0x1006ea33
dec al
mov byte [ebx + 0x13], al
movzx eax, al
mov eax, dword [ebx + eax*4 + 0x18]
push 1
push edi
mov edi, dword [esp + 0x18]
mov edx, 0x32
push eax
push 1
push edi
mov ecx, esi
mov dword [esp + 0x54], eax
call fcn.10039210
add esp, 0x14
mov edx, edi
mov ecx, ebx
push 1
call fcn.1004ff70
mov edi, dword [esp + 0x44]
add esp, 4
mov edx, 0x70
mov ecx, esi
push edi
push dword [esp + 0x1c]
call fcn.10038f70
add esp, 8
mov edx, edi
mov ecx, ebx
call fcn.10052c50
jmp 0x1006ee55
push dword [esp + 0x18]
mov edx, 0x17
mov ecx, esi
push 1
call fcn.10038f70
add esp, 8
jmp case.0x1006e780.4
test ecx, ecx
je 0x1006ee55
push dword [esp + 0x1c]
push 1
mov eax, dword [esp + 0x18]
mov edx, ecx
push eax
push eax
push edi
mov ecx, ebx
call fcn.1006dae0
add esp, 0x14
jmp case.0x1006e780.4
test ecx, ecx
je 0x1006ead4
push dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push edx
jmp 0x1006eaad
mov ecx, esi
cmp edx, 0xd
jne 0x1006eaf3
mov eax, dword [ebp + 0x18]
mov edx, 0x14
push dword [eax + 4]
call fcn.10038f00
add esp, 4
jmp 0x1006ee55
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
push edx
push edi
mov edx, 0x22
call fcn.10038f70
push dword [esp + 0x1c]
mov edx, edi
mov ecx, ebx
call fcn.1004ff70
add esp, 0xc
jmp 0x1006ee55
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x30], 0
mov eax, dword [eax + 0x10]
mov dword [esp + 0x44], eax
mov ecx, dword [eax]
mov al, byte [ebx + 0x13]
mov dword [esp + 0x34], ecx
test al, al
jne 0x1006eb43
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
jmp 0x1006eb4f
dec al
mov byte [ebx + 0x13], al
movzx eax, al
mov eax, dword [ebx + eax*4 + 0x18]
mov edi, dword [ebx + 0x38]
lea edx, [ecx + 2]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], eax
cmp edx, edi
jg 0x1006eb78
add eax, edx
sub edi, edx
mov dword [ebx + 0x38], edi
mov edi, dword [esp + 0x1c]
mov dword [ebx + 0x3c], eax
jmp 0x1006eb87
mov eax, dword [ebx + 0x48]
lea edi, [eax + 1]
add eax, edx
mov dword [esp + 0x1c], edi
mov dword [ebx + 0x48], eax
lea eax, [edi + ecx]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
inc eax
cmp dword [esp + 0x28], 8
mov dword [esp + 0x40], eax
jne 0x1006ebc2
push dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov edx, 0x49
push edi
inc eax
mov ecx, esi
push 0
push eax
call fcn.10039350
mov dword [esp + 0x40], eax
add esp, 0x10
mov eax, dword [esp + 0x40]
push eax
push dword [esp + 0x18]
mov edx, 0x32
mov ecx, esi
push edi
call fcn.10038e20
add esp, 0xc
cmp dword [esp + 0x28], 8
jne 0x1006ec0d
mov eax, dword [esp + 0x18]
mov edx, 0x70
push dword [esp + 0x40]
inc eax
mov ecx, esi
push eax
call fcn.10038f70
mov eax, dword [esi]
add esp, 8
cmp byte [eax + 0x41], 0
jne 0x1006ec0d
mov eax, dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov byte [eax + ecx*4 - 0x11], 0x10
cmp dword [esp + 0x34], 0
jle 0x1006ec97
mov ebx, dword [esp + 0x1c]
xor ecx, ecx
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 4]
movzx edx, word [eax + ecx + 0x14]
mov eax, dword [esi + 0x18]
dec edx
mov ecx, dword [esi + 0x20]
add edx, edi
cmp dword [eax + 0x54], ecx
jg 0x1006ec51
push 0
push ebx
push edx
mov edx, 0x20
mov ecx, esi
call fcn.10038de0
add esp, 0xc
jmp 0x1006ec80
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x20
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x40]
inc ebx
add ecx, 0x18
sub dword [esp + 0x34], 1
mov dword [esp + 0x40], ecx
jne 0x1006ec22
mov ebx, dword [esp + 0x38]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x54], ecx
jg 0x1006ecbe
mov edx, dword [esp + 0x3c]
mov ecx, esi
push 0
push edx
push dword [esp + 0x20]
mov edx, 0x4b
call fcn.10038de0
add esp, 0xc
jmp 0x1006ecf5
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov word [eax + ecx*4], 0x4b
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov edi, dword [esp + 0x2c]
cmp dword [eax + 0x54], ecx
jg 0x1006ed22
push dword [esp + 0x24]
mov edx, 0x32
mov ecx, esi
push edi
push dword [esp + 0x24]
call fcn.10038de0
mov edx, dword [esp + 0x30]
add esp, 0xc
jmp 0x1006ed55
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov word [eax + ecx*4], 0x32
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x54], ecx
jg 0x1006ed7c
push 0
push edx
push dword [esp + 0x20]
mov edx, 0x70
mov ecx, esi
call fcn.10038de0
mov edx, dword [esp + 0x30]
add esp, 0xc
jmp 0x1006edb3
mov ebx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x38]
mov word [eax + ecx*4], 0x70
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x30], 0
je 0x1006edf5
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
dec ecx
mov dword [eax + 0x5c], ecx
mov ecx, dword [esp + 0x30]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x44], eax
test ecx, ecx
jns 0x1006edd6
lea ecx, [eax - 1]
mov eax, dword [esi]
cmp byte [eax + 0x41], 0
je 0x1006ede5
mov eax, 0x102004bc
jmp 0x1006edee
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
test edx, edx
je 0x1006ee30
mov al, byte [ebx + 0x13]
mov byte [esp + 0xf], al
cmp al, 8
jae 0x1006ee30
xor ecx, ecx
lea eax, [ebx + 0x78]
nop dword [eax]
cmp dword [eax + 0xc], edx
je 0x1006ee2c
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x1006ee10
movzx eax, byte [esp + 0xf]
mov dword [ebx + eax*4 + 0x18], edx
inc byte [ebx + 0x13]
jmp 0x1006ee30
mov byte [eax + 6], 1
mov edx, dword [esp + 0x1c]
mov ecx, ebx
push edi
call fcn.1004ff70
add esp, 4
cmp edi, dword [ebx + 0x38]
jle case.0x1006e780.4
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x3c], eax
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jne 0x1006eeb9
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 8]
test edx, edx
je 0x1006eeb9
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x54], ecx
jg 0x1006ee87
push 0
push dword [ebp + 0x20]
mov ecx, esi
push edx
mov edx, 0x8e
call fcn.10038de0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x8e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
lea ecx, [eax + ecx*4]
mov eax, dword [ebp + 0x20]
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], eax
mov dword [ecx + 0x10], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret