Function at 0x4b46e0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x555760]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
push ebx
mov ebx, edx
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x44], ebx
mov ecx, dword [ebp - 0x44]
add ecx, 0x112
mov dword [ebp - 0x1c], esi
push edi
mov eax, dword [esi + ebx*4 + 0x154]
xor bl, bl
mov edi, dword [esi]
lea ecx, [esi + ecx*4]
mov dword [ebp - 0x50], eax
xor al, al
mov dword [ebp - 0x54], edx
cmp dword [ecx], 2
mov dword [ebp - 0x14], 0
movlpd qword [ebp - 0x5c], xmm0
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x25], al
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x20], ecx
je 0x4b50b1
mov byte [esi + 0x1d5], al
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x38], eax
nop
cmp dword [ecx], 0
jne 0x4b4979
push dword [ebp - 0x4c]
push edx
push 0x53fa8c
push edi
call fcn.00497e70
push dword [edi + 0x104]
call dword [0x556e98]
add esp, 0x14
mov dword [edi + 0x104], 0
call fcn.0049e380
mov ebx, eax
test ebx, ebx
je 0x4b4f76
push dword [ebp - 0x4c]
push dword [ebp - 0x54]
push 0x53fab4
call fcn.004a4590
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4b4f6f
push 1
push eax
mov edx, 0x53fabc
mov ecx, esi
call fcn.0049dfd0
push dword [ebp - 0xc]
mov esi, eax
call dword [0x556e98]
add esp, 0xc
test esi, esi
jne 0x4b4961
mov ecx, dword [ebp - 0x1c]
mov edx, 0x53c57c
push dword [ebp - 0x4c]
mov eax, 0x53c580
mov esi, 0x532210
mov dword [ebp - 0x2c], esi
cmp dword [ecx + 0x138], 1
mov cl, byte [ecx + 0x1c6]
cmovne eax, edx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x24], eax
test cl, cl
mov edx, esi
mov eax, str.OnMessageLoop_WM_TRANSFERS_CHANNELCOMPLETE_Channel_Index_d
cmove eax, edx
push eax
push dword [ebp - 0x54]
mov eax, 0x536154
cmove eax, edx
push eax
push 0x53fac4
call fcn.004a4590
add esp, 0x14
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4b4f6f
mov ecx, dword [ebp - 0x1c]
mov edx, 0x53c2ac
call fcn.0049d880
test eax, eax
jne 0x4b4870
push dword [ebp - 0xc]
push 0x53fad0
call fcn.004a4590
mov esi, eax
add esp, 8
mov dword [ebp - 0x2c], esi
test esi, esi
je 0x4b4f63
mov ecx, dword [ebp - 0x1c]
mov edx, 0x53c598
call fcn.0049d880
test eax, eax
mov ecx, 0x53c5ac
mov eax, 0x532210
mov edx, 0x53c374
cmovne ecx, eax
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x1c]
call fcn.0049d880
test eax, eax
jne 0x4b48b4
cmp dword [edi + 0x364], eax
je 0x4b48b4
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x204]
mov dword [ebp - 0x34], eax
push dword [ebp - 0x30]
mov eax, dword [ebp - 0x1c]
mov ecx, 0x532210
push dword [ebp - 0x34]
mov eax, dword [eax + 0x200]
test eax, eax
cmovne ecx, eax
push ecx
push esi
push dword [ebp - 0x24]
push dword [ebp - 0xc]
push 0x53fadc
push ebx
call fcn.0049e560
mov esi, eax
add esp, 0x20
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4b48fb
cmp byte [eax], 0
je 0x4b48fb
push eax
call dword [0x556e98]
add esp, 4
push dword [ebp - 0xc]
call dword [0x556e98]
add esp, 4
test esi, esi
jne 0x4b494d
mov ecx, dword [ebp - 0x1c]
mov dl, 1
push ebx
call fcn.0049e990
mov esi, eax
add esp, 4
test esi, esi
jne 0x4b494d
push str.Yesterday
push ebx
call fcn.0049e560
mov esi, eax
add esp, 8
test esi, esi
jne 0x4b494d
push dword [ebp - 0x44]
mov edx, dword [ebp - 0x1c]
mov ecx, ebx
push eax
lea eax, [edi + 0x868c]
push eax
call fcn.0049e3b0
add esp, 0xc
mov esi, eax
xor ebx, ebx
test esi, esi
je 0x4b4961
push 0x53fafc
push edi
call fcn.00497ef0
add esp, 8
mov ecx, ebx
call fcn.0049e390
test esi, esi
jne 0x4b4f8c
mov eax, dword [ebp - 0x20]
mov dword [eax], 1
push 1
xor edx, edx
mov ecx, edi
call fcn.004952f0
add esp, 4
test eax, eax
jle 0x4b50c4
cmp byte [ebp + 0x10], 0
jne 0x4b49af
mov ecx, dword [ebp - 0x50]
or edx, 0xffffffff
push 0
push 0xffffffffffffffff
call fcn.00497760
add esp, 8
test eax, eax
je 0x4b50b1
lea eax, [edi + 0x544]
mov dword [ebp - 0x34], 0
mov ecx, 1
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], ecx
mov esi, eax
xor ebx, ebx
jmp 0x4b49d0
test ecx, ecx
je 0x4b4ed9
cmp dword [ebp - 0x48], 0
jne 0x4b50d2
push 1
xor edx, edx
mov ecx, edi
call fcn.004952f0
mov ecx, eax
add esp, 4
test ecx, ecx
jle 0x4b50c4
mov eax, 0x3e8
cmp ecx, eax
cmovl eax, ecx
mov ecx, dword [ebp - 0x50]
push eax
push 0xffffffffffffffff
or edx, 0xffffffff
call fcn.00497760
add esp, 8
cmp eax, 0xffffffff
je 0x4b4ea4
test eax, eax
je 0x4b4eb9
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
push eax
mov eax, 0x4000
sub eax, dword [ebp - 0x34]
push eax
push dword [ebp - 0x2c]
call fcn.004984d0
add esp, 0xc
cmp eax, 0x51
je 0x4b4ec9
test eax, eax
je 0x4b4a5b
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x4b4eb9
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
test ecx, ecx
jg 0x4b4a9e
xor eax, eax
mov dword [ebp - 0x24], eax
cmp dword [edi + 0x140], eax
je 0x4b4a94
cmp dword [edi + 0x85dc], eax
je 0x4b4a94
mov eax, dword [ebp - 0x1c]
push 0x53fb74
push edi
mov byte [eax + 0x1d5], 1
call fcn.00497e70
jmp 0x4b4eb6
push 0x53fb98
jmp 0x4b4ea9
add dword [ebp - 0x34], ecx
cmp dword [ebp - 0x24], 1
jle 0x4b4b45
mov eax, dword [ebp - 0x38]
lea edx, [edi + 0x544]
or eax, dword [ebp - 0x3c]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], edx
je 0x4b4af2
mov eax, ecx
mov ecx, dword [ebp - 0x38]
cdq
sub ecx, eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x38], ecx
sbb eax, edx
mov dword [ebp - 0x3c], eax
test eax, eax
jg 0x4b4eb9
jl 0x4b4ae8
test ecx, ecx
jne 0x4b4eb9
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x4b4eb9
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.004b7f40
add esp, 8
cmp eax, 0xffffffff
jne 0x4b4b2f
push 0x53fbb0
push edi
call fcn.00497e70
add esp, 8
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [eax], 2
jmp 0x4b4eb9
push dword [ebp - 0xc]
push 0x53fbc4
push edi
call fcn.00497e70
add esp, 0xc
jmp 0x4b4eb9
xor eax, eax
mov dword [ebp - 0x30], eax
test ecx, ecx
jle 0x4b4eb9
mov edx, dword [ebp - 0x2c]
inc ebx
cmp byte [edx], 0xa
jne 0x4b4d40
cmp byte [edi + 0x2d0], 0
je 0x4b4b7c
push dword [ebp - 0x1c]
mov edx, 1
mov ecx, edi
push ebx
push esi
call fcn.00498680
add esp, 0xc
cmp byte [edi + 0x2c4], 0
mov eax, 3
mov ecx, dword [ebp - 0x1c]
mov edx, 2
push ebx
cmovne edx, eax
push esi
call fcn.00498460
add dword [edi + 0x8688], ebx
add esp, 8
add dword [edi + 0x80], ebx
test eax, eax
jne 0x4b50d7
mov al, byte [esi]
cmp al, 0xd
je 0x4b4d55
cmp al, 0xa
je 0x4b4d55
mov cl, byte [ebx + esi]
lea eax, [ebx + esi]
mov byte [ebp - 0x3d], cl
mov edx, esi
push 0x11
mov ecx, 0x53caa0
mov dword [ebp - 0x58], eax
mov byte [eax], 0
call fcn.004b1600
add esp, 4
test eax, eax
je 0x4b4bf4
mov eax, dword [edi + 0xc8]
cmp eax, 0x191
je 0x4b4c16
push 0x13
mov edx, esi
mov ecx, 0x53cab4
call fcn.004b1600
add esp, 4
test eax, eax
je 0x4b4c64
mov eax, dword [edi + 0xc8]
cmp eax, 0x197
jne 0x4b4c64
cmp eax, 0x197
mov ecx, esi
sete bl
call fcn.0049d8f0
mov esi, eax
test esi, esi
je 0x4b4f76
mov ecx, dword [ebp - 0x1c]
mov dl, bl
push esi
call fcn.0049e0d0
add esp, 4
mov ebx, eax
push esi
call dword [0x556e98]
add esp, 4
test ebx, ebx
je 0x4b4d2a
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004dbf35
mov esp, ebp
pop ebp
ret
push 0xf
mov edx, esi
mov ecx, str.onetree
call fcn.004b1600
add esp, 4
test eax, eax
je 0x4b4c94
push 0xa
lea eax, [esi + 0xf]
push 0
push eax
call fcn.004f0b6f
add esp, 0xc
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], edx
jmp 0x4b4d2a
push 0x53ca00
mov edx, 0x53ca30
mov ecx, esi
call fcn.0049e6a0
add esp, 4
test al, al
je 0x4b4cb2
mov byte [ebp - 0x15], 1
jmp 0x4b4d2a
push 0x53c3d8
mov edx, 0x53c3c4
mov ecx, esi
call fcn.0049e6a0
add esp, 4
test al, al
je 0x4b4ce6
push 0x53fc84
push edi
call fcn.00497e70
mov ecx, dword [ebp - 0x1c]
add esp, 8
mov byte [ebp - 0x25], 1
call fcn.004b7f20
jmp 0x4b4d2a
push 0x53ca00
mov edx, 0x53c598
mov ecx, esi
call fcn.0049e6a0
add esp, 4
test al, al
je 0x4b4d04
mov byte [ebp - 0x15], 1
jmp 0x4b4d2a
lea ebx, [edi + 0xc8]
push ebx
lea eax, [ebp - 0x14]
push eax
push 0x53fca0
push esi
call fcn.004e1de1
add esp, 0x10
cmp eax, 2
jne 0x4b4d2a
mov eax, dword [ebx]
mov dword [edi + 0x8678], eax
mov eax, dword [ebp - 0x58]
xor ebx, ebx
mov edx, dword [ebp - 0x2c]
mov cl, byte [ebp - 0x3d]
mov byte [eax], cl
mov eax, dword [ebp - 0x30]
lea esi, [edx + 1]
mov ecx, dword [ebp - 0xc]
inc eax
inc edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], eax
cmp eax, ecx
jl 0x4b4b55
jmp 0x4b4eb9
cmp dword [edi + 0xc8], 0x197
lea eax, [edi + 0x544]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], eax
jne 0x4b4e70
cmp byte [edi + 0x85e4], 0
jne 0x4b4e70
mov ecx, dword [ebp - 0x38]
mov eax, ecx
mov edx, dword [ebp - 0x3c]
or eax, edx
mov dword [ebp - 0x24], 2
je 0x4b4de3
push edx
push ecx
push 0x53fbe8
push edi
call fcn.00497e70
mov eax, dword [ebp - 0xc]
add esp, 0x10
sub eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x38]
cdq
sub ecx, eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x38], ecx
sbb eax, edx
mov dword [ebp - 0x3c], eax
test eax, eax
jg 0x4b4e99
jl 0x4b4dce
test ecx, ecx
jne 0x4b4e99
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
mov dword [eax], 2
jmp 0x4b4eb9
mov al, byte [ebp - 0x25]
test al, al
je 0x4b4dce
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x30]
push eax
push 0x53fc10
push edi
mov byte [edi + 0xfd], 1
call fcn.00497e70
mov eax, dword [ebp - 0x30]
add esp, 0xc
cmp byte [esi + 1], 0xa
jne 0x4b4e11
inc esi
inc eax
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0xc]
lea edx, [esi + 1]
sub ecx, eax
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.004b7f40
add esp, 8
cmp eax, 0xffffffff
jne 0x4b4e54
push 0x53fbb0
push edi
call fcn.00497e70
mov eax, dword [ebp - 0x20]
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [eax], 2
mov dword [eax], 2
jmp 0x4b4eb9
push dword [ebp - 0x10]
push 0x53fbc4
push edi
call fcn.00497e70
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov dword [eax], 2
jmp 0x4b4eb9
xor eax, eax
cmp dword [edi + 0x8678], 0xc8
mov dword [ebp - 0x24], eax
jne 0x4b4e99
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x30]
dec eax
je 0x4b4e99
push eax
push 0x53fc30
push edi
call fcn.00497ef0
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov dword [eax], 2
jmp 0x4b4eb9
push 0x53fb44
push edi
mov dword [ebp - 0x48], 1
call fcn.00497ef0
add esp, 8
mov ecx, dword [ebp - 0x1c]
call fcn.004a1d50
test eax, eax
jne 0x4b4f9f
cmp dword [ebp - 0x34], 0x4000
mov ecx, dword [ebp - 0x24]
jb 0x4b49d0
cmp dword [ebp - 0x48], 0
jne 0x4b50d2
cmp dword [edi + 0x8678], 0xc8
mov esi, dword [ebp - 0x1c]
je 0x4b4f10
mov ecx, esi
call fcn.0049dcf0
test eax, eax
jne 0x4b50d7
cmp byte [esi + 0x1c0], al
je 0x4b4f10
mov bl, 1
mov byte [ebp - 0x15], bl
jmp 0x4b4f17
mov bl, byte [ebp - 0x15]
test bl, bl
je 0x4b4f24
cmp dword [edi + 0x104], 0
jne 0x4b4fb5
cmp dword [edi + 0x104], 0
mov ecx, dword [ebp - 0x20]
je 0x4b4fd4
cmp dword [ecx], 2
jne 0x4b4f52
push 0
push 0x53fcb0
push edi
mov dword [ecx], 0
call fcn.00497e70
mov ecx, dword [ebp - 0x20]
add esp, 0xc
cmp dword [edi + 0x104], 0
je 0x4b4fd4
mov edx, dword [ebp - 0x54]
jmp 0x4b4760
push dword [ebp - 0xc]
call dword [0x556e98]
add esp, 4
mov ecx, ebx
call fcn.0049e390
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004dbf35
mov esp, ebp
pop ebp
ret
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004dbf35
mov esp, ebp
pop ebp
ret
mov eax, 0x2a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004dbf35
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x44]
mov ecx, esi
mov edx, dword [esi + eax*4 + 0x154]
call fcn.00496680
mov eax, dword [ebp - 0x44]
mov dword [esi + eax*4 + 0x154], 0xffffffff
cmp dword [edi + 0xc8], 0xc8
je 0x4b506c
test bl, bl
je 0x4b5008
cmp dword [edi + 0x104], 0
je 0x4b5008
push 0x53fcd0
push edi
mov byte [esi + 0x1d5], 1
call fcn.00497e70
add esp, 8
jmp 0x4b5044
push dword [edi + 0x104]
call dword [0x556e98]
mov ebx, dword [ebp - 0x44]
add esp, 4
mov dword [edi + 0x104], 0
mov ecx, esi
mov byte [esi + 0x1c0], 1
mov edx, dword [esi + ebx*4 + 0x154]
call fcn.00496680
mov dword [esi + ebx*4 + 0x154], 0xffffffff
mov eax, dword [ebp - 0x20]
mov dword [eax], 0
cmp byte [esi + 0x1d5], 0
jne 0x4b50b1
push dword [edi + 0xc8]
push 0x53fcec
push edi
call fcn.00497ef0
add esp, 0xc
jmp 0x4b50d2
mov eax, dword [ebp - 0x20]
mov dword [eax], 2
push dword [esi + 0x200]
call dword [0x556e98]
add esp, 4
mov dword [esi + 0x200], 0
mov byte [edi + 0x85e0], 1
push 0x53fd1c
push edi
call fcn.00497e70
mov byte [edi + 0xfd], 0
add esp, 8
mov byte [esi + 0x1cf], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004dbf35
mov esp, ebp
pop ebp
ret
push 0x53fb1c
push edi
call fcn.00497ef0
add esp, 8
mov eax, 0x38
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004dbf35
mov esp, ebp
pop ebp
ret