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

Disassembly:
push 0xffffffffffffffff
push 0x46332e
mov eax, dword fs:[0]
push eax
mov eax, 0x11554
call fcn.0044e950
mov eax, dword [0x480810]
xor eax, esp
mov dword [esp + 0x11550], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x480810]
xor eax, esp
push eax
lea eax, [esp + 0x11568]
mov dword fs:[0], eax
call fcn.0042f9e8
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40803b
push 0x80004005
call fcn.0040a150
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 [0x484dfc]
mov edx, dword [0x484e90]
push ecx
push edx
lea eax, [esp + 0x28]
push str._sTitle_s.xml
push eax
call fcn.0040a2f0
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.00412f60
add esp, 8
test al, al
je 0x4080ab
lea ecx, [esp + 0x38]
call fcn.004136a0
mov eax, str.BOOKMARKS
lea esi, [esp + 0x38]
call fcn.00413450
test al, al
je 0x408525
mov ecx, dword [esp + 0x44]
cmp ecx, ebx
je 0x4080f3
cmp dword [esp + 0x54], 1
jne 0x4080f3
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 0x408525
mov ecx, dword [esp + 0x44]
push str.Item
lea edx, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x48]
call fcn.00414070
cmp eax, ebx
je 0x408525
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 0x46dde0
push eax
call fcn.0044a64c
add esp, 8
cmp eax, ebx
sete al
test al, al
jne 0x4081a7
mov ecx, dword [esp + 0x1c]
push 0x46dde4
push ecx
call fcn.0044a64c
add esp, 8
cmp eax, ebx
sete al
test al, al
je 0x4084f4
mov eax, 0x46dde8
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.0040a820
mov eax, 0x46ddf4
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x38]
mov byte [esp + 0x11570], 5
call fcn.00401180
mov byte [esp + 0x11570], 6
call fcn.0042f9e8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x408031
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.0042f9e8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x408031
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 [0x484dfc]
push ecx
push edx
call fcn.00401d90
add esp, 8
call fcn.0042f9e8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x408031
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.00401f70
mov eax, dword [0x484e94]
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 [0x484e0c]
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.0040a2f0
push 0x10000
lea eax, [esp + 0x1594]
push ebx
push eax
call fcn.0044cd20
push 0x1400
lea ecx, [esp + 0xbc]
push ebx
push ecx
call fcn.0044cd20
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.0044cd20
push 0x40
lea eax, [esp + 0x1530]
push ebx
push eax
call fcn.0044cd20
mov esi, dword [esp + 0x30]
add esp, 0x18
cmp dword [esi - 4], 1
mov dword [esp + 0x74], 0x10000
jle 0x408393
mov ecx, dword [esi - 0xc]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040a040
mov esi, dword [esp + 0x18]
cmp dword [esi - 4], 1
mov ebx, esi
jle 0x4083ac
mov edx, dword [esi - 0xc]
push edx
lea ecx, [esp + 0x1c]
call fcn.0040a040
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.00411e20
cmp eax, 0x64
jne 0x4083e6
mov ecx, dword [esp + 0x44]
push 0x46ddf8
push str.flag
push ecx
lea ecx, [esp + 0x44]
call fcn.00414970
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 0x40840a
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 0x40842e
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 0x408452
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 0x40847a
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 0x4084a2
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 0x4084ca
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 0x4084f2
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 0x4080f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4080f3
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 0x408559
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.00448d99
add esp, 0x11560
ret