Function at 0x40d675
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
push 0xc
call fcn.0041c92c
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x4e25db
push ebx
add ebx, 8
push ebx
push 8
call fcn.0041c92c
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ebx
push ebx
mov eax, esp
push eax
call fcn.00408347
pop ebx
call fcn.0040e432
push 0xffffffffffffffff
push 8
push 0x16012c6d
push 0x52010001
call fcn.0041c94a
add esp, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, 0x4e2e76
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
mov eax, str._lottery_:_SSCJSC___drawNumber_:_
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00411010
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x40d7f1
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40d801
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40d811
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40d821
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40d831
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40d841
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40d851
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40d861
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40d871
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40d881
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40d891
push ebx
call fcn.0041c932
add esp, 4
mov eax, dword [ebp - 0x60]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40d8a5
push ebx
call fcn.0041c932
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, 0x4e1e7c
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40d8bf
push ebx
call fcn.0041c932
add esp, 4
pop eax
mov dword [ebp - 8], eax
xor ecx, ecx
lea eax, [ebp - 0xc]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0x32
jg 0x40da31
mov ebx, dword [0xed8954]
call fcn.00402a6b
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40d8f8
push 4
call fcn.0041c938
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40d90b
push 1
call fcn.0041c938
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
push 0x4e1e7c
mov ebx, dword [ebp - 0x28]
push dword [ebx]
call fcn.00401004
add esp, 8
cmp eax, 0
je 0x40da2a
push 0x4e1e7c
push dword [ebp - 8]
call fcn.00401004
add esp, 8
cmp eax, 0
jne 0x40d9ba
mov ebx, dword [0xed8954]
call fcn.00402a6b
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40d967
push 4
call fcn.0041c938
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40d97a
push 1
call fcn.0041c938
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx]
test eax, eax
je 0x40d9a0
push eax
mov ebx, eax
call fcn.004010a1
inc eax
push eax
call fcn.0041c92c
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40d9b1
push ebx
call fcn.0041c932
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x40da2a
mov ebx, dword [0xed8954]
call fcn.00402a6b
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40d9da
push 4
call fcn.0041c938
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40d9ed
push 1
call fcn.0041c938
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x4e2de5
push dword [ebp - 8]
mov ecx, 3
call fcn.0040110c
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40da26
push ebx
call fcn.0041c932
add esp, 4
pop eax
mov dword [ebp - 8], eax
pop ebx
pop ecx
jmp 0x40d8ca
add esp, 8
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 8]
push eax
mov eax, 0x4e2ed2
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
lea eax, [ebp - 4]
push eax
call fcn.00411010
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40daec
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40dafc
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40db0c
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40db1c
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40db2c
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40db3c
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40db4c
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40db5c
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40db6c
push ebx
call fcn.0041c932
add esp, 4
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40db80
push ebx
call fcn.0041c932
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
mov ebx, dword [0xed8938]
call fcn.00402a52
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x40dc01
mov ebx, dword [0xed8938]
call fcn.00402a6b
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40dbcd
push 4
call fcn.0041c938
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40dbe0
push 1
call fcn.0041c938
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x2c
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
cmp dword [ebx], 0
je 0x40dbfc
inc dword [ebp - 0x14]
pop eax
pop ebx
pop ecx
jmp 0x40db9f
add esp, 0xc
cmp dword [ebp - 0x14], 0
jne 0x40dc7d
push 0xffffffffffffffff
push 8
push 0x16012c6d
push 0x52010001
call fcn.0041c94a
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [0xed8928]
test ebx, ebx
je 0x40dc3e
push ebx
call fcn.0041c932
add esp, 4
pop eax
mov dword [0xed8928], eax
push 0x4e2ed7
push dword [0xed8928]
mov ecx, 2
call fcn.0040110c
add esp, 8
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.00401dff
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40dc78
push ebx
call fcn.0041c932
add esp, 4
jmp 0x40e3de
mov dword [ebp - 0x18], 0
xor ecx, ecx
lea eax, [ebp - 0xc]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0x32
jg 0x40dcff
mov ebx, dword [0xed8954]
call fcn.00402a6b
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40dcb9
push 4
call fcn.0041c938
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40dccc
push 1
call fcn.0041c938
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
push 0x4e1e7c
mov ebx, dword [ebp - 0x28]
push dword [ebx]
call fcn.00401004
add esp, 8
cmp eax, 0
je 0x40dcfb
mov dword [ebp - 0x18], 1
jmp 0x40dcff
pop ebx
pop ecx
jmp 0x40dc8b
add esp, 8
push 0xffffffffffffffff
push 0x12
push 0x16012ede
push 0x52010001
call fcn.0041c94a
add esp, 0x10
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
je 0x40dd33
cmp dword [ebp - 0x18], 0
je 0x40dd33
xor eax, eax
jmp 0x40dd38
mov eax, 1
test eax, eax
je 0x40ddb4
push 0xffffffffffffffff
push 8
push 0x16012c6d
push 0x52010001
call fcn.0041c94a
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [0xed8928]
test ebx, ebx
je 0x40dd70
push ebx
call fcn.0041c932
add esp, 4
pop eax
mov dword [0xed8928], eax
call fcn.004115d7
push 0x4e2edf
push dword [0xed8928]
mov ecx, 2
call fcn.0040110c
add esp, 8
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.00401dff
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40ddaf
push ebx
call fcn.0041c932
add esp, 4
jmp 0x40e3de
push str._member_bet
push dword [0xed8908]
mov ecx, 2
call fcn.0040110c
add esp, 8
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push 8
call fcn.0041c92c
add esp, 4
mov dword [ebp - 0x38], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
push 1
push 6
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
push 1
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
push 1
mov eax, str.User_Agent:_Mozilla_5.0__Windows_NT_10.0__Win64__x64__rv:78.0__Gecko_20100101_Firefox_78.0_r_nAccept:___r_nAccept_Language:_zh_CN_zh_q0.8_zh_TW_q0.7_zh_HK_q0.5_en_US_q0.3_en_q0.2_r_nX_Requested_With:_XMLHttpRequest_r_nContent_Type:_application_json
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
push 1
push 0xed890c
push 1
lea eax, [ebp - 0x10]
push eax
push 1
push 1
lea eax, [ebp - 0x28]
push eax
call fcn.00402b37
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40dec9
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x40ded9
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40dee9
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40def9
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40df09
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40df19
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40df29
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40df39
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x38]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x41cc90
call fcn.0041c926
add esp, 0x10
call fcn.0041c932
add esp, 4
mov eax, dword [ebp - 0x60]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40df70
push ebx
call fcn.0041c932
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x40df87
mov eax, 0x4e210c
push eax
push 1
mov ebx, 0x41f800
call fcn.0041c926
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40dfb1
push ebx
call fcn.0041c932
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00407fe3
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40dfd5
push ebx
call fcn.0041c932
add esp, 4
pop eax
mov dword [ebp - 4], eax
cmp dword [ebp - 0x20], 0xc8
jne 0x40e3d9
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x40e3d9
push 1
mov eax, str.account.balance
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40e02f
push ebx
call fcn.0041c932
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x40e223
push 1
mov eax, str.account.balance
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40e068
push ebx
call fcn.0041c932
add esp, 4
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0041c932
add esp, 4
push 0
push dword [ebp - 0x30]
push 0xffffffffffffffff
push 8
push 0x16012c7a
push 0x52010001
call fcn.0041c956
add esp, 0x18
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40e0b4
push ebx
call fcn.0041c932
add esp, 4
push 1
mov eax, str.account.betting
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40e0e3
push ebx
call fcn.0041c932
add esp, 4
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0041c932
add esp, 4
push 0
push dword [ebp - 0x30]
push 0xffffffffffffffff
push 8
push 0x16012c7d
push 0x52010001
call fcn.0041c956
add esp, 0x18
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40e12f
push ebx
call fcn.0041c932
add esp, 4
push 1
mov eax, str.account.result
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40e15e
push ebx
call fcn.0041c932
add esp, 4
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0041c932
add esp, 4
push 0
push dword [ebp - 0x30]
push 0xffffffffffffffff
push 8
push 0x160130f0
push 0x52010001
call fcn.0041c956
add esp, 0x18
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40e1aa
push ebx
call fcn.0041c932
add esp, 4
push 0xffffffffffffffff
push 8
push 0x16012c6d
push 0x52010001
call fcn.0041c94a
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [0xed8928]
test ebx, ebx
je 0x40e1da
push ebx
call fcn.0041c932
add esp, 4
pop eax
mov dword [0xed8928], eax
call fcn.004115d7
push 0x4e2edf
push dword [0xed8928]
mov ecx, 2
call fcn.0040110c
add esp, 8
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.00401dff
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40e219
push ebx
call fcn.0041c932
add esp, 4
jmp 0x40e3de
push 1
mov eax, str.message
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40e252
push ebx
call fcn.0041c932
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x40e3d9
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push 1
mov eax, str.message
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40e297
push ebx
call fcn.0041c932
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40e2ab
push ebx
call fcn.0041c932
add esp, 4
pop eax
mov dword [ebp - 4], eax
push dword [ebp - 4]
push 0x4e3024
mov ecx, 2
call fcn.0040110c
add esp, 8
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.00401dff
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40e2e0
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [0xed8938]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40e301
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40e2fd
imul eax, dword [ebx]
jmp 0x40e2f2
mov ecx, eax
test ecx, ecx
je 0x40e36c
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e31f
push ebx
call fcn.0041c932
add esp, 4
pop ebx
add ebx, 0x10
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e333
push ebx
call fcn.0041c932
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e347
push ebx
call fcn.0041c932
add esp, 4
pop ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e35b
push ebx
call fcn.0041c932
add esp, 4
pop ebx
call fcn.0041c932
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40e307
call fcn.0041c932
add esp, 4
mov eax, 0x4e210c
mov dword [0xed8938], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x4e3034
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40e3af
mov eax, 0x4e1e7c
push eax
push 4
mov ebx, 0x41e850
call fcn.0041c926
add esp, 0x34
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x40e3d9
call fcn.0040d5e6
jmp 0x40e3de
call fcn.00411d48
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40e3ee
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40e3fe
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40e40e
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40e41e
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0041c932
add esp, 4
mov esp, ebp
pop ebp
ret