Function at 0x40ef00
Capabilities:
Access peb ldr_data
Parse credit card information

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x649ec0
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
mov ebp, dword [esp + 0x74]
mov eax, dword [ebp + 0x8c]
mov ecx, dword [eax + 0x320]
cmp byte [ecx + 0xdc], 0
push esi
push edi
je 0x40fc49
cmp byte [eax + 0x4ce], 0
je 0x40fc49
cmp dword [ebp + 0x5748], 0
jg 0x40fc49
mov ecx, eax
mov edx, dword [ecx]
mov eax, dword [edx + 0x13c]
call eax
test eax, eax
jg 0x40fc49
mov eax, dword [ebp + 0x8c]
cmp dword [eax + 0x7fc], 4
je 0x40fc49
mov ecx, dword [eax + 0x320]
mov edx, dword [ebp + 0x30]
mov ebx, dword [ecx + 0xe0]
mov esi, dword [ebp + 0x34]
mov edi, dword [ecx + 0xe4]
sub edi, esi
sub ebx, edx
cmp dword [eax + 0x7fc], 2
mov dword [esp + 0x7c], edi
jne 0x40f25b
mov ecx, dword [ebp + 0x15c]
cmp byte [ecx + 0x2c], 0
jne 0x40efd2
mov edx, dword [ebp + 0x154]
mov byte [edx + 0x64], 0
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
mov eax, dword [ebp + 0x144]
add esi, edi
add edx, ebx
call fcn.00489a20
test al, al
jne 0x40f23c
mov eax, dword [ebp + 0x8c]
mov ecx, dword [eax + 0x774]
mov eax, dword [ecx + 0x98]
call fcn.00448310
test al, al
jne 0x40f23c
mov eax, dword [ecx + 0x94]
call fcn.00448310
test al, al
jne 0x40f23c
mov eax, dword [ecx + 0xa0]
call fcn.00448310
test al, al
jne 0x40f23c
push edi
push ebx
push ebp
call fcn.0040e780
mov ebx, eax
test ebx, ebx
je 0x40fc49
cmp dword [ebx + 0x6c], 0xfffffffe
jne 0x40fc49
mov eax, dword [ebx + 0x24]
lea ecx, [eax*8]
sub ecx, eax
jmp 0x799af0
mov ecx, dword [ebp + 0x154]
mov byte [ecx + 0x64], 0
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
mov esi, ebp
call fcn.00412490
test al, al
je 0x40efb3
mov eax, dword [ebp + 0x154]
mov dword [eax + 0x68], 0
mov ecx, dword [ebp + 0x154]
mov dword [ecx + 0x6c], 0x258
push 0x65540c
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 4
mov esi, dword [ebp + 0x154]
lea edx, [esp + 0x30]
call fcn.0051a8d0
or edi, 0xffffffff
lea ecx, [esp + 0x30]
mov dword [esp + 0x74], edi
call fcn.00404420
push 0x65540c
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 5
mov esi, dword [ebp + 0x154]
lea edx, [esp + 0x30]
call fcn.0051a950
lea ecx, [esp + 0x30]
mov dword [esp + 0x74], edi
call fcn.00404420
push 0x65540c
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 6
mov esi, dword [ebp + 0x154]
lea edx, [esp + 0x30]
call fcn.0051a9d0
lea ecx, [esp + 0x30]
mov dword [esp + 0x74], edi
call fcn.00404420
mov edx, dword [ebp + 0x154]
mov ecx, dword [esp + 0x7c]
mov byte [edx + 0x65], 0
mov edi, dword [ebp + 0x160]
mov edx, ebx
call fcn.004219b0
test al, al
jne 0x40fc53
mov ecx, dword [esp + 0x7c]
lea eax, [esp + 0x14]
push eax
push ecx
push ebx
push ebp
call fcn.00411730
mov edi, dword [esp + 0x18]
cmp edi, 5
jne 0x40f398
push str._SHOVEL_TOOLTIP_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 7
mov esi, dword [ebp + 0x154]
lea edx, [esp + 0x30]
call fcn.0051a8d0
lea ecx, [esp + 0x30]
call fcn.00404420
lea eax, [esp + 0x14]
mov edx, ebp
call fcn.0040ae70
jmp 0x40fc00
cmp edi, 0xf
jne 0x40f41c
push str._NEXT_GARDEN_TOOLTIP_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 8
mov esi, dword [ebp + 0x154]
lea edx, [esp + 0x30]
call fcn.0051a8d0
lea ecx, [esp + 0x30]
call fcn.00404420
lea eax, [esp + 0x14]
mov edx, ebp
call fcn.0040ae70
mov eax, dword [ebp + 0x154]
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x54], 0x257
mov edx, dword [ebp + 0x154]
add ecx, 0x34
mov dword [edx + 0x58], ecx
mov ecx, dword [ebp + 0x154]
mov al, 1
mov byte [ecx + 0x65], al
mov edx, dword [ebp + 0x154]
mov byte [edx + 0x64], al
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
cmp edi, 6
je 0x40facf
cmp edi, 7
je 0x40faea
cmp edi, 8
je 0x40fb0a
cmp edi, 9
je 0x40fb05
cmp edi, 0xa
je 0x40fb05
cmp edi, 0xb
je 0x40fb05
cmp edi, 0xc
je 0x40fb05
cmp edi, 0xd
je 0x40fb05
cmp edi, 0xe
je 0x40fb05
cmp edi, 4
jne 0x40f23c
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x34]
mov ebx, eax
cmp ebx, 0x30
jne 0x40f48e
mov ecx, dword [edx + 0x38]
cmp ecx, 0xffffffff
je 0x40f48e
mov ebx, ecx
mov ecx, dword [0x6a9ec0]
mov ecx, dword [ecx + 0x7f8]
cmp ecx, 0x14
je 0x40f72d
cmp ecx, 0x18
je 0x40f72d
cmp eax, 0x38
jne 0x40f4cc
push str._SLOT_MACHINE_SUN_TOOLTIP_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0x17
jmp 0x40f7bc
cmp eax, 0x39
jne 0x40f4ec
push str._SLOT_MACHINE_DIAMOND_TOOLTIP_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0x18
jmp 0x40f7bc
cmp eax, 0x3a
jne 0x40f50c
push str._ZOMBIQUARIUM_SNORKEL_TOOLTIP_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0x19
jmp 0x40f7bc
cmp eax, 0x3b
jne 0x40f52c
push str._ZOMBIQUARIUM_TROPHY_TOOLTIP_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0x1a
jmp 0x40f7bc
cmp eax, 0x3c
jne 0x40f54c
push str._ZOMBIE_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0x1b
jmp 0x40f7bc
cmp eax, 0x3d
jne 0x40f56c
push str._CONEHEAD_ZOMBIE_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0x1c
jmp 0x40f7bc
cmp eax, 0x3e
jne 0x40f58c
push str._POLE_VAULTING_ZOMBIE_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0x1d
jmp 0x40f7bc
cmp eax, 0x3f
jne 0x40f5ac
push str._BUCKETHEAD_ZOMBIE_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0x1e
jmp 0x40f7bc
cmp eax, 0x40
jne 0x40f5cc
push str._LADDER_ZOMBIE_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0x1f
jmp 0x40f7bc
cmp eax, 0x41
jne 0x40f5ec
push str._DIGGER_ZOMBIE_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0x20
jmp 0x40f7bc
cmp eax, 0x42
jne 0x40f60c
push str._BUNGEE_ZOMBIE_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0x21
jmp 0x40f7bc
cmp eax, 0x43
jne 0x40f62c
push str._FOOTBALL_ZOMBIE_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0x22
jmp 0x40f7bc
cmp eax, 0x44
jne 0x40f64c
push str._BALLOON_ZOMBIE_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0x23
jmp 0x40f7bc
cmp eax, 0x45
jne 0x40f66c
push str._SCREEN_DOOR_ZOMBIE_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0x24
jmp 0x40f7bc
cmp eax, 0x46
jne 0x40f68c
push str._ZOMBONI_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0x25
jmp 0x40f7bc
cmp eax, 0x47
jne 0x40f6ac
push str._POGO_ZOMBIE_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0x26
jmp 0x40f7bc
cmp eax, 0x48
jne 0x40f6cc
push str._DANCING_ZOMBIE_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0x27
jmp 0x40f7bc
cmp eax, 0x49
jne 0x40f6ec
push str._GARGANTUAR_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0x28
jmp 0x40f7bc
cmp eax, 0x4a
jne 0x40f70c
push str._IMP_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0x29
jmp 0x40f7bc
mov edx, dword [edx + 0x38]
push edx
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00467c00
add esp, 0xc
mov dword [esp + 0x74], 0x2a
mov edx, eax
jmp 0x40f7c0
cmp eax, 7
jne 0x40f74a
push str._BEGHOULED_REPEATER_UPGRADE_TOOLTIP_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0x12
jmp 0x40f7bc
cmp eax, 0xa
jne 0x40f767
push str._BEGHOULED_FUMESHROOM_UPGRADE_TOOLTIP_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0x13
jmp 0x40f7bc
cmp eax, 0x17
jne 0x40f784
push str._BEGHOULED_TALLNUT_UPGRADE_TOOLTIP_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0x14
jmp 0x40f7bc
cmp eax, 0x36
jne 0x40f7a1
push str._BEGHOULED_SHUFFLE_TOOLTIP_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0x15
jmp 0x40f7bc
cmp eax, 0x37
jne 0x40f7dc
push str._BEGHOULED_CRATER_TOOLTIP_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0x16
lea edx, [esp + 0x30]
mov esi, dword [ebp + 0x154]
call fcn.0051a8d0
lea ecx, [esp + 0x30]
mov dword [esp + 0x74], 0xffffffff
call fcn.00404420
mov esi, dword [esp + 0x14]
mov edx, dword [esi + 0x38]
mov eax, dword [esi + 0x34]
mov edi, ebp
call fcn.0041dae0
mov ecx, dword [ebp + 0x8c]
cmp byte [ecx + 0x814], 0
je 0x40f82a
push str.FREE_PLANTING_CHEAT
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0x2b
mov esi, dword [ebp + 0x154]
lea edx, [esp + 0x30]
call fcn.0051a9d0
lea ecx, [esp + 0x30]
jmp 0x40fa67
mov dl, byte [esi + 0x48]
test dl, dl
jne 0x40f898
mov ecx, dword [0x6a9ec0]
mov ecx, dword [ecx + 0x7f8]
cmp ecx, 0x14
je 0x40f847
cmp ecx, 0x18
jne 0x40f879
cmp dword [esi + 0x34], 0x37
lea ecx, [esp + 0x30]
jne 0x40f865
push str._BEGHOULED_NO_CRATERS_
call fcn.00404450
mov dword [esp + 0x74], 0x2c
jmp 0x40f812
push str._BEGHOULED_SEED_ALREADY_PURCHASED_
call fcn.00404450
mov dword [esp + 0x74], 0x2d
jmp 0x40f812
test dl, dl
jne 0x40f898
push str._WAITING_FOR_SEED_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0x2e
jmp 0x40f812
push eax
mov edx, ebp
call fcn.0041bab0
test al, al
jne 0x40f8d9
mov eax, ebp
call fcn.0041be50
test al, al
jne 0x40f8d9
mov eax, dword [ebp + 0x8c]
call fcn.00453870
test al, al
jne 0x40f8d9
push str._NOT_ENOUGH_SUN_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0x2f
jmp 0x40f812
cmp ebx, 0x28
jne 0x40f90a
mov eax, ebx
mov edx, ebp
call fcn.0041d7d0
test al, al
jne 0x40fa6c
push str._REQUIRES_REPEATER_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0x30
jmp 0x40f812
cmp ebx, 0x2c
jne 0x40f93b
mov eax, ebx
mov edx, ebp
call fcn.0041d7d0
test al, al
jne 0x40fa6c
push str._REQUIRES_MELONPULT_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0x31
jmp 0x40f812
cmp ebx, 0x29
jne 0x40f96c
mov eax, ebx
mov edx, ebp
call fcn.0041d7d0
test al, al
jne 0x40fa6c
push str._REQUIRES_SUNFLOWER_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0x32
jmp 0x40f812
cmp ebx, 0x2e
jne 0x40f99d
mov eax, ebx
mov edx, ebp
call fcn.0041d7d0
test al, al
jne 0x40fa6c
push str._REQUIRES_SPIKEWEED_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0x33
jmp 0x40f812
cmp ebx, 0x2f
jne 0x40f9ce
mov eax, ebx
mov edx, ebp
call fcn.0041d7d0
test al, al
jne 0x40fa6c
push str._REQUIRES_KERNELPULTS_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0x34
jmp 0x40f812
cmp ebx, 0x2d
jne 0x40f9ff
mov eax, ebx
mov edx, ebp
call fcn.0041d7d0
test al, al
jne 0x40fa6c
push str._REQUIRES_MAGNETSHROOM_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0x35
jmp 0x40f812
cmp ebx, 0x2a
jne 0x40fa2c
mov eax, ebx
mov edx, ebp
call fcn.0041d7d0
test al, al
jne 0x40fa6c
push str._REQUIRES_FUMESHROOM_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0x36
jmp 0x40f812
cmp ebx, 0x2b
jne 0x40fa6c
mov eax, ebx
mov edx, ebp
call fcn.0041d7d0
test al, al
jne 0x40fa6c
push str._REQUIRES_LILY_PAD_
lea ecx, [esp + 0x50]
call fcn.00404450
mov dword [esp + 0x74], 0x37
mov esi, dword [ebp + 0x154]
lea edx, [esp + 0x4c]
call fcn.0051a9d0
lea ecx, [esp + 0x4c]
call fcn.00404420
mov ecx, dword [ebp + 0x154]
mov eax, 0x32
sub eax, dword [ecx + 0x5c]
cdq
sub eax, edx
mov edx, eax
mov eax, dword [ebp + 0x144]
sar edx, 1
add edx, dword [eax + 8]
mov eax, dword [esp + 0x14]
add edx, dword [eax + 0x30]
add edx, dword [eax + 8]
mov dword [ecx + 0x54], edx
mov ecx, dword [ebp + 0x144]
mov edx, dword [ecx + 0xc]
mov eax, dword [eax + 0xc]
lea ecx, [edx + eax + 0x46]
mov edx, dword [ebp + 0x154]
mov dword [edx + 0x58], ecx
mov eax, dword [ebp + 0x154]
mov byte [eax + 0x64], 1
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
push str._WATERING_CAN_TOOLTIP_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 9
jmp 0x40fbd4
push str._FERTILIZER_TOOLTIP_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0xa
jmp 0x40fbd4
cmp edi, 8
jne 0x40fb25
push str._BUG_SPRAY_TOOLTIP_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0xb
jmp 0x40fbd4
cmp edi, 9
jne 0x40fb45
push str._PHONOGRAPH_TOOLTIP_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0xc
jmp 0x40fbd4
cmp edi, 0xa
jne 0x40fb62
push str._CHOCOLATE_TOOLTIP_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0xd
jmp 0x40fbd4
cmp edi, 0xb
jne 0x40fb7f
push str._GLOVE_TOOLTIP_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0xe
jmp 0x40fbd4
cmp edi, 0xc
jne 0x40fb9c
push str._MONEY_SIGN_TOOLTIP_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0xf
jmp 0x40fbd4
cmp edi, 0xd
jne 0x40fbb9
push str._WHEELBARROW_TOOLTIP_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0x10
jmp 0x40fbd4
cmp edi, 0xe
jne 0x40fbec
push str._TREE_FERTILIZER_TOOLTIP_
lea ecx, [esp + 0x34]
call fcn.00404450
mov dword [esp + 0x74], 0x11
mov esi, dword [ebp + 0x154]
lea edx, [esp + 0x30]
call fcn.0051a8d0
lea ecx, [esp + 0x30]
call fcn.00404420
lea eax, [esp + 0x14]
mov edx, ebp
call fcn.0040ae70
push edi
push ebp
mov edi, eax
call fcn.0040af00
mov eax, dword [ebp + 0x154]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add edx, 0x23
mov dword [eax + 0x54], edx
mov edx, dword [ebp + 0x154]
add ecx, 0x48
mov dword [edx + 0x58], ecx
mov ecx, dword [ebp + 0x154]
mov al, 1
mov byte [ecx + 0x65], al
mov edx, dword [ebp + 0x154]
mov byte [edx + 0x64], al
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
mov eax, dword [ebp + 0x154]
mov byte [eax + 0x64], 0
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x68
ret 4