Function at 0x1002c3ec
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
mov edx, 0x21
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x1002c3f4
lea edx, [esp + 0x1c]
push edx
push 0
push 5
push 0x13
push 4
call fcn.100373ce
lea edx, [esp + 0x24]
push edx
push 0
push 5
push 1
push 4
call fcn.100373ce
lea edx, [esp + 0x2c]
push edx
push 0
push 5
push 1
push 4
call fcn.100373ce
lea edx, str.tickets
lea ecx, [esp + 0x34]
call fcn.10031008
mov word [esp + 0x38], 7
movzx ebx, word [esp + 0x38]
mov eax, 5
cmp ebx, eax
jl 0x1002c48e
movzx ebx, word [esp + 0x38]
dec ebx
push ebx
pop eax
mov word [esp + 0x3c], ax
jmp 0x1002c49b
movzx ebx, word [esp + 0x38]
inc ebx
push ebx
pop eax
mov word [esp + 0x3c], ax
movzx ebx, word [esp + 0x3c]
push ebx
mov ebx, 0xb
cmp ebx, dword [esp]
jne 0x1002c4b5
add esp, 4
jmp 0x1002cb5b
mov ebx, 9
cmp ebx, dword [esp]
jne 0x1002c4cd
movzx eax, word [esp + 0x40]
push eax
pop eax
mov word [esp + 0x3c], ax
jmp 0x1002c4e4
mov ebx, 5
cmp ebx, dword [esp]
jne 0x1002c4e4
movzx ebx, word [esp + 0x40]
inc ebx
push ebx
pop eax
mov word [esp + 0x3c], ax
pop eax
push 5
call fcn.1002b97e
mov ebx, eax
add ebx, 0x101
mov dword [esp + 0xc], ebx
push 5
call fcn.1002b97e
mov ebx, eax
inc ebx
mov dword [esp + 0x10], ebx
lea edx, str.shed
lea ecx, [esp + 0x40]
call fcn.10031008
push 4
call fcn.1002b97e
mov ebx, eax
add ebx, 4
mov dword [esp + 0x14], ebx
mov dword [esp + 4], 0
jmp 0x1002c538
mov ebx, dword [esp + 0x14]
dec ebx
cmp ebx, dword [esp + 4]
jl 0x1002c56f
push 3
call fcn.1002b97e
push eax
mov ebx, dword [esp + 8]
mov ebp, dword [0x10041fd8]
movzx ebx, byte [ebp + ebx]
mov ebp, dword [esp + 0x20]
shl ebx, 2
pop eax
mov dword [ebp + ebx], eax
inc dword [esp + 4]
jno 0x1002c538
lea edx, str.glue
lea ecx, [esp + 0x44]
call fcn.10031008
push 0x13
push dword [esp + 0x1c]
lea edx, [esp + 0x34]
push edx
lea edx, [esp + 0x30]
push edx
lea edx, [esp + 0x2c]
push edx
call fcn.10004559
mov ebx, eax
and ebx, ebx
je 0x1002c6f0
mov word [esp + 0x48], 4
movzx ebx, word [esp + 0x48]
mov eax, 4
cmp ebx, eax
jl 0x1002c5c9
movzx ebx, word [esp + 0x48]
dec ebx
push ebx
pop eax
mov word [esp + 0x4c], ax
jmp 0x1002c5d6
movzx ebx, word [esp + 0x48]
inc ebx
push ebx
pop eax
mov word [esp + 0x4c], ax
movzx ebx, word [esp + 0x4c]
push ebx
mov ebx, 0xc
cmp ebx, dword [esp]
jne 0x1002c5f0
add esp, 4
jmp 0x1002cb5b
mov ebx, 9
cmp ebx, dword [esp]
jne 0x1002c608
movzx eax, word [esp + 0x50]
push eax
pop eax
mov word [esp + 0x4c], ax
jmp 0x1002c61f
mov ebx, 4
cmp ebx, dword [esp]
jne 0x1002c61f
movzx ebx, word [esp + 0x50]
inc ebx
push ebx
pop eax
mov word [esp + 0x4c], ax
pop eax
push dword [esp + 0x1c]
call fcn.10037576
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x1002c639
push dword [esp + 0x1c]
call fcn.10037584
mov word [esp + 0x50], 8
movzx ebx, word [esp + 0x50]
mov eax, 5
cmp ebx, eax
jl 0x1002c65d
movzx ebx, word [esp + 0x50]
dec ebx
push ebx
pop eax
mov word [esp + 0x54], ax
jmp 0x1002c66a
movzx ebx, word [esp + 0x50]
inc ebx
push ebx
pop eax
mov word [esp + 0x54], ax
movzx ebx, word [esp + 0x54]
push ebx
mov ebx, 0x10
cmp ebx, dword [esp]
jne 0x1002c684
add esp, 4
jmp 0x1002cb5b
mov ebx, 5
cmp ebx, dword [esp]
jne 0x1002c69c
movzx eax, word [esp + 0x58]
push eax
pop eax
mov word [esp + 0x54], ax
jmp 0x1002c6b3
mov ebx, 3
cmp ebx, dword [esp]
jne 0x1002c6b3
movzx ebx, word [esp + 0x58]
inc ebx
push ebx
pop eax
mov word [esp + 0x54], ax
pop eax
push dword [esp + 0x24]
call fcn.10037576
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x1002c6cd
push dword [esp + 0x24]
call fcn.10037584
push dword [esp + 0x2c]
call fcn.10037576
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x1002c6e6
push dword [esp + 0x2c]
call fcn.10037584
xor eax, eax
movsx eax, al
jmp 0x1002cb5b
mov word [esp + 0x58], 5
movzx ebx, word [esp + 0x58]
mov eax, 3
cmp ebx, eax
jl 0x1002c714
movzx ebx, word [esp + 0x58]
dec ebx
push ebx
pop eax
mov word [esp + 0x5c], ax
jmp 0x1002c721
movzx ebx, word [esp + 0x58]
inc ebx
push ebx
pop eax
mov word [esp + 0x5c], ax
movzx ebx, word [esp + 0x5c]
push ebx
mov ebx, 0xf
cmp ebx, dword [esp]
jne 0x1002c73b
add esp, 4
jmp 0x1002cb5b
mov ebx, 8
cmp ebx, dword [esp]
jne 0x1002c753
movzx eax, word [esp + 0x60]
push eax
pop eax
mov word [esp + 0x5c], ax
jmp 0x1002c76a
mov ebx, 4
cmp ebx, dword [esp]
jne 0x1002c76a
movzx ebx, word [esp + 0x60]
inc ebx
push ebx
pop eax
mov word [esp + 0x5c], ax
pop eax
push dword [esp + 0x1c]
call fcn.10037576
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x1002c784
push dword [esp + 0x1c]
call fcn.10037584
mov ebx, dword [esp + 0xc]
add ebx, dword [esp + 0x10]
dec ebx
mov eax, ebx
inc eax
lea edx, [esp + 0x60]
push edx
push 0
push 5
push eax
push 4
call fcn.100373ce
mov dword [esp + 4], 0
mov ebx, dword [esp + 4]
mov edi, dword [esp + 0xc]
add edi, dword [esp + 0x10]
cmp ebx, edi
jge 0x1002c93d
push dword [esp + 0x18]
lea edx, [esp + 0x30]
push edx
lea edx, [esp + 0x2c]
push edx
call fcn.1001a31f
mov dword [esp], eax
mov ebx, dword [esp]
cmp ebx, 0x10
jge 0x1002c805
push dword [esp]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0x64]
shl ebx, 2
pop eax
mov dword [ebp + ebx], eax
mov ebx, dword [esp + 4]
inc ebx
mov dword [esp + 4], ebx
jmp 0x1002c938
push dword [esp]
mov ebx, 0x10
cmp ebx, dword [esp]
jne 0x1002c840
mov ebx, dword [esp + 8]
dec ebx
mov ebp, dword [esp + 0x64]
shl ebx, 2
push dword [ebp + ebx]
pop eax
mov dword [esp + 4], eax
mov ebx, dword [esp + 8]
push 2
call fcn.1002b97e
add ebx, eax
add ebx, 3
mov dword [esp + 0xc], ebx
jmp 0x1002c894
mov ebx, 0x11
cmp ebx, dword [esp]
jne 0x1002c86b
mov dword [esp + 4], 0
mov ebx, dword [esp + 8]
push 3
call fcn.1002b97e
add ebx, eax
add ebx, 3
mov dword [esp + 0xc], ebx
jmp 0x1002c894
mov ebx, 0x12
cmp ebx, dword [esp]
jne 0x1002c894
mov dword [esp + 4], 0
mov ebx, dword [esp + 8]
push 7
call fcn.1002b97e
add ebx, eax
add ebx, 0xb
mov dword [esp + 0xc], ebx
pop eax
mov ebx, dword [esp + 4]
cmp ebx, dword [esp + 8]
jge 0x1002c8bd
push dword [esp]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0x64]
shl ebx, 2
pop eax
mov dword [ebp + ebx], eax
mov ebx, dword [esp + 4]
inc ebx
mov dword [esp + 4], ebx
jmp 0x1002c895
mov word [esp + 0x68], 2
movzx ebx, word [esp + 0x68]
mov eax, 1
cmp ebx, eax
jl 0x1002c8e1
movzx ebx, word [esp + 0x68]
dec ebx
push ebx
pop eax
mov word [esp + 0x6c], ax
jmp 0x1002c8ee
movzx ebx, word [esp + 0x68]
inc ebx
push ebx
pop eax
mov word [esp + 0x6c], ax
movzx ebx, word [esp + 0x6c]
push ebx
mov ebx, 0xf
cmp ebx, dword [esp]
jne 0x1002c908
add esp, 4
jmp 0x1002cb5b
mov ebx, 5
cmp ebx, dword [esp]
jne 0x1002c920
movzx eax, word [esp + 0x70]
push eax
pop eax
mov word [esp + 0x6c], ax
jmp 0x1002c937
mov ebx, 4
cmp ebx, dword [esp]
jne 0x1002c937
movzx ebx, word [esp + 0x70]
inc ebx
push ebx
pop eax
mov word [esp + 0x6c], ax
pop eax
jmp 0x1002c7b2
push dword [esp + 0x24]
call fcn.10037576
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x1002c9d5
push dword [esp + 0x24]
call fcn.10037584
mov word [esp + 0x70], 2
movzx ebx, word [esp + 0x70]
mov eax, 4
cmp ebx, eax
jl 0x1002c97e
movzx ebx, word [esp + 0x70]
dec ebx
push ebx
pop eax
mov word [esp + 0x74], ax
jmp 0x1002c98b
movzx ebx, word [esp + 0x70]
inc ebx
push ebx
pop eax
mov word [esp + 0x74], ax
movzx ebx, word [esp + 0x74]
push ebx
mov ebx, 0x12
cmp ebx, dword [esp]
jne 0x1002c9a5
add esp, 4
jmp 0x1002cb5b
mov ebx, 8
cmp ebx, dword [esp]
jne 0x1002c9bd
movzx eax, word [esp + 0x78]
push eax
pop eax
mov word [esp + 0x74], ax
jmp 0x1002c9d4
mov ebx, 4
cmp ebx, dword [esp]
jne 0x1002c9d4
movzx ebx, word [esp + 0x78]
inc ebx
push ebx
pop eax
mov word [esp + 0x74], ax
pop eax
push dword [esp + 0x2c]
call fcn.10037576
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x1002c9ee
push dword [esp + 0x2c]
call fcn.10037584
lea edx, str.jazz
lea ecx, [esp + 0x78]
call fcn.10031008
push dword [esp + 0xc]
push dword [0x10041f84]
push 0x10042058
push 0x10042050
lea edx, [esp + 0x70]
push edx
call fcn.10004559
mov ebx, eax
and ebx, ebx
je 0x1002ca2b
xor eax, eax
movsx eax, al
jmp 0x1002cb5b
mov ebx, dword [esp + 0x10]
cmp ebx, 1
jne 0x1002ca49
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x60]
shl ebx, 2
mov ebx, dword [ebp + ebx]
and ebx, ebx
jne 0x1002ca49
jmp 0x1002ca50
mov eax, 1
jmp 0x1002ca52
xor eax, eax
and eax, eax
je 0x1002cb4f
mov dword [esp + 4], 0
jmp 0x1002ca64
mov ebx, dword [esp + 0x10]
dec ebx
cmp ebx, dword [esp + 4]
jl 0x1002ca94
mov ebx, dword [esp + 4]
add ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x60]
shl ebx, 2
push dword [ebp + ebx]
mov ebx, dword [esp + 8]
shl ebx, 2
pop eax
mov dword [ebp + ebx], eax
inc dword [esp + 4]
jno 0x1002ca64
push dword [esp + 0x10]
push dword [0x10041f44]
push 0x10042068
push 0x10042060
lea edx, [esp + 0x70]
push edx
call fcn.10004559
mov ebx, eax
and ebx, ebx
je 0x1002cac2
xor eax, eax
movsx eax, al
jmp 0x1002cb5b
mov word [esp + 0x7c], 4
movzx ebx, word [esp + 0x7c]
mov eax, 4
cmp ebx, eax
jl 0x1002cae9
movzx ebx, word [esp + 0x7c]
dec ebx
push ebx
pop eax
mov word [esp + 0x80], ax
jmp 0x1002caf9
movzx ebx, word [esp + 0x7c]
inc ebx
push ebx
pop eax
mov word [esp + 0x80], ax
movzx ebx, word [esp + 0x80]
push ebx
mov ebx, 0xb
cmp ebx, dword [esp]
jne 0x1002cb13
add esp, 4
jmp 0x1002cb5b
mov ebx, 6
cmp ebx, dword [esp]
jne 0x1002cb31
movzx eax, word [esp + 0x84]
push eax
pop eax
mov word [esp + 0x80], ax
jmp 0x1002cb4e
mov ebx, 5
cmp ebx, dword [esp]
jne 0x1002cb4e
movzx ebx, word [esp + 0x84]
inc ebx
push ebx
pop eax
mov word [esp + 0x80], ax
pop eax
mov eax, 1
movsx eax, al
jmp 0x1002cb5b
push dword [esp + 0x40]
call fcn.10037d30
push dword [esp + 0x78]
call fcn.10037d30
push dword [esp + 0x44]
call fcn.10037d30
push dword [esp + 0x34]
call fcn.10037d30
push eax
push dword [esp + 0x20]
call fcn.10037589
push dword [esp + 0x28]
call fcn.10037589
push dword [esp + 0x30]
call fcn.10037589
push dword [esp + 0x64]
call fcn.10037589
pop eax
add esp, 0x84
pop edi
pop ebx
pop ebp
ret