Function at 0x408720
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x46f8de
mov eax, dword fs:[0]
push eax
mov eax, 0x11554
call fcn.0045a270
mov eax, dword [0x48e820]
xor eax, esp
mov dword [esp + 0x11550], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48e820]
xor eax, esp
push eax
lea eax, [esp + 0x11568]
mov dword fs:[0], eax
call fcn.0043adc8
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40877b
push 0x80004005
call fcn.0040fef0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x11570], ebx
mov ecx, dword [0x492de4]
mov edx, dword [0x492e78]
push ecx
push edx
lea eax, [esp + 0x28]
push str._sTitle_s.xml
push eax
call fcn.00410070
add esp, 0x10
lea ecx, [esp + 0x38]
push ecx
call fcn.00401040
lea edx, [esp + 0x3c]
mov byte [esp + 0x11570], 1
mov eax, dword [esp + 0x20]
push edx
push eax
lea edx, [esp + 0x68]
lea ecx, [esp + 0x40]
call fcn.00418f70
add esp, 8
test al, al
je 0x4087eb
lea ecx, [esp + 0x38]
call fcn.004196b0
mov eax, str.BOOKMARKS
lea esi, [esp + 0x38]
call fcn.00419460
test al, al
je 0x408c65
mov ecx, dword [esp + 0x44]
cmp ecx, ebx
je 0x408833
cmp dword [esp + 0x54], 1
jne 0x408833
mov eax, dword [esp + 0x48]
mov dword [esp + 0x40], ecx
xor ecx, ecx
cmp eax, ebx
setne cl
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x54], ecx
cmp dword [esp + 0x6c], ebx
je 0x408c65
mov ecx, dword [esp + 0x44]
push str.Item
lea edx, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x48]
call fcn.0041a080
cmp eax, ebx
je 0x408c65
mov esi, dword [esp + 0x68]
mov ecx, eax
mov edx, eax
and edx, 0xffff
sar ecx, 0x10
mov ecx, dword [esi + ecx*4]
shl edx, 5
mov edx, dword [ecx + edx + 0x10]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov eax, str.flag
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x38]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x54], 1
call fcn.00401180
mov byte [esp + 0x11570], 2
mov eax, dword [esp + 0x1c]
push 0x47ae98
push eax
call fcn.0045599c
add esp, 8
cmp eax, ebx
sete al
test al, al
jne 0x4088e7
mov ecx, dword [esp + 0x1c]
push 0x47ae9c
push ecx
call fcn.0045599c
add esp, 8
cmp eax, ebx
sete al
test al, al
je 0x408c34
mov eax, 0x47aea0
lea ecx, [esp + 0x34]
lea edx, [esp + 0x38]
call fcn.00401180
mov eax, str.page
lea ecx, [esp + 0x24]
lea edx, [esp + 0x38]
mov byte [esp + 0x11570], 3
call fcn.00401180
push str.false
lea ecx, [esp + 0x7c]
mov byte [esp + 0x11574], 4
call fcn.00410560
mov eax, 0x47aeac
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x38]
mov byte [esp + 0x11570], 5
call fcn.00401180
mov byte [esp + 0x11570], 6
call fcn.0043adc8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x408771
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x11570], 7
call fcn.0043adc8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x408771
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x11570], 8
mov edx, dword [0x492de4]
push ecx
push edx
call fcn.00401f10
add esp, 8
call fcn.0043adc8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x408771
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x11570], 9
mov edx, dword [esp + 0x34]
push ecx
push edx
call fcn.00402270
mov eax, dword [0x492e7c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [0x492df4]
push edx
push edi
push eax
push ecx
push ebp
lea edx, [esp + 0x3c]
push str.http:__api.dooland.com_doolandFlash_setUserBookMark.php_pid_suname_sid_stxt_smarkPage_sflag_smagtype_s
push edx
call fcn.00410070
push 0x10000
lea eax, [esp + 0x1594]
push ebx
push eax
call fcn.00458160
push 0x1400
lea ecx, [esp + 0xbc]
push ebx
push ecx
call fcn.00458160
xor eax, eax
add esp, 0x44
push 0x80
lea edx, [esp + 0x14a4]
push ebx
push edx
mov dword [esp + 0x148c], eax
mov dword [esp + 0x1490], eax
mov dword [esp + 0x1494], eax
mov dword [esp + 0x1498], eax
mov dword [esp + 0x149c], eax
mov dword [esp + 0x14a0], eax
mov dword [esp + 0x14a4], eax
mov dword [esp + 0x14a8], eax
call fcn.00458160
push 0x40
lea eax, [esp + 0x1530]
push ebx
push eax
call fcn.00458160
mov esi, dword [esp + 0x30]
add esp, 0x18
cmp dword [esi - 4], 1
mov dword [esp + 0x74], 0x10000
jle 0x408ad3
mov ecx, dword [esi - 0xc]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040fde0
mov esi, dword [esp + 0x18]
cmp dword [esi - 4], 1
mov ebx, esi
jle 0x408aec
mov edx, dword [esi - 0xc]
push edx
lea ecx, [esp + 0x1c]
call fcn.0040fde0
mov esi, dword [esp + 0x18]
push ebx
push esi
lea eax, [esp + 0x84]
push eax
lea edx, [esp + 0x80]
lea ecx, [esp + 0x1570]
call fcn.00417e30
cmp eax, 0x64
jne 0x408b26
mov ecx, dword [esp + 0x44]
push 0x47aeb0
push str.flag
push ecx
lea ecx, [esp + 0x44]
call fcn.0041a980
lea eax, [edi - 0x10]
mov byte [esp + 0x11570], 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408b4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x11570], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408b6e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x11570], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408b92
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x11570], 5
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408bba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x11570], 4
mov eax, dword [esp + 0x78]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408be2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x11570], 3
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408c0a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x11570], 2
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408c32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
mov byte [esp + 0x11570], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408833
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x408833
lea esi, [esp + 0x38]
call fcn.00401100
mov dword [esp + 0x11570], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408c99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x11568]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x11550]
xor ecx, esp
call fcn.004540ed
add esp, 0x11560
ret