Function at 0x405840
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4203c6
mov eax, dword fs:[0]
push eax
sub esp, 0x768
mov eax, dword [0x427074]
xor eax, esp
mov dword [esp + 0x764], eax
push ebx
push ebp
push esi
mov eax, dword [0x427074]
xor eax, esp
push eax
lea eax, [esp + 0x778]
mov dword fs:[0], eax
mov eax, dword [0x42933c]
mov edx, dword [eax + 0xc]
mov ecx, 0x42933c
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x780], 0
mov eax, dword [edi + 0x108]
mov eax, dword [eax - 0xc]
test eax, eax
jne 0x4058e4
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x36e]
push edx
mov word [esp + 0x370], cx
call fcn.00412210
add esp, 0xc
lea esi, [esp + 0x364]
call fcn.00406530
push edi
mov eax, esi
call fcn.004057c0
test eax, eax
je 0x405b01
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x166]
push edx
mov word [esp + 0x168], cx
call fcn.00412210
mov eax, dword [edi + 0x108]
add esp, 0xc
push eax
lea ebx, [esp + 0x160]
call fcn.004063b0
mov eax, ebx
add esp, 4
add eax, 0xfffffffe
nop
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x405920
mov ecx, dword [str.Label.dat]
mov edx, dword [0x423aec]
mov dword [eax], ecx
mov ecx, dword [0x423af0]
mov dword [eax + 4], edx
mov edx, dword [0x423af4]
mov dword [eax + 8], ecx
mov ecx, dword [0x423af8]
mov dword [eax + 0xc], edx
mov dx, word [0x423afc]
mov dword [eax + 0x10], ecx
mov word [eax + 0x14], dx
xor eax, eax
mov byte [esp + 0x34], al
mov dword [esp + 0x35], eax
mov dword [esp + 0x39], eax
mov dword [esp + 0x3d], eax
mov dword [esp + 0x41], eax
mov dword [esp + 0x45], eax
mov dword [esp + 0x49], eax
mov dword [esp + 0x4d], eax
mov word [esp + 0x51], ax
mov byte [esp + 0x53], al
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x160]
call fcn.00405230
lea esi, [edi + 0x110]
add esp, 4
lea ebx, [esp + 0x34]
mov eax, esi
call fcn.00405e50
push 0x206
xor ebx, ebx
lea edx, [esp + 0x572]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x578], cx
call fcn.00412210
mov esi, dword [esi]
mov eax, dword [edi + 0x108]
mov ecx, dword [edi + 0x10c]
add esp, 0xc
push esi
push eax
push ecx
push str.http:__center.rising.com.cn_urg.asp_v_st_sa_s
lea eax, [esp + 0x57c]
push 0x104
push eax
call fcn.0040b1bf
push 0x103
lea ecx, [esp + 0x71]
push ebx
push ecx
mov byte [esp + 0x78], bl
call fcn.00412210
add esp, 0x24
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x570]
push eax
lea edx, [esp + 0x18]
mov ecx, edi
mov dword [esp + 0x18], 0x104
call fcn.00408750
cmp eax, reloc.OLEAUT32.dll_SysStringLen
je 0x405a43
cmp eax, ebx
jne 0x405b01
lea eax, [esp + 0x54]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x405a50
sub eax, edx
cmp eax, 8
jbe 0x405b01
mov esi, 0xf
lea eax, [esp + 0x54]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x405a80
sub eax, edx
push eax
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004069b0
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x1c]
push edx
lea ecx, [edi + 0xb4]
mov byte [esp + 0x78c], 1
call fcn.004066a0
cmp dword [esp + 0x2c], 0x10
jb 0x405ac7
mov eax, dword [esp + 0x18]
push eax
call fcn.0040b1dd
add esp, 4
lea eax, [ebp - 0x10]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
mov dword [esp + 0x780], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405afa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x405b26
lea eax, [ebp - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x780], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405b24
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x778]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x764]
xor ecx, esp
call fcn.0040b1b0
add esp, 0x774
ret