Function at 0x1006d460
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 0x1006e0b8
mov esi, dword [ebp + 0xc]
lea eax, [ecx + 0x62]
cmp esi, ecx
je 0x1006d4a5
movzx eax, byte [esi]
mov dword [esp + 0x1c], eax
add eax, 0xffffffed
cmp eax, 0x8a
ja case.0x1006d4be.21
movzx eax, byte [eax + 0x1006e460]
jmp dword [eax*4 + 0x1006e3f8]
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 0x1006d4e8
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 0x1006d50b
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.1005b480
add esp, 0x10
jmp 0x1006e379
xor ecx, ecx
mov eax, dword [esi + 0x18]
cmp eax, ecx
jge 0x1006d52f
mov ecx, dword [edi + 0x58]
test ecx, ecx
jle 0x1006d52c
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.1006d220
add esp, 0x14
mov dword [esp + 0x24], eax
jmp 0x1006e379
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, esi
mov ecx, edi
call fcn.1006cdc0
add esp, 8
jmp 0x1006e379
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [esi + 4]
push 0
push ebx
call fcn.1006cca0
add esp, 0xc
jmp 0x1006e379
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.1005b5a0
add esp, 0xc
jmp 0x1006e376
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x1006d5bb
mov edi, ebx
call fcn.1005b400
test eax, eax
jne 0x1006e376
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 0x1006e379
mov ecx, dword [esi + 4]
add ecx, 2
call fcn.10041ce0
mov esi, eax
mov eax, dword [ebx]
dec esi
push esi
push eax
mov edi, ecx
call fcn.10042b50
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.1005b5a0
add esp, 0x14
jmp 0x1006e376
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 0x1006d647
mov edi, ebx
call fcn.1005b400
mov edi, dword [ebp + 8]
test eax, eax
jne 0x1006d672
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 0x1006e376
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 0x1006d6d5
cmp byte [edi + 0x40], 0
jne 0x1006d6d5
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.1005ba40
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebx + 0x10], eax
cmp esi, eax
jne 0x1006d6c9
mov dword [ebx + 0x10], eax
mov byte [ebx + 1], al
jmp 0x1006e379
mov dword [ebx + 0x10], esi
mov byte [ebx + 1], 0xfe
jmp 0x1006e379
mov ecx, esi
mov eax, 0xfffffffe
call fcn.1005ba40
jmp 0x1006e376
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.1006d460
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x1006e379
mov edx, dword [ebp + 0x10]
mov eax, dword [esi + 8]
push edx
push eax
push edi
call fcn.1006d460
mov edi, eax
mov eax, dword [esi + 4]
add esp, 0xc
mov dword [esp + 0x24], edi
call fcn.10074330
movsx ecx, al
add ecx, 0x2c
mov dword [esp + 0x14], ecx
cmp edi, dword [ebp + 0x10]
je 0x1006d789
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x1006d755
mov edi, ebx
call fcn.1005b400
mov ecx, dword [esp + 0x14]
test eax, eax
jne 0x1006d780
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.1005b530
mov esi, dword [ebp + 8]
push edi
mov eax, 1
call fcn.1006d0b0
add esp, 0xc
mov edi, esi
jmp 0x1006e379
mov edx, dword [esi + 8]
lea ecx, [esp + 0x2c]
push ecx
push edx
push edi
call fcn.1006e4f0
mov ecx, dword [esi + 0xc]
add esp, 0xc
mov ebx, eax
lea eax, [esp + 0x38]
push eax
push ecx
push edi
call fcn.1006e4f0
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.1006a290
add esp, 0x18
jmp 0x1006e379
mov edx, dword [esi + 8]
lea ecx, [esp + 0x2c]
push ecx
push edx
push edi
call fcn.1006e4f0
mov ecx, dword [esi + 0xc]
add esp, 0xc
mov ebx, eax
lea eax, [esp + 0x38]
push eax
push ecx
push edi
call fcn.1006e4f0
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 0x1006d7db
mov edx, dword [esi + 8]
lea ecx, [esp + 0x2c]
push ecx
push edx
push edi
call fcn.1006e4f0
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.1006e4f0
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.1005b480
add esp, 0x10
jmp 0x1006e379
mov eax, dword [esi + 8]
mov cl, byte [eax]
cmp cl, 0x81
jne 0x1006d89c
mov ecx, dword [ebp + 0x10]
push ecx
push 1
mov ecx, edi
call fcn.1006cdc0
mov edx, dword [ebp + 0x10]
add esp, 8
mov dword [esp + 0x24], edx
jmp 0x1006e379
cmp cl, 0x82
jne 0x1006d8bf
mov edx, dword [ebp + 0x10]
mov eax, dword [eax + 4]
push edx
push 1
push ebx
call fcn.1006cca0
mov edx, dword [ebp + 0x10]
add esp, 0xc
mov dword [esp + 0x24], edx
jmp 0x1006e379
mov eax, edi
call fcn.1006f7a0
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 0x1006d8ec
mov edi, ebx
call fcn.1005b400
mov edi, dword [ebp + 8]
test eax, eax
jne 0x1006d913
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.1006e4f0
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.1005b480
mov edx, dword [ebp + 0x10]
add esp, 0x10
mov dword [esp + 0x24], edx
jmp 0x1006e379
mov ecx, dword [esi + 8]
lea eax, [esp + 0x2c]
push eax
push ecx
push edi
call fcn.1006e4f0
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov dword [esp + 0x24], ecx
push 0
jmp 0x1006d860
mov eax, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], eax
mov dword [esp + 0x10], eax
jg 0x1006d982
mov edi, ebx
call fcn.1005b400
test eax, eax
jne 0x1006d9ae
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.1006e4f0
mov edx, dword [esp + 0x28]
add esp, 0xc
push eax
push edx
mov eax, ebx
call fcn.1005b530
mov esi, dword [ebx + 0x1c]
add esp, 8
cmp dword [ebx + 0x20], esi
mov dword [esp + 0x10], eax
jg 0x1006d9ea
mov edi, ebx
call fcn.1005b400
test eax, eax
jne 0x1006da15
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.1005ba10
jmp 0x1006e376
mov eax, dword [esi + 0x24]
cmp eax, ecx
jne 0x1006da42
mov eax, dword [esi + 4]
push eax
push str.misuse_of_aggregate:__s__
call fcn.10041d70
add esp, 8
jmp 0x1006e379
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 0x1006dac6
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov esi, dword [esi + 4]
mov ecx, esi
call fcn.10041ce0
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.10078500
add esp, 0x14
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x1006dadb
push esi
push edi
mov edi, dword [ebp + 8]
push str.unknown_function:__.s__
call fcn.10041d70
add esp, 0xc
jmp 0x1006e379
mov eax, dword [esi + 0x10]
mov dword [esp + 0x30], eax
cmp eax, ecx
je 0x1006da7f
mov ecx, eax
mov eax, dword [ecx]
mov dword [esp + 0x34], eax
jmp 0x1006da83
test byte [eax + 3], 0x20
je 0x1006dbba
mov eax, ebx
call fcn.1005b710
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.1006e5a0
mov eax, dword [esp + 0x34]
cmp eax, 1
jle 0x1006dba6
dec eax
mov dword [esp + 0x18], 0x18
mov dword [esp + 0x14], eax
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x1006db36
mov edi, ebx
call fcn.1005b400
mov edi, dword [ebp + 8]
test eax, eax
jne 0x1006db61
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.1006d0b0
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.1006e5a0
mov eax, edi
call fcn.1006d110
add dword [esp + 0x18], 0x18
sub dword [esp + 0x14], 1
jne 0x1006db20
mov eax, dword [esp + 0x20]
push eax
mov edx, ebx
call fcn.1005b770
add esp, 4
jmp 0x1006e376
cmp dword [esp + 0x30], 0
je 0x1006dc13
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x34]
mov ecx, edi
call fcn.1006f7f0
mov ecx, dword [esp + 0x1c]
mov cl, byte [ecx + 3]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x28], eax
test cl, 0xc0
je 0x1006dbf5
mov edx, dword [esi + 8]
mov edx, dword [edx]
mov al, byte [edx]
cmp al, 0x98
je 0x1006dbf2
cmp al, 0x9a
jne 0x1006dbf5
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.1006e8b0
add esp, 0xc
mov eax, edi
call fcn.1006d110
jmp 0x1006dc1f
mov esi, dword [esp + 0x30]
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x34]
cmp eax, 2
jl 0x1006dc3f
mov ecx, dword [ebp + 0xc]
test byte [ecx + 2], 0x80
je 0x1006dc3f
mov edx, dword [esi + 8]
push eax
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [edx + 0x18]
jmp 0x1006dc4e
test eax, eax
jle 0x1006dc5f
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.10095210
mov dword [esp + 0x28], eax
add esp, 0xc
xor esi, esi
cmp dword [esp + 0x34], esi
mov dword [esp + 0x3c], 1
jle 0x1006dcdc
xor edi, edi
mov dword [esp + 0x10], edi
cmp esi, 0x20
jge 0x1006dc99
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 8]
mov ecx, dword [eax + edi]
push ecx
call fcn.1006b8e0
add esp, 4
test eax, eax
je 0x1006dc99
mov edx, dword [esp + 0x3c]
or dword [esp + 0x14], edx
mov eax, dword [esp + 0x1c]
test byte [eax + 3], 8
je 0x1006dcc4
cmp dword [esp + 0x18], 0
jne 0x1006dcc4
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 8]
mov ecx, dword [edx + edi]
mov edi, dword [ebp + 8]
call fcn.1006a040
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 0x1006dc75
mov ecx, dword [esp + 0x1c]
test byte [ecx + 3], 8
je 0x1006dd96
cmp dword [esp + 0x18], 0
jne 0x1006dcfc
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 0x1006dd18
mov edi, ebx
call fcn.1005b400
test eax, eax
je 0x1006dd18
mov eax, 1
xor ecx, ecx
jmp 0x1006dd3e
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 0x1006dd88
cmp byte [edi + 0x40], 0
jne 0x1006dd88
cmp eax, ecx
jge 0x1006dd55
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.1005ba40
mov eax, dword [esp + 0x18]
mov dword [esi + 0x10], 0
test eax, eax
jne 0x1006dd7f
mov dword [esi + 0x10], eax
mov byte [esi + 1], al
jmp 0x1006dd96
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfc
jmp 0x1006dd96
mov ecx, dword [esp + 0x18]
mov eax, 0xfffffffc
call fcn.1005ba40
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.1005b5a0
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x40]
add esp, 0xc
test eax, eax
je 0x1006ddcb
mov ebx, dword [ebx + 0x1c]
lea edx, [ebx + ebx*4]
mov byte [eax + edx*4 - 0x11], cl
test ecx, ecx
je 0x1006e376
mov eax, dword [ebp + 8]
mov edi, ecx
mov ebx, esi
call fcn.1006f820
jmp 0x1006e376
push 0
push 0
push esi
push edi
call fcn.1006c040
add esp, 0x10
mov dword [esp + 0x24], eax
jmp 0x1006e379
mov eax, ebx
call fcn.1005b710
mov dword [esp + 0x10], eax
mov eax, ebx
call fcn.1005b710
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], eax
mov dword [esp + 0x20], eax
jg 0x1006de2c
mov edi, ebx
call fcn.1005b400
test eax, eax
jne 0x1006de52
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.1006c7f0
mov esi, dword [ebx + 0x1c]
add esp, 0x10
cmp dword [ebx + 0x20], esi
jg 0x1006de7c
mov edi, ebx
call fcn.1005b400
test eax, eax
jne 0x1006dea8
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.1005b770
mov esi, dword [ebx + 0x1c]
add esp, 4
cmp dword [ebx + 0x20], esi
jg 0x1006deca
mov edi, ebx
call fcn.1005b400
test eax, eax
jne 0x1006def1
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.1005b770
add esp, 4
jmp 0x1006e376
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.1006e4f0
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.1006e4f0
mov dword [esp + 0x20], eax
add esp, 0xc
mov eax, edi
call fcn.1006f7a0
mov edx, eax
mov eax, edi
mov dword [esp + 0x1c], edx
call fcn.1006f7a0
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.1006a290
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.1006f7c0
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x50]
push ecx
push edx
push edi
call fcn.1006e4f0
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.1006a290
mov ecx, dword [ebp + 0x10]
push ecx
push esi
mov esi, dword [esp + 0x3c]
push esi
push 0x45
mov eax, ebx
call fcn.1005b480
add esp, 0x28
mov edx, edi
call fcn.1006f7c0
mov esi, dword [esp + 0x10]
call fcn.1006f7c0
jmp 0x1006e379
mov edx, dword [ebp + 0x10]
mov eax, dword [esi + 8]
push edx
push eax
push edi
call fcn.1006d460
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x1006e379
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 0x1006e040
mov edi, ebx
call fcn.1005b400
mov edi, dword [ebp + 8]
test eax, eax
jne 0x1006e06b
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 0x1006e379
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 4]
cwde
lea eax, [eax + eax*2]
cmp byte [edx + eax*8 + 0x15], 0x65
jne 0x1006e379
mov eax, dword [ebp + 0x10]
push eax
push 0x22
mov eax, ebx
call fcn.1005b530
add esp, 8
jmp 0x1006e379
cmp dword [edi + 0x1b8], ecx
jne 0x1006e0c1
push str.RAISE___may_only_be_used_within_a_trigger_program
call fcn.10041d70
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 1], 2
jne 0x1006e0ce
mov ecx, edi
call fcn.10077b50
mov al, byte [esi + 1]
mov ecx, dword [esi + 4]
cmp al, 4
jne 0x1006e198
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
mov dword [esp + 0x10], ecx
jg 0x1006e0fc
mov edi, ebx
call fcn.1005b400
test eax, eax
je 0x1006e0fc
mov eax, 1
xor ecx, ecx
jmp 0x1006e126
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 0x1006e188
cmp byte [edi + 0x40], 0
jne 0x1006e188
cmp eax, ecx
jge 0x1006e13d
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.1005ba40
mov ecx, dword [esp + 0x10]
xor eax, eax
mov dword [esi + 0x10], eax
cmp ecx, eax
jne 0x1006e168
mov dword [esi + 0x10], eax
mov byte [esi + 1], al
jmp 0x1006e376
call fcn.10041ce0
mov edx, dword [esp + 0x14]
mov edx, dword [edx]
mov edi, eax
mov ebx, ecx
call fcn.1003ffc0
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xff
jmp 0x1006e376
mov ecx, dword [esp + 0x10]
xor eax, eax
call fcn.1005ba40
jmp 0x1006e376
push 0
movsx edx, al
push ecx
push edx
push 0x713
mov eax, edi
call fcn.10077b70
add esp, 0x10
jmp 0x1006e379
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.1005b710
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x10], eax
test eax, eax
je 0x1006e229
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.1006e4f0
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 0x1006e302
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 0x1006e25c
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov dword [esp + 0x78], edx
jmp 0x1006e266
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov eax, ebx
call fcn.1005b710
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.1006ed80
mov eax, dword [esp + 0x28]
mov esi, dword [ebp + 0x10]
mov eax, dword [eax + 0x18]
add esp, 0x10
mov ecx, edi
call fcn.1006e5a0
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x1006e2a9
mov edi, ebx
call fcn.1005b400
test eax, eax
jne 0x1006e2d1
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.1006d110
or eax, 0xffffffff
sub eax, dword [esp + 0x1c]
js 0x1006e2ef
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x1006e2ef
mov edx, dword [ebx + 0x1c]
mov dword [ecx + eax*4], edx
add dword [esp + 0x18], 0x30
sub dword [esp + 0x20], 1
jne 0x1006e243
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0xc], 0
je 0x1006e327
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.1006e5a0
mov eax, edi
call fcn.1006d110
jmp 0x1006e360
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x1006e33a
mov edi, ebx
call fcn.1005b400
test eax, eax
jne 0x1006e360
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 0x1006e376
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x1006e376
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 0x1006e3a8
mov bl, byte [edi + 0x13]
cmp bl, 8
jae 0x1006e3a8
xor eax, eax
lea ecx, [edi + 0x68]
mov edi, edi
cmp dword [ecx + 0x10], edx
je 0x1006e3e3
inc eax
add ecx, 0x18
cmp eax, 0xa
jl 0x1006e390
movzx eax, bl
mov dword [edi + eax*4 + 0x1c], edx
inc byte [edi + 0x13]
mov edx, dword [esp + 0x38]
test edx, edx
je 0x1006e3d8
mov bl, byte [edi + 0x13]
cmp bl, 8
jae 0x1006e3d8
xor eax, eax
lea ecx, [edi + 0x68]
lea ecx, [ecx]
cmp dword [ecx + 0x10], edx
je 0x1006e3e9
inc eax
add ecx, 0x18
cmp eax, 0xa
jl 0x1006e3c0
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 0x1006e3a8
mov eax, dword [esp + 0x24]
pop edi
pop esi
mov byte [ecx + 8], 1
pop ebx
mov esp, ebp
pop ebp
ret