Function at 0x100cc660
Capabilities:
Parse pe header
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
mov ebx, dword [ebp + 8]
push esi
xor edx, edx
push edi
mov edi, dword [ebx + 8]
cmp edi, edx
mov dword [esp + 0x28], eax
mov eax, dword [ebx]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], eax
je 0x100cd1a9
mov esi, dword [ebp + 0xc]
cmp esi, edx
lea ecx, [edx + 0x65]
je 0x100cc6a5
movzx ecx, byte [esi]
mov dword [esp + 0x18], ecx
add ecx, 0xffffffed
cmp ecx, 0x8c
ja case.0x100cc6bf.21
movzx ecx, byte [ecx + 0x100cd47c]
jmp dword [ecx*4 + 0x100cd418]
movsx ecx, word [esi + 0x22]
mov eax, dword [esi + 0x28]
cmp byte [eax], 0
lea edx, [ecx + ecx*2]
mov ecx, dword [eax + 0x1c]
lea ecx, [ecx + edx*8]
jne 0x100cc6eb
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x28], edx
mov eax, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [eax + 1], 0
je 0x100cc713
mov edx, dword [ebp + 0x10]
mov ecx, dword [ecx + 0xc]
push edx
mov edx, dword [eax + 8]
push ecx
push edx
push 0x5e
push edi
call fcn.100b71b0
mov eax, dword [esp + 0x3c]
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor edx, edx
mov eax, dword [esi + 0x1c]
cmp eax, edx
jge 0x100cc737
mov ecx, dword [ebx + 0x64]
cmp ecx, edx
jle 0x100cc734
movsx eax, word [esi + 0x20]
add eax, ecx
mov dword [esp + 0x28], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x68]
movzx ecx, byte [esi + 0x26]
mov edx, dword [ebp + 0x10]
push ecx
mov ecx, dword [esi + 0x2c]
push edx
push eax
movsx eax, word [esi + 0x20]
push eax
push ecx
mov eax, ebx
call fcn.100cc530
add esp, 0x14
mov dword [esp + 0x28], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
push edx
push ebx
xor ecx, ecx
mov eax, esi
call fcn.100cc1b0
mov eax, dword [esp + 0x30]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov edx, dword [esi + 8]
push eax
push 0
push edi
call fcn.100cc140
mov eax, dword [esp + 0x34]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov ecx, esi
mov ecx, dword [ecx + 8]
mov esi, edi
call fcn.100b7220
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
push 0
push edx
push 0
push 0x4d
push edi
call fcn.100b71b0
mov eax, dword [esp + 0x3c]
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
mov edi, dword [eax + 8]
add edi, 2
mov eax, edi
call fcn.1009c010
mov ebx, dword [esp + 0x2c]
mov esi, eax
mov eax, dword [ebx]
sub esi, 1
push esi
push eax
call fcn.1009d050
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
push eax
mov eax, esi
cdq
sub eax, edx
mov edx, eax
sar edx, 1
push 0x4f
xor eax, eax
mov edi, ebx
call fcn.100b7340
mov eax, dword [esp + 0x3c]
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
movsx edx, word [esi + 0x20]
push 0
push ecx
push edx
push 0x50
push edi
call fcn.100b71b0
mov eax, dword [esi + 8]
add esp, 0x14
cmp byte [eax + 1], 0
je 0x100cc9e3
movsx ecx, word [esi + 0x20]
mov edx, dword [ebx + 0x1dc]
mov ecx, dword [edx + ecx*4 - 4]
mov edx, dword [edi]
cmp byte [edx + 0x45], 0
je 0x100cc869
mov eax, 0xfffffffe
mov edi, edx
call fcn.100b78b0
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 4]
sub eax, 1
lea eax, [eax + eax*4]
cmp byte [edx + eax*4 + 1], 0
lea eax, [edx + eax*4]
je 0x100cc89b
push ecx
push eax
mov eax, 0xfffffffe
mov ecx, edi
call fcn.100b7a90
mov eax, dword [esp + 0x30]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x100cc9e3
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xfe
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x28], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
mov edx, dword [esi + 0xc]
push ecx
push edx
push ebx
call fcn.100cc660
mov esi, eax
add esp, 0xc
cmp esi, dword [ebp + 0x10]
mov dword [esp + 0x28], esi
je 0x100cc8fa
mov eax, dword [ebp + 0x10]
push 0
push eax
push esi
push 0x53
push edi
call fcn.100b71b0
mov ecx, dword [ebp + 0x10]
add esp, 0x14
mov dword [esp + 0x28], ecx
mov esi, ecx
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 8]
xor edi, edi
call fcn.100d3500
mov ecx, dword [esp + 0x2c]
movsx eax, al
push edi
push eax
mov eax, dword [ebp + 0x10]
push eax
push 0x5b
push ecx
call fcn.100b71b0
add esp, 0x14
push 1
mov edi, esi
mov eax, ebx
call fcn.100cc3e0
mov eax, dword [esp + 0x2c]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc]
lea edx, [esp + 0x20]
push edx
mov ecx, ebx
call fcn.100cd580
mov edi, eax
lea eax, [esp + 0x14]
add esp, 4
push eax
mov eax, dword [esi + 0x10]
mov ecx, ebx
call fcn.100cd580
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x1c]
add esp, 4
push 0x20
push ecx
push eax
push edi
push edx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
push ebx
call fcn.100c9750
add esp, 0x18
mov esi, dword [esp + 0x20]
test esi, esi
je 0x100cc9af
mov dl, byte [ebx + 0x13]
cmp dl, 8
jae 0x100cc9af
xor eax, eax
lea ecx, [ebx + 0x7c]
nop
cmp dword [ecx + 0xc], esi
je 0x100cd3fd
add eax, 1
add ecx, 0x14
cmp eax, 0xa
jl 0x100cc990
movzx ecx, dl
mov dword [ebx + ecx*4 + 0x1c], esi
add byte [ebx + 0x13], 1
mov esi, dword [esp + 0x10]
test esi, esi
je 0x100cc9e3
mov dl, byte [ebx + 0x13]
cmp dl, 8
jae 0x100cc9e3
xor eax, eax
lea ecx, [ebx + 0x7c]
cmp dword [ecx + 0xc], esi
je 0x100cd406
add eax, 1
add ecx, 0x14
cmp eax, 0xa
jl 0x100cc9c4
movzx edx, dl
mov dword [ebx + edx*4 + 0x1c], esi
add byte [ebx + 0x13], 1
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x20]
push eax
mov eax, dword [esi + 0xc]
mov ecx, ebx
call fcn.100cd580
lea ecx, [esp + 0x14]
add esp, 4
mov edi, eax
mov eax, dword [esi + 0x10]
push ecx
mov ecx, ebx
call fcn.100cd580
mov edx, dword [ebp + 0x10]
add esp, 4
push 0xa0
push edx
push eax
xor eax, eax
cmp dword [esp + 0x24], 0x1d
push edi
sete al
add eax, 0x24
push eax
jmp 0x100cc96b
mov eax, dword [esi + 0xc]
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.100cd580
lea edx, [esp + 0x14]
add esp, 4
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x10]
push edx
mov ecx, ebx
call fcn.100cd580
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x20]
add esp, 4
push ecx
push edx
push eax
mov eax, dword [esp + 0x24]
push eax
push edi
call fcn.100b71b0
add esp, 0x14
jmp 0x100cc97a
mov eax, dword [esi + 0xc]
mov cl, byte [eax]
cmp cl, 0x84
jne 0x100cca9f
mov ecx, dword [ebp + 0x10]
push ecx
push ebx
mov ecx, 1
call fcn.100cc1b0
mov edx, dword [ebp + 0x10]
add esp, 8
mov dword [esp + 0x28], edx
jmp 0x100cc97a
cmp cl, 0x85
jne 0x100ccac2
mov edx, dword [ebp + 0x10]
push edx
mov edx, dword [eax + 8]
push 1
push edi
call fcn.100cc140
mov edx, dword [ebp + 0x10]
add esp, 0xc
mov dword [esp + 0x28], edx
jmp 0x100cc97a
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
mov ecx, ebx
mov byte [esp + 0x3c], 0x84
mov dword [esp + 0x40], 0x4400
mov dword [esp + 0x44], edx
call fcn.100cd580
lea ecx, [esp + 0x14]
add esp, 4
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0xc]
push ecx
mov ecx, ebx
call fcn.100cd580
mov edx, dword [ebp + 0x10]
mov ecx, dword [esp + 0x20]
add esp, 4
push edx
push ecx
push eax
push 0x30
push edi
call fcn.100b71b0
mov edx, dword [ebp + 0x10]
add esp, 0x14
mov dword [esp + 0x28], edx
jmp 0x100cc97a
lea eax, [esp + 0x20]
push eax
mov eax, dword [esi + 0xc]
mov ecx, ebx
call fcn.100cd580
mov ecx, dword [ebp + 0x10]
add esp, 4
push 0
push ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x20]
push eax
push ecx
push edi
call fcn.100b71b0
add esp, 0x14
jmp 0x100cc97a
mov edx, dword [ebp + 0x10]
push 0
push edx
push 1
push 0x4a
push edi
call fcn.100b71b0
lea eax, [esp + 0x34]
add esp, 0x14
push eax
mov eax, dword [esi + 0xc]
mov ecx, ebx
call fcn.100cd580
mov ecx, dword [esp + 0x1c]
add esp, 4
push 0
push 0
push eax
push ecx
push edi
call fcn.100b71b0
mov edx, dword [ebp + 0x10]
add esp, 0x14
push 0
push edx
push 0
push 0x4a
push edi
mov esi, eax
call fcn.100b71b0
add esp, 0x14
mov ecx, esi
mov eax, edi
call fcn.100b7870
jmp 0x100cc97a
mov eax, dword [esi + 0x28]
cmp eax, edx
jne 0x100ccbcf
mov eax, esi
mov ecx, dword [eax + 8]
push ecx
push str.misuse_of_aggregate:__s__
mov esi, ebx
call fcn.1009c190
mov eax, dword [esp + 0x30]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movsx edx, word [esi + 0x22]
mov eax, dword [eax + 0x28]
shl edx, 4
mov ecx, dword [edx + eax + 8]
mov dword [esp + 0x28], ecx
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dword [esi + 4], 0x4000
mov al, byte [eax + 0x42]
mov dword [esp + 0x14], edx
mov byte [esp + 0x10], al
mov dword [esp + 0x30], edx
je 0x100cccf9
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 8]
push 0
push edx
mov edx, dword [esp + 0x2c]
push ecx
push eax
push edx
mov dword [esp + 0x30], eax
call fcn.100d84b0
add esp, 0x14
test eax, eax
mov dword [esp + 0x10], eax
je 0x100ccf62
cmp dword [eax + 0x10], 0
jne 0x100ccf62
movzx eax, word [eax + 2]
test eax, 0x200
je 0x100ccd13
mov eax, edi
call fcn.100b7530
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 4]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [edx]
push eax
push ebx
call fcn.100cd6a0
mov eax, dword [esp + 0x2c]
add esp, 0xc
cmp eax, 1
jle 0x100cccdd
mov edi, dword [ebp + 0x10]
add eax, 0xffffffff
mov esi, 0x18
mov dword [esp + 0x24], eax
mov edi, edi
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
push 0
push ecx
push edi
push 0x23
push edx
call fcn.100b71b0
add esp, 0x14
push 1
mov eax, ebx
call fcn.100cc3e0
add dword [ebx + 0x6c], 1
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
mov edx, dword [esi + ecx]
add esp, 4
push edi
push edx
push ebx
call fcn.100cd6a0
add esp, 0xc
mov eax, ebx
call fcn.100cc440
add esi, 0x18
sub dword [esp + 0x24], 1
jne 0x100ccc90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
push eax
call fcn.100b75a0
mov eax, dword [esp + 0x2c]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14]
cmp eax, edx
mov dword [esp + 0x18], eax
je 0x100ccc0a
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
jmp 0x100ccc0e
test eax, 0x400
je 0x100ccd3c
mov edx, dword [esp + 0x18]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
push ecx
mov ecx, dword [eax]
push ecx
push ebx
call fcn.100cc660
add esp, 0xc
mov dword [esp + 0x28], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x20]
xor edi, edi
test ecx, ecx
jle 0x100ccdbc
mov dword [esp + 0x1c], edi
lea ebx, [ebx]
cmp edi, 0x20
jge 0x100ccd80
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + eax]
push 1
xor edx, edx
call fcn.100caf80
add esp, 4
test eax, eax
je 0x100ccd80
mov edx, 1
mov ecx, edi
shl edx, cl
or dword [esp + 0x14], edx
mov eax, dword [esp + 0x10]
test byte [eax + 2], 0x20
je 0x100ccdac
cmp dword [esp + 0x30], 0
jne 0x100ccdac
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x1c]
mov ecx, dword [edx + eax]
push ebx
call fcn.100c9510
add esp, 4
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x20]
add dword [esp + 0x1c], 0x18
add edi, 1
cmp edi, ecx
jl 0x100ccd50
cmp dword [esp + 0x18], 0
je 0x100cce34
cmp dword [esp + 0x14], 0
je 0x100ccdd7
mov edx, dword [ebx + 0x4c]
lea edi, [edx + 1]
add edx, ecx
mov dword [ebx + 0x4c], edx
jmp 0x100ccde7
mov esi, dword [esp + 0x20]
mov ecx, ebx
call fcn.100ce760
mov esi, dword [ebp + 0xc]
mov edi, eax
mov ecx, dword [esp + 0x10]
test byte [ecx + 2], 0xc0
mov dword [esp + 0x1c], edi
je 0x100cce14
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov al, byte [ecx]
cmp al, 0x98
je 0x100cce08
cmp al, 0x9a
jne 0x100cce14
mov edx, dword [esp + 0x10]
mov al, byte [edx + 2]
and al, 0xc0
mov byte [ecx + 0x26], al
add dword [ebx + 0x6c], 1
push 3
push 0
push edi
mov edi, dword [esp + 0x24]
push edi
push ebx
call fcn.100cd760
add esp, 0x14
mov eax, ebx
call fcn.100cc440
jmp 0x100cce40
mov edi, dword [esp + 0x18]
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x20]
cmp eax, 2
jl 0x100cce62
test byte [esi + 4], 0x80
je 0x100cce62
mov edx, dword [esp + 0x10]
mov ecx, dword [edi + 4]
push eax
mov eax, dword [esp + 0x28]
push edx
push eax
mov eax, dword [ecx + 0x18]
jmp 0x100cce76
test eax, eax
jle 0x100cce82
mov edx, dword [esp + 0x10]
mov ecx, dword [edi + 4]
push eax
mov eax, dword [esp + 0x28]
push edx
push eax
mov eax, dword [ecx]
call fcn.100f4f70
mov dword [esp + 0x1c], eax
add esp, 0xc
mov ecx, dword [esp + 0x10]
test byte [ecx + 2], 0x20
je 0x100ccf0a
mov edi, dword [esp + 0x30]
test edi, edi
jne 0x100cce9f
mov edx, dword [esp + 0x24]
mov edi, dword [edx + 8]
mov dword [esp + 0x30], edi
mov esi, dword [esp + 0x2c]
push 0
push 0
push 0
push 0x56
push esi
call fcn.100b71b0
mov edx, dword [esi]
add esp, 0x14
cmp byte [edx + 0x45], 0
je 0x100ccece
mov ecx, dword [esp + 0x30]
mov eax, 0xfffffffc
mov edi, edx
call fcn.100b78b0
jmp 0x100ccf0a
test eax, eax
jge 0x100cced8
mov eax, dword [esi + 0x20]
sub eax, 1
mov ecx, dword [esi + 4]
lea eax, [eax + eax*4]
cmp byte [ecx + eax*4 + 1], 0
lea eax, [ecx + eax*4]
je 0x100ccefb
push edi
push eax
mov eax, 0xfffffffc
mov ecx, esi
call fcn.100b7a90
add esp, 8
jmp 0x100ccf0a
test edi, edi
je 0x100ccf0a
mov edx, dword [esp + 0x30]
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xfc
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x2c]
push 0xfffffffffffffffb
push eax
mov eax, dword [ebp + 0x10]
push 0x57
call fcn.100b7340
mov esi, dword [esp + 0x2c]
add esp, 0xc
push esi
mov ecx, edi
call fcn.100b7850
add esp, 4
test esi, esi
je 0x100cc9e3
cmp dword [esp + 0x14], 0
jne 0x100cc9e3
mov ecx, dword [esp + 0x1c]
mov eax, ebx
call fcn.100ce790
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1c]
push ecx
push str.unknown_function:__s__
mov esi, ebx
call fcn.1009c190
mov eax, dword [esp + 0x30]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push esi
push ebx
call fcn.100cb650
add esp, 0x10
mov dword [esp + 0x28], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
call fcn.100b7530
mov dword [esp + 0x24], eax
mov eax, edi
call fcn.100b7530
mov edx, dword [ebp + 0x10]
push 0
push edx
push 0
push 0x4d
push edi
mov dword [esp + 0x28], eax
call fcn.100b71b0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
add esp, 0x14
push eax
push ecx
push ebx
mov eax, esi
call fcn.100cbbf0
mov esi, dword [ebp + 0x10]
add esp, 0xc
push 0
push esi
push 1
push 0x4a
push edi
call fcn.100b71b0
mov edx, dword [esp + 0x38]
add esp, 0x14
push edx
mov ecx, edi
call fcn.100b75a0
add esp, 4
push 0
push 0
push esi
push 0x59
push edi
call fcn.100b71b0
mov eax, dword [esp + 0x28]
add esp, 0x14
push eax
mov ecx, edi
call fcn.100b75a0
mov eax, dword [esp + 0x2c]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [ecx + 4]
mov edx, dword [eax]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
mov eax, esi
mov ecx, ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edx
call fcn.100cd580
lea ecx, [esp + 0x14]
add esp, 4
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.100cd580
mov dword [esp + 0x34], eax
add esp, 4
mov eax, ebx
call fcn.100ce700
mov edx, eax
mov eax, ebx
mov dword [esp + 0x34], edx
call fcn.100ce700
push 0x20
push edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x24]
push edx
push eax
mov eax, dword [esp + 0x24]
push 0x29
push ebx
mov ecx, esi
call fcn.100c9750
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + 0x18]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x2c], edx
mov edx, ebx
call fcn.100ce720
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x30]
mov ecx, ebx
call fcn.100cd580
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
add esp, 0x1c
push 0x20
push esi
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x28]
push 0x27
push ebx
call fcn.100c9750
mov edx, dword [ebp + 0x10]
push edx
push esi
mov esi, dword [esp + 0x54]
push esi
push 0x1c
push edi
call fcn.100b71b0
add esp, 0x2c
mov edx, ebx
call fcn.100ce720
mov esi, dword [esp + 0x24]
call fcn.100ce720
jmp 0x100cc97a
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 0xc]
push eax
push ecx
push ebx
call fcn.100cc660
add esp, 0xc
mov dword [esp + 0x28], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [esi + 0x2c]
movsx eax, word [ebx + 0x22]
movsx ecx, word [esi + 0x20]
mov edx, dword [ebp + 0x10]
add eax, 1
imul eax, dword [esi + 0x1c]
push 0
push edx
lea edx, [eax + ecx + 1]
push edx
push 0x8d
push edi
call fcn.100b71b0
movzx eax, word [esi + 0x20]
add esp, 0x14
test ax, ax
jl 0x100cc9e3
mov ecx, dword [ebx + 4]
movsx eax, ax
shl eax, 4
cmp byte [eax + ecx + 0xd], 0x45
jne 0x100cc9e3
mov edx, dword [ebp + 0x10]
push 0
push 0
push edx
push 0x5a
push edi
call fcn.100b71b0
mov eax, dword [esp + 0x3c]
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x1a4], edx
jne 0x100cd1b2
push str.RAISE___may_only_be_used_within_a_trigger_program
mov esi, ebx
call fcn.1009c190
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 1], 2
jne 0x100cd1bf
mov ecx, ebx
call fcn.100d7780
mov al, byte [esi + 1]
cmp al, 4
push 0
jne 0x100cd224
mov esi, dword [esi + 8]
push 4
push 0
push 0x49
push edi
call fcn.100b71b0
mov edx, dword [edi]
add esp, 0x14
cmp byte [edx + 0x45], 0
je 0x100cd1f8
mov ecx, esi
xor eax, eax
mov edi, edx
call fcn.100b78b0
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
jge 0x100cd202
mov eax, dword [edi + 0x20]
sub eax, 1
mov ecx, dword [edi + 4]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*4]
push esi
push edx
xor eax, eax
mov ecx, edi
call fcn.100b7a90
mov eax, dword [esp + 0x30]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 8]
push 0
push ecx
movsx ebx, al
mov eax, dword [ebp + 8]
push 0x713
call fcn.100d77a0
mov eax, dword [esp + 0x38]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov eax, edi
mov dword [esp + 0x34], edx
call fcn.100b7530
mov esi, dword [esi + 0xc]
test esi, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], esi
je 0x100cd2c4
mov ecx, 0xc
mov eax, esi
lea edi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.100cd580
mov dl, byte [esp + 0x3c]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x6c]
add esp, 4
and dword [esp + 0x3c], 0xffffefff
mov byte [esp + 0x5e], dl
mov byte [esp + 0x38], 0x9d
mov byte [esp + 0x68], 0x25
mov dword [esp + 0x74], eax
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x10]
lea ecx, [eax - 1]
test ecx, ecx
jle 0x100cd38d
mov edx, dword [esp + 0x34]
lea eax, [ecx - 1]
shr eax, 1
add eax, 1
mov dword [esp + 0x14], edx
mov dword [esp + 0x2c], eax
jmp 0x100cd2f0
add dword [ebx + 0x6c], 1
cmp dword [esp + 0x30], 0
je 0x100cd307
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov dword [esp + 0x78], ecx
jmp 0x100cd311
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov dword [esp + 0x24], eax
mov eax, edi
call fcn.100b7530
mov ecx, dword [esp + 0x24]
push 0x10
mov esi, eax
push esi
push ecx
push ebx
call fcn.100cdcf0
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x18]
push edx
push ecx
push ebx
call fcn.100cd6a0
mov edx, dword [esp + 0x34]
add esp, 0x1c
push 0
push edx
push 0
push 0xd
push edi
call fcn.100b71b0
add esp, 0x14
mov eax, ebx
call fcn.100cc440
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x100cd370
lea edx, [esi*4 + 4]
sub eax, edx
mov edx, dword [edi + 0x20]
mov dword [eax], edx
mov eax, dword [edi + 0x20]
add dword [esp + 0x14], 0x30
sub eax, 1
sub dword [esp + 0x2c], 1
mov dword [ecx + 0x60], eax
jne 0x100cd2f0
mov eax, dword [esp + 0x10]
test al, 1
je 0x100cd3ba
mov ecx, dword [ebp + 0x10]
add dword [ebx + 0x6c], 1
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [eax + 4]
mov edx, dword [ecx + edx*8 - 0x18]
push edx
push ebx
call fcn.100cd6a0
add esp, 0xc
mov eax, ebx
call fcn.100cc440
jmp 0x100cd3cd
mov eax, dword [ebp + 0x10]
push 0
push eax
push 0
push 0x4d
push edi
call fcn.100b71b0
add esp, 0x14
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x100cd3e9
mov edx, dword [esp + 0x18]
lea edx, [edx*4 + 4]
sub eax, edx
mov edx, dword [edi + 0x20]
mov dword [eax], edx
mov eax, dword [edi + 0x20]
sub eax, 1
mov dword [ecx + 0x60], eax
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [ecx + 6], 1
jmp 0x100cc9af
mov eax, dword [esp + 0x28]
pop edi
pop esi
mov byte [ecx + 6], 1
pop ebx
mov esp, ebp
pop ebp
ret