Function at 0x404df0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x492276
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x3d]
mov byte [esp + 0x3c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x4be818]
mov dword [esp + 0x20], eax
xor esi, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x148], esi
mov byte [esp + 0x148], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0046f3a6
lea eax, [esp + 0x20]
push eax
call fcn.00409ae0
mov eax, dword [eax]
add esp, 8
lea ecx, [esp + 0x3c]
push ecx
push esi
push 0x4b8460
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
lea ecx, [esp + 0x1c]
sete bl
call fcn.00484433
test bl, bl
je 0x404ee9
lea edx, [esp + 0x10]
push edx
call fcn.00409ae0
add esp, 4
push str.VerifyCode
push eax
lea eax, [esp + 0x24]
mov byte [esp + 0x150], 2
push eax
call fcn.004846c8
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x3c]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.00484433
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], 1
call fcn.00484433
xor esi, esi
call fcn.0046f3b3
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], esi
fild qword [esp + 0x28]
sub esp, 8
lea ecx, [esp + 0x28]
fmul dword [0x49eacc]
fstp qword [esp]
push str.http:__ptlogin2.qq.com_getimage_aid353e_f
push ecx
call fcn.004827a3
mov edi, dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [esp + 0x2c], esi
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add esp, 0x10
mov bl, 6
push 1
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x4c2d98
call fcn.004844a1
push 0
push 0
push 0
push 0
push ecx
mov byte [esp + 0x168], 3
mov ecx, esp
mov dword [esp + 0x54], esp
push 0x4c2d98
call fcn.004844a1
push ecx
lea edx, [esp + 0x60]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
mov byte [esp + 0x170], 4
call fcn.004844a1
push ecx
lea eax, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
mov byte [esp + 0x174], 5
call fcn.004841a8
mov byte [esp + 0x170], 1
call fcn.004088b0
add esp, 0x28
test eax, eax
je 0x405035
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
push ecx
call esi
push ecx
lea edx, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.004844a1
lea eax, [esp + 0x14]
mov ecx, 0x4c2da0
push eax
call fcn.004080e0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], bl
call fcn.0048456c
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], 1
call fcn.00484433
mov ecx, dword [ebp + 8]
push ecx
call edi
mov edx, dword [esp + 0x18]
cmp dword [edx - 8], 4
jne 0x40501c
xor ecx, ecx
mov al, byte [ecx + edx]
cmp al, 0x5a
jg 0x405017
cmp al, 0x41
jl 0x405017
inc ecx
cmp ecx, 4
jl 0x405006
cmp ecx, 4
je 0x40502e
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, 0xf
mov dword [esp + 0x1c], eax
jl 0x404f2a
cmp dword [esp + 0x1c], 0xf
jne 0x405061
lea ecx, [esp + 0x18]
mov byte [esp + 0x148], 0
call fcn.00484433
lea ecx, [esp + 0x20]
mov dword [esp + 0x148], 0xffffffff
call fcn.00484433
xor eax, eax
jmp 0x405387
mov esi, dword [esp + 0x150]
lea ecx, [esp + 0x20]
push esi
call fcn.0048456c
mov edx, dword [esi + 8]
lea ecx, [esp + 0x14]
push edx
call fcn.004844a1
mov eax, dword [0x4be818]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x14]
mov bl, 8
test eax, eax
mov byte [esp + 0x148], bl
je 0x405109
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
test eax, eax
jle 0x4050d6
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push str.validatemsg
push eax
call fcn.0048473c
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 9
call fcn.0048484b
mov byte [esp + 0x148], bl
lea ecx, [esp + 0x10]
jmp 0x405143
lea ecx, [esp + 0x18]
lea edx, [esp + 0x10]
push ecx
push 0x4b84b0
push edx
call fcn.0048473c
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 0xa
call fcn.0048456c
mov byte [esp + 0x148], bl
lea ecx, [esp + 0x10]
jmp 0x405143
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.004841a8
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
call fcn.00405400
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x14c], 0xb
call fcn.0048456c
mov byte [esp + 0x148], bl
lea ecx, [esp + 0x10]
call fcn.00484433
push str.errorType
lea ecx, [esp + 0x28]
call fcn.0048241d
test eax, eax
jl 0x405172
mov edi, dword [esp + 0x154]
lea edx, [esp + 0x24]
push edx
mov ecx, edi
call fcn.0048456c
jmp 0x405203
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x14]
push eax
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.00403a90
push eax
push 0
lea ecx, [esp + 0x28]
call fcn.00484863
push eax
push ecx
lea eax, [esi + 4]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call fcn.004841a8
push ecx
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
mov byte [esp + 0x168], 0xc
call fcn.004841a8
lea eax, [esp + 0x2c]
mov byte [esp + 0x164], bl
push eax
call fcn.00408f80
add esp, 0x20
mov edi, dword [esp + 0x154]
push eax
mov ecx, edi
mov byte [esp + 0x14c], 0xd
call fcn.0048456c
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00484433
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.004848b2
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x4b84a0
call fcn.004844a1
push ecx
mov byte [esp + 0x150], 0xe
mov ecx, esp
mov dword [esp + 0x38], esp
push str._errorType_:_
call fcn.004844a1
push ecx
mov byte [esp + 0x154], 0xf
mov ecx, esp
mov dword [esp + 0x40], esp
push edi
call fcn.004841a8
mov edx, dword [0x4c368c]
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x158], bl
lea ecx, [edx + 0xf8]
call fcn.00427680
mov eax, dword [eax]
push str.validateCode
push eax
call fcn.0046f2f7
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne al
and eax, 0xff
mov edi, eax
call fcn.00484433
mov eax, dword [esi + 0x10]
test eax, eax
mov eax, 0x4b83f8
jne 0x405295
mov eax, 0x4b83f0
push eax
lea ecx, [esp + 0x18]
call fcn.004845bc
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push 0x4b8914
push edx
call fcn.0048473c
push 0x4b8664
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x150], 0x10
push eax
call fcn.004846c8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 0x11
call fcn.0048484b
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], 0x10
call fcn.00484433
lea ecx, [esp + 0x1c]
mov byte [esp + 0x148], bl
call fcn.00484433
test edi, edi
je 0x405309
push 0x4b8658
jmp 0x40530e
push 0x4b8908
lea ecx, [esp + 0x18]
call fcn.0048480f
mov eax, dword [esi + 0x10]
mov ecx, dword [0x4c368c]
test eax, eax
je 0x40532c
add ecx, 0x804
jmp 0x405332
add ecx, 0xf8
mov eax, dword [esp + 0x14]
mov edx, dword [ecx]
push eax
push 4
call dword [edx + 4]
lea ecx, [esp + 0x24]
mov byte [esp + 0x148], 7
call fcn.00484433
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], 1
call fcn.00484433
lea ecx, [esp + 0x18]
mov byte [esp + 0x148], 0
call fcn.00484433
lea ecx, [esp + 0x20]
mov dword [esp + 0x148], 0xffffffff
call fcn.00484433
mov eax, edi
mov ecx, dword [esp + 0x140]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x13c
ret 8