Function at 0x40de50
Capabilities:
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x493564
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x148
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor ebx, ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x160], ebx
call fcn.00439200
mov eax, dword [0x4be818]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x84]
mov byte [esp + 0x160], 3
push eax
call fcn.00409c20
add esp, 4
push 0x4b82f4
lea ecx, [esp + 0x30]
push eax
push ecx
mov byte [esp + 0x16c], 4
call fcn.004846c8
lea ecx, [esp + 0x84]
mov byte [esp + 0x160], 6
call fcn.00484433
mov edx, dword [esp + 0x168]
lea ecx, [esp + 0x30]
push edx
xor edi, edi
call fcn.00439b90
test eax, eax
je 0x40e0ed
push str.main
lea ecx, [esp + 0x34]
call fcn.00439d10
test eax, eax
je 0x40e0ed
lea ecx, [esp + 0x30]
call fcn.00439ea0
push str.loading
lea ecx, [esp + 0x34]
call fcn.00439d10
test eax, eax
je 0x40df5d
lea eax, [esp + 0x24]
push 0x4ba620
push eax
lea ecx, [esp + 0x38]
call fcn.0040ee70
push eax
mov ecx, 0x4c2f98
mov byte [esp + 0x164], 7
call fcn.0048456c
lea ecx, [esp + 0x24]
mov byte [esp + 0x160], 6
call fcn.00484433
mov dword [0x4c2f9c], ebx
push str.moduleList
lea ecx, [esp + 0x34]
call fcn.00439d10
test eax, eax
je 0x40e07a
lea ecx, [esp + 0x30]
call fcn.00439ea0
push str.module
lea ecx, [esp + 0x34]
call fcn.00439d10
test eax, eax
je 0x40e071
lea ecx, [esp + 0x24]
push 0x4ba620
push ecx
lea ecx, [esp + 0x38]
call fcn.0040ee70
push eax
mov ecx, 0x4c2f90
mov byte [esp + 0x164], 8
call fcn.0048456c
lea ecx, [esp + 0x24]
mov byte [esp + 0x160], 6
call fcn.00484433
push 0x4b968c
mov ecx, 0x4c2f90
call fcn.0048241d
test eax, eax
jge 0x40e014
push 0x4c2f98
lea edx, [esp + 0x28]
push str.http:__appimg.qq.com_
push edx
call fcn.0048473c
push eax
mov ecx, 0x4c2f90
mov byte [esp + 0x164], 9
call fcn.0048456c
lea ecx, [esp + 0x24]
mov byte [esp + 0x160], 6
call fcn.00484433
push 0x4c2f90
mov ecx, 0x4c2fa0
call fcn.0048456c
lea eax, [esp + 0x24]
push str.size
push eax
lea ecx, [esp + 0x38]
call fcn.0040ee70
mov eax, dword [eax]
push eax
call fcn.0046f7e4
add esp, 4
lea ecx, [esp + 0x24]
mov dword [0x4c2f94], eax
call fcn.00484433
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
push 0x4c2f90
call fcn.004841a8
call fcn.00408620
add esp, 4
cmp eax, ebx
je 0x40e071
mov dword [0x4c2f94], eax
lea ecx, [esp + 0x30]
call fcn.00439f50
mov eax, dword [0x4c2fa8]
cmp eax, 0x14
jge 0x40e0db
push 0x4c2f90
lea ecx, [eax*8 + 0x4c2f00]
call fcn.0048456c
mov eax, dword [0x4c2fa8]
mov ecx, dword [0x4c2f94]
mov dword [eax*8 + 0x4c2f04], ecx
inc eax
cmp eax, 0x14
mov dword [0x4c2fa8], eax
jge 0x40e0db
push 0x4c2f98
lea ecx, [eax*8 + 0x4c2f00]
call fcn.0048456c
mov eax, dword [0x4c2fa8]
mov edx, dword [0x4c2f9c]
mov dword [eax*8 + 0x4c2f04], edx
inc eax
mov dword [0x4c2fa8], eax
push str.crops
lea ecx, [esp + 0x34]
call fcn.00439d10
test eax, eax
jne 0x40e14e
lea ecx, [esp + 0x2c]
mov byte [esp + 0x160], 3
call fcn.00484433
lea ecx, [esp + 0x20]
mov byte [esp + 0x160], 2
call fcn.00484433
lea ecx, [esp + 0x14]
mov byte [esp + 0x160], 1
call fcn.00484433
lea ecx, [esp + 0x30]
mov byte [esp + 0x160], bl
call fcn.00439660
lea ecx, [esp + 0x168]
mov dword [esp + 0x160], 0xffffffff
call fcn.00484433
xor eax, eax
jmp 0x40ee11
lea ecx, [esp + 0x30]
call fcn.00439ea0
push str.crop
lea ecx, [esp + 0x34]
call fcn.00439d10
test eax, eax
je 0x40e1d8
lea eax, [esp + 0x24]
push 0x4ba5d8
push eax
lea ecx, [esp + 0x38]
call fcn.0040ee70
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x164], 0xa
call fcn.0048456c
lea ecx, [esp + 0x24]
mov byte [esp + 0x160], 6
call fcn.00484433
lea ecx, [esp + 0x10]
push ecx
push 0x4b8278
push ebx
lea ecx, [esp + 0x20]
call fcn.00484863
push eax
call fcn.0046f2c3
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp eax, edi
jbe 0x40e1c6
mov edi, eax
push str.crop
lea ecx, [esp + 0x34]
call fcn.00439d10
test eax, eax
jne 0x40e169
lea ecx, [esp + 0x30]
call fcn.00439f50
mov eax, dword [esi + 0x61c]
cmp eax, ebx
je 0x40e208
mov edx, dword [eax - 4]
lea ebp, [eax - 4]
push 0x40ef10
push edx
push 0x78
push eax
call fcn.0046f8b6
push ebp
call fcn.004849c1
add esp, 4
inc edi
mov dword [esi + 0x620], edi
lea eax, [edi + edi*2]
lea eax, [eax + eax*4]
lea ecx, [eax*8 + 4]
push ecx
call fcn.00484998
add esp, 4
mov dword [esp + 0x54], eax
cmp eax, ebx
mov byte [esp + 0x160], 0xc
je 0x40e24f
push 0x40ef10
push 0x40eeb0
lea ebp, [eax + 4]
push edi
push 0x78
push ebp
mov dword [eax], edi
call fcn.0046f834
jmp 0x40e251
xor ebp, ebp
mov eax, dword [esi + 0x620]
xor ecx, ecx
cmp eax, ebx
mov byte [esp + 0x160], 6
mov dword [esi + 0x61c], ebp
jbe 0x40e2ca
xor eax, eax
mov edx, dword [esi + 0x61c]
inc ecx
mov dword [edx + eax], ebx
mov edx, dword [esi + 0x61c]
mov dword [edx + eax + 8], ebx
mov edx, dword [esi + 0x61c]
mov dword [edx + eax + 0xc], ebx
mov edx, dword [esi + 0x61c]
mov dword [edx + eax + 0x3c], ebx
mov edx, dword [esi + 0x61c]
mov dword [edx + eax + 0x40], ebx
mov edx, dword [esi + 0x61c]
mov dword [edx + eax + 0x30], ebx
mov edx, dword [esi + 0x61c]
mov dword [edx + eax + 0x28], ebx
mov edx, dword [esi + 0x61c]
mov dword [edx + eax + 4], ebx
mov edx, dword [esi + 0x620]
add eax, 0x78
cmp ecx, edx
jb 0x40e26d
mov ecx, dword [esi + 0x61c]
push 0x4ba5d0
add ecx, 0x10
call fcn.004845bc
mov eax, dword [esp + 0x168]
lea ecx, [esp + 0x30]
push eax
call fcn.00439b90
push str.main
lea ecx, [esp + 0x34]
call fcn.00439d10
lea ecx, [esp + 0x30]
call fcn.00439ea0
push str.crops
lea ecx, [esp + 0x34]
call fcn.00439d10
lea ecx, [esp + 0x30]
call fcn.00439ea0
push str.crop
lea ecx, [esp + 0x34]
call fcn.00439d10
test eax, eax
je 0x40eda9
lea ecx, [esp + 0x7c]
push 0x4ba5d8
push ecx
lea ecx, [esp + 0x38]
call fcn.0040ee70
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x164], 0xd
call fcn.0048456c
lea ecx, [esp + 0x7c]
mov byte [esp + 0x160], 6
call fcn.00484433
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
push edx
push 0x4b8278
push ebx
call fcn.00484863
push eax
call fcn.0046f2c3
add esp, 0xc
lea ecx, [esp + 0x14]
push 0xffffffffffffffff
call fcn.004848b2
mov eax, dword [esp + 0x10]
mov dword [esp + 0x4c], ebx
cmp eax, ebx
je 0x40ed93
cmp eax, dword [esi + 0x620]
jae 0x40ed93
mov ecx, dword [esi + 0x61c]
lea eax, [eax + eax*2]
push str.isRed
lea eax, [eax + eax*4]
mov dword [ecx + eax*8], 1
mov eax, dword [esp + 0x14]
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x61c]
mov dword [eax + edx*8 + 0x34], ebx
mov eax, dword [esp + 0x14]
mov edx, dword [esi + 0x61c]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
mov dword [edx + ecx*8 + 0x20], ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x61c]
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
mov dword [ecx + eax*8 + 0x18], ebx
mov eax, dword [esp + 0x14]
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x61c]
mov dword [eax + edx*8 + 0x30], ebx
mov eax, dword [esp + 0x14]
mov edx, dword [esi + 0x61c]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
mov dword [edx + ecx*8 + 0x1c], ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x61c]
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
mov dword [ecx + eax*8 + 0x3c], ebx
mov eax, dword [esp + 0x14]
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x61c]
mov dword [eax + edx*8 + 0x40], ebx
mov eax, dword [esp + 0x14]
mov edx, dword [esi + 0x61c]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
mov dword [edx + ecx*8 + 0x24], ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x61c]
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
mov dword [ecx + eax*8 + 0x2c], ebx
mov eax, dword [esp + 0x14]
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x61c]
mov dword [eax + edx*8 + 0x28], ebx
mov eax, dword [esp + 0x14]
mov edx, dword [esi + 0x61c]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
mov dword [edx + ecx*8 + 0x14], ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x61c]
lea edx, [esp + 0x68]
lea eax, [eax + eax*2]
push edx
lea eax, [eax + eax*4]
mov dword [ecx + eax*8 + 0x38], ebx
lea ecx, [esp + 0x38]
call fcn.0040ee70
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x164], 0xe
call fcn.0048456c
lea ecx, [esp + 0x64]
mov byte [esp + 0x160], 6
call fcn.00484433
mov eax, dword [esp + 0x14]
push 0x4c2d98
push eax
call fcn.0046f2f7
add esp, 8
test eax, eax
je 0x40e533
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x61c]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*8 + 0xc]
lea ecx, [esp + 0x14]
push eax
push 0x4b8278
push ebx
call fcn.00484863
push eax
call fcn.0046f2c3
add esp, 0xc
lea ecx, [esp + 0x14]
push 0xffffffffffffffff
call fcn.004848b2
lea ecx, [esp + 0x30]
call fcn.00439ea0
push str.nextText
lea ecx, [esp + 0x34]
call fcn.00439d10
test eax, eax
je 0x40e689
lea ecx, [esp + 0x70]
push str.value
push ecx
lea ecx, [esp + 0x38]
call fcn.0040ee70
push 0x4ba5b0
lea edx, [esp + 0x8c]
push eax
push edx
mov byte [esp + 0x16c], 0xf
call fcn.004846c8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x164], 0x10
call fcn.0048456c
lea ecx, [esp + 0x88]
mov byte [esp + 0x160], 0xf
call fcn.00484433
lea ecx, [esp + 0x70]
mov byte [esp + 0x160], 6
call fcn.00484433
push ebx
push 0x4b8664
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], ebx
xor ebp, ebp
call fcn.0048242b
mov edi, eax
cmp edi, ebx
jl 0x40e689
cmp dword [esp + 0x1c], 7
jae 0x40e689
mov eax, edi
lea ecx, [esp + 0x94]
sub eax, ebp
push eax
push ebp
push ecx
lea ecx, [esp + 0x20]
call fcn.00482246
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x164], 0x11
call fcn.0048456c
lea ecx, [esp + 0x94]
mov byte [esp + 0x160], 6
call fcn.00484433
mov edx, dword [esp + 0x20]
push 0x4ba5a8
push edx
call fcn.0046f2f7
add esp, 8
test eax, eax
jne 0x40e642
push 0x4ba5a0
lea ecx, [esp + 0x24]
call fcn.004845bc
lea eax, [esp + 0x20]
mov ebp, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x14]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x61c]
lea edx, [ebp + ecx*2]
lea ecx, [eax + edx*4 + 0x44]
call fcn.0048456c
inc ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], ebp
lea ebp, [edi + 1]
push ebp
push 0x4b8664
call fcn.0048242b
mov edi, eax
cmp edi, ebx
jge 0x40e5d6
push str.cropGrow
lea ecx, [esp + 0x34]
call fcn.00439d10
test eax, eax
je 0x40e7cc
lea ecx, [esp + 0x90]
push str.value
push ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x24], ebx
xor ebp, ebp
call fcn.0040ee70
push 0x4ba5b0
lea edx, [esp + 0x7c]
push eax
push edx
mov byte [esp + 0x16c], 0x12
call fcn.004846c8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x164], 0x13
call fcn.0048456c
lea ecx, [esp + 0x78]
mov byte [esp + 0x160], 0x12
call fcn.00484433
lea ecx, [esp + 0x90]
mov byte [esp + 0x160], 6
call fcn.00484433
push ebx
push 0x4b8664
lea ecx, [esp + 0x1c]
call fcn.0048242b
mov edi, eax
cmp edi, ebx
jl 0x40e7cc
cmp dword [esp + 0x1c], 6
jae 0x40e7cc
mov eax, edi
lea ecx, [esp + 0x80]
sub eax, ebp
push eax
push ebp
push ecx
lea ecx, [esp + 0x20]
call fcn.00482246
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x164], 0x14
call fcn.0048456c
lea ecx, [esp + 0x80]
mov byte [esp + 0x160], 6
call fcn.00484433
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esi + 0x61c]
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
lea eax, [ebp + edx*2]
lea edx, [ecx + eax*4 + 0x60]
lea ecx, [esp + 0x20]
push edx
push 0x4b8278
push ebx
call fcn.00484863
push eax
call fcn.0046f2c3
add esp, 0xc
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
call fcn.004848b2
inc ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], ebp
lea ebp, [edi + 1]
push ebp
push 0x4b8664
call fcn.0048242b
mov edi, eax
cmp edi, ebx
jge 0x40e723
push 0x4ba590
lea ecx, [esp + 0x34]
call fcn.00439d10
test eax, eax
je 0x40ebdc
lea eax, [esp + 0x8c]
lea ecx, [esp + 0x30]
push eax
call fcn.0040ee30
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x164], 0x15
call fcn.0048456c
lea ecx, [esp + 0x8c]
mov byte [esp + 0x160], 6
call fcn.00484433
push 0x4c2d98
push 0x4ba584
lea ecx, [esp + 0x1c]
call fcn.004820c0
mov ecx, dword [esp + 0x14]
push ebx
mov ebp, dword [ecx - 8]
lea ecx, [esp + 0x18]
call fcn.00484863
xor edi, edi
cmp ebp, ebx
jle 0x40e84d
cmp byte [edi + eax], bl
jl 0x40e84d
inc edi
cmp edi, ebp
jl 0x40e843
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.004848b2
mov edx, dword [esp + 0x14]
push 0x4c2d98
push edx
call fcn.0046f2f7
add esp, 8
test eax, eax
je 0x40eb1f
cmp edi, ebp
jge 0x40eb1f
mov eax, dword [0x4be818]
mov dword [esp + 0x28], eax
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xd9]
mov byte [esp + 0xd8], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x99]
mov byte [esp + 0x98], bl
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x28]
stosw word es:[edi], ax
push ecx
push 0x4b8278
push edx
mov byte [esp + 0x16c], 0x16
stosb byte es:[edi], al
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], ebx
call fcn.004827a3
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
add esp, 0xc
lea ecx, [esp + 0xd8]
push eax
push 0x40
push ecx
push 0x4c2d98
push edx
push str.PLANTS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edi, [esp + 0xd8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40e9aa
lea eax, [esp + 0x98]
lea ecx, [esp + 0x58]
push eax
lea edx, [esp + 0x60]
push ecx
push edx
lea eax, [esp + 0xe4]
push str._d__d__s
push eax
call fcn.0046f2c3
mov eax, dword [esp + 0x24]
add esp, 0x14
lea ecx, [esp + 0x98]
lea eax, [eax + eax*2]
push ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x61c]
lea ecx, [eax + edx*8 + 0x10]
call fcn.004845bc
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x61c]
mov dword [esp + 0x4c], 1
mov byte [esp + 0x160], 6
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x5c]
mov dword [edx + ecx*8 + 0x30], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x61c]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x58]
mov dword [edx + ecx*8 + 0x28], eax
lea ecx, [esp + 0x28]
jmp 0x40ebd7
mov ecx, dword [0x4be818]
mov dword [esp + 0x1c], ecx
push str.name
lea ecx, [esp + 0x34]
mov byte [esp + 0x164], 0x17
call fcn.00439d10
test eax, eax
je 0x40eafd
lea edx, [esp + 0x68]
lea ecx, [esp + 0x30]
push edx
call fcn.0040ee30
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x164], 0x18
call fcn.0048456c
mov eax, dword [eax]
push 0x4c2d98
push eax
call fcn.0046f2f7
add esp, 8
lea ecx, [esp + 0x68]
test eax, eax
setne byte [esp + 0x1b]
mov byte [esp + 0x160], 0x17
call fcn.00484433
cmp byte [esp + 0x1b], bl
je 0x40eafd
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x74]
push eax
push 0x4ba558
push ecx
call fcn.0048473c
push 0x4ba554
lea edx, [esp + 0x70]
push eax
push edx
mov byte [esp + 0x16c], 0x19
call fcn.004846c8
mov eax, dword [eax]
mov edx, dword [esi]
push eax
push 4
mov ecx, esi
mov byte [esp + 0x168], 0x1a
call dword [edx + 4]
lea ecx, [esp + 0x6c]
mov byte [esp + 0x160], 0x19
call fcn.00484433
lea ecx, [esp + 0x74]
mov byte [esp + 0x160], 0x17
call fcn.00484433
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x61c]
mov edx, dword [esp + 0x1c]
mov edi, 1
lea eax, [eax + eax*2]
mov dword [esi + 0x18], edi
push edx
lea eax, [eax + eax*4]
mov edx, dword [ecx + eax*8 + 0x30]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x28]
lea eax, [esp + 0x24]
push ecx
push edx
push str._d__d__s
push eax
call fcn.004827a3
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
add esp, 0x14
push ecx
push edx
push eax
push str.PLANTS
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x61c]
lea ecx, [eax + edx*8 + 0x10]
call fcn.0048456c
mov dword [esp + 0x4c], edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x160], 0x16
call fcn.00484433
mov byte [esp + 0x160], 6
lea ecx, [esp + 0x28]
jmp 0x40ebd7
mov ecx, dword [0x4be818]
mov dword [esp + 0x28], ecx
push str.name
lea ecx, [esp + 0x34]
mov byte [esp + 0x164], 0x1b
call fcn.00439d10
test eax, eax
je 0x40ebcb
lea edx, [esp + 0x54]
lea ecx, [esp + 0x30]
push edx
call fcn.0040ee30
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x164], 0x1c
call fcn.0048456c
mov eax, dword [eax]
push 0x4c2d98
push eax
call fcn.0046f2f7
add esp, 8
lea ecx, [esp + 0x54]
test eax, eax
setne byte [esp + 0x1b]
mov byte [esp + 0x160], 0x1b
call fcn.00484433
cmp byte [esp + 0x1b], bl
je 0x40ebcb
lea eax, [esp + 0x28]
mov edx, dword [esi + 0x61c]
push eax
mov eax, dword [esp + 0x14]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
lea ecx, [edx + ecx*8 + 0x10]
call fcn.0048456c
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x61c]
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
mov dword [ecx + eax*8 + 4], 1
mov byte [esp + 0x160], 6
lea ecx, [esp + 0x28]
call fcn.00484433
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x61c]
lea ecx, [eax + edx*8]
mov eax, 0xcccccccd
mul dword [ecx + 0x70]
mov eax, dword [esp + 0x4c]
shr edx, 3
lea edx, [edx + edx*4]
shl edx, 1
cmp eax, ebx
mov dword [ecx + 0x18], edx
jne 0x40ed8a
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x61c]
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
mov dword [ecx + eax*8], ebx
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x61c]
lea eax, [edx + edx*2]
lea eax, [eax + eax*4]
cmp dword [ecx + eax*8 + 4], ebx
je 0x40ed8a
mov eax, dword [0x4be818]
mov dword [esp + 0x50], eax
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x119]
mov byte [esp + 0x118], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 7
xor eax, eax
lea edi, [esp + 0xb9]
mov byte [esp + 0xb8], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
lea ecx, [esp + 0x54]
push 0x4b8278
push ecx
mov byte [esp + 0x16c], 0x1d
mov dword [esp + 0x6c], ebx
stosb byte es:[edi], al
mov dword [esp + 0x30], ebx
call fcn.004827a3
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x5c]
add esp, 0xc
lea eax, [esp + 0x118]
push edx
push 0x40
push eax
push 0x4c2d98
push ecx
push str.PLANTS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edi, [esp + 0x118]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40ed79
lea edx, [esp + 0xb8]
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x64]
push eax
push ecx
lea edx, [esp + 0x124]
push str._d__d__s
push edx
call fcn.0046f2c3
add esp, 0x14
lea eax, [esp + 0xb8]
mov edx, dword [esi + 0x61c]
push eax
mov eax, dword [esp + 0x14]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
lea ecx, [edx + ecx*8 + 0x10]
call fcn.004845bc
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x61c]
mov edx, dword [esp + 0x60]
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
mov dword [ecx + eax*8 + 0x30], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x61c]
mov edx, dword [esp + 0x24]
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
mov dword [ecx + eax*8 + 0x28], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x61c]
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
mov dword [ecx + eax*8 + 4], ebx
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x61c]
mov dword [eax + edx*8], 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x160], 6
call fcn.00484433
lea ecx, [esp + 0x30]
call fcn.00439f50
push str.crop
lea ecx, [esp + 0x34]
call fcn.00439d10
test eax, eax
jne 0x40e332
lea ecx, [esp + 0x30]
call fcn.00439f50
lea ecx, [esp + 0x2c]
mov byte [esp + 0x160], 3
call fcn.00484433
lea ecx, [esp + 0x20]
mov byte [esp + 0x160], 2
call fcn.00484433
lea ecx, [esp + 0x14]
mov byte [esp + 0x160], 1
call fcn.00484433
lea ecx, [esp + 0x30]
mov byte [esp + 0x160], bl
call fcn.00439660
lea ecx, [esp + 0x168]
mov dword [esp + 0x160], 0xffffffff
call fcn.00484433
mov eax, 1
mov ecx, dword [esp + 0x158]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x154
ret 4