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

Disassembly:
push ebp
push ebx
mov edx, 0x26
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x10018c53
mov edx, dword [esp + 0xa4]
lea ecx, [esp]
call fcn.10031000
mov word [esp + 0x44], 0xa
movzx ebx, word [esp + 0x44]
mov eax, 1
cmp ebx, eax
jl 0x10018c93
movzx ebx, word [esp + 0x44]
dec ebx
push ebx
pop eax
mov word [esp + 0x48], ax
jmp 0x10018ca0
movzx ebx, word [esp + 0x44]
inc ebx
push ebx
pop eax
mov word [esp + 0x48], ax
movzx ebx, word [esp + 0x48]
push ebx
mov ebx, 0x11
cmp ebx, dword [esp]
jne 0x10018cba
add esp, 4
jmp 0x10019733
mov ebx, 8
cmp ebx, dword [esp]
jne 0x10018cd2
movzx eax, word [esp + 0x4c]
push eax
pop eax
mov word [esp + 0x48], ax
jmp 0x10018ce9
mov ebx, 4
cmp ebx, dword [esp]
jne 0x10018ce9
movzx ebx, word [esp + 0x4c]
inc ebx
push ebx
pop eax
mov word [esp + 0x48], ax
pop eax
push dword [esp]
lea edx, [0x1003d028]
pop ecx
call fcn.100311d0
je 0x10018d05
xor eax, eax
movsx eax, al
jmp 0x10019733
push dword [0x10044d80]
call fcn.1001129a
lea eax, [esp + 8]
push eax
call fcn.1003ad80
mov edx, dword [esp + 4]
xor ecx, ecx
call fcn.100311d0
jne 0x1001966c
push dword [0x10044d80]
push dword [esp + 8]
call fcn.1001a00e
lea eax, [esp + 0xc]
push eax
call fcn.1003ad80
lea edx, [0x1003d028]
lea ecx, [esp + 4]
call fcn.10031008
lea edx, str.ethics
lea ecx, [esp + 0x4c]
call fcn.10031008
lea edx, [esp + 0x50]
push edx
push 0x1003f1c8
push 8
push 4
push 4
call fcn.1003a3c2
push 3
call fcn.1000ecea
mov dword [esp + 0x40], eax
mov ebx, dword [esp + 0x40]
and ebx, ebx
jne 0x10018d9b
jmp 0x10019733
push dword [esp + 0x50]
mov ebp, dword [esp + 0x44]
push ebp
pop eax
push dword [ebp]
call fcn.1003a686
push dword [esp + 0x40]
call fcn.1003a910
mov dword [esp + 0x40], 0
mov edx, dword [esp + 8]
xor ecx, ecx
call fcn.100311d0
jne 0x1001966c
mov ebp, dword [esp + 0x50]
mov edx, dword [ebp + 4]
push dword [0x10044d80]
push edx
call fcn.1003ad20
lea eax, [esp + 0x28]
push eax
call fcn.1003ad80
mov word [esp + 0x58], 9
movzx ebx, word [esp + 0x58]
mov eax, 2
cmp ebx, eax
jl 0x10018e10
movzx ebx, word [esp + 0x58]
dec ebx
push ebx
pop eax
mov word [esp + 0x5c], ax
jmp 0x10018e1d
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, 0xa
cmp ebx, dword [esp]
jne 0x10018e37
add esp, 4
jmp 0x10019733
mov ebx, 7
cmp ebx, dword [esp]
jne 0x10018e4f
movzx eax, word [esp + 0x60]
push eax
pop eax
mov word [esp + 0x5c], ax
jmp 0x10018e66
mov ebx, 5
cmp ebx, dword [esp]
jne 0x10018e66
movzx ebx, word [esp + 0x60]
inc ebx
push ebx
pop eax
mov word [esp + 0x5c], ax
pop eax
mov ebp, dword [esp + 0x50]
mov edx, dword [ebp + 8]
push dword [0x10044d80]
push edx
call fcn.1003ad20
lea eax, [esp + 0x2c]
push eax
call fcn.1003ad80
mov edx, dword [ebp + 0xc]
push dword [0x10044d80]
push edx
call fcn.1003ad20
lea eax, [esp + 0x38]
push eax
call fcn.1003ad80
lea edx, str.waves
lea ecx, [esp + 0x60]
call fcn.10031008
lea eax, [esp + 0x1c]
lea edx, [0x1003d0c6]
push edx
push 1
push eax
call fcn.1003ae30
lea eax, [esp + 0x20]
lea edx, [0x1003ea9c]
push edx
push 2
push eax
call fcn.1003ae30
lea edx, str.fruits
lea ecx, [esp + 0x64]
call fcn.10031008
push dword [0x10044d80]
push 0x3e
call fcn.1001251d
lea eax, [esp + 0x34]
push 1
push eax
call fcn.1003ae00
push dword [0x10044d80]
push dword [0x10044d80]
push 0
push 1
call fcn.100316d0
push dword [0x10044d80]
push 0x2e
call fcn.1001251d
pop eax
push dword [0x10044d80]
push dword [0x10044d80]
push 0
push 0
call fcn.100316d0
pop eax
lea eax, [esp + 0x3c]
push 3
push eax
call fcn.1003ae00
mov word [esp + 0x68], 3
movzx ebx, word [esp + 0x68]
mov eax, 2
cmp ebx, eax
jl 0x10018f81
movzx ebx, word [esp + 0x68]
dec ebx
push ebx
pop eax
mov word [esp + 0x6c], ax
jmp 0x10018f8e
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, 0x10
cmp ebx, dword [esp]
jne 0x10018fa8
add esp, 4
jmp 0x10019733
mov ebx, 9
cmp ebx, dword [esp]
jne 0x10018fc0
movzx eax, word [esp + 0x70]
push eax
pop eax
mov word [esp + 0x6c], ax
jmp 0x10018fd7
mov ebx, 2
cmp ebx, dword [esp]
jne 0x10018fd7
movzx ebx, word [esp + 0x70]
inc ebx
push ebx
pop eax
mov word [esp + 0x6c], ax
pop eax
push dword [0x10044d80]
mov ebp, 0x1003f98d
push ebp
mov ebp, 0x1003f97f
push ebp
call fcn.1000a328
lea edx, [esp + 0x20]
push 1
push edx
call fcn.1003ae60
lea edx, [esp + 0x3c]
push 3
push edx
call fcn.1003ae60
lea edx, [esp + 0x20]
push 1
push edx
call fcn.1003ae60
push dword [0x10044d80]
push 0x3f
call fcn.1001251d
pop eax
lea edx, [esp + 0x34]
push 1
push edx
call fcn.1003ae60
lea edx, [esp + 0x24]
push 2
push edx
call fcn.1003ae60
lea eax, [esp + 0x1c]
push eax
call fcn.1003ad80
mov edx, dword [esp + 0x18]
push dword [0x10044d80]
push edx
call fcn.1003ad20
push dword [0x10044d80]
mov ebp, 0x1003f9a1
push ebp
mov ebp, 0x1003f98d
push ebp
call fcn.1000a328
pop eax
lea edx, [esp + 0x20]
push 1
push edx
call fcn.1003ae60
lea edx, [esp + 0x3c]
push 3
push edx
call fcn.1003ae60
lea edx, [esp + 0x20]
push 1
push edx
call fcn.1003ae60
lea edx, [esp + 0x24]
push 2
push edx
call fcn.1003ae60
lea eax, [esp + 0x1c]
push eax
call fcn.1003ad80
lea edx, str.nature
lea ecx, [esp + 0x70]
call fcn.10031008
mov edx, dword [esp + 0x18]
push dword [0x10044d80]
push edx
call fcn.1003ad20
push dword [0x10044d80]
mov ebp, 0x1003f9a7
push ebp
mov ebp, 0x1003f9a1
push ebp
call fcn.1000a328
pop eax
lea edx, [esp + 0x20]
push 1
push edx
call fcn.1003ae60
push dword [0x10044d80]
mov ebp, 0x1003f9cb
push ebp
mov ebp, 0x1003f9a7
push ebp
call fcn.1000a328
pop eax
lea edx, [esp + 0x20]
push 1
push edx
call fcn.1003ae60
push dword [0x10044d80]
mov ebp, 0x1003f9d2
push ebp
mov ebp, 0x1003f9cb
push ebp
call fcn.1000a328
pop eax
mov edx, dword [esp + 0x38]
push edx
call fcn.1003ad20
push dword [0x10044d80]
push 0x3d
call fcn.1001251d
pop eax
lea edx, [esp + 0x20]
push 1
push edx
call fcn.1003ae60
push dword [0x10044d80]
mov ebp, 0x1003f9f0
push ebp
mov ebp, 0x1003f9d2
push ebp
call fcn.1000a328
pop eax
lea edx, [esp + 0x20]
push 1
push edx
call fcn.1003ae60
lea edx, [esp + 0x24]
push 2
push edx
call fcn.1003ae60
lea eax, [esp + 0x1c]
push eax
call fcn.1003ad80
mov edx, dword [esp + 0x18]
push dword [0x10044d80]
push edx
call fcn.1003ad20
push dword [0x10044d80]
mov ebp, 0x1003f9f6
push ebp
mov ebp, 0x1003f9f0
push ebp
call fcn.1000a328
pop eax
mov edx, dword [esp + 0x28]
push edx
call fcn.1003ad20
push dword [0x10044d80]
push 0x3d
call fcn.1001251d
pop eax
lea edx, [esp + 0x20]
push 1
push edx
call fcn.1003ae60
mov edx, dword [esp + 0x2c]
push edx
call fcn.1003ad20
lea edx, [esp + 0x20]
push 1
push edx
call fcn.1003ae60
lea edx, [esp + 0x24]
push 2
push edx
call fcn.1003ae60
lea eax, [esp + 0x1c]
push eax
call fcn.1003ad80
mov edx, dword [esp + 0x18]
push dword [0x10044d80]
push edx
call fcn.1003ad20
lea edx, [esp + 0x34]
push 1
push edx
call fcn.1003ae60
lea edx, [esp + 0x24]
push 2
push edx
call fcn.1003ae60
lea eax, [esp + 0x1c]
push eax
call fcn.1003ad80
mov edx, dword [esp + 0x18]
push dword [0x10044d80]
push edx
call fcn.1003ad20
push dword [0x10044d80]
mov ebp, 0x1003fa05
push ebp
mov ebp, 0x1003f9f6
push ebp
call fcn.1000a328
pop eax
lea edx, [esp + 0x20]
push 1
push edx
call fcn.1003ae60
push dword [0x10044d80]
mov ebp, 0x1003fa09
push ebp
mov ebp, 0x1003fa05
push ebp
call fcn.1000a328
pop eax
lea edx, [esp + 0x20]
push 1
push edx
call fcn.1003ae60
push dword [0x10044d80]
push 0x2f
call fcn.1001251d
pop eax
lea edx, [esp + 0x34]
push 1
push edx
call fcn.1003ae60
lea edx, [esp + 0x24]
push 2
push edx
call fcn.1003ae60
lea eax, [esp + 0x1c]
push eax
call fcn.1003ad80
mov edx, dword [esp + 0x18]
push dword [0x10044d80]
push edx
call fcn.1003ad20
push dword [0x10044d80]
push 0x3c
call fcn.1001251d
pop eax
mov edx, dword [esp + 0x38]
push edx
call fcn.1003ad20
push dword [0x10044d80]
mov ebp, 0x1003fa23
push ebp
mov ebp, 0x1003fa09
push ebp
call fcn.1000a328
pop eax
lea edx, [esp + 0x20]
push 1
push edx
call fcn.1003ae60
mov edx, dword [esp + 0x28]
push edx
call fcn.1003ad20
lea edx, [esp + 0x20]
push 1
push edx
call fcn.1003ae60
lea edx, [esp + 0x34]
push 1
push edx
call fcn.1003ae60
lea edx, [esp + 0x24]
push 2
push edx
call fcn.1003ae60
lea eax, [esp + 0x1c]
push eax
call fcn.1003ad80
lea eax, [esp + 0x30]
lea edx, [0x1003d028]
push edx
push 1
push eax
call fcn.1003ae30
mov edx, dword [esp + 0x18]
push dword [0x10044d80]
push edx
call fcn.1003ad20
push dword [0x10044d80]
mov ebp, 0x1003fa2c
push ebp
mov ebp, 0x1003fa23
push ebp
call fcn.1000a328
pop eax
lea edx, [esp + 0x24]
push 2
push edx
call fcn.1003ae60
lea eax, [esp + 0x1c]
push eax
call fcn.1003ad80
mov edx, dword [esp + 0x18]
push dword [0x10044d80]
push edx
call fcn.1003ad20
mov edx, dword [esp + 0xc]
push edx
call fcn.1003ad20
lea edx, [esp + 0x24]
push 2
push edx
call fcn.1003ae60
lea eax, [esp + 0x1c]
push eax
call fcn.1003ad80
mov edx, dword [esp + 0x18]
push dword [0x10044d80]
push edx
call fcn.1003ad20
push dword [0x10044d80]
mov ebp, 0x1003fa2f
push ebp
mov ebp, 0x1003fa2c
push ebp
call fcn.1000a328
pop eax
lea edx, [esp + 0x24]
push 2
push edx
call fcn.1003ae60
lea eax, [esp + 0x1c]
push eax
call fcn.1003ad80
mov edx, dword [esp + 0x18]
push dword [0x10044d80]
push edx
call fcn.1003ad20
push dword [0x10044d80]
push 0x3c
call fcn.1001251d
pop eax
push dword [0x10044d80]
push 0x2f
call fcn.1001251d
pop eax
mov edx, dword [esp + 0x38]
push edx
call fcn.1003ad20
push dword [0x10044d80]
mov ebp, 0x1003fa37
push ebp
mov ebp, 0x1003fa2f
push ebp
call fcn.1000a328
pop eax
lea edx, [esp + 0x24]
push 2
push edx
call fcn.1003ae60
lea eax, [esp + 0x1c]
push eax
call fcn.1003ad80
mov edx, dword [esp + 0x18]
push dword [0x10044d80]
push edx
call fcn.1003ad20
push dword [0x10044d80]
mov ebp, 0x1003fa44
push ebp
mov ebp, 0x1003fa37
push ebp
call fcn.1000a328
pop eax
lea eax, [esp + 0x1c]
push eax
call fcn.1003ad80
lea edx, [0x1003d028]
lea ecx, [esp + 0x34]
call fcn.10031008
lea edx, str.puzzle
lea ecx, [esp + 0x74]
call fcn.10031008
push dword [esp + 0x18]
call fcn.100316a0
mov dword [esp + 0xc], eax
lea edx, str.motors
lea ecx, [esp + 0x78]
call fcn.10031008
mov ebx, dword [esp + 0xc]
add ebx, 2
push ebx
call fcn.1003a7a0
mov dword [esp + 0x10], eax
lea edx, str.method
lea ecx, [esp + 0x7c]
call fcn.10031008
cmp dword [esp + 0x10], 0
je 0x1001966c
push 0x18
push 0xffffffff
push dword [esp + 0x20]
push dword [esp + 0x1c]
call fcn.1003a7c0
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x2c], 0
je 0x100195c7
lea edx, [0x1003d028]
lea ecx, [esp + 0x18]
call fcn.10031008
push dword [esp + 0x2c]
push dword [esp + 0x14]
push dword [esp + 8]
call fcn.1002ffe0
mov ebx, eax
cmp ebx, 1
jne 0x100195c7
lea edx, str.slim
lea ecx, [esp + 0x80]
call fcn.10031008
mov byte [esp + 0x14], 1
mov word [esp + 0x84], 6
movzx ebx, word [esp + 0x84]
mov eax, 1
cmp ebx, eax
jl 0x100195f7
movzx ebx, word [esp + 0x84]
dec ebx
push ebx
pop eax
mov word [esp + 0x88], ax
jmp 0x1001960a
movzx ebx, word [esp + 0x84]
inc ebx
push ebx
pop eax
mov word [esp + 0x88], ax
movzx ebx, word [esp + 0x88]
push ebx
mov ebx, 0xc
cmp ebx, dword [esp]
jne 0x10019627
add esp, 4
jmp 0x10019733
mov ebx, 4
cmp ebx, dword [esp]
jne 0x10019645
movzx eax, word [esp + 0x8c]
push eax
pop eax
mov word [esp + 0x88], ax
jmp 0x10019662
mov ebx, 3
cmp ebx, dword [esp]
jne 0x10019662
movzx ebx, word [esp + 0x8c]
inc ebx
push ebx
pop eax
mov word [esp + 0x88], ax
pop eax
push dword [esp + 0x10]
call fcn.1003a910
lea edx, str.spirits
lea ecx, [esp + 0x8c]
call fcn.10031008
mov dword [esp + 0xc], 0
mov dword [esp + 0x2c], 0
mov word [esp + 0x90], 2
movzx ebx, word [esp + 0x90]
mov eax, 4
cmp ebx, eax
jl 0x100196be
movzx ebx, word [esp + 0x90]
dec ebx
push ebx
pop eax
mov word [esp + 0x94], ax
jmp 0x100196d1
movzx ebx, word [esp + 0x90]
inc ebx
push ebx
pop eax
mov word [esp + 0x94], ax
movzx ebx, word [esp + 0x94]
push ebx
mov ebx, 0xe
cmp ebx, dword [esp]
jne 0x100196eb
add esp, 4
jmp 0x10019733
mov ebx, 9
cmp ebx, dword [esp]
jne 0x10019709
movzx eax, word [esp + 0x98]
push eax
pop eax
mov word [esp + 0x94], ax
jmp 0x10019726
mov ebx, 4
cmp ebx, dword [esp]
jne 0x10019726
movzx ebx, word [esp + 0x98]
inc ebx
push ebx
pop eax
mov word [esp + 0x94], ax
pop eax
movsx eax, byte [esp + 0x14]
movsx eax, al
jmp 0x10019733
push dword [esp + 0x24]
call fcn.1003acf0
push dword [esp + 0x28]
call fcn.1003acf0
push dword [esp + 0x7c]
call fcn.1003acf0
push dword [esp + 4]
call fcn.1003acf0
push dword [esp + 0x8c]
call fcn.1003acf0
push dword [esp + 0x70]
call fcn.1003acf0
push dword [esp + 0x78]
call fcn.1003acf0
push dword [esp + 0x18]
call fcn.1003acf0
push dword [esp]
call fcn.1003acf0
push dword [esp + 0x4c]
call fcn.1003acf0
push dword [esp + 0x34]
call fcn.1003acf0
push dword [esp + 0x60]
call fcn.1003acf0
push dword [esp + 0x80]
call fcn.1003acf0
push dword [esp + 8]
call fcn.1003acf0
push dword [esp + 0x74]
call fcn.1003acf0
push dword [esp + 0x64]
call fcn.1003acf0
push eax
push dword [esp + 0x54]
call fcn.1003a57d
pop eax
add esp, 0x98
pop ebx
pop ebp
ret 4