Function at 0x1003bb20
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
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
mov ecx, dword [esi]
xor edx, edx
push edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], ecx
cmp ebx, edx
je 0x1003c5cd
mov edi, dword [ebp + 0xc]
cmp edi, edx
jne 0x1003bb69
mov dword [esp + 0xc], 0x65
jmp 0x1003bb70
movzx eax, byte [edi]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add eax, 0xffffffed
cmp eax, 0x8c
ja case.0x1003bb89.21
movzx eax, byte [eax + 0x1003c998]
jmp dword [eax*4 + 0x1003c934]
movsx ecx, word [edi + 0x22]
mov eax, dword [edi + 0x28]
cmp byte [eax], 0
mov edx, dword [eax + 0x1c]
lea ecx, [ecx + ecx*2]
lea ecx, [edx + ecx*8]
jne 0x1003bbb3
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x28], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [eax + 1], 0
je 0x1003bbdb
mov edx, dword [ebp + 0x10]
mov ecx, dword [ecx + 0xc]
push edx
mov edx, dword [eax + 8]
push ecx
push edx
push 0x2f
push ebx
call fcn.100242d0
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 [edi + 0x1c]
cmp eax, edx
jge 0x1003bbff
mov ecx, dword [esi + 0x64]
cmp ecx, edx
jle 0x1003bbfc
movsx eax, word [edi + 0x20]
add eax, ecx
mov dword [esp + 0x28], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x68]
movzx ecx, byte [edi + 0x26]
mov edx, dword [ebp + 0x10]
push ecx
mov ecx, dword [edi + 0x2c]
push edx
push eax
movsx eax, word [edi + 0x20]
push eax
push ecx
mov edi, esi
call fcn.1003b8b0
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 0
push esi
mov eax, edi
call fcn.1003b230
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, dword [edi + 8]
push eax
push 0
mov eax, ebx
call fcn.1003b120
mov eax, dword [esp + 0x30]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 8]
mov edx, dword [ebp + 0x10]
push ecx
mov eax, ebx
call fcn.100244c0
mov eax, dword [esp + 0x2c]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x10]
mov eax, dword [esp + 0x14]
xor ebx, ebx
lea edx, [ebx + 0x19]
call fcn.10024400
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [edi + 8]
add edi, 2
mov eax, edi
call fcn.10006ca0
lea esi, [eax - 1]
mov eax, dword [ebx]
push esi
push eax
call fcn.10007e90
push 0xffffffffffffffff
push eax
mov eax, esi
cdq
sub eax, edx
mov edx, dword [ebp + 0x10]
sar eax, 1
push eax
push 0x1b
xor eax, eax
mov ecx, ebx
call fcn.10024690
mov eax, dword [esp + 0x40]
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
mov edx, edi
movsx ebx, word [edx + 0x20]
mov edi, dword [ebp + 0x10]
mov edx, 0x1c
call fcn.10024400
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
cmp byte [ecx + 1], 0
je 0x1003c919
mov ecx, dword [esi + 0x1dc]
mov esi, dword [esp + 0x14]
mov edx, eax
movsx eax, word [edx + 0x20]
mov edx, dword [esi]
cmp byte [edx + 0x45], 0
mov edi, dword [ecx + eax*4 - 4]
je 0x1003bd33
mov ecx, edi
mov eax, 0xfffffffe
call fcn.10024cd0
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x20]
lea edx, [eax + eax*4 - 5]
mov eax, dword [esi + 4]
cmp byte [eax + edx*4 + 1], 0
lea ecx, [eax + edx*4]
je 0x1003bd61
push edi
push esi
mov eax, 0xfffffffe
call fcn.10024ec0
mov eax, dword [esp + 0x30]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x1003c919
mov eax, dword [esp + 0x28]
mov dword [ecx + 0x10], edi
mov byte [ecx + 1], 0xfe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x1c]
mov dword [esp + 0x28], ecx
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0x10]
mov edx, dword [edi + 0xc]
push ebx
push edx
push esi
call fcn.1003bb20
add esp, 0xc
mov dword [esp + 0x28], eax
cmp eax, ebx
je 0x1003bdbc
mov edi, ebx
mov ebx, eax
mov eax, dword [esp + 0x14]
mov edx, 0x1f
call fcn.10024400
mov eax, edi
mov dword [esp + 0x28], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
xor edi, edi
call fcn.100434d0
mov ebx, dword [ebp + 0x10]
movsx edi, al
mov eax, dword [esp + 0x14]
mov edx, 0x28
call fcn.10024400
mov edi, dword [esp + 0x28]
mov ecx, 1
mov eax, esi
call fcn.1003b510
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0xc]
lea edx, [esp + 0x1c]
push edx
call fcn.1003ca30
mov ebx, eax
lea eax, [esp + 0x14]
add esp, 4
push eax
mov eax, dword [edi + 0x10]
call fcn.1003ca30
mov ecx, dword [esp + 0x10]
add esp, 4
push 0x20
mov edx, dword [edi + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push ebx
push ecx
mov ecx, dword [edi + 0x10]
push esi
call fcn.10038060
add esp, 0x14
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x1003c8e2
mov dl, byte [esi + 0x13]
cmp dl, 8
jae 0x1003c8e2
xor eax, eax
lea ecx, [esi + 0x7c]
lea ebx, [eax + 1]
cmp dword [ecx + 0xc], edi
je 0x1003c8dd
add eax, ebx
add ecx, 0x14
cmp eax, 0xa
jl 0x1003be53
movzx ecx, dl
mov dword [esi + ecx*4 + 0x1c], edi
add byte [esi + 0x13], bl
jmp 0x1003c8e7
mov eax, dword [edi + 0xc]
lea edx, [esp + 0x1c]
push edx
call fcn.1003ca30
mov ebx, eax
lea eax, [esp + 0x14]
add esp, 4
push eax
mov eax, dword [edi + 0x10]
call fcn.1003ca30
add esp, 4
xor ecx, ecx
cmp dword [esp + 0xc], 0x49
push 0xa0
sete cl
add ecx, 0x4e
jmp 0x1003be1e
mov eax, dword [edi + 0xc]
lea edx, [esp + 0x1c]
push edx
call fcn.1003ca30
mov ecx, dword [ebp + 0xc]
mov edi, eax
lea eax, [esp + 0x14]
add esp, 4
push eax
mov eax, dword [ecx + 0x10]
call fcn.1003ca30
mov edx, dword [ebp + 0x10]
add esp, 4
push edx
push edi
push eax
mov eax, dword [esp + 0x18]
push eax
mov ecx, ebx
push ecx
call fcn.100242d0
jmp 0x1003be30
mov eax, dword [edi + 0xc]
mov cl, byte [eax]
cmp cl, 0x84
jne 0x1003bf10
mov edx, dword [ebp + 0x10]
push edx
push 1
push esi
call fcn.1003b230
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov dword [esp + 0x28], ecx
jmp 0x1003be33
cmp cl, 0x85
jne 0x1003bf34
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [eax + 8]
push 1
mov eax, ebx
call fcn.1003b120
mov ecx, dword [ebp + 0x10]
add esp, 8
mov dword [esp + 0x28], ecx
jmp 0x1003be33
mov dword [esp + 0x40], edx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x3c]
mov byte [esp + 0x3c], 0x84
mov dword [esp + 0x40], 0x4400
call fcn.1003ca30
mov ecx, dword [ebp + 0xc]
mov edi, eax
lea eax, [esp + 0x14]
add esp, 4
push eax
mov eax, dword [ecx + 0xc]
call fcn.1003ca30
mov edx, dword [ebp + 0x10]
add esp, 4
push edx
push edi
push eax
mov eax, ebx
push 0x5a
push eax
call fcn.100242d0
mov ecx, dword [ebp + 0x10]
add esp, 0x14
mov dword [esp + 0x28], ecx
jmp 0x1003be33
lea edx, [esp + 0x1c]
mov eax, edi
mov eax, dword [eax + 0xc]
push edx
call fcn.1003ca30
mov edi, dword [ebp + 0x10]
mov edx, dword [esp + 0x10]
mov ebx, eax
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x28], edi
call fcn.10024400
jmp 0x1003be33
mov edi, dword [ebp + 0x10]
mov eax, dword [esp + 0x14]
mov ebx, 1
lea edx, [ebx + 0x15]
call fcn.10024400
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
lea ecx, [esp + 0x1c]
push ecx
call fcn.1003ca30
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov edi, eax
add esp, 4
mov eax, esi
call fcn.100243a0
mov edi, dword [ebp + 0x10]
xor ebx, ebx
mov dword [esp + 0x24], eax
lea edx, [ebx + 0x16]
mov eax, esi
call fcn.10024400
mov ecx, dword [esp + 0x24]
mov eax, esi
call fcn.10024c90
mov esi, dword [ebp + 8]
jmp 0x1003be33
mov eax, dword [edi + 0x28]
cmp eax, edx
jne 0x1003c039
mov eax, dword [edi + 8]
push eax
push str.misuse_of_aggregate:__s__
push esi
call fcn.10006e10
mov eax, dword [esp + 0x34]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movsx ecx, word [edi + 0x22]
mov edx, dword [eax + 0x28]
add ecx, ecx
mov eax, dword [edx + ecx*8 + 8]
mov dword [esp + 0x28], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dword [edi + 4], 0x4000
mov cl, byte [ecx + 0x42]
mov dword [esp + 0x2c], edx
mov byte [esp + 0x24], cl
mov dword [esp + 0x34], edx
je 0x1003c165
mov dword [esp + 0x30], edx
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x24]
mov eax, dword [edi + 8]
mov edx, dword [esp + 0x10]
push 0
push ecx
push edx
push eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
push eax
call fcn.10049250
add esp, 0x14
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1003c397
cmp dword [eax + 0x10], 0
jne 0x1003c397
movzx eax, word [eax + 2]
test eax, 0x200
je 0x1003c181
mov eax, ebx
call fcn.10024930
mov edx, dword [esp + 0x30]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 4]
push ecx
mov ecx, dword [eax]
push ecx
push esi
call fcn.1003cbd0
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp eax, 1
jle 0x1003c149
dec eax
mov dword [esp + 0x18], 0x18
mov dword [esp + 0x20], eax
mov edi, dword [esp + 0x2c]
mov ebx, dword [ebp + 0x10]
mov eax, dword [esp + 0x14]
mov edx, 0x4d
call fcn.10024400
mov edi, dword [ebp + 0x10]
mov ebx, 1
mov ecx, ebx
mov eax, esi
call fcn.1003b510
add dword [esi + 0x6c], ebx
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 4]
push edi
mov edi, dword [esp + 0x1c]
mov ecx, dword [edi + eax]
push ecx
push esi
call fcn.1003cbd0
add esp, 0xc
mov eax, esi
call fcn.1003b610
add edi, 0x18
sub dword [esp + 0x20], ebx
mov dword [esp + 0x18], edi
jne 0x1003c0f3
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
push edx
call fcn.10024980
mov eax, dword [esp + 0x2c]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x14]
mov dword [esp + 0x30], eax
cmp eax, edx
je 0x1003c071
mov edx, eax
mov eax, dword [edx]
mov dword [esp + 0x10], eax
jmp 0x1003c075
test eax, 0x400
je 0x1003c1aa
mov ecx, dword [esp + 0x30]
mov eax, dword [ebp + 0x10]
mov edx, dword [ecx + 4]
push eax
mov eax, dword [edx]
push eax
push esi
call fcn.1003bb20
add esp, 0xc
mov dword [esp + 0x28], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], 1
test ecx, ecx
jle 0x1003c234
mov dword [esp + 0xc], eax
cmp eax, 0x20
jge 0x1003c1e8
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0xc]
mov ecx, dword [edx + eax]
call fcn.10039b20
test eax, eax
je 0x1003c1e8
mov ecx, dword [esp + 0x18]
or dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x1c]
test byte [edx + 2], 0x20
je 0x1003c214
cmp dword [esp + 0x34], 0
jne 0x1003c214
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0xc]
mov ecx, dword [ecx + edx]
push esi
call fcn.10037e00
add esp, 4
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
add dword [esp + 0xc], 0x18
inc eax
rol ecx, 1
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], eax
cmp eax, ecx
jl 0x1003c1c4
cmp dword [esp + 0x30], 0
je 0x1003c2b0
cmp dword [esp + 0x2c], 0
je 0x1003c253
mov eax, dword [esi + 0x4c]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0xc], edx
mov dword [esi + 0x4c], eax
jmp 0x1003c265
mov esi, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
call fcn.1003dfe0
mov dword [esp + 0xc], eax
mov esi, ecx
mov edx, dword [esp + 0x1c]
test byte [edx + 2], 0xc0
je 0x1003c28d
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov cl, byte [eax]
cmp cl, 0x98
je 0x1003c284
cmp cl, 0x9a
jne 0x1003c28d
mov dl, byte [edx + 2]
and dl, 0xc0
mov byte [eax + 0x26], dl
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
inc dword [esi + 0x6c]
push 3
push 0
push eax
push ecx
push esi
call fcn.1003cdd0
add esp, 0x14
mov eax, esi
call fcn.1003b610
jmp 0x1003c2b8
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x10]
cmp eax, 2
jl 0x1003c2d3
test byte [edi + 4], 0x80
je 0x1003c2d3
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 4]
mov eax, dword [eax + 0x18]
jmp 0x1003c2e0
test eax, eax
jle 0x1003c2fb
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push ecx
call fcn.1006a050
mov dword [esp + 0x28], eax
add esp, 0xc
mov edx, dword [esp + 0x1c]
test byte [edx + 2], 0x20
je 0x1003c330
cmp dword [esp + 0x34], 0
jne 0x1003c317
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 8]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x34]
push 0xfffffffffffffffc
push edx
push 0
push 0x22
xor eax, eax
xor edx, edx
mov ecx, ebx
call fcn.10024690
add esp, 0x10
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0xc]
push 0xfffffffffffffffb
push eax
mov eax, dword [ebp + 0x10]
push ecx
push 0x23
mov ecx, ebx
call fcn.10024690
mov edi, dword [esp + 0x20]
push edi
mov ecx, ebx
call fcn.10024c70
add esp, 0x14
test edi, edi
je 0x1003c919
cmp dword [esp + 0x2c], 0
jne 0x1003c919
mov ebx, edi
mov edi, dword [esp + 0xc]
mov ecx, ebx
mov eax, esi
call fcn.1003b510
cmp ebx, dword [esi + 0x3c]
jle 0x1003c919
mov eax, dword [esp + 0x28]
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x18]
push edx
push str.unknown_function:__s__
push esi
call fcn.10006e10
mov eax, dword [esp + 0x34]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push edi
push esi
call fcn.1003a4c0
add esp, 0x10
mov dword [esp + 0x28], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, ebx
mov eax, edi
call fcn.10024930
mov dword [esp + 0x24], eax
mov eax, edi
call fcn.10024930
mov edi, dword [ebp + 0x10]
xor ebx, ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
lea edx, [ebx + 0x19]
call fcn.10024400
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 0xc]
push eax
push ecx
push edx
push esi
call fcn.1003aa70
mov esi, dword [esp + 0x24]
mov ebx, 1
lea edx, [ebx + 0x15]
mov eax, esi
call fcn.10024400
mov eax, dword [esp + 0x34]
push eax
mov ecx, esi
call fcn.10024980
mov ebx, dword [ebp + 0x10]
xor edi, edi
add esp, 0x14
lea edx, [edi + 0x25]
mov eax, esi
call fcn.10024400
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, esi
call fcn.10024980
mov eax, dword [esp + 0x2c]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x14]
mov eax, dword [edx + 4]
mov ebx, dword [edi + 0xc]
mov edi, dword [eax]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push eax
mov eax, ebx
mov dword [esp + 0x24], edi
call fcn.1003ca30
lea ecx, [esp + 0x14]
add esp, 4
mov dword [esp + 0xc], eax
mov eax, edi
push ecx
mov edi, esi
call fcn.1003ca30
add esp, 4
mov ecx, edi
mov edx, eax
call fcn.1003df90
mov esi, eax
mov dword [esp + 0x2c], esi
call fcn.1003df90
mov ecx, dword [esp + 0x20]
push 0x20
push edx
mov edx, dword [esp + 0x14]
push edx
mov dword [esp + 0x30], eax
push 0x53
push edi
mov eax, esi
mov edx, ebx
call fcn.10038060
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x18]
mov esi, dword [esp + 0x24]
add esp, 0x14
mov edx, edi
mov dword [esp + 0x20], ecx
call fcn.1003dfb0
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x10]
push edx
mov esi, edi
call fcn.1003ca30
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
add esp, 4
push 0x20
push eax
mov eax, dword [esp + 0x14]
push eax
push 0x51
push edi
mov eax, esi
mov edx, ebx
call fcn.10038060
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x28]
add esp, 0x14
push ecx
push esi
mov esi, dword [esp + 0x34]
push esi
push 0x48
push edx
call fcn.100242d0
add esp, 0x14
mov edx, edi
call fcn.1003dfb0
mov esi, dword [esp + 0x24]
call fcn.1003dfb0
mov esi, edx
jmp 0x1003be33
mov eax, dword [ebp + 0x10]
mov ecx, dword [edi + 0xc]
push eax
push ecx
push esi
call fcn.1003bb20
add esp, 0xc
mov dword [esp + 0x28], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
mov esi, dword [eax + 0x2c]
movsx edx, word [esi + 0x22]
mov edi, dword [ebp + 0x10]
inc edx
imul edx, dword [eax + 0x1c]
movsx eax, word [eax + 0x20]
lea ebx, [edx + eax + 1]
mov eax, dword [esp + 0x14]
mov edx, 0x86
call fcn.10024400
mov ecx, dword [ebp + 0xc]
movzx eax, word [ecx + 0x20]
test ax, ax
js 0x1003c919
movsx edx, ax
mov eax, dword [esi + 4]
add edx, edx
cmp byte [eax + edx*8 + 0xd], 0x45
jne 0x1003c919
mov eax, dword [esp + 0x14]
mov ebx, 0x27
call fcn.100243a0
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x1a4], edx
jne 0x1003c5d6
push str.RAISE___may_only_be_used_within_a_trigger_program
push esi
call fcn.10006e10
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [edi + 1], 2
jne 0x1003c5e3
mov ecx, esi
call fcn.10048130
mov al, byte [edi + 1]
push 0
cmp al, 4
jne 0x1003c60e
mov ecx, dword [edi + 8]
push ecx
xor eax, eax
push 0
push 0x15
lea edx, [eax + 4]
mov ecx, ebx
call fcn.10024690
mov eax, dword [esp + 0x38]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, edi
mov ecx, dword [edx + 8]
push 0
push ecx
movsx ebx, al
push 0x713
mov eax, esi
call fcn.10048150
mov eax, dword [esp + 0x38]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x14]
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x30], eax
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x74]
mov dword [esp + 0x20], edx
lea edx, [eax + 1]
mov dword [ecx + 0x74], edx
lea edx, [eax - 1]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], eax
test eax, edx
jne 0x1003c68e
lea ecx, [eax*8 + 4]
push 0
push ecx
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x78]
mov ecx, dword [ecx]
call fcn.100045e0
mov edx, dword [esp + 0x20]
mov dword [edx + 0x78], eax
mov eax, dword [esp + 0x2c]
add esp, 8
mov ecx, edx
mov ecx, dword [ecx + 0x78]
test ecx, ecx
je 0x1003c69c
mov dword [ecx + eax*4], 0xffffffff
mov edi, dword [edi + 0xc]
or ecx, 0xffffffff
sub ecx, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], edi
test edi, edi
je 0x1003c6fd
mov eax, edi
mov esi, eax
mov ecx, 0xc
lea edi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x1c]
push ecx
call fcn.1003ca30
mov dl, byte [esp + 0x3c]
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], 0x4f
mov dword [esp + 0x74], eax
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x10]
dec eax
test eax, eax
jle 0x1003c831
mov ecx, dword [esp + 0x20]
dec eax
shr eax, 1
inc eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0xc], eax
jmp 0x1003c724
mov ecx, dword [esp + 0x20]
inc dword [esi + 0x6c]
cmp dword [esp + 0x24], 0
je 0x1003c736
mov edx, dword [ecx]
mov dword [esp + 0x78], edx
jmp 0x1003c73c
mov eax, dword [ecx]
mov dword [esp + 0x2c], eax
mov edi, dword [ebx + 0x18]
mov eax, dword [edi + 0x74]
lea edx, [eax - 1]
lea ecx, [eax + 1]
mov dword [esp + 0x34], eax
mov dword [edi + 0x74], ecx
test eax, edx
jne 0x1003c771
mov ecx, dword [edi]
lea eax, [eax*8 + 4]
push 0
push eax
mov eax, dword [edi + 0x78]
call fcn.100045e0
mov dword [edi + 0x78], eax
mov eax, dword [esp + 0x3c]
add esp, 8
mov edi, dword [edi + 0x78]
test edi, edi
je 0x1003c77f
mov dword [edi + eax*4], 0xffffffff
mov ecx, dword [esp + 0x2c]
or edi, 0xffffffff
sub edi, dword [esp + 0x34]
push 0x10
push edi
push ecx
push esi
call fcn.1003d460
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x18]
push edx
push ecx
push esi
call fcn.1003cbd0
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
add esp, 0x1c
cmp dword [edx + 0x58], eax
jg 0x1003c7d2
mov eax, dword [esp + 0x18]
push 0
push eax
push 0
push 0xd
mov esi, ebx
call fcn.10024290
mov ebx, dword [esp + 0x24]
mov esi, dword [ebp + 8]
add esp, 0x10
jmp 0x1003c7fc
lea ecx, [eax + 1]
mov dword [ebx + 0x20], ecx
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x18]
xor ecx, ecx
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 word [eax], 0xd
mov eax, esi
call fcn.1003b610
mov ecx, dword [ebx + 0x18]
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x1003c81b
lea edx, [edi*4 + 4]
sub eax, edx
mov edx, dword [ebx + 0x20]
mov dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [esp + 0x20], 0x30
dec eax
dec dword [esp + 0xc]
mov dword [ecx + 0x60], eax
jne 0x1003c720
mov eax, dword [esp + 0x10]
test al, 1
je 0x1003c861
mov ecx, dword [ebp + 0x10]
inc dword [esi + 0x6c]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [eax + 4]
mov edx, dword [ecx + edx*8 - 0x18]
push edx
push esi
call fcn.1003cbd0
add esp, 0xc
mov eax, esi
call fcn.1003b610
jmp 0x1003c8af
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
cmp dword [ecx + 0x58], eax
jg 0x1003c886
mov edx, dword [ebp + 0x10]
push 0
push edx
push 0
push 0x19
mov esi, ebx
call fcn.10024290
mov ebx, dword [esp + 0x24]
add esp, 0x10
jmp 0x1003c8af
lea ecx, [eax + 1]
mov dword [ebx + 0x20], ecx
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
lea eax, [eax + edx*4]
mov edx, dword [ebp + 0x10]
xor ecx, ecx
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 word [eax], 0x19
mov ecx, dword [ebx + 0x18]
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x1003c8cb
mov edx, dword [esp + 0x18]
lea edx, [edx*4 + 4]
sub eax, edx
mov edx, dword [ebx + 0x20]
mov dword [eax], edx
mov eax, dword [ebx + 0x20]
dec eax
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], bl
jmp 0x1003c8e7
mov ebx, 1
mov edi, dword [esp + 0x10]
test edi, edi
je 0x1003c919
mov dl, byte [esi + 0x13]
cmp dl, 8
jae 0x1003c919
xor eax, eax
lea ecx, [esi + 0x7c]
lea esp, [esp]
cmp dword [ecx + 0xc], edi
je 0x1003c924
add eax, ebx
add ecx, 0x14
cmp eax, 0xa
jl 0x1003c900
movzx edx, dl
mov dword [esi + edx*4 + 0x1c], edi
add byte [esi + 0x13], bl
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x28]
pop edi
pop esi
mov byte [ecx + 6], bl
pop ebx
mov esp, ebp
pop ebp
ret