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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4de680
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x524a60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push 0x4e8ad8
push str.game_name
push ebx
push eax
call fcn.00435420
add esp, 0x10
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0
cmp dword [eax - 0xc], 0
je 0x409f5e
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x40a70c
mov edx, eax
mov si, word [edx]
cmp si, word [ecx]
jne 0x409f37
test si, si
je 0x409f33
mov si, word [edx + 2]
cmp si, word [ecx + 2]
jne 0x409f37
add edx, 4
add ecx, 4
test si, si
jne 0x409f11
xor ecx, ecx
jmp 0x409f3c
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x409f5e
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x1c], esi
call fcn.00404230
add esp, 4
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.0040af50
push 0x4e8ad8
push str.info_version
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00435420
add esp, 0x10
push eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00403aa0
mov edx, dword [ebp - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409fa2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x4e8ad8
push str.login_url
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00435420
add esp, 0x10
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 2
push eax
call fcn.00403aa0
mov edx, dword [ebp - 0x10]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409fe4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.http:__wan.ludashi.com_web_service
push str.kefu_page_url
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00435420
add esp, 0x10
lea ecx, [edi + 0x18]
mov byte [ebp - 4], 3
push eax
call fcn.00403aa0
mov edx, dword [ebp - 0x10]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a026
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.http:__wan.ludashi.com_web
push str.index_page_url
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00435420
add esp, 0x10
lea ecx, [edi + 0x1c]
mov byte [ebp - 4], 4
push eax
call fcn.00403aa0
mov edx, dword [ebp - 0x10]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a068
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x4e8ad8
push str.deskicon_name
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00435420
add esp, 0x10
push eax
lea ecx, [edi + 0x34]
mov byte [ebp - 4], 5
call fcn.00403aa0
mov edx, dword [ebp - 0x10]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a0aa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x4e8ad8
push str.uninst_name
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00435420
add esp, 0x10
push eax
lea ecx, [edi + 0x20]
mov byte [ebp - 4], 6
call fcn.00403aa0
mov edx, dword [ebp - 0x10]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a0ec
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x4e8ad8
push str.uninst_open_url
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00435420
add esp, 0x10
push eax
lea ecx, [edi + 0x24]
mov byte [ebp - 4], 7
call fcn.00403aa0
mov edx, dword [ebp - 0x10]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a12e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x4e8ad8
push str.startmenu_name
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00435420
add esp, 0x10
push eax
lea ecx, [edi + 0x28]
mov byte [ebp - 4], 8
call fcn.00403aa0
mov edx, dword [ebp - 0x10]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a170
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x4e8ad8
push str.startmenu_iconname
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00435420
add esp, 0x10
push eax
lea ecx, [edi + 0x2c]
mov byte [ebp - 4], 9
call fcn.00403aa0
mov edx, dword [ebp - 0x10]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a1b2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push str.startmenu_no_uninst
push ebx
call fcn.00435620
push 0x4e8ad8
push str.icon_url
mov dword [edi + 0x30], eax
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00435420
add esp, 0x1c
lea ecx, [edi + 0x38]
mov byte [ebp - 4], 0xa
push eax
call fcn.00403aa0
mov edx, dword [ebp - 0x10]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a204
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [edi + 8]
lea eax, [ebp - 0x10]
push str.tray_icon_tip
push ebx
push eax
call fcn.00435420
add esp, 0x10
push eax
lea ecx, [edi + 0x3c]
mov byte [ebp - 4], 0xb
call fcn.00403aa0
mov edx, dword [ebp - 0x10]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a244
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x4e8ad8
push str.uires_url
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00435420
add esp, 0x10
lea ecx, [edi + 0x40]
mov byte [ebp - 4], 0xc
push eax
call fcn.00403aa0
mov edx, dword [ebp - 0x10]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a286
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push str.launch_mgame
push ebx
call fcn.00435620
push 0
push 0x4ea8a4
push ebx
mov dword [edi + 0x50], eax
call fcn.00435620
push 0x4e8ad8
push str.silence_inst
mov dword [edi + 0x54], eax
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00435420
add esp, 0x28
push eax
lea ecx, [edi + 0x58]
mov byte [ebp - 4], 0xd
call fcn.00403aa0
mov edx, dword [ebp - 0x10]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a2e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x4e8ad8
push str.run_after_silence_inst
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00435420
add esp, 0x10
push eax
lea ecx, [edi + 0x5c]
mov byte [ebp - 4], 0xe
call fcn.00403aa0
mov edx, dword [ebp - 0x10]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a32a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push str.install_tray
push ebx
call fcn.00435620
push 0
push str.need_fancy
push ebx
mov dword [edi + 0x60], eax
call fcn.00435620
push 0
push str.delay_install_extra_days
push ebx
mov dword [edi + 0x64], eax
call fcn.00435620
push 0x4e8ad8
push str.install_open_text
mov dword [edi + 0x68], eax
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00435420
add esp, 0x34
lea ecx, [edi + 0x44]
mov byte [ebp - 4], 0xf
push eax
call fcn.00403aa0
mov edx, dword [ebp - 0x10]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a39c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push str.install_open_select
push ebx
call fcn.00435620
push 1
push str.install_show_close
push ebx
mov dword [edi + 0x48], eax
call fcn.00435620
push 0x4e8ad8
push str.charge_url_format
mov dword [edi + 0x4c], eax
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00435420
add esp, 0x28
push eax
lea ecx, [edi + 0xa0]
mov byte [ebp - 4], 0x10
call fcn.00403aa0
mov edx, dword [ebp - 0x10]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a401
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x4e8ad8
push str.site_url_format
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00435420
add esp, 0x10
push eax
lea ecx, [edi + 0xa4]
mov byte [ebp - 4], 0x11
call fcn.00403aa0
mov edx, dword [ebp - 0x10]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a446
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x4e8ad8
push str.game_url_pattern
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00435420
add esp, 0x10
push eax
lea ecx, [edi + 0xa8]
mov byte [ebp - 4], 0x12
call fcn.00403aa0
mov edx, dword [ebp - 0x10]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a48b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push str.exit_when_close_playwnd
push ebx
call fcn.00435620
push 0x4e8ad8
push 0x4ea998
mov dword [edi + 0xac], eax
lea eax, [ebp + 8]
push ebx
push eax
call fcn.00435420
add esp, 0x1c
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0x13
cmp dword [eax - 0xc], 0
je 0x40a575
push str.DA00C978_60A7_441C_A394_4CB53981DE44
lea ecx, [ebp - 0x10]
call fcn.00403650
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004a2830
add esp, 0xc
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x15
call fcn.00403aa0
mov edx, dword [ebp - 0x18]
mov eax, esi
mov byte [ebp - 4], 0x14
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a516
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov eax, esi
mov byte [ebp - 4], 0x13
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a534
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 0xb4]
mov dword [ebp - 0x1c], eax
cmp dword [edi + 0xb8], eax
je 0x40a565
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.00404230
mov ecx, dword [ebp - 0x1c]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
add dword [edi + 0xb4], 4
jmp 0x40a575
lea ecx, [ebp + 8]
push ecx
push eax
lea ecx, [edi + 0xb0]
call fcn.00409250
mov eax, dword [edi + 0x44]
lea ebx, [edi + 0x44]
mov ecx, 0x4ea9ec
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40a5a6
test dx, dx
je 0x40a5a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40a5a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x40a580
xor eax, eax
jmp 0x40a5ab
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40a5c7
mov eax, dword [edi + 8]
cmp dword [eax - 0xc], 0
je 0x40a5c7
push eax
push 0x4ea9f8
push ebx
call fcn.00407c50
add esp, 0xc
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x40a6b7
mov eax, dword [edi + 4]
cmp dword [eax - 0xc], 0
je 0x40a6b7
mov eax, dword [edi + 0xc]
cmp dword [eax - 0xc], 0
je 0x40a6b7
mov eax, dword [edi + 0x6c]
cmp dword [eax - 0xc], 0
je 0x40a6b7
mov eax, dword [edi + 0x70]
cmp dword [eax - 0xc], 0
je 0x40a6b7
mov eax, dword [edi + 8]
cmp dword [eax - 0xc], 0
je 0x40a6b7
mov eax, dword [edi + 0x14]
cmp dword [eax - 0xc], 0
je 0x40a6b7
mov eax, dword [edi + 0x18]
cmp dword [eax - 0xc], 0
je 0x40a6b7
mov eax, dword [edi + 0x1c]
cmp dword [eax - 0xc], 0
je 0x40a6b7
mov eax, dword [edi + 0x38]
cmp dword [eax - 0xc], 0
je 0x40a6b7
mov eax, dword [edi + 0x40]
cmp dword [eax - 0xc], 0
je 0x40a6b7
mov eax, dword [edi + 0x80]
cmp dword [eax - 0xc], 0
je 0x40a6b7
mov eax, dword [edi + 0x78]
cmp dword [eax - 0xc], 0
je 0x40a6b7
mov eax, dword [edi + 0x7c]
cmp dword [eax - 0xc], 0
je 0x40a6b7
mov eax, dword [edi + 0x84]
cmp dword [eax - 0xc], 0
je 0x40a6b7
mov eax, dword [edi + 0x8c]
cmp dword [eax - 0xc], 0
je 0x40a6b7
mov eax, dword [edi + 0x90]
cmp dword [eax - 0xc], 0
je 0x40a6b7
mov eax, dword [edi + 0x94]
cmp dword [eax - 0xc], 0
je 0x40a6b7
mov eax, dword [edi + 0x74]
cmp dword [eax - 0xc], 0
je 0x40a6b7
mov eax, dword [edi + 0x98]
cmp dword [eax - 0xc], 0
je 0x40a6b7
mov edi, 1
jmp 0x40a6b9
xor edi, edi
mov edx, dword [ebp + 8]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a6d7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x40a6f6
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00403f90
int3