Function at 0x100d67e0
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 0x100d7329
mov esi, dword [ebp + 0xc]
cmp esi, edx
lea ecx, [edx + 0x65]
je 0x100d6825
movzx ecx, byte [esi]
mov dword [esp + 0x18], ecx
add ecx, 0xffffffed
cmp ecx, 0x8c
ja case.0x100d683f.21
movzx ecx, byte [ecx + 0x100d75fc]
jmp dword [ecx*4 + 0x100d7598]
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 0x100d686b
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 0x100d6893
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.100c1760
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 0x100d68b7
mov ecx, dword [ebx + 0x64]
cmp ecx, edx
jle 0x100d68b4
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.100d66b0
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.100d6330
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.100d62c0
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.100c17d0
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.100c1760
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.100a69c0
mov ebx, dword [esp + 0x2c]
mov esi, eax
mov eax, dword [ebx]
sub esi, 1
push esi
push eax
call fcn.100a7a00
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.100c18f0
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.100c1760
mov eax, dword [esi + 8]
add esp, 0x14
cmp byte [eax + 1], 0
je 0x100d6b63
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 0x100d69e9
mov eax, 0xfffffffe
mov edi, edx
call fcn.100c1e60
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 0x100d6a1b
push ecx
push eax
mov eax, 0xfffffffe
mov ecx, edi
call fcn.100c2040
mov eax, dword [esp + 0x30]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x100d6b63
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.100d67e0
mov esi, eax
add esp, 0xc
cmp esi, dword [ebp + 0x10]
mov dword [esp + 0x28], esi
je 0x100d6a7a
mov eax, dword [ebp + 0x10]
push 0
push eax
push esi
push 0x53
push edi
call fcn.100c1760
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.100dd6b0
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.100c1760
add esp, 0x14
push 1
mov edi, esi
mov eax, ebx
call fcn.100d6560
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.100d7700
mov edi, eax
lea eax, [esp + 0x14]
add esp, 4
push eax
mov eax, dword [esi + 0x10]
mov ecx, ebx
call fcn.100d7700
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.100d38d0
add esp, 0x18
mov esi, dword [esp + 0x20]
test esi, esi
je 0x100d6b2f
mov dl, byte [ebx + 0x13]
cmp dl, 8
jae 0x100d6b2f
xor eax, eax
lea ecx, [ebx + 0x7c]
nop
cmp dword [ecx + 0xc], esi
je 0x100d757d
add eax, 1
add ecx, 0x14
cmp eax, 0xa
jl 0x100d6b10
movzx ecx, dl
mov dword [ebx + ecx*4 + 0x1c], esi
add byte [ebx + 0x13], 1
mov esi, dword [esp + 0x10]
test esi, esi
je 0x100d6b63
mov dl, byte [ebx + 0x13]
cmp dl, 8
jae 0x100d6b63
xor eax, eax
lea ecx, [ebx + 0x7c]
cmp dword [ecx + 0xc], esi
je 0x100d7586
add eax, 1
add ecx, 0x14
cmp eax, 0xa
jl 0x100d6b44
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.100d7700
lea ecx, [esp + 0x14]
add esp, 4
mov edi, eax
mov eax, dword [esi + 0x10]
push ecx
mov ecx, ebx
call fcn.100d7700
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 0x100d6aeb
mov eax, dword [esi + 0xc]
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.100d7700
lea edx, [esp + 0x14]
add esp, 4
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x10]
push edx
mov ecx, ebx
call fcn.100d7700
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.100c1760
add esp, 0x14
jmp 0x100d6afa
mov eax, dword [esi + 0xc]
mov cl, byte [eax]
cmp cl, 0x84
jne 0x100d6c1f
mov ecx, dword [ebp + 0x10]
push ecx
push ebx
mov ecx, 1
call fcn.100d6330
mov edx, dword [ebp + 0x10]
add esp, 8
mov dword [esp + 0x28], edx
jmp 0x100d6afa
cmp cl, 0x85
jne 0x100d6c42
mov edx, dword [ebp + 0x10]
push edx
mov edx, dword [eax + 8]
push 1
push edi
call fcn.100d62c0
mov edx, dword [ebp + 0x10]
add esp, 0xc
mov dword [esp + 0x28], edx
jmp 0x100d6afa
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.100d7700
lea ecx, [esp + 0x14]
add esp, 4
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0xc]
push ecx
mov ecx, ebx
call fcn.100d7700
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.100c1760
mov edx, dword [ebp + 0x10]
add esp, 0x14
mov dword [esp + 0x28], edx
jmp 0x100d6afa
lea eax, [esp + 0x20]
push eax
mov eax, dword [esi + 0xc]
mov ecx, ebx
call fcn.100d7700
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.100c1760
add esp, 0x14
jmp 0x100d6afa
mov edx, dword [ebp + 0x10]
push 0
push edx
push 1
push 0x4a
push edi
call fcn.100c1760
lea eax, [esp + 0x34]
add esp, 0x14
push eax
mov eax, dword [esi + 0xc]
mov ecx, ebx
call fcn.100d7700
mov ecx, dword [esp + 0x1c]
add esp, 4
push 0
push 0
push eax
push ecx
push edi
call fcn.100c1760
mov edx, dword [ebp + 0x10]
add esp, 0x14
push 0
push edx
push 0
push 0x4a
push edi
mov esi, eax
call fcn.100c1760
add esp, 0x14
mov ecx, esi
mov eax, edi
call fcn.100c1e20
jmp 0x100d6afa
mov eax, dword [esi + 0x28]
cmp eax, edx
jne 0x100d6d4f
mov eax, esi
mov ecx, dword [eax + 8]
push ecx
push str.misuse_of_aggregate:__s__
mov esi, ebx
call fcn.100a6b40
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 0x100d6e79
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.100e26a0
add esp, 0x14
test eax, eax
mov dword [esp + 0x10], eax
je 0x100d70e2
cmp dword [eax + 0x10], 0
jne 0x100d70e2
movzx eax, word [eax + 2]
test eax, 0x200
je 0x100d6e93
mov eax, edi
call fcn.100c1ae0
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.100d7820
mov eax, dword [esp + 0x2c]
add esp, 0xc
cmp eax, 1
jle 0x100d6e5d
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.100c1760
add esp, 0x14
push 1
mov eax, ebx
call fcn.100d6560
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.100d7820
add esp, 0xc
mov eax, ebx
call fcn.100d65c0
add esi, 0x18
sub dword [esp + 0x24], 1
jne 0x100d6e10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
push eax
call fcn.100c1b50
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 0x100d6d8a
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
jmp 0x100d6d8e
test eax, 0x400
je 0x100d6ebc
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.100d67e0
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 0x100d6f3c
mov dword [esp + 0x1c], edi
lea ebx, [ebx]
cmp edi, 0x20
jge 0x100d6f00
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.100d5100
add esp, 4
test eax, eax
je 0x100d6f00
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 0x100d6f2c
cmp dword [esp + 0x30], 0
jne 0x100d6f2c
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x1c]
mov ecx, dword [edx + eax]
push ebx
call fcn.100d3690
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 0x100d6ed0
cmp dword [esp + 0x18], 0
je 0x100d6fb4
cmp dword [esp + 0x14], 0
je 0x100d6f57
mov edx, dword [ebx + 0x4c]
lea edi, [edx + 1]
add edx, ecx
mov dword [ebx + 0x4c], edx
jmp 0x100d6f67
mov esi, dword [esp + 0x20]
mov ecx, ebx
call fcn.100d88e0
mov esi, dword [ebp + 0xc]
mov edi, eax
mov ecx, dword [esp + 0x10]
test byte [ecx + 2], 0xc0
mov dword [esp + 0x1c], edi
je 0x100d6f94
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov al, byte [ecx]
cmp al, 0x98
je 0x100d6f88
cmp al, 0x9a
jne 0x100d6f94
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.100d78e0
add esp, 0x14
mov eax, ebx
call fcn.100d65c0
jmp 0x100d6fc0
mov edi, dword [esp + 0x18]
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x20]
cmp eax, 2
jl 0x100d6fe2
test byte [esi + 4], 0x80
je 0x100d6fe2
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 0x100d6ff6
test eax, eax
jle 0x100d7002
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.100ff150
mov dword [esp + 0x1c], eax
add esp, 0xc
mov ecx, dword [esp + 0x10]
test byte [ecx + 2], 0x20
je 0x100d708a
mov edi, dword [esp + 0x30]
test edi, edi
jne 0x100d701f
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.100c1760
mov edx, dword [esi]
add esp, 0x14
cmp byte [edx + 0x45], 0
je 0x100d704e
mov ecx, dword [esp + 0x30]
mov eax, 0xfffffffc
mov edi, edx
call fcn.100c1e60
jmp 0x100d708a
test eax, eax
jge 0x100d7058
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 0x100d707b
push edi
push eax
mov eax, 0xfffffffc
mov ecx, esi
call fcn.100c2040
add esp, 8
jmp 0x100d708a
test edi, edi
je 0x100d708a
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.100c18f0
mov esi, dword [esp + 0x2c]
add esp, 0xc
push esi
mov ecx, edi
call fcn.100c1e00
add esp, 4
test esi, esi
je 0x100d6b63
cmp dword [esp + 0x14], 0
jne 0x100d6b63
mov ecx, dword [esp + 0x1c]
mov eax, ebx
call fcn.100d8910
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.100a6b40
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.100d57d0
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.100c1ae0
mov dword [esp + 0x24], eax
mov eax, edi
call fcn.100c1ae0
mov edx, dword [ebp + 0x10]
push 0
push edx
push 0
push 0x4d
push edi
mov dword [esp + 0x28], eax
call fcn.100c1760
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
add esp, 0x14
push eax
push ecx
push ebx
mov eax, esi
call fcn.100d5d70
mov esi, dword [ebp + 0x10]
add esp, 0xc
push 0
push esi
push 1
push 0x4a
push edi
call fcn.100c1760
mov edx, dword [esp + 0x38]
add esp, 0x14
push edx
mov ecx, edi
call fcn.100c1b50
add esp, 4
push 0
push 0
push esi
push 0x59
push edi
call fcn.100c1760
mov eax, dword [esp + 0x28]
add esp, 0x14
push eax
mov ecx, edi
call fcn.100c1b50
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.100d7700
lea ecx, [esp + 0x14]
add esp, 4
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.100d7700
mov dword [esp + 0x34], eax
add esp, 4
mov eax, ebx
call fcn.100d8880
mov edx, eax
mov eax, ebx
mov dword [esp + 0x34], edx
call fcn.100d8880
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.100d38d0
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.100d88a0
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x30]
mov ecx, ebx
call fcn.100d7700
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.100d38d0
mov edx, dword [ebp + 0x10]
push edx
push esi
mov esi, dword [esp + 0x54]
push esi
push 0x1c
push edi
call fcn.100c1760
add esp, 0x2c
mov edx, ebx
call fcn.100d88a0
mov esi, dword [esp + 0x24]
call fcn.100d88a0
jmp 0x100d6afa
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 0xc]
push eax
push ecx
push ebx
call fcn.100d67e0
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.100c1760
movzx eax, word [esi + 0x20]
add esp, 0x14
test ax, ax
jl 0x100d6b63
mov ecx, dword [ebx + 4]
movsx eax, ax
shl eax, 4
cmp byte [eax + ecx + 0xd], 0x45
jne 0x100d6b63
mov edx, dword [ebp + 0x10]
push 0
push 0
push edx
push 0x5a
push edi
call fcn.100c1760
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 0x100d7332
push str.RAISE___may_only_be_used_within_a_trigger_program
mov esi, ebx
call fcn.100a6b40
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 1], 2
jne 0x100d733f
mov ecx, ebx
call fcn.100e1960
mov al, byte [esi + 1]
cmp al, 4
push 0
jne 0x100d73a4
mov esi, dword [esi + 8]
push 4
push 0
push 0x49
push edi
call fcn.100c1760
mov edx, dword [edi]
add esp, 0x14
cmp byte [edx + 0x45], 0
je 0x100d7378
mov ecx, esi
xor eax, eax
mov edi, edx
call fcn.100c1e60
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
jge 0x100d7382
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.100c2040
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.100e1980
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.100c1ae0
mov esi, dword [esi + 0xc]
test esi, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], esi
je 0x100d7444
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.100d7700
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 0x100d750d
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 0x100d7470
add dword [ebx + 0x6c], 1
cmp dword [esp + 0x30], 0
je 0x100d7487
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov dword [esp + 0x78], ecx
jmp 0x100d7491
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov dword [esp + 0x24], eax
mov eax, edi
call fcn.100c1ae0
mov ecx, dword [esp + 0x24]
push 0x10
mov esi, eax
push esi
push ecx
push ebx
call fcn.100d7e70
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x18]
push edx
push ecx
push ebx
call fcn.100d7820
mov edx, dword [esp + 0x34]
add esp, 0x1c
push 0
push edx
push 0
push 0xd
push edi
call fcn.100c1760
add esp, 0x14
mov eax, ebx
call fcn.100d65c0
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x100d74f0
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 0x100d7470
mov eax, dword [esp + 0x10]
test al, 1
je 0x100d753a
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.100d7820
add esp, 0xc
mov eax, ebx
call fcn.100d65c0
jmp 0x100d754d
mov eax, dword [ebp + 0x10]
push 0
push eax
push 0
push 0x4d
push edi
call fcn.100c1760
add esp, 0x14
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x100d7569
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 0x100d6b2f
mov eax, dword [esp + 0x28]
pop edi
pop esi
mov byte [ecx + 6], 1
pop ebx
mov esp, ebp
pop ebp
ret