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

Disassembly:
push 0xffffffffffffffff
push 0x493a22
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x104
push ebx
push ebp
push esi
push edi
mov ebx, ecx
lea eax, [esp + 0xf0]
xor esi, esi
push eax
mov dword [esp + 0x120], esi
call fcn.00409c20
add esp, 4
push 0x4b82f4
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x128], 1
call fcn.004846c8
lea ecx, [esp + 0xf0]
mov byte [esp + 0x11c], 3
call fcn.00484433
push esi
lea ecx, [esp + 0x48]
call fcn.00431a20
push esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x120], 4
call fcn.00431a20
push esi
lea ecx, [esp + 0xf8]
mov byte [esp + 0x120], 5
call fcn.00431a20
lea ecx, [esp + 0x54]
mov byte [esp + 0x11c], 6
call fcn.0042c2e0
mov eax, dword [0x4be818]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
push esi
lea ecx, [esp + 0x128]
mov byte [esp + 0x120], 9
call fcn.00484863
mov edx, eax
mov al, byte [esp + 0x33]
or ebp, 0xffffffff
mov byte [esp + 0x34], al
mov edi, edx
mov ecx, ebp
xor eax, eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x3c]
call fcn.0041d140
lea ecx, [esp + 0x44]
push 1
lea edx, [esp + 0x38]
push ecx
push edx
lea ecx, [esp + 0x60]
mov byte [esp + 0x128], 0xa
call fcn.0042c370
and eax, 0xff
mov byte [esp + 0x11c], 9
mov edi, eax
mov eax, dword [esp + 0x38]
cmp eax, esi
je 0x411d3a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x411d31
cmp al, 0xff
je 0x411d31
dec al
mov byte [ecx], al
jmp 0x411d3a
push ecx
call fcn.004849c1
add esp, 4
push ebp
lea ecx, [esp + 0x128]
call fcn.004848b2
cmp edi, esi
jne 0x411e19
lea ecx, [esp + 0x10]
mov byte [esp + 0x11c], 8
call fcn.00484433
lea ecx, [esp + 0x14]
mov byte [esp + 0x11c], 7
call fcn.00484433
push 1
lea ecx, [esp + 0xdc]
mov byte [esp + 0x120], 0xd
call fcn.0041cfc0
push 1
lea ecx, [esp + 0xb8]
mov byte [esp + 0x120], 0xc
call fcn.0041cfc0
mov eax, dword [esp + 0xb0]
mov byte [esp + 0x11c], 0xb
cmp eax, esi
je 0x411dc5
lea ecx, [esp + 0x84]
call fcn.0041d0a0
cmp dword [esp + 0xb0], esi
jne 0x411db0
mov eax, dword [esp + 0x80]
mov byte [esp + 0x11c], 6
cmp eax, esi
je 0x411ee8
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x80]
add ecx, 4
dec eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x80], eax
je 0x411e02
mov eax, ecx
mov ecx, dword [esp + 0x5c]
cmp eax, ecx
jne 0x411e0b
lea ecx, [esp + 0x54]
call fcn.0041d320
cmp dword [esp + 0x80], esi
jne 0x411ddc
jmp 0x411ee8
lea ecx, [esp + 0x44]
call fcn.004321c0
cmp eax, 6
je 0x411f49
lea ecx, [esp + 0x10]
mov byte [esp + 0x11c], 8
call fcn.00484433
lea ecx, [esp + 0x14]
mov byte [esp + 0x11c], 7
call fcn.00484433
push 1
lea ecx, [esp + 0xdc]
mov byte [esp + 0x120], 0x10
call fcn.0041cfc0
push 1
lea ecx, [esp + 0xb8]
mov byte [esp + 0x120], 0xf
call fcn.0041cfc0
mov eax, dword [esp + 0xb0]
mov byte [esp + 0x11c], 0xe
cmp eax, esi
je 0x411ea1
lea ecx, [esp + 0x84]
call fcn.0041d0a0
cmp dword [esp + 0xb0], esi
jne 0x411e8c
mov eax, dword [esp + 0x80]
mov byte [esp + 0x11c], 6
cmp eax, esi
je 0x411ee8
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x80]
add ecx, 4
dec eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x80], eax
je 0x411ed6
cmp ecx, dword [esp + 0x5c]
jne 0x411edf
lea ecx, [esp + 0x54]
call fcn.0041d320
cmp dword [esp + 0x80], esi
jne 0x411eb4
lea ecx, [esp + 0xf4]
mov byte [esp + 0x11c], 5
call fcn.00431f40
lea ecx, [esp + 0x1c]
mov byte [esp + 0x11c], 4
call fcn.00431f40
lea ecx, [esp + 0x44]
mov byte [esp + 0x11c], 3
call fcn.00431f40
lea ecx, [esp + 0x18]
mov byte [esp + 0x11c], 0
call fcn.00484433
lea ecx, [esp + 0x124]
mov dword [esp + 0x11c], ebp
call fcn.00484433
xor eax, eax
jmp 0x412536
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], esi
call fcn.00432cb0
test eax, eax
jbe 0x4121a7
mov edi, dword [esp + 0x128]
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x44]
push edx
call fcn.00432d60
push eax
lea ecx, [esp + 0x20]
call fcn.004320c0
lea ecx, [esp + 0x1c]
call fcn.004321c0
cmp eax, 7
jne 0x4121ff
push 0x4ba764
lea ecx, [esp + 0x20]
call fcn.00432ed0
push eax
call fcn.0040ab30
mov ebp, eax
add esp, 4
cmp ebp, esi
je 0x41218d
lea eax, [ebp + ebp*2]
lea esi, [eax + eax*4]
mov eax, dword [edi]
shl esi, 3
mov dword [esi + eax], 1
mov ecx, dword [edi]
mov dword [esi + ecx + 8], 1
mov edx, dword [edi]
lea ecx, [esp + 0x10]
lea eax, [esi + edx + 0x10]
push eax
call fcn.0048456c
push str.cName
lea ecx, [esp + 0x20]
call fcn.00432ed0
lea ecx, [esp + 0xec]
push eax
push ecx
call fcn.0040ac10
add esp, 8
mov edx, dword [edi]
push eax
mov byte [esp + 0x120], 0x14
lea ecx, [esi + edx + 0x10]
call fcn.0048456c
lea ecx, [esp + 0xec]
mov byte [esp + 0x11c], 9
call fcn.00484433
push str.cType
lea ecx, [esp + 0x20]
call fcn.00432ed0
push eax
call fcn.0040ab30
mov ecx, dword [edi]
add esp, 4
mov dword [esi + ecx + 0x14], eax
push str.growthCycle
lea ecx, [esp + 0x20]
call fcn.00432ed0
push eax
call fcn.0040ab30
mov edx, dword [edi]
add esp, 4
lea ecx, [esp + 0x1c]
push str.maturingTime
mov dword [esi + edx + 0x18], eax
call fcn.00432ed0
push eax
call fcn.0040ab30
mov ecx, dword [edi]
add esp, 4
mov dword [esi + ecx + 0x1c], eax
push str.expect
lea ecx, [esp + 0x20]
call fcn.00432ed0
push eax
call fcn.0040ab30
mov edx, dword [edi]
add esp, 4
lea ecx, [esp + 0x1c]
push str.output
mov dword [esi + edx + 0x20], eax
call fcn.00432ed0
push eax
call fcn.0040ab30
mov ecx, dword [edi]
add esp, 4
mov dword [esi + ecx + 0x24], eax
push str.sale
lea ecx, [esp + 0x20]
call fcn.00432ed0
push eax
call fcn.0040ab30
mov edx, dword [edi]
add esp, 4
lea ecx, [esp + 0x1c]
push str.price
mov dword [esi + edx + 0x28], eax
call fcn.00432ed0
push eax
call fcn.0040ab30
mov ecx, dword [edi]
add esp, 4
mov dword [esi + ecx + 0x2c], eax
push str.cLevel
lea ecx, [esp + 0x20]
call fcn.00432ed0
push eax
call fcn.0040ab30
mov edx, dword [edi]
add esp, 4
lea ecx, [esp + 0x1c]
push str.cropExp
mov dword [esi + edx + 0x30], eax
call fcn.00432ed0
push eax
call fcn.0040ab30
mov ecx, dword [edi]
add esp, 4
mov dword [esi + ecx + 0x34], eax
mov edx, dword [edi]
mov dword [esi + edx + 0x38], 0
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x41218b
push ebp
lea eax, [esp + 0x14]
push 0x4b8278
push eax
call fcn.004827a3
mov ecx, dword [edi]
add esp, 0xc
mov edx, dword [esi + ecx + 0x10]
lea eax, [esi + ecx]
push edx
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x30]
push ecx
push edx
lea eax, [esp + 0x20]
push str._d__d__s
push eax
call fcn.004827a3
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
add esp, 0x14
push ecx
push edx
push eax
push str.PLANTS
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
xor esi, esi
mov ebp, dword [esp + 0x2c]
lea ecx, [esp + 0x44]
inc ebp
mov dword [esp + 0x2c], ebp
call fcn.00432cb0
cmp ebp, eax
jb 0x411f65
lea ecx, [esp + 0x10]
mov byte [esp + 0x11c], 8
call fcn.00484433
lea ecx, [esp + 0x14]
mov byte [esp + 0x11c], 7
call fcn.00484433
mov eax, dword [esp + 0xdc]
mov byte [esp + 0x11c], 0x15
cmp eax, esi
je 0x41232a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x412321
cmp al, 0xff
je 0x412321
dec al
mov byte [ecx], al
jmp 0x41232a
lea ecx, [esp + 0x10]
mov byte [esp + 0x11c], 8
call fcn.00484433
lea ecx, [esp + 0x14]
mov byte [esp + 0x11c], 7
call fcn.00484433
push 1
lea ecx, [esp + 0xdc]
mov byte [esp + 0x120], 0x13
call fcn.0041cfc0
push 1
lea ecx, [esp + 0xb8]
mov byte [esp + 0x120], 0x12
call fcn.0041cfc0
mov eax, dword [esp + 0xb0]
mov byte [esp + 0x11c], 0x11
cmp eax, esi
je 0x412275
lea ecx, [esp + 0x84]
call fcn.0041d0a0
cmp dword [esp + 0xb0], esi
jne 0x412260
mov eax, dword [esp + 0x80]
mov byte [esp + 0x11c], 6
cmp eax, esi
je 0x4122bc
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x80]
add ecx, 4
dec eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x80], eax
je 0x4122aa
cmp ecx, dword [esp + 0x5c]
jne 0x4122b3
lea ecx, [esp + 0x54]
call fcn.0041d320
cmp dword [esp + 0x80], esi
jne 0x412288
lea ecx, [esp + 0xf4]
mov byte [esp + 0x11c], 5
call fcn.00431f40
lea ecx, [esp + 0x1c]
mov byte [esp + 0x11c], 4
call fcn.00431f40
lea ecx, [esp + 0x44]
mov byte [esp + 0x11c], 3
call fcn.00431f40
lea ecx, [esp + 0x18]
mov byte [esp + 0x11c], 0
call fcn.00484433
lea ecx, [esp + 0x124]
mov dword [esp + 0x11c], 0xffffffff
call fcn.00484433
xor eax, eax
jmp 0x412536
push ecx
call fcn.004849c1
add esp, 4
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xdc], esi
cmp eax, esi
mov dword [esp + 0xe0], esi
mov dword [esp + 0xe4], esi
je 0x412367
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41235e
cmp al, 0xff
je 0x41235e
dec al
mov byte [ecx], al
jmp 0x412367
push ecx
call fcn.004849c1
add esp, 4
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xb8], esi
cmp eax, esi
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc0], esi
je 0x4123d8
mov eax, dword [esp + 0x90]
push esi
mov ecx, eax
add eax, 0x20
mov dword [esp + 0x94], eax
call fcn.0041d570
mov eax, dword [esp + 0xb0]
dec eax
mov dword [esp + 0xb0], eax
je 0x4123c3
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x8c]
cmp edx, eax
jne 0x4123cf
lea ecx, [esp + 0x84]
call fcn.0041d320
cmp dword [esp + 0xb0], esi
jne 0x412387
mov eax, dword [esp + 0x80]
mov byte [esp + 0x11c], 6
cmp eax, esi
je 0x4124d3
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x80]
add ecx, 4
dec eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x80], eax
je 0x412419
mov eax, ecx
mov ecx, dword [esp + 0x5c]
cmp eax, ecx
jne 0x4124c6
mov ecx, dword [esp + 0x64]
mov eax, ecx
add ecx, 4
mov dword [esp + 0x64], ecx
mov eax, dword [eax]
push eax
call fcn.004849c1
mov eax, dword [esp + 0x84]
add esp, 4
cmp eax, esi
jne 0x412486
lea ecx, [esp + 0x34]
call fcn.0041d4b0
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x58], eax
push ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], esi
call fcn.004849c1
add esp, 4
xor esi, esi
jmp 0x4124c6
mov eax, dword [esp + 0x64]
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10c]
call fcn.0041d4c0
mov edx, dword [esp + 0x104]
mov eax, dword [esp + 0x108]
mov ecx, dword [esp + 0x10c]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x110]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
cmp dword [esp + 0x80], esi
jne 0x4123ef
lea ecx, [esp + 0xf4]
mov byte [esp + 0x11c], 5
call fcn.00431f40
lea ecx, [esp + 0x1c]
mov byte [esp + 0x11c], 4
call fcn.00431f40
lea ecx, [esp + 0x44]
mov byte [esp + 0x11c], 3
call fcn.00431f40
lea ecx, [esp + 0x18]
mov byte [esp + 0x11c], 0
call fcn.00484433
lea ecx, [esp + 0x124]
mov dword [esp + 0x11c], 0xffffffff
call fcn.00484433
mov eax, 1
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x110
ret 8