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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 8]
mov edx, dword [edi]
xor ecx, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x20], edx
cmp ebx, ecx
je 0x1006e2e8
mov esi, dword [ebp + 0xc]
lea eax, [ecx + 0x62]
cmp esi, ecx
je 0x1006d6d5
movzx eax, byte [esi]
mov dword [esp + 0x1c], eax
add eax, 0xffffffed
cmp eax, 0x8a
ja case.0x1006d6ee.21
movzx eax, byte [eax + 0x1006e690]
jmp dword [eax*4 + 0x1006e628]
movsx ecx, word [esi + 0x1e]
mov eax, dword [esi + 0x24]
cmp byte [eax], 0
mov edx, dword [eax + 0x14]
lea ecx, [ecx + ecx*2]
lea ecx, [edx + ecx*8]
jne 0x1006d718
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x24], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [eax + 1], 0
je 0x1006d73b
mov edx, dword [ebp + 0x10]
mov ecx, dword [ecx + 0xc]
push edx
mov edx, dword [eax + 8]
push ecx
push edx
push 0x29
mov eax, ebx
call fcn.1005b6b0
add esp, 0x10
jmp 0x1006e5a9
xor ecx, ecx
mov eax, dword [esi + 0x18]
cmp eax, ecx
jge 0x1006d75f
mov ecx, dword [edi + 0x58]
test ecx, ecx
jle 0x1006d75c
movsx eax, word [esi + 0x1c]
add eax, ecx
mov dword [esp + 0x24], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x5c]
movzx ecx, byte [esi + 0x23]
mov edx, dword [ebp + 0x10]
push ecx
mov ecx, dword [esi + 0x28]
push edx
push eax
movsx eax, word [esi + 0x1c]
push eax
push ecx
mov eax, edi
call fcn.1006d450
add esp, 0x14
mov dword [esp + 0x24], eax
jmp 0x1006e5a9
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, esi
mov ecx, edi
call fcn.1006cff0
add esp, 8
jmp 0x1006e5a9
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [esi + 4]
push 0
push ebx
call fcn.1006ced0
add esp, 0xc
jmp 0x1006e5a9
mov ecx, dword [esi + 4]
push 0
push ecx
mov ecx, dword [ebp + 0x10]
push 0x5e
xor eax, eax
xor edx, edx
mov edi, ebx
call fcn.1005b7d0
add esp, 0xc
jmp 0x1006e5a6
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x1006d7eb
mov edi, ebx
call fcn.1005b630
test eax, eax
jne 0x1006e5a6
mov edi, dword [ebp + 8]
mov eax, dword [ebx + 4]
xor ecx, ecx
inc dword [ebx + 0x1c]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [ebp + 0x10]
mov byte [eax], 0x18
mov byte [eax + 3], cl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
jmp 0x1006e5a9
mov ecx, dword [esi + 4]
add ecx, 2
call fcn.10041ef0
mov esi, eax
mov eax, dword [ebx]
dec esi
push esi
push eax
mov edi, ecx
call fcn.10042d60
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
push eax
mov eax, esi
cdq
sub eax, edx
mov edx, eax
sar edx, 1
push 0x19
xor eax, eax
mov edi, ebx
call fcn.1005b7d0
add esp, 0x14
jmp 0x1006e5a6
movsx eax, word [esi + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], eax
mov dword [esp + 0x10], eax
jg 0x1006d877
mov edi, ebx
call fcn.1005b630
mov edi, dword [ebp + 8]
test eax, eax
jne 0x1006d8a2
mov eax, dword [esp + 0x10]
mov edx, dword [ebx + 4]
inc dword [ebx + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x1a
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esi + 4]
cmp byte [eax + 1], 0
je 0x1006e5a6
movsx ecx, word [esi + 0x1c]
mov edx, dword [edi + 0x1ec]
mov eax, dword [ebx + 4]
mov esi, dword [edx + ecx*4 - 4]
mov edi, dword [ebx]
test eax, eax
je 0x1006d905
cmp byte [edi + 0x40], 0
jne 0x1006d905
mov ebx, dword [ebx + 0x1c]
dec ebx
lea ecx, [ebx + ebx*4]
lea ebx, [eax + ecx*4]
movsx eax, byte [ebx + 1]
mov ecx, dword [ebx + 0x10]
call fcn.1005bc70
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebx + 0x10], eax
cmp esi, eax
jne 0x1006d8f9
mov dword [ebx + 0x10], eax
mov byte [ebx + 1], al
jmp 0x1006e5a9
mov dword [ebx + 0x10], esi
mov byte [ebx + 1], 0xfe
jmp 0x1006e5a9
mov ecx, esi
mov eax, 0xfffffffe
call fcn.1005bc70
jmp 0x1006e5a6
mov edx, dword [esi + 0x18]
mov dword [esp + 0x24], edx
mov eax, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 8]
push eax
push ecx
push edi
call fcn.1006d690
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x1006e5a9
mov edx, dword [ebp + 0x10]
mov eax, dword [esi + 8]
push edx
push eax
push edi
call fcn.1006d690
mov edi, eax
mov eax, dword [esi + 4]
add esp, 0xc
mov dword [esp + 0x24], edi
call fcn.10074560
movsx ecx, al
add ecx, 0x2c
mov dword [esp + 0x14], ecx
cmp edi, dword [ebp + 0x10]
je 0x1006d9b9
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x1006d985
mov edi, ebx
call fcn.1005b630
mov ecx, dword [esp + 0x14]
test eax, eax
jne 0x1006d9b0
mov eax, dword [ebx + 4]
inc dword [ebx + 0x1c]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x24]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x10]
mov dword [eax + 8], edx
xor edx, edx
mov byte [eax], 0x1d
mov byte [eax + 3], 0
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x24], eax
mov edi, eax
push edi
push ecx
mov eax, ebx
call fcn.1005b760
mov esi, dword [ebp + 8]
push edi
mov eax, 1
call fcn.1006d2e0
add esp, 0xc
mov edi, esi
jmp 0x1006e5a9
mov edx, dword [esi + 8]
lea ecx, [esp + 0x2c]
push ecx
push edx
push edi
call fcn.1006e720
mov ecx, dword [esi + 0xc]
add esp, 0xc
mov ebx, eax
lea eax, [esp + 0x38]
push eax
push ecx
push edi
call fcn.1006e720
mov edx, dword [ebp + 0x10]
add esp, 0xc
push 0x10
push edx
push eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 8]
push ebx
push eax
mov eax, dword [esi + 0xc]
push edi
call fcn.1006a4c0
add esp, 0x18
jmp 0x1006e5a9
mov edx, dword [esi + 8]
lea ecx, [esp + 0x2c]
push ecx
push edx
push edi
call fcn.1006e720
mov ecx, dword [esi + 0xc]
add esp, 0xc
mov ebx, eax
lea eax, [esp + 0x38]
push eax
push ecx
push edi
call fcn.1006e720
mov edx, dword [ebp + 0x10]
add esp, 0xc
push 0x90
push edx
push eax
xor eax, eax
cmp dword [esp + 0x28], 0x46
sete al
add eax, 0x4b
jmp 0x1006da0b
mov edx, dword [esi + 8]
lea ecx, [esp + 0x2c]
push ecx
push edx
push edi
call fcn.1006e720
mov ecx, dword [esi + 0xc]
add esp, 0xc
mov dword [esp + 0x28], eax
lea eax, [esp + 0x38]
push eax
push ecx
push edi
call fcn.1006e720
mov edx, dword [ebp + 0x10]
mov ecx, dword [esp + 0x34]
add esp, 0xc
push edx
mov edx, dword [esp + 0x20]
push ecx
push eax
push edx
mov eax, ebx
call fcn.1005b6b0
add esp, 0x10
jmp 0x1006e5a9
mov eax, dword [esi + 8]
mov cl, byte [eax]
cmp cl, 0x81
jne 0x1006dacc
mov ecx, dword [ebp + 0x10]
push ecx
push 1
mov ecx, edi
call fcn.1006cff0
mov edx, dword [ebp + 0x10]
add esp, 8
mov dword [esp + 0x24], edx
jmp 0x1006e5a9
cmp cl, 0x82
jne 0x1006daef
mov edx, dword [ebp + 0x10]
mov eax, dword [eax + 4]
push edx
push 1
push ebx
call fcn.1006ced0
mov edx, dword [ebp + 0x10]
add esp, 0xc
mov dword [esp + 0x24], edx
jmp 0x1006e5a9
mov eax, edi
call fcn.1006f9d0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], eax
mov dword [esp + 0x10], eax
jg 0x1006db1c
mov edi, ebx
call fcn.1005b630
mov edi, dword [ebp + 8]
test eax, eax
jne 0x1006db43
mov eax, dword [esp + 0x10]
mov edx, dword [ebx + 4]
xor ecx, ecx
inc dword [ebx + 0x1c]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x28]
mov byte [eax], 0x15
mov byte [eax + 3], cl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov ecx, dword [esi + 8]
lea eax, [esp + 0x38]
push eax
push ecx
push edi
call fcn.1006e720
mov edx, dword [ebp + 0x10]
mov ecx, dword [esp + 0x34]
add esp, 0xc
push edx
push ecx
push eax
push 0x57
mov eax, ebx
call fcn.1005b6b0
mov edx, dword [ebp + 0x10]
add esp, 0x10
mov dword [esp + 0x24], edx
jmp 0x1006e5a9
mov ecx, dword [esi + 8]
lea eax, [esp + 0x2c]
push eax
push ecx
push edi
call fcn.1006e720
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov dword [esp + 0x24], ecx
push 0
jmp 0x1006da90
mov eax, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], eax
mov dword [esp + 0x10], eax
jg 0x1006dbb2
mov edi, ebx
call fcn.1005b630
test eax, eax
jne 0x1006dbde
mov eax, dword [esp + 0x10]
mov edx, dword [ebx + 4]
mov ecx, 1
add dword [ebx + 0x1c], ecx
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x15
mov byte [eax + 3], 0
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esi + 8]
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x2c]
push edx
push eax
push ecx
call fcn.1006e720
mov edx, dword [esp + 0x28]
add esp, 0xc
push eax
push edx
mov eax, ebx
call fcn.1005b760
mov esi, dword [ebx + 0x1c]
add esp, 8
cmp dword [ebx + 0x20], esi
mov dword [esp + 0x10], eax
jg 0x1006dc1a
mov edi, ebx
call fcn.1005b630
test eax, eax
jne 0x1006dc45
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x1c]
mov edx, dword [ebp + 0x10]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov byte [eax], 0x20
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], 0xffffffff
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esp + 0x10]
mov edx, ebx
call fcn.1005bc40
jmp 0x1006e5a6
mov eax, dword [esi + 0x24]
cmp eax, ecx
jne 0x1006dc72
mov eax, dword [esi + 4]
push eax
push str.misuse_of_aggregate:__s__
call fcn.10041f80
add esp, 8
jmp 0x1006e5a9
movsx ecx, word [esi + 0x1e]
mov edx, dword [eax + 0x20]
shl ecx, 4
mov eax, dword [ecx + edx + 8]
mov dword [esp + 0x24], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x10]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4d]
mov byte [esp + 0x10], al
mov eax, 0x4000
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
test word [esi + 2], ax
je 0x1006dcf6
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov esi, dword [esi + 4]
mov ecx, esi
call fcn.10041ef0
mov ecx, dword [esp + 0x10]
push 0
mov edi, eax
mov eax, dword [esp + 0x38]
push ecx
push eax
push esi
push edx
mov eax, edi
call fcn.10078730
add esp, 0x14
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x1006dd0b
push esi
push edi
mov edi, dword [ebp + 8]
push str.unknown_function:__.s__
call fcn.10041f80
add esp, 0xc
jmp 0x1006e5a9
mov eax, dword [esi + 0x10]
mov dword [esp + 0x30], eax
cmp eax, ecx
je 0x1006dcaf
mov ecx, eax
mov eax, dword [ecx]
mov dword [esp + 0x34], eax
jmp 0x1006dcb3
test byte [eax + 3], 0x20
je 0x1006ddea
mov eax, ebx
call fcn.1005b940
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 8]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [edx]
mov ecx, edi
call fcn.1006e7d0
mov eax, dword [esp + 0x34]
cmp eax, 1
jle 0x1006ddd6
dec eax
mov dword [esp + 0x18], 0x18
mov dword [esp + 0x14], eax
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x1006dd66
mov edi, ebx
call fcn.1005b630
mov edi, dword [ebp + 8]
test eax, eax
jne 0x1006dd91
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x1c]
mov edx, dword [ebp + 0x10]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x4a
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov edx, dword [ebp + 0x10]
push edx
mov eax, 1
mov esi, edi
call fcn.1006d2e0
inc dword [edi + 0x60]
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + ecx]
mov esi, dword [ebp + 0x10]
add esp, 4
mov ecx, edi
call fcn.1006e7d0
mov eax, edi
call fcn.1006d340
add dword [esp + 0x18], 0x18
sub dword [esp + 0x14], 1
jne 0x1006dd50
mov eax, dword [esp + 0x20]
push eax
mov edx, ebx
call fcn.1005b9a0
add esp, 4
jmp 0x1006e5a6
cmp dword [esp + 0x30], 0
je 0x1006de43
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x34]
mov ecx, edi
call fcn.1006fa20
mov ecx, dword [esp + 0x1c]
mov cl, byte [ecx + 3]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x28], eax
test cl, 0xc0
je 0x1006de25
mov edx, dword [esi + 8]
mov edx, dword [edx]
mov al, byte [edx]
cmp al, 0x98
je 0x1006de22
cmp al, 0x9a
jne 0x1006de25
mov byte [edx + 0x23], cl
mov eax, dword [esp + 0x28]
inc dword [edi + 0x60]
push 1
push eax
push edi
mov eax, esi
call fcn.1006eae0
add esp, 0xc
mov eax, edi
call fcn.1006d340
jmp 0x1006de4f
mov esi, dword [esp + 0x30]
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x34]
cmp eax, 2
jl 0x1006de6f
mov ecx, dword [ebp + 0xc]
test byte [ecx + 2], 0x80
je 0x1006de6f
mov edx, dword [esi + 8]
push eax
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [edx + 0x18]
jmp 0x1006de7e
test eax, eax
jle 0x1006de8f
mov edx, dword [esi + 8]
push eax
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [edx]
mov ecx, dword [esp + 0x28]
push ecx
call fcn.10095480
mov dword [esp + 0x28], eax
add esp, 0xc
xor esi, esi
cmp dword [esp + 0x34], esi
mov dword [esp + 0x3c], 1
jle 0x1006df0c
xor edi, edi
mov dword [esp + 0x10], edi
cmp esi, 0x20
jge 0x1006dec9
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 8]
mov ecx, dword [eax + edi]
push ecx
call fcn.1006bb10
add esp, 4
test eax, eax
je 0x1006dec9
mov edx, dword [esp + 0x3c]
or dword [esp + 0x14], edx
mov eax, dword [esp + 0x1c]
test byte [eax + 3], 8
je 0x1006def4
cmp dword [esp + 0x18], 0
jne 0x1006def4
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 8]
mov ecx, dword [edx + edi]
mov edi, dword [ebp + 8]
call fcn.1006a270
mov edi, dword [esp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
add edi, 0x18
inc esi
rol eax, 1
cmp esi, dword [esp + 0x34]
mov dword [esp + 0x10], edi
mov dword [esp + 0x3c], eax
jl 0x1006dea5
mov ecx, dword [esp + 0x1c]
test byte [ecx + 3], 8
je 0x1006dfc6
cmp dword [esp + 0x18], 0
jne 0x1006df2c
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 8]
mov dword [esp + 0x18], eax
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x1006df48
mov edi, ebx
call fcn.1005b630
test eax, eax
je 0x1006df48
mov eax, 1
xor ecx, ecx
jmp 0x1006df6e
mov edx, dword [ebx + 4]
inc dword [ebx + 0x1c]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
xor ecx, ecx
mov byte [eax], 0x1f
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, esi
mov esi, dword [ebx + 4]
mov edi, dword [ebx]
cmp esi, ecx
je 0x1006dfb8
cmp byte [edi + 0x40], 0
jne 0x1006dfb8
cmp eax, ecx
jge 0x1006df85
mov eax, dword [ebx + 0x1c]
dec eax
lea eax, [eax + eax*4]
mov ecx, dword [esi + eax*4 + 0x10]
lea esi, [esi + eax*4]
movsx eax, byte [esi + 1]
call fcn.1005bc70
mov eax, dword [esp + 0x18]
mov dword [esi + 0x10], 0
test eax, eax
jne 0x1006dfaf
mov dword [esi + 0x10], eax
mov byte [esi + 1], al
jmp 0x1006dfc6
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfc
jmp 0x1006dfc6
mov ecx, dword [esp + 0x18]
mov eax, 0xfffffffc
call fcn.1005bc70
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
mov eax, dword [ebp + 0x10]
mov edx, dword [esp + 0x14]
push 0xfffffffffffffffb
push ecx
push 1
mov ecx, esi
mov edi, ebx
call fcn.1005b7d0
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x40]
add esp, 0xc
test eax, eax
je 0x1006dffb
mov ebx, dword [ebx + 0x1c]
lea edx, [ebx + ebx*4]
mov byte [eax + edx*4 - 0x11], cl
test ecx, ecx
je 0x1006e5a6
mov eax, dword [ebp + 8]
mov edi, ecx
mov ebx, esi
call fcn.1006fa50
jmp 0x1006e5a6
push 0
push 0
push esi
push edi
call fcn.1006c270
add esp, 0x10
mov dword [esp + 0x24], eax
jmp 0x1006e5a9
mov eax, ebx
call fcn.1005b940
mov dword [esp + 0x10], eax
mov eax, ebx
call fcn.1005b940
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], eax
mov dword [esp + 0x20], eax
jg 0x1006e05c
mov edi, ebx
call fcn.1005b630
test eax, eax
jne 0x1006e082
mov eax, dword [esp + 0x20]
mov edx, dword [ebx + 4]
xor ecx, ecx
inc dword [ebx + 0x1c]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov edx, dword [ebp + 0x10]
mov byte [eax], 0x18
mov byte [eax + 3], cl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 8]
push eax
push ecx
push esi
push edx
call fcn.1006ca20
mov esi, dword [ebx + 0x1c]
add esp, 0x10
cmp dword [ebx + 0x20], esi
jg 0x1006e0ac
mov edi, ebx
call fcn.1005b630
test eax, eax
jne 0x1006e0d8
mov edx, dword [ebx + 4]
mov ecx, 1
add dword [ebx + 0x1c], ecx
lea eax, [esi + esi*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x15
mov byte [eax + 3], 0
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov edx, dword [esp + 0x10]
push edx
mov edx, ebx
call fcn.1005b9a0
mov esi, dword [ebx + 0x1c]
add esp, 4
cmp dword [ebx + 0x20], esi
jg 0x1006e0fa
mov edi, ebx
call fcn.1005b630
test eax, eax
jne 0x1006e121
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x1c]
mov edx, dword [ebp + 0x10]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov byte [eax], 0x20
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esp + 0x14]
push eax
mov edx, ebx
call fcn.1005b9a0
add esp, 4
jmp 0x1006e5a6
mov eax, esi
mov esi, dword [eax + 8]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx + 8]
mov edx, dword [eax]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x2c]
push eax
push esi
push edi
mov dword [esp + 0x48], esi
mov dword [esp + 0x24], edx
call fcn.1006e720
mov edx, dword [esp + 0x24]
add esp, 0xc
lea ecx, [esp + 0x38]
push ecx
push edx
push edi
mov dword [esp + 0x34], eax
call fcn.1006e720
mov dword [esp + 0x20], eax
add esp, 0xc
mov eax, edi
call fcn.1006f9d0
mov edx, eax
mov eax, edi
mov dword [esp + 0x1c], edx
call fcn.1006f9d0
mov ecx, dword [esp + 0x28]
push 0x10
push edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
push ecx
push 0x50
push edi
mov ecx, esi
call fcn.1006a4c0
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 0x18]
mov esi, dword [esp + 0x50]
mov edx, edi
mov dword [esp + 0x30], eax
call fcn.1006f9f0
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x50]
push ecx
push edx
push edi
call fcn.1006e720
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x60]
add esp, 0x24
push 0x10
push esi
push eax
mov eax, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x28]
push 0x4e
push edi
call fcn.1006a4c0
mov ecx, dword [ebp + 0x10]
push ecx
push esi
mov esi, dword [esp + 0x3c]
push esi
push 0x45
mov eax, ebx
call fcn.1005b6b0
add esp, 0x28
mov edx, edi
call fcn.1006f9f0
mov esi, dword [esp + 0x10]
call fcn.1006f9f0
jmp 0x1006e5a9
mov edx, dword [ebp + 0x10]
mov eax, dword [esi + 8]
push edx
push eax
push edi
call fcn.1006d690
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x1006e5a9
mov eax, dword [esi + 0x28]
movsx ecx, word [eax + 0x26]
movsx edx, word [esi + 0x1c]
inc ecx
imul ecx, dword [esi + 0x18]
mov dword [esp + 0x20], eax
lea eax, [ecx + edx + 1]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], eax
mov dword [esp + 0x10], eax
jg 0x1006e270
mov edi, ebx
call fcn.1005b630
mov edi, dword [ebp + 8]
test eax, eax
jne 0x1006e29b
mov eax, dword [esp + 0x10]
mov edx, dword [ebx + 4]
inc dword [ebx + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x7a
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
movzx eax, word [esi + 0x1c]
test ax, ax
jl 0x1006e5a9
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 4]
cwde
lea eax, [eax + eax*2]
cmp byte [edx + eax*8 + 0x15], 0x65
jne 0x1006e5a9
mov eax, dword [ebp + 0x10]
push eax
push 0x22
mov eax, ebx
call fcn.1005b760
add esp, 8
jmp 0x1006e5a9
cmp dword [edi + 0x1b8], ecx
jne 0x1006e2f1
push str.RAISE___may_only_be_used_within_a_trigger_program
call fcn.10041f80
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 1], 2
jne 0x1006e2fe
mov ecx, edi
call fcn.10077d80
mov al, byte [esi + 1]
mov ecx, dword [esi + 4]
cmp al, 4
jne 0x1006e3c8
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
mov dword [esp + 0x10], ecx
jg 0x1006e32c
mov edi, ebx
call fcn.1005b630
test eax, eax
je 0x1006e32c
mov eax, 1
xor ecx, ecx
jmp 0x1006e356
mov eax, dword [ebx + 4]
inc dword [ebx + 0x1c]
xor ecx, ecx
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 0x14
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], 4
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, esi
mov esi, dword [ebx + 4]
mov edi, dword [ebx]
cmp esi, ecx
je 0x1006e3b8
cmp byte [edi + 0x40], 0
jne 0x1006e3b8
cmp eax, ecx
jge 0x1006e36d
mov eax, dword [ebx + 0x1c]
dec eax
lea ecx, [eax + eax*4]
movsx eax, byte [esi + ecx*4 + 1]
lea esi, [esi + ecx*4]
mov ecx, dword [esi + 0x10]
call fcn.1005bc70
mov ecx, dword [esp + 0x10]
xor eax, eax
mov dword [esi + 0x10], eax
cmp ecx, eax
jne 0x1006e398
mov dword [esi + 0x10], eax
mov byte [esi + 1], al
jmp 0x1006e5a6
call fcn.10041ef0
mov edx, dword [esp + 0x14]
mov edx, dword [edx]
mov edi, eax
mov ebx, ecx
call fcn.100401c0
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xff
jmp 0x1006e5a6
mov ecx, dword [esp + 0x10]
xor eax, eax
call fcn.1005bc70
jmp 0x1006e5a6
push 0
movsx edx, al
push ecx
push edx
push 0x713
mov eax, edi
call fcn.10077da0
add esp, 0x10
jmp 0x1006e5a9
mov eax, dword [esi + 0x10]
mov edi, dword [eax]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 8]
mov eax, ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], edi
call fcn.1005b940
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x10], eax
test eax, eax
je 0x1006e459
lea edx, [esp + 0x2c]
push edx
mov esi, eax
push eax
mov eax, dword [ebp + 8]
mov ecx, 0xb
lea edi, [esp + 0x48]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.1006e720
mov edi, dword [esp + 0x2c]
mov esi, dword [ebp + 0xc]
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x78]
add esp, 0xc
mov dword [esp + 0x58], eax
mov byte [esp + 0x40], 0x84
mov byte [esp + 0x6c], 0x4c
mov dword [esp + 0x74], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x2c], 0
test edi, edi
jle 0x1006e532
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
lea eax, [edi - 1]
shr eax, 1
inc eax
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 8]
inc dword [eax + 0x60]
cmp dword [esp + 0x10], 0
je 0x1006e48c
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov dword [esp + 0x78], edx
jmp 0x1006e496
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov eax, ebx
call fcn.1005b940
mov edx, dword [esp + 0x14]
mov edi, dword [ebp + 8]
push 8
push eax
push edx
push edi
mov dword [esp + 0x2c], eax
call fcn.1006efb0
mov eax, dword [esp + 0x28]
mov esi, dword [ebp + 0x10]
mov eax, dword [eax + 0x18]
add esp, 0x10
mov ecx, edi
call fcn.1006e7d0
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x1006e4d9
mov edi, ebx
call fcn.1005b630
test eax, eax
jne 0x1006e501
mov edx, dword [ebx + 4]
inc dword [ebx + 0x1c]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov edx, dword [esp + 0x3c]
xor ecx, ecx
mov byte [eax], 0xe
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [ebp + 8]
call fcn.1006d340
or eax, 0xffffffff
sub eax, dword [esp + 0x1c]
js 0x1006e51f
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x1006e51f
mov edx, dword [ebx + 0x1c]
mov dword [ecx + eax*4], edx
add dword [esp + 0x18], 0x30
sub dword [esp + 0x20], 1
jne 0x1006e473
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0xc], 0
je 0x1006e557
mov edi, dword [ebp + 8]
inc dword [edi + 0x60]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
mov ecx, edi
call fcn.1006e7d0
mov eax, edi
call fcn.1006d340
jmp 0x1006e590
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x1006e56a
mov edi, ebx
call fcn.1005b630
test eax, eax
jne 0x1006e590
mov eax, dword [ebx + 4]
xor ecx, ecx
inc dword [ebx + 0x1c]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [ebp + 0x10]
mov byte [eax], 0x18
mov byte [eax + 3], cl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
or eax, 0xffffffff
sub eax, dword [esp + 0x3c]
js 0x1006e5a6
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x1006e5a6
mov edx, dword [ebx + 0x1c]
mov dword [ecx + eax*4], edx
mov edi, dword [ebp + 8]
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x1006e5d8
mov bl, byte [edi + 0x13]
cmp bl, 8
jae 0x1006e5d8
xor eax, eax
lea ecx, [edi + 0x68]
mov edi, edi
cmp dword [ecx + 0x10], edx
je 0x1006e613
inc eax
add ecx, 0x18
cmp eax, 0xa
jl 0x1006e5c0
movzx eax, bl
mov dword [edi + eax*4 + 0x1c], edx
inc byte [edi + 0x13]
mov edx, dword [esp + 0x38]
test edx, edx
je 0x1006e608
mov bl, byte [edi + 0x13]
cmp bl, 8
jae 0x1006e608
xor eax, eax
lea ecx, [edi + 0x68]
lea ecx, [ecx]
cmp dword [ecx + 0x10], edx
je 0x1006e619
inc eax
add ecx, 0x18
cmp eax, 0xa
jl 0x1006e5f0
movzx ecx, bl
mov dword [edi + ecx*4 + 0x1c], edx
inc byte [edi + 0x13]
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [ecx + 8], 1
jmp 0x1006e5d8
mov eax, dword [esp + 0x24]
pop edi
pop esi
mov byte [ecx + 8], 1
pop ebx
mov esp, ebp
pop ebp
ret