Function at 0x402550
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x458cb3
mov eax, dword fs:[0]
push eax
sub esp, 0x5a8
mov eax, dword [0x4754f4]
xor eax, esp
mov dword [esp + 0x5a0], eax
push ebx
push esi
push edi
mov eax, dword [0x4754f4]
xor eax, esp
push eax
lea eax, [esp + 0x5b8]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], ebx
mov edi, 8
push edi
mov dword [esp + 0x5c4], ebx
call fcn.00426610
add esp, 4
cmp eax, ebx
je 0x402b40
mov dword [esp + 0x2c], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x2c]
mov dword [ecx], eax
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
add esi, 0x88
mov ebx, esi
lea ecx, [esp + 0x6c]
mov dword [esp + 0x5c0], 1
call fcn.004154c0
xor edx, edx
push 0x3fe
push edx
lea eax, [esp + 0x1b6]
mov byte [esp + 0x5c8], 2
push eax
mov word [esp + 0x1b8], dx
call fcn.0042c300
add esp, 0xc
push str.Library
mov edx, str.http:__pm.funshion.com_v5_media_profile_id_scliphoneve1.1.1.1uc1
mov ecx, str.JsonInterface
lea ebx, [esp + 0x50]
call fcn.00415020
add esp, 4
mov byte [esp + 0x5c0], 3
mov ecx, dword [esp + 0x70]
cmp dword [esp + 0x84], edi
jae 0x40265c
lea ecx, [esp + 0x70]
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x64], edi
jae 0x40266a
lea eax, [esp + 0x50]
push ecx
push eax
lea ecx, [esp + 0x1b4]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0xac]
call fcn.00401430
push esi
lea esi, [esp + 0x90]
call fcn.00414a80
add esp, 4
mov esi, eax
lea edi, [esp + 0x18c]
mov byte [esp + 0x5c0], 5
call fcn.00408600
mov byte [esp + 0x5c0], 4
cmp dword [esp + 0xa4], 0x10
jb 0x4026d1
mov edx, dword [esp + 0x90]
push edx
call fcn.00425770
add esp, 4
lea ecx, [esp + 0x8c]
mov dword [esp + 0xa4], 0xf
mov dword [esp + 0xa0], 0
mov byte [esp + 0x90], 0
call fcn.004089e0
jmp 0x402700
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x1b0]
push ecx
call fcn.004162a0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x402729
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, 3
jb 0x402700
cmp dword [esp + 0x1c], 3
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jne 0x40284b
push str._CommFun::DownLoadBuffer_szTemp__strBuffer__10__1000__Failed__n
call edi
mov esi, dword [esp + 0x14]
cmp dword [esi], 1
push ebx
mov ecx, esi
jne 0x402844
call fcn.004034d0
lea ecx, [esp + 0xac]
mov byte [esp + 0x5c0], 3
call fcn.00401500
mov esi, 8
mov byte [esp + 0x5c0], 2
cmp dword [esp + 0x64], esi
jb 0x40278a
mov edx, dword [esp + 0x50]
push edx
call fcn.00425770
add esp, 4
lea ecx, [esp + 0x4c]
xor eax, eax
mov ebx, 7
xor edi, edi
push ecx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], edi
mov word [esp + 0x54], ax
call fcn.00409010
mov byte [esp + 0x5c0], 1
cmp dword [esp + 0x84], esi
jb 0x4027c8
mov edx, dword [esp + 0x70]
push edx
call fcn.00425770
add esp, 4
lea ecx, [esp + 0x6c]
xor eax, eax
push ecx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], edi
mov word [esp + 0x74], ax
call fcn.00409010
mov dword [esp + 0x5c0], 0xffffffff
cmp dword [esp + 0x44], 0x10
jb 0x402806
mov edx, dword [esp + 0x30]
push edx
call fcn.00425770
add esp, 4
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], edi
mov byte [esp + 0x30], 0
lea ecx, [esp + 0x2c]
call fcn.004089e0
mov ecx, dword [esp + 0x5b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x5a0]
xor ecx, esp
call fcn.00420d00
mov esp, ebp
pop ebp
ret
call fcn.00405340
jmp 0x40284f
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x44], 0x10
mov ecx, dword [esp + 0x30]
jae 0x40285e
lea ecx, [esp + 0x30]
push 0
push esi
lea ebx, [esp + 0xb4]
call fcn.00402eb0
test eax, eax
jne 0x402953
push str._ParaJson_strBuffer.c_str_____unitInfo__Failed__n
call edi
cmp dword [esi], 1
push 1
mov ecx, esi
jne 0x40294e
call fcn.004034d0
mov ecx, ebx
mov byte [esp + 0x5c0], 3
call fcn.00401500
mov edi, 8
mov byte [esp + 0x5c0], 2
cmp dword [esp + 0x64], edi
jb 0x4028bd
mov eax, dword [esp + 0x50]
push eax
call fcn.00425770
add esp, 4
lea edx, [esp + 0x4c]
xor ecx, ecx
mov esi, 7
xor ebx, ebx
push edx
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], cx
call fcn.00409010
mov byte [esp + 0x5c0], 1
cmp dword [esp + 0x84], edi
jb 0x4028fb
mov eax, dword [esp + 0x70]
push eax
call fcn.00425770
add esp, 4
lea edx, [esp + 0x6c]
xor ecx, ecx
push edx
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], cx
call fcn.00409010
mov dword [esp + 0x5c0], 0xffffffff
cmp dword [esp + 0x44], 0x10
jb 0x402939
mov eax, dword [esp + 0x30]
push eax
call fcn.00425770
add esp, 4
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
jmp 0x402817
call fcn.00405340
sub esp, 0x100
cmp dword [esi], 1
mov dword [esp + 0x118], esp
jne 0x40297e
mov ecx, esp
lea edx, [esp + 0x1ac]
push edx
push ecx
call fcn.00402b70
mov ecx, esi
call fcn.00404ac0
jmp 0x402994
mov eax, esp
lea ecx, [esp + 0x1ac]
push ecx
push eax
call fcn.00402b70
push esi
call fcn.00403be0
xor ebx, ebx
cmp dword [esi + 0xc8], ebx
je 0x4029ad
mov ecx, dword [esi + 0xc8]
mov edx, dword [ecx]
mov eax, dword [esi]
mov edx, dword [edx]
push eax
call edx
lea ecx, [esp + 0xac]
mov byte [esp + 0x5c0], 3
call fcn.00401500
mov edi, 8
cmp dword [esp + 0x64], edi
jb 0x4029d9
mov eax, dword [esp + 0x50]
push eax
call fcn.00425770
add esp, 4
mov esi, 7
xor ecx, ecx
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], cx
mov byte [esp + 0x5c0], 6
cmp dword [esp + 0x4c], ebx
je 0x402a32
push 3
lea ecx, [esp + 0x18]
call fcn.0044fc00
mov eax, dword [esp + 0x4c]
cmp dword [eax + 4], ebx
je 0x402a22
nop
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
cmp edx, ebx
jne 0x402a10
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x14]
mov dword [eax + 4], ebx
call fcn.0044fc40
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.00425770
add esp, 4
mov dword [esp + 0x4c], ebx
cmp dword [esp + 0x84], edi
jb 0x402a59
mov edx, dword [esp + 0x70]
push edx
call fcn.00425770
add esp, 4
xor eax, eax
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], ax
mov byte [esp + 0x5c0], 7
cmp dword [esp + 0x6c], ebx
je 0x402ab2
push 3
lea ecx, [esp + 0x18]
call fcn.0044fc00
mov eax, dword [esp + 0x6c]
cmp dword [eax + 4], ebx
je 0x402aa2
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
cmp ecx, ebx
jne 0x402a90
mov edx, dword [esp + 0x6c]
lea ecx, [esp + 0x14]
mov dword [edx + 4], ebx
call fcn.0044fc40
mov eax, dword [esp + 0x6c]
push eax
call fcn.00425770
add esp, 4
cmp dword [esp + 0x44], 0x10
mov dword [esp + 0x6c], ebx
jb 0x402ad7
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00425770
add esp, 4
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov dword [esp + 0x5c0], edi
cmp dword [esp + 0x2c], ebx
je 0x402b2a
push 3
lea ecx, [esp + 0x18]
call fcn.0044fc00
mov eax, dword [esp + 0x2c]
cmp dword [eax + 4], ebx
je 0x402b1a
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
cmp edx, ebx
jne 0x402b08
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
mov dword [eax + 4], ebx
call fcn.0044fc40
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00425770
add esp, 4
jmp 0x402820
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], ebx
call fcn.004211a0
push 0x46ffcc
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], vtable.std::bad_alloc.0
call fcn.00432fc0
int3