Function at 0x100d65c0
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 0x100d7109
mov esi, dword [ebp + 0xc]
cmp esi, edx
lea ecx, [edx + 0x65]
je 0x100d6605
movzx ecx, byte [esi]
mov dword [esp + 0x18], ecx
add ecx, 0xffffffed
cmp ecx, 0x8c
ja case.0x100d661f.21
movzx ecx, byte [ecx + 0x100d73dc]
jmp dword [ecx*4 + 0x100d7378]
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 0x100d664b
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 0x100d6673
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.100c1540
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 0x100d6697
mov ecx, dword [ebx + 0x64]
cmp ecx, edx
jle 0x100d6694
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.100d6490
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.100d6110
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.100d60a0
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.100c15b0
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.100c1540
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.100a67a0
mov ebx, dword [esp + 0x2c]
mov esi, eax
mov eax, dword [ebx]
sub esi, 1
push esi
push eax
call fcn.100a77e0
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.100c16d0
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.100c1540
mov eax, dword [esi + 8]
add esp, 0x14
cmp byte [eax + 1], 0
je 0x100d6943
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 0x100d67c9
mov eax, 0xfffffffe
mov edi, edx
call fcn.100c1c40
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 0x100d67fb
push ecx
push eax
mov eax, 0xfffffffe
mov ecx, edi
call fcn.100c1e20
mov eax, dword [esp + 0x30]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x100d6943
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.100d65c0
mov esi, eax
add esp, 0xc
cmp esi, dword [ebp + 0x10]
mov dword [esp + 0x28], esi
je 0x100d685a
mov eax, dword [ebp + 0x10]
push 0
push eax
push esi
push 0x53
push edi
call fcn.100c1540
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.100dd490
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.100c1540
add esp, 0x14
push 1
mov edi, esi
mov eax, ebx
call fcn.100d6340
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.100d74e0
mov edi, eax
lea eax, [esp + 0x14]
add esp, 4
push eax
mov eax, dword [esi + 0x10]
mov ecx, ebx
call fcn.100d74e0
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.100d36b0
add esp, 0x18
mov esi, dword [esp + 0x20]
test esi, esi
je 0x100d690f
mov dl, byte [ebx + 0x13]
cmp dl, 8
jae 0x100d690f
xor eax, eax
lea ecx, [ebx + 0x7c]
nop
cmp dword [ecx + 0xc], esi
je 0x100d735d
add eax, 1
add ecx, 0x14
cmp eax, 0xa
jl 0x100d68f0
movzx ecx, dl
mov dword [ebx + ecx*4 + 0x1c], esi
add byte [ebx + 0x13], 1
mov esi, dword [esp + 0x10]
test esi, esi
je 0x100d6943
mov dl, byte [ebx + 0x13]
cmp dl, 8
jae 0x100d6943
xor eax, eax
lea ecx, [ebx + 0x7c]
cmp dword [ecx + 0xc], esi
je 0x100d7366
add eax, 1
add ecx, 0x14
cmp eax, 0xa
jl 0x100d6924
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.100d74e0
lea ecx, [esp + 0x14]
add esp, 4
mov edi, eax
mov eax, dword [esi + 0x10]
push ecx
mov ecx, ebx
call fcn.100d74e0
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 0x100d68cb
mov eax, dword [esi + 0xc]
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.100d74e0
lea edx, [esp + 0x14]
add esp, 4
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x10]
push edx
mov ecx, ebx
call fcn.100d74e0
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.100c1540
add esp, 0x14
jmp 0x100d68da
mov eax, dword [esi + 0xc]
mov cl, byte [eax]
cmp cl, 0x84
jne 0x100d69ff
mov ecx, dword [ebp + 0x10]
push ecx
push ebx
mov ecx, 1
call fcn.100d6110
mov edx, dword [ebp + 0x10]
add esp, 8
mov dword [esp + 0x28], edx
jmp 0x100d68da
cmp cl, 0x85
jne 0x100d6a22
mov edx, dword [ebp + 0x10]
push edx
mov edx, dword [eax + 8]
push 1
push edi
call fcn.100d60a0
mov edx, dword [ebp + 0x10]
add esp, 0xc
mov dword [esp + 0x28], edx
jmp 0x100d68da
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.100d74e0
lea ecx, [esp + 0x14]
add esp, 4
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0xc]
push ecx
mov ecx, ebx
call fcn.100d74e0
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.100c1540
mov edx, dword [ebp + 0x10]
add esp, 0x14
mov dword [esp + 0x28], edx
jmp 0x100d68da
lea eax, [esp + 0x20]
push eax
mov eax, dword [esi + 0xc]
mov ecx, ebx
call fcn.100d74e0
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.100c1540
add esp, 0x14
jmp 0x100d68da
mov edx, dword [ebp + 0x10]
push 0
push edx
push 1
push 0x4a
push edi
call fcn.100c1540
lea eax, [esp + 0x34]
add esp, 0x14
push eax
mov eax, dword [esi + 0xc]
mov ecx, ebx
call fcn.100d74e0
mov ecx, dword [esp + 0x1c]
add esp, 4
push 0
push 0
push eax
push ecx
push edi
call fcn.100c1540
mov edx, dword [ebp + 0x10]
add esp, 0x14
push 0
push edx
push 0
push 0x4a
push edi
mov esi, eax
call fcn.100c1540
add esp, 0x14
mov ecx, esi
mov eax, edi
call fcn.100c1c00
jmp 0x100d68da
mov eax, dword [esi + 0x28]
cmp eax, edx
jne 0x100d6b2f
mov eax, esi
mov ecx, dword [eax + 8]
push ecx
push str.misuse_of_aggregate:__s__
mov esi, ebx
call fcn.100a6920
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 0x100d6c59
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.100e2480
add esp, 0x14
test eax, eax
mov dword [esp + 0x10], eax
je 0x100d6ec2
cmp dword [eax + 0x10], 0
jne 0x100d6ec2
movzx eax, word [eax + 2]
test eax, 0x200
je 0x100d6c73
mov eax, edi
call fcn.100c18c0
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.100d7600
mov eax, dword [esp + 0x2c]
add esp, 0xc
cmp eax, 1
jle 0x100d6c3d
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.100c1540
add esp, 0x14
push 1
mov eax, ebx
call fcn.100d6340
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.100d7600
add esp, 0xc
mov eax, ebx
call fcn.100d63a0
add esi, 0x18
sub dword [esp + 0x24], 1
jne 0x100d6bf0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
push eax
call fcn.100c1930
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 0x100d6b6a
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
jmp 0x100d6b6e
test eax, 0x400
je 0x100d6c9c
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.100d65c0
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 0x100d6d1c
mov dword [esp + 0x1c], edi
lea ebx, [ebx]
cmp edi, 0x20
jge 0x100d6ce0
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.100d4ee0
add esp, 4
test eax, eax
je 0x100d6ce0
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 0x100d6d0c
cmp dword [esp + 0x30], 0
jne 0x100d6d0c
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x1c]
mov ecx, dword [edx + eax]
push ebx
call fcn.100d3470
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 0x100d6cb0
cmp dword [esp + 0x18], 0
je 0x100d6d94
cmp dword [esp + 0x14], 0
je 0x100d6d37
mov edx, dword [ebx + 0x4c]
lea edi, [edx + 1]
add edx, ecx
mov dword [ebx + 0x4c], edx
jmp 0x100d6d47
mov esi, dword [esp + 0x20]
mov ecx, ebx
call fcn.100d86c0
mov esi, dword [ebp + 0xc]
mov edi, eax
mov ecx, dword [esp + 0x10]
test byte [ecx + 2], 0xc0
mov dword [esp + 0x1c], edi
je 0x100d6d74
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov al, byte [ecx]
cmp al, 0x98
je 0x100d6d68
cmp al, 0x9a
jne 0x100d6d74
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.100d76c0
add esp, 0x14
mov eax, ebx
call fcn.100d63a0
jmp 0x100d6da0
mov edi, dword [esp + 0x18]
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x20]
cmp eax, 2
jl 0x100d6dc2
test byte [esi + 4], 0x80
je 0x100d6dc2
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 0x100d6dd6
test eax, eax
jle 0x100d6de2
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.100fef30
mov dword [esp + 0x1c], eax
add esp, 0xc
mov ecx, dword [esp + 0x10]
test byte [ecx + 2], 0x20
je 0x100d6e6a
mov edi, dword [esp + 0x30]
test edi, edi
jne 0x100d6dff
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.100c1540
mov edx, dword [esi]
add esp, 0x14
cmp byte [edx + 0x45], 0
je 0x100d6e2e
mov ecx, dword [esp + 0x30]
mov eax, 0xfffffffc
mov edi, edx
call fcn.100c1c40
jmp 0x100d6e6a
test eax, eax
jge 0x100d6e38
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 0x100d6e5b
push edi
push eax
mov eax, 0xfffffffc
mov ecx, esi
call fcn.100c1e20
add esp, 8
jmp 0x100d6e6a
test edi, edi
je 0x100d6e6a
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.100c16d0
mov esi, dword [esp + 0x2c]
add esp, 0xc
push esi
mov ecx, edi
call fcn.100c1be0
add esp, 4
test esi, esi
je 0x100d6943
cmp dword [esp + 0x14], 0
jne 0x100d6943
mov ecx, dword [esp + 0x1c]
mov eax, ebx
call fcn.100d86f0
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.100a6920
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.100d55b0
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.100c18c0
mov dword [esp + 0x24], eax
mov eax, edi
call fcn.100c18c0
mov edx, dword [ebp + 0x10]
push 0
push edx
push 0
push 0x4d
push edi
mov dword [esp + 0x28], eax
call fcn.100c1540
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
add esp, 0x14
push eax
push ecx
push ebx
mov eax, esi
call fcn.100d5b50
mov esi, dword [ebp + 0x10]
add esp, 0xc
push 0
push esi
push 1
push 0x4a
push edi
call fcn.100c1540
mov edx, dword [esp + 0x38]
add esp, 0x14
push edx
mov ecx, edi
call fcn.100c1930
add esp, 4
push 0
push 0
push esi
push 0x59
push edi
call fcn.100c1540
mov eax, dword [esp + 0x28]
add esp, 0x14
push eax
mov ecx, edi
call fcn.100c1930
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.100d74e0
lea ecx, [esp + 0x14]
add esp, 4
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.100d74e0
mov dword [esp + 0x34], eax
add esp, 4
mov eax, ebx
call fcn.100d8660
mov edx, eax
mov eax, ebx
mov dword [esp + 0x34], edx
call fcn.100d8660
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.100d36b0
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.100d8680
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x30]
mov ecx, ebx
call fcn.100d74e0
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.100d36b0
mov edx, dword [ebp + 0x10]
push edx
push esi
mov esi, dword [esp + 0x54]
push esi
push 0x1c
push edi
call fcn.100c1540
add esp, 0x2c
mov edx, ebx
call fcn.100d8680
mov esi, dword [esp + 0x24]
call fcn.100d8680
jmp 0x100d68da
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 0xc]
push eax
push ecx
push ebx
call fcn.100d65c0
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.100c1540
movzx eax, word [esi + 0x20]
add esp, 0x14
test ax, ax
jl 0x100d6943
mov ecx, dword [ebx + 4]
movsx eax, ax
shl eax, 4
cmp byte [eax + ecx + 0xd], 0x45
jne 0x100d6943
mov edx, dword [ebp + 0x10]
push 0
push 0
push edx
push 0x5a
push edi
call fcn.100c1540
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 0x100d7112
push str.RAISE___may_only_be_used_within_a_trigger_program
mov esi, ebx
call fcn.100a6920
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 1], 2
jne 0x100d711f
mov ecx, ebx
call fcn.100e1740
mov al, byte [esi + 1]
cmp al, 4
push 0
jne 0x100d7184
mov esi, dword [esi + 8]
push 4
push 0
push 0x49
push edi
call fcn.100c1540
mov edx, dword [edi]
add esp, 0x14
cmp byte [edx + 0x45], 0
je 0x100d7158
mov ecx, esi
xor eax, eax
mov edi, edx
call fcn.100c1c40
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
jge 0x100d7162
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.100c1e20
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.100e1760
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.100c18c0
mov esi, dword [esi + 0xc]
test esi, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], esi
je 0x100d7224
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.100d74e0
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 0x100d72ed
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 0x100d7250
add dword [ebx + 0x6c], 1
cmp dword [esp + 0x30], 0
je 0x100d7267
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov dword [esp + 0x78], ecx
jmp 0x100d7271
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov dword [esp + 0x24], eax
mov eax, edi
call fcn.100c18c0
mov ecx, dword [esp + 0x24]
push 0x10
mov esi, eax
push esi
push ecx
push ebx
call fcn.100d7c50
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x18]
push edx
push ecx
push ebx
call fcn.100d7600
mov edx, dword [esp + 0x34]
add esp, 0x1c
push 0
push edx
push 0
push 0xd
push edi
call fcn.100c1540
add esp, 0x14
mov eax, ebx
call fcn.100d63a0
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x100d72d0
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 0x100d7250
mov eax, dword [esp + 0x10]
test al, 1
je 0x100d731a
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.100d7600
add esp, 0xc
mov eax, ebx
call fcn.100d63a0
jmp 0x100d732d
mov eax, dword [ebp + 0x10]
push 0
push eax
push 0
push 0x4d
push edi
call fcn.100c1540
add esp, 0x14
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x100d7349
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 0x100d690f
mov eax, dword [esp + 0x28]
pop edi
pop esi
mov byte [ecx + 6], 1
pop ebx
mov esp, ebp
pop ebp
ret