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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
push esi
mov esi, ecx
mov dword [esp + 0x1c], edx
mov ecx, dword [ebp + 8]
push edi
mov dword [esp + 0xc], ecx
mov edi, dword [esi + 8]
mov eax, dword [esi]
mov dword [esp + 0x34], edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x3c], eax
test edi, edi
je 0x1008d995
mov eax, 0x62
test edx, edx
je 0x1008cf1c
movzx eax, byte [edx]
mov dword [esp + 0x24], eax
add eax, 0xffffffed
cmp eax, 0x8a
ja case.0x1008cf35.21
movzx eax, byte [eax + 0x1008dcb8]
jmp dword [eax*4 + 0x1008dc54]
movsx eax, word [edx + 0x1e]
lea ecx, [eax + eax*2]
mov eax, dword [edx + 0x24]
mov eax, dword [eax + 0x14]
lea ecx, [eax + ecx*8]
mov eax, dword [edx + 0x24]
cmp byte [eax], 0
jne 0x1008cf5f
mov edi, dword [ecx + 0x10]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [eax + 1], 0
je 0x1008cf8a
mov edx, dword [ebp + 8]
push edx
push dword [ecx + 0xc]
mov edx, 0x1d
mov ecx, edi
push dword [eax + 8]
call fcn.1007a570
mov edi, dword [esp + 0x18]
add esp, 0xc
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
mov edi, dword [edx + 0x18]
test edi, edi
jns 0x1008cfa3
movsx edi, word [edx + 0x1c]
add edi, dword [esi + 0x58]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movzx eax, byte [edx + 0x23]
push eax
movsx eax, word [edx + 0x1c]
mov edx, dword [edx + 0x28]
push ecx
push edi
push eax
mov ecx, esi
call fcn.1008ca20
add esp, 0x10
mov edi, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ecx
push 0
mov ecx, esi
call fcn.1008c5d0
mov edi, dword [esp + 0x14]
add esp, 8
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [edx + 4]
push ecx
push 0
mov ecx, edi
call fcn.1008c4a0
mov edi, dword [esp + 0x14]
add esp, 8
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push dword [edx + 4]
mov edx, 0x5e
push 0
push ecx
push 0
mov ecx, edi
call fcn.1007a700
mov edi, dword [esp + 0x20]
add esp, 0x14
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ecx
push 0
mov edx, 0xa
mov ecx, edi
call fcn.1007a690
mov edi, dword [esp + 0x14]
add esp, 8
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [edx + 4]
add ecx, 2
call fcn.10061200
mov edx, ecx
mov ecx, dword [edi]
lea esi, [eax - 1]
push esi
call fcn.10062110
mov edx, dword [ebp + 8]
add esp, 4
mov ecx, edi
push 0xffffffffffffffff
push eax
push 0
push edx
mov eax, esi
cdq
sub eax, edx
mov edx, 0xb
sar eax, 1
push eax
call fcn.1007a700
mov edi, dword [esp + 0x20]
add esp, 0x14
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movsx eax, word [edx + 0x1c]
mov edx, 0xc
push ecx
push eax
mov ecx, edi
call fcn.1007a690
mov ecx, dword [esp + 0x28]
add esp, 8
mov eax, dword [ecx + 4]
cmp byte [eax + 1], 0
je 0x1008dc46
movsx ecx, word [ecx + 0x1c]
mov eax, dword [esi + 0x1ec]
mov edx, dword [edi + 4]
mov eax, dword [eax + ecx*4 - 4]
mov ecx, dword [edi]
mov dword [esp + 0x1c], eax
test edx, edx
je 0x1008d114
cmp byte [ecx + 0x36], 0
jne 0x1008d114
mov eax, dword [edi + 0x1c]
dec eax
lea eax, [eax + eax*4]
push dword [edx + eax*4 + 0x10]
lea esi, [edx + eax*4]
movsx edx, byte [esi + 1]
call fcn.1007ab80
mov eax, dword [esp + 0x20]
add esp, 4
mov edi, dword [esp + 0xc]
mov dword [esi + 0x10], 0
test eax, eax
jne 0x1008d105
mov dword [esi + 0x10], eax
mov byte [esi + 1], al
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x10], eax
mov eax, edi
mov byte [esi + 1], 0xfe
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push eax
mov edx, 0xfffffffe
call fcn.1007ab80
mov edi, dword [esp + 0x10]
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [edx + 0x18]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [edx + 8]
push ecx
mov ecx, esi
call fcn.1008ced0
add esp, 4
mov edi, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [edx + 8]
push ecx
mov ecx, esi
call fcn.1008ced0
mov ecx, dword [esp + 0x24]
add esp, 4
mov dword [esp + 0xc], eax
mov ecx, dword [ecx + 4]
call fcn.10093f10
mov ecx, dword [esp + 0xc]
movsx eax, al
add eax, 0x2c
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
cmp ecx, eax
je 0x1008d19a
push eax
push ecx
mov edx, 0xf
mov ecx, edi
call fcn.1007a690
mov ecx, dword [ebp + 8]
add esp, 8
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.1007a630
mov edi, dword [esp + 0x10]
add esp, 4
mov edx, edi
mov ecx, esi
push 1
call fcn.1008c830
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [edx + 8]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.1008dd50
mov ecx, dword [esp + 0x24]
add esp, 4
mov edi, eax
lea eax, [esp + 0x18]
mov edx, dword [ecx + 0xc]
mov ecx, esi
push eax
call fcn.1008dd50
mov edx, dword [ebp + 8]
add esp, 4
push 0x10
push edx
push eax
push edi
push dword [esp + 0x34]
mov eax, dword [esp + 0x34]
mov ecx, esi
push dword [eax + 0xc]
mov edx, dword [eax + 8]
call fcn.10089dd0
add esp, 0x18
jmp 0x1008d87e
mov edx, dword [edx + 8]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.1008dd50
mov ecx, dword [esp + 0x24]
add esp, 4
mov edi, eax
lea eax, [esp + 0x18]
mov edx, dword [ecx + 0xc]
mov ecx, esi
push eax
call fcn.1008dd50
mov edx, dword [ebp + 8]
add esp, 4
push 0x90
push edx
push eax
xor eax, eax
cmp dword [esp + 0x30], 0x46
push edi
sete al
add eax, 0x4b
push eax
jmp 0x1008d1f9
mov edx, dword [edx + 8]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.1008dd50
mov ecx, dword [esp + 0x24]
add esp, 4
mov edi, eax
lea eax, [esp + 0x18]
mov edx, dword [ecx + 0xc]
mov ecx, esi
push eax
call fcn.1008dd50
mov edx, dword [ebp + 8]
add esp, 4
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x28]
push edi
push eax
call fcn.1007a570
add esp, 0xc
jmp 0x1008d87e
mov edx, dword [edx + 8]
mov al, byte [edx]
cmp al, 0x81
jne 0x1008d2be
push ecx
push 1
mov ecx, esi
call fcn.1008c5d0
mov eax, dword [ebp + 8]
add esp, 8
mov dword [esp + 0xc], eax
jmp 0x1008d87e
cmp al, 0x82
jne 0x1008d2de
mov edx, dword [edx + 4]
push ecx
push 1
mov ecx, edi
call fcn.1008c4a0
mov eax, dword [ebp + 8]
add esp, 8
mov dword [esp + 0xc], eax
jmp 0x1008d87e
mov ecx, esi
call fcn.1008ee40
mov ecx, dword [esp + 0x34]
mov edi, eax
push edi
push 0
mov edx, 7
mov dword [esp + 0x1c], edi
call fcn.1007a690
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x20]
push eax
mov edx, dword [ecx + 8]
mov ecx, esi
call fcn.1008dd50
mov edx, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [esp + 0x34]
push edx
push edi
push eax
mov edx, 0x57
call fcn.1007a570
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [esp + 0xc], eax
jmp 0x1008d87e
mov edx, dword [edx + 8]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.1008dd50
mov ecx, dword [ebp + 8]
add esp, 4
mov edx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
push ecx
push eax
mov ecx, edi
call fcn.1007a690
add esp, 8
jmp 0x1008d87e
push ecx
push 1
mov edx, 7
mov ecx, edi
call fcn.1007a690
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x1c]
push eax
mov edx, dword [ecx + 8]
mov ecx, esi
call fcn.1008dd50
mov edx, dword [esp + 0x30]
add esp, 0xc
mov ecx, edi
push eax
call fcn.1007a630
mov ecx, dword [esp + 0x38]
add esp, 4
mov edx, 0x14
mov edi, eax
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.1007a690
mov ecx, dword [esp + 0x3c]
add esp, 8
mov edx, edi
call fcn.1007ab60
jmp 0x1008d87e
mov eax, dword [edx + 0x24]
test eax, eax
jne 0x1008d3e3
push dword [edx + 4]
push str.misuse_of_aggregate:__s__
push esi
call fcn.10061300
mov edi, dword [esp + 0x18]
add esp, 0xc
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movsx ecx, word [edx + 0x1e]
mov eax, dword [eax + 0x20]
add ecx, ecx
mov edi, dword [eax + ecx*8 + 8]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x2c], 0
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4d]
mov byte [esp + 0x28], al
mov eax, 0x4000
test word [edx + 2], ax
je 0x1008d488
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov edx, dword [edx + 4]
mov ecx, edx
mov dword [esp + 0x30], edx
call fcn.10061200
mov ecx, dword [esp + 0x14]
push 0
push dword [esp + 0x2c]
mov dword [esp + 0x40], eax
push ecx
mov ecx, dword [esp + 0x48]
push eax
call fcn.10098180
add esp, 0x10
mov dword [esp + 0x24], eax
test eax, eax
jne 0x1008d49b
push dword [esp + 0x30]
push dword [esp + 0x3c]
push str.unknown_function:__.s__
push esi
call fcn.10061300
mov edi, dword [esp + 0x1c]
add esp, 0x10
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x10]
mov dword [esp + 0x18], eax
test eax, eax
je 0x1008d42c
mov eax, dword [eax]
mov dword [esp + 0x14], eax
jmp 0x1008d434
test byte [eax + 3], 0x20
je 0x1008d549
mov ecx, edi
call fcn.1007a920
mov edx, dword [esp + 0x18]
mov ecx, esi
push dword [ebp + 8]
mov dword [esp + 0x30], eax
mov edx, dword [edx + 8]
mov edx, dword [edx]
call fcn.1008dde0
mov eax, dword [esp + 0x18]
add esp, 4
cmp eax, 1
jle 0x1008d532
dec eax
mov dword [esp + 0x28], 0x14
mov dword [esp + 0x1c], eax
lea esp, [esp]
push dword [esp + 0x2c]
mov edx, 0x4a
mov ecx, edi
push dword [ebp + 8]
call fcn.1007a690
mov edx, dword [ebp + 8]
mov ecx, esi
push 1
call fcn.1008c830
mov eax, dword [esp + 0x24]
add esp, 0xc
inc dword [esi + 0x5c]
mov ecx, esi
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x28]
push dword [ebp + 8]
mov edx, dword [eax + edx]
call fcn.1008dde0
add esp, 4
mov ecx, esi
call fcn.1008c890
add dword [esp + 0x28], 0x14
dec dword [esp + 0x1c]
jne 0x1008d4e0
mov edx, dword [esp + 0x2c]
mov ecx, edi
call fcn.1007a990
mov edi, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1008d5ad
mov edx, dword [esp + 0x14]
mov ecx, esi
call fcn.1008eea0
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
mov al, byte [eax + 3]
mov byte [esp + 0x13], al
test al, 0xc0
mov eax, dword [esp + 0x18]
je 0x1008d58b
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov cl, byte [edx]
cmp cl, 0x98
je 0x1008d584
cmp cl, 0x9a
jne 0x1008d58b
mov cl, byte [esp + 0x13]
mov byte [edx + 0x23], cl
inc dword [esi + 0x5c]
mov edx, eax
push 1
push dword [esp + 0x2c]
mov ecx, esi
call fcn.1008e120
add esp, 8
mov ecx, esi
call fcn.1008c890
mov eax, dword [esp + 0x18]
jmp 0x1008d5b5
mov dword [esp + 0x28], 0
mov edx, dword [esp + 0x14]
cmp edx, 2
jl 0x1008d5d0
mov ecx, dword [esp + 0x20]
test byte [ecx + 2], 0x80
je 0x1008d5d0
mov eax, dword [eax + 8]
push dword [eax + 0x14]
jmp 0x1008d5d9
test edx, edx
jle 0x1008d5f2
mov eax, dword [eax + 8]
push dword [eax]
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x2c]
call fcn.100b4b10
mov edx, dword [esp + 0x1c]
add esp, 8
mov dword [esp + 0x24], eax
xor ecx, ecx
mov dword [esp + 0x20], ecx
test edx, edx
jle 0x1008d687
mov edi, dword [esp + 0x18]
mov eax, 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], ecx
cmp ecx, 0x20
jge 0x1008d639
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x38]
mov ecx, dword [ecx + eax]
call fcn.1008b440
mov edx, dword [esp + 0x14]
test eax, eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
je 0x1008d639
or dword [esp + 0x1c], eax
mov edi, dword [esp + 0x24]
test byte [edi + 3], 8
mov edi, dword [esp + 0x18]
je 0x1008d66f
cmp dword [esp + 0x2c], 0
jne 0x1008d66f
mov edx, dword [edi + 8]
mov ecx, esi
mov eax, dword [esp + 0x38]
mov edx, dword [edx + eax]
call fcn.10089ba0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
add dword [esp + 0x38], 0x14
inc ecx
rol eax, 1
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], eax
cmp ecx, edx
jl 0x1008d611
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
test byte [eax + 3], 8
je 0x1008d6bc
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x1008d6a0
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 8]
push 0xfffffffffffffffc
push eax
push 0
push 0
push 0
mov edx, 0x11
mov ecx, edi
call fcn.1007a700
mov eax, dword [esp + 0x38]
add esp, 0x14
push 0xfffffffffffffffb
push eax
push dword [ebp + 8]
mov edx, 0x12
mov ecx, edi
push dword [esp + 0x34]
push dword [esp + 0x2c]
call fcn.1007a700
mov edx, dword [edi + 4]
add esp, 0x14
test edx, edx
je 0x1008d6ee
mov eax, dword [edi + 0x1c]
mov ecx, dword [esp + 0x14]
lea eax, [eax + eax*4]
mov byte [edx + eax*4 - 0x11], cl
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1008dc46
mov edx, dword [esp + 0x28]
mov ecx, esi
push eax
call fcn.1008eed0
mov edi, dword [esp + 0x10]
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
mov ecx, esi
call fcn.1008ba90
add esp, 8
mov edi, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.1007a920
mov ecx, dword [esp + 0x34]
mov edi, eax
call fcn.1007a920
push dword [ebp + 8]
mov ecx, dword [esp + 0x38]
mov edx, 0xa
push 0
mov dword [esp + 0x24], eax
call fcn.1007a690
push dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov ecx, esi
push edi
call fcn.1008c020
push dword [ebp + 8]
mov esi, dword [esp + 0x48]
mov edx, 7
push 1
mov ecx, esi
call fcn.1007a690
mov edx, edi
mov ecx, esi
call fcn.1007a990
push 0
push dword [ebp + 8]
mov edx, 0x14
call fcn.1007a690
mov edx, dword [esp + 0x3c]
add esp, 0x20
mov ecx, esi
call fcn.1007a990
mov edi, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 8]
mov edx, ecx
mov dword [esp + 0x28], ecx
mov ecx, esi
mov eax, dword [eax + 8]
mov dword [esp + 0x38], eax
mov edi, dword [eax]
lea eax, [esp + 0x14]
push eax
call fcn.1008dd50
add esp, 4
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x18]
mov edx, edi
mov ecx, esi
push eax
call fcn.1008dd50
add esp, 4
mov ecx, esi
mov edx, eax
call fcn.1008ee40
mov dword [esp + 0x30], eax
call fcn.1008ee40
push 0x10
push dword [esp + 0x34]
mov dword [esp + 0x24], eax
push edx
push dword [esp + 0x38]
mov edx, dword [esp + 0x38]
push 0x50
push edi
call fcn.10089dd0
mov edi, dword [esp + 0x50]
mov ecx, esi
mov edx, dword [esp + 0x30]
mov edi, dword [edi + 0x14]
call fcn.1008ee60
lea eax, [esp + 0x30]
mov edx, edi
push eax
mov ecx, esi
call fcn.1008dd50
mov edx, dword [esp + 0x44]
add esp, 0x1c
mov ecx, esi
push 0x10
push dword [esp + 0x20]
push eax
push dword [esp + 0x38]
push 0x4e
push edi
call fcn.10089dd0
push dword [ebp + 8]
mov edi, dword [esp + 0x4c]
mov edx, 0x45
push dword [esp + 0x38]
mov ecx, dword [esp + 0x54]
push edi
call fcn.1007a570
add esp, 0x24
mov edx, edi
mov ecx, esi
call fcn.1008ee60
mov edx, dword [esp + 0x1c]
mov ecx, esi
call fcn.1008ee60
cmp dword [esp + 0x14], 0
je 0x1008d8b9
mov al, byte [esi + 0x13]
mov byte [esp + 0x13], al
cmp al, 8
jae 0x1008d8b9
xor ecx, ecx
lea eax, [esi + 0x64]
mov edx, dword [esp + 0x14]
cmp dword [eax + 0x10], edx
je 0x1008d8b5
inc ecx
add eax, 0x18
cmp ecx, 0xa
jl 0x1008d895
movzx eax, byte [esp + 0x13]
mov dword [esi + eax*4 + 0x1c], edx
inc byte [esi + 0x13]
jmp 0x1008d8b9
mov byte [eax + 8], 1
cmp dword [esp + 0x18], 0
je 0x1008dc46
mov al, byte [esi + 0x13]
mov byte [esp + 0x13], al
cmp al, 8
jae 0x1008dc46
xor ecx, ecx
lea eax, [esi + 0x64]
jmp 0x1008d8e0
mov edx, dword [esp + 0x18]
cmp dword [eax + 0x10], edx
je 0x1008d90a
inc ecx
add eax, 0x18
cmp ecx, 0xa
jl 0x1008d8e0
movzx eax, byte [esp + 0x13]
mov edi, dword [esp + 0xc]
mov dword [esi + eax*4 + 0x1c], edx
mov eax, edi
inc byte [esi + 0x13]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0xc]
mov byte [eax + 8], 1
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [edx + 0x28]
movsx eax, word [edx + 0x1c]
push ecx
inc eax
mov ecx, dword [esi + 8]
inc ecx
imul ecx, dword [edx + 0x18]
mov edx, 0x74
add eax, ecx
mov ecx, edi
push eax
call fcn.1007a690
mov ecx, dword [esp + 0x28]
add esp, 8
movzx eax, word [ecx + 0x1c]
test ax, ax
js 0x1008dc46
cwde
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0xc]
cmp byte [eax + ecx*8 + 0x16], 0x65
jne 0x1008dc46
push dword [ebp + 8]
mov edx, 0x16
mov ecx, edi
call fcn.1007a630
mov edi, dword [esp + 0x10]
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x1b4], 0
jne 0x1008d99d
push str.RAISE___may_only_be_used_within_a_trigger_program
push esi
call fcn.10061300
add esp, 8
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [edx + 1], 2
jne 0x1008d9b4
mov eax, dword [esi + 0x1b0]
mov ecx, esi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x18], 1
mov al, byte [edx + 1]
push 0
push dword [edx + 4]
cmp al, 4
jne 0x1008d9e1
push 0
push 4
push 0
mov edx, 6
mov ecx, edi
call fcn.1007a700
mov edi, dword [esp + 0x20]
add esp, 0x14
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movsx edx, al
mov ecx, esi
call fcn.10097770
mov edi, dword [esp + 0x14]
add esp, 8
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x10]
mov ecx, edi
mov dword [esp + 0x1c], 0
mov edx, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
call fcn.1007a920
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x38], edx
test edx, edx
je 0x1008da7d
movdqu xmm0, xmmword [edx]
lea eax, [esp + 0x14]
mov ecx, esi
push eax
movdqu xmmword [esp + 0x44], xmm0
movdqu xmm0, xmmword [edx + 0x10]
movdqu xmmword [esp + 0x54], xmm0
movdqu xmm0, xmmword [edx + 0x20]
movdqu xmmword [esp + 0x64], xmm0
call fcn.1008dd50
mov edx, dword [esp + 0x3c]
add esp, 4
mov dword [esp + 0x58], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x70]
mov byte [esp + 0x40], 0x84
mov byte [esp + 0x70], 0x4c
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x1008dbc0
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
shr ecx, 1
inc ecx
mov dword [esp + 0x30], ecx
inc dword [esi + 0x5c]
mov eax, dword [eax]
test edx, edx
je 0x1008daa6
mov dword [esp + 0x7c], eax
jmp 0x1008daaa
mov dword [esp + 0x1c], eax
mov ecx, dword [edi + 0x24]
mov dword [esp + 0x34], ecx
lea eax, [ecx + 1]
mov dword [edi + 0x24], eax
lea eax, [ecx - 1]
test ecx, eax
jne 0x1008daff
mov eax, dword [edi]
mov edx, dword [edi + 0x28]
mov dword [esp + 0x2c], eax
lea eax, [ecx*8 + 4]
mov ecx, dword [esp + 0x2c]
push eax
mov dword [esp + 0x28], edx
call fcn.1005f3f0
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
jne 0x1008daf8
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
call fcn.1005f110
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
mov dword [edi + 0x28], eax
mov eax, dword [edi + 0x28]
test eax, eax
je 0x1008db0d
mov dword [eax + ecx*4], 0xffffffff
mov edx, dword [esp + 0x1c]
or eax, 0xffffffff
sub eax, ecx
mov ecx, esi
push 8
push eax
mov dword [esp + 0x2c], eax
call fcn.1008e590
mov edx, dword [esp + 0x30]
mov ecx, esi
push dword [ebp + 8]
mov edx, dword [edx + 0x14]
call fcn.1008dde0
mov eax, dword [edi + 0x1c]
add esp, 0xc
mov dword [esp + 0x2c], eax
cmp dword [edi + 0x20], eax
jg 0x1008db53
mov ecx, edi
call fcn.1007a4f0
test eax, eax
jne 0x1008db87
mov eax, dword [esp + 0x2c]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x3c]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, esi
call fcn.1008c890
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x1008dba7
mov eax, dword [esp + 0x24]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x1c]
mov dword [ecx], eax
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
add eax, 0x28
dec dword [esp + 0x30]
mov dword [esp + 0x28], eax
jne 0x1008da97
mov eax, dword [esp + 0x20]
cmp dword [eax + 0xc], 0
je 0x1008dbe7
mov edx, dword [ebp + 8]
mov ecx, esi
inc dword [esi + 0x5c]
push edx
mov edx, dword [eax + 0xc]
call fcn.1008dde0
add esp, 4
mov ecx, esi
call fcn.1008c890
jmp 0x1008dc2d
mov esi, dword [edi + 0x1c]
cmp dword [edi + 0x20], esi
jg 0x1008dbfa
mov ecx, edi
call fcn.1007a4f0
test eax, eax
jne 0x1008dc2d
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x1c]
mov edx, dword [ebp + 8]
mov word [eax + ecx*4], 0xa
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x1008dc46
mov eax, dword [esp + 0x3c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x1c]
mov dword [ecx], eax
mov edi, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret