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

Disassembly:
push 0xffffffffffffffff
push 0x4a4f75
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
mov al, byte [esp + 3]
push ebx
xor ebx, ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x3c], al
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
push ebx
push ebx
lea ecx, [esp + 0x44]
mov dword [esp + 0x9c], 1
call fcn.0040fb00
mov eax, dword [0x4d14fc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x14]
push str._house_index.php__lgmodepri
push ecx
mov byte [esp + 0x9c], 3
call fcn.0049415f
add esp, 4
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00495cca
push ecx
mov byte [esp + 0x9c], 4
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.www.kaixin001.com
call fcn.00495fc3
lea eax, [esp + 0x20]
lea ecx, [esi + 0x5c]
push eax
mov byte [esp + 0xa0], 3
call fcn.00416700
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x98], 5
call fcn.0049608e
lea ecx, [esp + 0x18]
mov byte [esp + 0x94], 3
call fcn.00495f55
push ebx
lea ecx, [esp + 0x14]
call fcn.00496385
mov cl, byte [esp + 0xf]
push ebx
mov byte [esp + 0x50], cl
lea ecx, [esp + 0x50]
mov esi, eax
call fcn.00404f20
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0x54]
call fcn.00404fd0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x94], 6
call fcn.00404ea0
mov esi, dword [esp + 0x50]
lea ecx, [esp + 0x4c]
call fcn.00404ea0
mov eax, dword [esp + 0x50]
cmp eax, ebx
jne 0x40e247
xor edi, edi
jmp 0x40e24e
mov edx, dword [esp + 0x54]
lea edi, [edx + eax]
lea ecx, [esp + 0x34]
call fcn.0040f6a0
push ebx
push str.___index.php_roomid_.______img_
lea ecx, [esp + 0x3c]
mov byte [esp + 0x9c], 7
call fcn.00404f70
lea eax, [esp + 0xf]
lea ecx, [esp + 0x6c]
push eax
mov byte [esp + 0x98], 8
call fcn.0047c7b0
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov byte [esp + 0x88], bl
push esi
lea ecx, [esp + 0x38]
push ebx
lea edx, [esp + 0x74]
push ecx
push edx
push edi
push esi
mov byte [esp + 0xac], 9
call fcn.004053a0
add esp, 0x18
test al, al
je 0x40e37b
lea ecx, [esp + 0x6c]
call fcn.00406060
cmp eax, 2
jle 0x40e2d6
mov eax, dword [esp + 0x70]
lea ecx, [eax + 0x18]
jmp 0x40e2dd
lea ecx, [esp + 0x80]
lea edx, [esp + 0x24]
push edx
call fcn.00404b80
mov eax, dword [eax + 4]
mov byte [esp + 0x94], 0xa
cmp eax, ebx
jne 0x40e2fb
mov eax, 0x4b1900
push eax
lea ecx, [esp + 0x1c]
call fcn.00495fc3
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x98], 0xc
call fcn.00404f20
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x44]
call fcn.0040f970
lea ecx, [esp + 0x6c]
call fcn.00406060
cmp eax, 2
jle 0x40e342
mov edx, dword [esp + 0x70]
lea eax, [edx + 0x18]
jmp 0x40e349
lea eax, [esp + 0x80]
mov esi, dword [eax + 4]
lea ecx, [esp + 0x18]
mov byte [esp + 0x94], 9
call fcn.00495f55
push esi
lea eax, [esp + 0x38]
push ebx
lea ecx, [esp + 0x74]
push eax
push ecx
push edi
push esi
call fcn.004053a0
add esp, 0x18
test al, al
jne 0x40e2bf
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x40e395
mov edx, dword [esp + 0x44]
sub edx, eax
test edx, 0xfffffffc
jne 0x40e477
lea ecx, [esp + 0x24]
call fcn.0040f6a0
push ebx
push str.___index_room.php_roomid_._____
lea ecx, [esp + 0x2c]
mov byte [esp + 0x9c], 0xd
call fcn.00404f70
mov edx, dword [esp + 0x10]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push edx
lea eax, [esp + 0x28]
push ebx
dec ecx
push eax
lea eax, [esp + 0x78]
add ecx, edx
push eax
push ecx
push edx
mov byte [esp + 0xac], 0xe
call fcn.004053a0
add esp, 0x18
test al, al
je 0x40e466
lea ecx, [esp + 0x6c]
call fcn.00406060
cmp eax, 2
jle 0x40e400
mov ecx, dword [esp + 0x70]
add ecx, 0x18
jmp 0x40e407
lea ecx, [esp + 0x80]
lea edx, [esp + 0x5c]
push edx
call fcn.00404b80
mov eax, dword [eax + 4]
mov byte [esp + 0x94], 0xf
cmp eax, ebx
jne 0x40e425
mov eax, 0x4b1900
push eax
lea ecx, [esp + 0x1c]
call fcn.00495fc3
push 1
lea ecx, [esp + 0x60]
mov byte [esp + 0x98], 0x11
call fcn.00404f20
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x44]
call fcn.0040f970
lea ecx, [esp + 0x18]
mov byte [esp + 0x94], 0xe
call fcn.00495f55
lea ecx, [esp + 0x28]
mov byte [esp + 0x94], 9
call fcn.0040e550
mov esi, dword [esp + 0x9c]
mov dl, byte [esp + 0x3c]
lea ecx, [esp + 0x3c]
mov byte [esi], dl
call fcn.00482620
cmp eax, ebx
jge 0x40e493
xor eax, eax
shl eax, 2
push eax
call fcn.00495c96
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
add esp, 4
mov dword [esi + 4], eax
push eax
push ecx
push edx
mov ecx, esi
call fcn.0040fb80
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0x94], 8
call fcn.00404fa0
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x94], 6
cmp ecx, ebx
je 0x40e4e8
call fcn.00404170
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x98], 3
call fcn.00404f20
lea ecx, [esp + 0x10]
mov byte [esp + 0x94], 2
call fcn.00495f55
lea ecx, [esp + 0x14]
mov byte [esp + 0x94], 1
call fcn.00495f55
lea ecx, [esp + 0x3c]
mov byte [esp + 0x94], bl
call fcn.0040f5d0
mov ecx, dword [esp + 0x8c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x8c
ret 4