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

Disassembly:
push 0xffffffffffffffff
push 0x4f112a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push esi
push edi
mov edi, ecx
mov dword [esp + 0x54], edi
xor esi, esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x138], esi
call fcn.0045ad00
lea ecx, [esp + 0x10]
mov byte [esp + 0x138], 1
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0xc]
mov byte [esp + 0x138], 2
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], 3
call sub.MFC42.DLL_CString::CString_4
push esi
lea ecx, [esp + 0x6c]
mov byte [esp + 0x13c], 4
mov dword [esp + 0xc], esi
call fcn.0044e9a0
push esi
lea ecx, [esp + 0x8c]
mov byte [esp + 0x13c], 5
call fcn.0044e9a0
push esi
lea ecx, [esp + 0x7c]
mov byte [esp + 0x13c], 6
call fcn.0044e9a0
push esi
lea ecx, [esp + 0x5c]
mov byte [esp + 0x13c], 7
call fcn.0044e9a0
lea ecx, [esp + 0x98]
mov byte [esp + 0x138], 8
call fcn.0044a000
mov eax, dword [esp + 0x140]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0x13c], 9
call fcn.0045b660
test eax, eax
jne 0x424c27
push 1
lea ecx, [esp + 0x120]
mov byte [esp + 0x13c], 0xc
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xfc]
mov byte [esp + 0x13c], 0xb
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [esp + 0xf4]
mov byte [esp + 0x138], 0xa
cmp eax, esi
je 0x424d0a
lea ecx, [esp + 0xc8]
call fcn.0042c1b0
cmp dword [esp + 0xf4], esi
jne 0x424c0d
jmp 0x424d0a
push str.data
lea ecx, [esp + 0x1c]
call fcn.0045b960
test eax, eax
jne 0x424c95
push 1
lea ecx, [esp + 0x120]
mov byte [esp + 0x13c], 0xf
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xfc]
mov byte [esp + 0x13c], 0xe
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [esp + 0xf4]
mov byte [esp + 0x138], 0xd
cmp eax, esi
je 0x424d0a
lea ecx, [esp + 0xc8]
call fcn.0042c1b0
cmp dword [esp + 0xf4], esi
jne 0x424c7e
jmp 0x424d0a
lea ecx, [esp + 0x18]
call fcn.0045baf0
push str.cardsGameRewards
lea ecx, [esp + 0x1c]
call fcn.0045b960
test eax, eax
jne 0x424dc7
push 1
lea ecx, [esp + 0x120]
mov byte [esp + 0x13c], 0x12
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xfc]
mov byte [esp + 0x13c], 0x11
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [esp + 0xf4]
mov byte [esp + 0x138], 0x10
cmp eax, esi
je 0x424d0a
lea ecx, [esp + 0xc8]
call fcn.0042c1b0
cmp dword [esp + 0xf4], esi
jne 0x424cf5
lea ecx, [esp + 0x98]
mov byte [esp + 0x138], 8
call fcn.0042bfc0
lea ecx, [esp + 0x58]
mov byte [esp + 0x138], 7
call fcn.0044eec0
lea ecx, [esp + 0x78]
mov byte [esp + 0x138], 6
call fcn.0044eec0
lea ecx, [esp + 0x88]
mov byte [esp + 0x138], 5
call fcn.0044eec0
lea ecx, [esp + 0x68]
mov byte [esp + 0x138], 4
call fcn.0044eec0
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x138], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x138], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x138], 0
call fcn.0045b170
lea ecx, [esp + 0x140]
mov dword [esp + 0x138], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4253a6
push ebx
push ebp
lea ecx, [esp + 0x20]
call fcn.0045baf0
mov eax, dword [edi + 0xc]
lea ebx, [edi + 8]
cmp eax, esi
jne 0x424de0
xor ebp, ebp
jmp 0x424de8
mov ebp, dword [ebx + 8]
sub ebp, eax
sar ebp, 2
test ebp, ebp
jbe 0x424e04
mov eax, dword [edi + 0xc]
mov eax, dword [eax + esi*4]
push eax
mov dword [esp + 0x14], eax
call sub.MFC42.DLL_operatordelete
add esp, 4
inc esi
cmp esi, ebp
jb 0x424dec
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
push eax
push ecx
mov ecx, ebx
call fcn.004a7660
push str.cardsGameReward
lea ecx, [esp + 0x24]
call fcn.0045b960
mov esi, dword [sym.imp.MSVCRT.dll_atoi]
mov ebp, dword [sym.imp.MSVCRT.dll_strncpy]
test eax, eax
je 0x424fda
push 0x40
call sub.MFC42.DLL_operatornew
mov edi, eax
mov ecx, 0x10
xor eax, eax
mov dword [esp + 0x14], edi
add esp, 4
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x50]
push 0x526028
push ecx
lea ecx, [esp + 0x28]
call fcn.00423910
mov eax, dword [eax]
push eax
call esi
mov edx, dword [esp + 0x14]
add esp, 4
lea ecx, [esp + 0x50]
mov dword [edx], eax
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x44]
push 0x5267ac
push eax
lea ecx, [esp + 0x28]
call fcn.00423910
mov eax, dword [eax]
push eax
call esi
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx + 4], eax
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x58]
push 0x5261ac
push edx
lea ecx, [esp + 0x28]
call fcn.00423910
mov eax, dword [eax]
push eax
call esi
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx + 8], eax
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x54]
push 0x526044
push edx
lea ecx, [esp + 0x28]
call fcn.00423910
mov eax, dword [eax]
push eax
call esi
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx + 0x10], eax
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x3c]
push 0x525f58
push edx
lea ecx, [esp + 0x28]
call fcn.00423910
mov eax, dword [eax]
push eax
call esi
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x48]
push str.store
push edx
lea ecx, [esp + 0x28]
call fcn.00423910
mov eax, dword [eax]
push 0x13
push eax
mov eax, dword [esp + 0x18]
add eax, 0x14
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
push str.name
push ecx
lea ecx, [esp + 0x28]
call fcn.00423910
mov edx, dword [esp + 0x10]
mov eax, dword [eax]
push 0xf
add edx, 0x28
push eax
push edx
call ebp
add esp, 0xc
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x40]
push 0x5267a0
push eax
lea ecx, [esp + 0x28]
call fcn.00423910
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
push 7
add ecx, 0x38
push eax
push ecx
call ebp
add esp, 0xc
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x5c]
lea ecx, [esp + 0x10]
push ecx
push 1
mov eax, dword [edx + 0x10]
mov ecx, ebx
push eax
call fcn.0047f0e0
push str.cardsGameReward
lea ecx, [esp + 0x24]
call fcn.0045b960
test eax, eax
jne 0x424e35
lea ecx, [esp + 0x20]
call fcn.0045bba0
push str.Tanabatas
lea ecx, [esp + 0x24]
call fcn.0045b960
test eax, eax
je 0x4251c6
lea ecx, [esp + 0x20]
call fcn.0045baf0
push str.Tanabata
lea ecx, [esp + 0x24]
call fcn.0045b960
test eax, eax
je 0x4251bd
push 0x40
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
mov ecx, 0x10
xor eax, eax
mov dword [esp + 0x10], edi
lea edx, [esp + 0x40]
rep stosd dword es:[edi], eax
push 0x526028
push edx
lea ecx, [esp + 0x28]
call fcn.00423910
mov eax, dword [eax]
push eax
call esi
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx], eax
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x4c]
push 0x5267ac
push edx
lea ecx, [esp + 0x28]
call fcn.00423910
mov eax, dword [eax]
push eax
call esi
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx + 4], eax
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x48]
push 0x5261ac
push edx
lea ecx, [esp + 0x28]
call fcn.00423910
mov eax, dword [eax]
push eax
call esi
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx + 8], eax
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x3c]
push 0x526044
push edx
lea ecx, [esp + 0x28]
call fcn.00423910
mov eax, dword [eax]
push eax
call esi
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx + 0x10], eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x54]
push 0x525f58
push edx
lea ecx, [esp + 0x28]
call fcn.00423910
mov eax, dword [eax]
push eax
call esi
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x58]
push str.store
push edx
lea ecx, [esp + 0x28]
call fcn.00423910
mov eax, dword [eax]
push 0x13
push eax
mov eax, dword [esp + 0x18]
add eax, 0x14
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
push str.name
push ecx
lea ecx, [esp + 0x28]
call fcn.00423910
mov edx, dword [esp + 0x10]
mov eax, dword [eax]
push 0xf
add edx, 0x28
push eax
push edx
call ebp
add esp, 0xc
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x50]
push 0x5267a0
push eax
lea ecx, [esp + 0x28]
call fcn.00423910
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
push 7
add ecx, 0x38
push eax
push ecx
call ebp
add esp, 0xc
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x5c]
lea ecx, [esp + 0x10]
push ecx
push 1
mov eax, dword [edx + 0x10]
mov ecx, ebx
push eax
call fcn.0047f0e0
push str.Tanabata
lea ecx, [esp + 0x24]
call fcn.0045b960
test eax, eax
jne 0x425018
lea ecx, [esp + 0x20]
call fcn.0045bba0
mov eax, dword [esp + 0x128]
xor esi, esi
pop ebp
cmp eax, esi
mov byte [esp + 0x13c], 0x13
pop ebx
je 0x4251fa
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4251f1
cmp al, 0xff
je 0x4251f1
dec al
mov byte [ecx], al
jmp 0x4251fa
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x120], esi
cmp eax, esi
mov dword [esp + 0x124], esi
mov dword [esp + 0x128], esi
je 0x425237
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x42522e
cmp al, 0xff
je 0x42522e
dec al
mov byte [ecx], al
jmp 0x425237
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0xf4]
mov dword [esp + 0xfc], esi
cmp eax, esi
mov dword [esp + 0x100], esi
mov dword [esp + 0x104], esi
je 0x4252a8
mov eax, dword [esp + 0xd4]
push esi
mov ecx, eax
add eax, 0x20
mov dword [esp + 0xd8], eax
call fcn.0042c6f0
mov eax, dword [esp + 0xf4]
dec eax
mov dword [esp + 0xf4], eax
je 0x425293
mov edx, dword [esp + 0xd4]
mov eax, dword [esp + 0xd0]
cmp edx, eax
jne 0x42529f
lea ecx, [esp + 0xc8]
call fcn.0042c550
cmp dword [esp + 0xf4], esi
jne 0x425257
mov eax, dword [esp + 0xc4]
mov byte [esp + 0x138], 8
cmp eax, esi
je 0x4252ff
mov ecx, dword [esp + 0xa4]
mov eax, dword [esp + 0xc4]
add ecx, 4
dec eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xc4], eax
je 0x4252ea
mov eax, ecx
mov ecx, dword [esp + 0xa0]
cmp eax, ecx
jne 0x4252f6
lea ecx, [esp + 0x98]
call fcn.0042c550
cmp dword [esp + 0xc4], esi
jne 0x4252bb
lea ecx, [esp + 0x58]
mov byte [esp + 0x138], 7
call fcn.0044eec0
lea ecx, [esp + 0x78]
mov byte [esp + 0x138], 6
call fcn.0044eec0
lea ecx, [esp + 0x88]
mov byte [esp + 0x138], 5
call fcn.0044eec0
lea ecx, [esp + 0x68]
mov byte [esp + 0x138], 4
call fcn.0044eec0
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x138], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x138], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x138], 0
call fcn.0045b170
lea ecx, [esp + 0x140]
mov dword [esp + 0x138], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x130]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x134
ret 4