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

Disassembly:
push 0xffffffffffffffff
push 0x4752d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], esi
call sub.MFC42u.DLL_CString::CString_2
mov eax, dword [0x4d8b0c]
xor ebx, ebx
mov ecx, 0xf
lea edi, [esp + 0x3c]
mov edx, dword [eax + 0x17b1c]
mov dword [esp + 0x80], ebx
cmp edx, 0x13157a1
mov dword [esp + 0x28], ebx
sbb eax, eax
inc eax
mov dword [esp + 0x30], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [esp + 0x64], 4
mov eax, dword [esi + 0x16f8c]
mov dword [esp + 0x2c], ebx
test eax, eax
je 0x42455a
mov ecx, dword [esi + 0x16f90]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
mov eax, dword [esp + 0x28]
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp eax, edx
jae 0x42455a
mov ebp, dword [esi + 0x16f8c]
mov eax, dword [ebx + ebp + 4]
test eax, eax
jne 0x42420b
mov eax, dword [ebx + ebp]
add eax, 0xffffff30
cmp eax, 0x21
ja case.0x424177.211
xor edx, edx
mov dl, byte [eax + 0x424594]
jmp dword [edx*4 + 0x424584]
push str.FreeForVip
call fcn.0045eb00
add esp, 4
push eax
jmp 0x424282
push str.VipDailyFreeGet
call fcn.0045eb00
add esp, 4
push eax
jmp 0x424282
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4241e7
mov eax, dword [0x4d8b0c]
mov ecx, dword [eax + 0x1e508]
mov edi, dword [eax + 0x1e504]
mov edx, dword [eax + 0x1e4ec]
add ecx, edi
push ecx
push edx
push str.VipRoundMoreUse
call fcn.0045eb00
add esp, 4
push eax
lea eax, [esp + 0x1c]
push eax
call sub.MFC42u.DLL_CString::Format
add esp, 0x10
jmp 0x42428b
push 4
push 2
push str.VipRoundMoreUse
call fcn.0045eb00
add esp, 4
lea ecx, [esp + 0x18]
push eax
push ecx
call sub.MFC42u.DLL_CString::Format
add esp, 0x10
jmp 0x42428b
cmp eax, 1
jne 0x42428b
mov eax, dword [ebx + ebp]
test eax, eax
jl case.0x424177.211
cmp eax, 1
jg case.0x424177.211
mov eax, dword [esp + 0x30]
test eax, eax
je 0x42425c
mov eax, dword [0x4d8b0c]
mov edx, dword [eax + 0x1e508]
mov edi, dword [eax + 0x1e504]
mov eax, dword [eax + 0x1e4ec]
add edx, edi
push edx
push eax
push str.VipRoundMoreUse
call fcn.0045eb00
add esp, 4
lea ecx, [esp + 0x18]
push eax
push ecx
call sub.MFC42u.DLL_CString::Format
add esp, 0x10
jmp 0x42428b
push 4
push 2
push str.VipRoundMoreUse
call fcn.0045eb00
add esp, 4
lea edx, [esp + 0x18]
push eax
push edx
call sub.MFC42u.DLL_CString::Format
add esp, 0x10
jmp 0x42428b
push 0x4941b0
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::operator_2
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
jle 0x4244e8
push 0
push eax
push ecx
call sub.CLUINewEngineU.dll_public:_static_int___cdecl_CxImage::GetTextWidth_unsigned_short_int_const___int__struct_HFONT____
add esp, 0xc
mov edi, eax
lea ecx, [esi + 0x33e0]
lea eax, [esi + 0x3404]
lea edx, [esi + 0x344c]
add esi, 0x3428
push 0
mov dword [esp + 0x38], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], esi
call sub.CLUINewEngineU.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
mov ecx, dword [esp + 0x14]
push 0
sub edi, eax
call sub.CLUINewEngineU.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
mov ecx, dword [esp + 0x24]
push 0
sub edi, eax
call sub.CLUINewEngineU.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
push 0
mov ecx, esi
sub edi, eax
call sub.CLUINewEngineU.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
push 0
mov ecx, esi
lea edi, [edi + eax - 1]
call sub.CLUINewEngineU.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
mov ecx, eax
mov eax, edi
xor edx, edx
div ecx
test eax, eax
mov dword [esp + 0x20], eax
jge 0x424321
mov dword [esp + 0x20], 0
mov esi, dword [ebx + ebp + 0x14]
mov ecx, dword [esp + 0x14]
push 0
add esi, 0xc
call sub.CLUINewEngineU.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
mov ecx, dword [esp + 0x24]
mov edi, 0x320
shr eax, 1
sub edi, eax
push 0
sub edi, esi
call sub.CLUINewEngineU.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
mov ecx, dword [esp + 0x1c]
push 0
sub edi, eax
call sub.CLUINewEngineU.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
mov ecx, eax
mov eax, edi
xor edx, edx
mov edi, dword [esp + 0x20]
div ecx
cmp eax, edi
jle 0x42436a
mov eax, edi
jmp 0x424370
test eax, eax
jge 0x424370
xor eax, eax
mov ecx, dword [esp + 0x1c]
sub edi, eax
push 0
mov dword [esp + 0x3c], edi
call sub.CLUINewEngineU.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
imul eax, edi
mov ecx, dword [esp + 0x14]
push 0
sub esi, eax
call sub.CLUINewEngineU.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
mov ecx, dword [esp + 0x34]
push 0
shr eax, 1
sub esi, eax
call sub.CLUINewEngineU.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
mov edi, dword [ebx + ebp + 0x18]
xor edx, edx
mov dl, byte [ebx + ebp + 0x20]
mov ebx, dword [esp + 0x34]
sub esi, eax
add edx, 0x3e
lea eax, [esp + 0x3c]
sub edi, 0x2d
shl edx, 0x18
push eax
push 0
or edx, 0xffffff
push edi
push esi
mov ecx, ebx
mov dword [esp + 0x78], edx
call sub.CLUINewEngineU.dll_public:_void___thiscall_CxImage::Draw_int__int__unsigned_int__struct_CxImage::_DRAW_PARA__
push 0
mov ecx, ebx
call sub.CLUINewEngineU.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
mov ecx, dword [esp + 0x20]
mov ebx, eax
add ebx, esi
mov dword [esp + 0x24], 0
lea eax, [ecx + 1]
test eax, eax
mov dword [esp + 0x34], eax
jle 0x424461
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
cmp eax, edx
jne 0x424427
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x3c]
push eax
push 0
push edi
add ecx, 0x3404
push ebx
mov dword [esp + 0x24], ecx
call sub.CLUINewEngineU.dll_public:_void___thiscall_CxImage::Draw_int__int__unsigned_int__struct_CxImage::_DRAW_PARA__
mov ecx, dword [esp + 0x14]
push 0
jmp 0x424449
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x3c]
push edx
push 0
push edi
lea ecx, [eax + 0x3428]
push ebx
mov dword [esp + 0x2c], ecx
call sub.CLUINewEngineU.dll_public:_void___thiscall_CxImage::Draw_int__int__unsigned_int__struct_CxImage::_DRAW_PARA__
mov ecx, dword [esp + 0x1c]
push 0
call sub.CLUINewEngineU.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
mov ecx, dword [esp + 0x34]
add ebx, eax
mov eax, dword [esp + 0x24]
inc eax
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x4243f7
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x3c]
push ecx
push 0
push edi
push ebx
lea ebx, [edx + 0x344c]
mov ecx, ebx
call sub.CLUINewEngineU.dll_public:_void___thiscall_CxImage::Draw_int__int__unsigned_int__struct_CxImage::_DRAW_PARA__
push 0
mov ecx, ebx
call sub.CLUINewEngineU.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
mov ecx, dword [esp + 0x2c]
push 0
lea eax, [edi + 6]
push 0
add esi, 3
push eax
push esi
push ecx
lea edx, [ecx + ebp + 0x1c]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
call sub.MFC42u.DLL_CString::CString_3
mov ebx, dword [esp + 0x2c]
mov ecx, ebx
call fcn.00423bf0
push 0
add edi, 0x16
push 0
push edi
push esi
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call sub.MFC42u.DLL_CString::CString_3
mov ecx, ebx
call fcn.00423bf0
mov ecx, dword [esp + 0x28]
mov esi, ebx
mov ebx, dword [esp + 0x2c]
inc ecx
mov dword [esp + 0x28], ecx
add ebx, 0x24
jmp 0x424115
xor ecx, ecx
lea edx, [esp + 0x3c]
mov cl, byte [ebx + ebp + 0x20]
push edx
add ecx, 0x10
shl ecx, 0x18
or ecx, 0xffffff
mov dword [esp + 0x6c], ecx
mov eax, dword [ebx + ebp + 0x10]
mov ecx, dword [ebx + ebp + 0xc]
mov edx, dword [ebx + ebp + 8]
push eax
push ecx
push edx
lea ecx, [esi + 0x33bc]
call sub.CLUINewEngineU.dll_public:_void___thiscall_CxImage::Draw_int__int__unsigned_int__struct_CxImage::_DRAW_PARA__
mov eax, dword [ebx + ebp + 0xc]
mov ecx, dword [ebx + ebp + 8]
push 0
add eax, 5
push 0
add ecx, 5
push eax
push ecx
push ecx
lea edx, [ebx + ebp + 0x1c]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
call sub.MFC42u.DLL_CString::CString_3
mov ecx, esi
call fcn.00423bf0
mov ecx, dword [esp + 0x28]
inc ecx
add ebx, 0x24
mov dword [esp + 0x28], ecx
jmp 0x424115
lea ecx, [esp + 0x10]
mov dword [esp + 0x80], 0xffffffff
call fcn.00465724
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x74
ret
cmp al, 1
call sub.MFC42u.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x48]
mov byte [esp + 0x2c], 0
call fcn.00465724
mov ecx, 0x494280
call fcn.00405820
test eax, eax
je 0x4348be
mov ecx, dword [esp + 0x34]
push 0
push 0
push ecx
lea ecx, [esi + 0x17be4]
call fcn.00458a60
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00465724
test bl, bl
jne 0x434909
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esi + 0x19438]
push edx
call fcn.004463e0
test eax, eax
jne 0x434909
mov ecx, dword [esi + 0x19438]
call fcn.00446370
test eax, eax
jle 0x434909
add esi, 0x18f10
mov ecx, ebp
push esi
call fcn.00421e10
mov ecx, dword [esp + 0x24]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0x24