Function at 0x402730
Capabilities:
Read data from internet
Receive data
Resolve function by parsing pe exports
Send data
Send http request

Disassembly:
sub esp, 0xd0
test byte [0x45a6b3], 2
push ebx
mov ebx, dword [esp + 0xd8]
push ebp
push esi
push edi
push 0
push 0x4000000
push 0
push 0
mov esi, eax
mov eax, dword [0x45a54c]
mov ecx, 0x4c
push str.HTTP_1.0
jne 0x402d1d
push str._durex_validate_param
push 0x408f64
mov edi, 0x40a016
push eax
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
push 0
push 0
push 0x15
mov esi, eax
push str.Accept_Encoding:_gzip
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
xor eax, eax
mov dword [esp + 0x14], eax
lea esp, [esp]
lea ecx, [esp + 0x38]
push ecx
mov edx, 0xffff
sub edx, eax
push edx
lea eax, [eax + 0x44a4e8]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
add eax, ecx
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x4027d4
cmp eax, 0x1b58
jb 0x4027a0
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [esp + 0x14]
push ecx
push 0x44a4e8
call fcn.00402e80
mov ebp, dword [sym.imp.MSVCRT.dll_strstr]
push str.isOld_:_false
push 0x40a4e8
call ebp
add esp, 0x10
test eax, eax
jne 0x40281f
push eax
push eax
push eax
push 0x4094e8
push eax
call dword [sym.imp.USER32.dll_MessageBoxExW]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret
push str.serialNumber_:_
push 0x40a4e8
call ebp
lea esi, [eax + 0x10]
push 0x27
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov byte [eax], 0
inc eax
push str.signParam_:_
push eax
call ebp
add esp, 0x18
push 0x17
lea edi, [ebx + 4]
push edi
add eax, 0xd
push 0x17
push eax
push 0
mov byte [eax + 0x17], 0
push 0
mov dword [esp + 0x4c], eax
mov dword [ebx], 0x2e
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [esp + 0xd0]
push eax
xor edx, edx
push str.1E0DFFCF_27FF_4574_849B_55007349FEDA
mov word [ebx + 0x32], dx
call dword [sym.imp.ole32.dll_CLSIDFromString]
lea ecx, [esp + 0x1c]
push ecx
push 0x408d68
push 1
push 0
lea edx, [esp + 0xe0]
push edx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x4028d4
push 0
push 0
push 0
push 0x409470
mov esi, dword [sym.imp.USER32.dll_MessageBoxExW]
push 0
call esi
push 0
push 0
push 0
push str.peW_KfN_rT1Y_
push 0
call esi
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x800
push 1
push 0x40a48c
push 0x408d58
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [esp + 0x1c]
push 0
push 0
lea edx, [esp + 0x78]
push edx
lea edx, [esp + 0x4c]
push edx
mov edx, dword [esp + 0x28]
push 2
push 0x800
push 0x408d58
pxor xmm0, xmm0
movq qword [esp + 0x5c], xmm0
movq qword [esp + 0x64], xmm0
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x800
push 1
push 0x40a490
push 0x408d58
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
push 0
push 0
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x4c]
push edx
mov edx, dword [esp + 0x28]
push 2
push 0x800
push 0x408d58
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
pxor xmm0, xmm0
movq qword [esp + 0x50], xmm0
movq qword [esp + 0x58], xmm0
pxor xmm0, xmm0
movq qword [esp + 0x80], xmm0
movq qword [esp + 0x88], xmm0
movq qword [esp + 0x90], xmm0
movq qword [esp + 0x98], xmm0
pxor xmm0, xmm0
movq qword [esp + 0xc0], xmm0
movq qword [esp + 0xc8], xmm0
pxor xmm0, xmm0
mov ecx, 3
lea edx, [esp + 0x50]
movq qword [esp + 0x60], xmm0
movq qword [esp + 0x68], xmm0
mov word [esp + 0x50], cx
mov dword [esp + 0x48], 1
mov dword [esp + 0x40], edx
lea eax, [esp + 0x80]
mov dword [esp + 0x60], eax
push 0xa
lea eax, [esp + 0xb8]
mov word [esp + 0x84], cx
mov ecx, dword [esp + 0x2c]
push eax
mov edx, 8
push ecx
mov dword [esp + 0x74], 2
mov dword [esp + 0x94], 4
mov word [esp + 0x9c], dx
mov dword [esp + 0xa4], edi
call dword [sym.imp.MSVCRT.dll__itoa]
mov ebx, dword [sym.imp.USER32.dll_MessageBoxA]
add esp, 0xc
push 0
push 0x409490
lea edx, [esp + 0xbc]
push edx
push 0
call ebx
mov eax, dword [esp + 0x28]
xor edi, edi
mov dword [esp + 0x3c], eax
test eax, eax
jle 0x402b4f
mov eax, dword [esp + 0x78]
push 0
push 0
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x4c]
push edx
push 2
push 0x800
push 0x408d58
mov dword [esp + 0x74], edi
mov ecx, dword [eax]
push 0
push eax
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x800
push 1
push 0x40a494
push 0x408d58
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
push 0
push 0
lea edx, [esp + 0xa8]
push edx
lea edx, [esp + 0xcc]
push edx
mov edx, dword [esp + 0x28]
push 2
push 0x800
push 0x408d58
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov ecx, dword [esp + 0xa8]
push 0
push 0
push 0x21
push 0x45a6b8
push 0x20
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0x45a6b8
push esi
push 0
call ebx
push 0x45a6b8
push esi
call ebp
add esp, 8
test eax, eax
mov eax, dword [esp + 0x28]
jne 0x402b6b
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
inc edi
cmp edi, dword [esp + 0x3c]
jl 0x402a7f
mov eax, dword [esp + 0x78]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
push 0
push 0
push 0
push str._g5u
jmp 0x4028ae
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x800
push 1
push 0x40a498
push 0x408d58
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
push 0
push 0
lea edx, [esp + 0xa8]
push edx
lea edx, [esp + 0x6c]
push edx
mov edx, dword [esp + 0x28]
push 1
push 0x800
push 0x408d58
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov esi, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test esi, esi
jns 0x402bd9
push 0
push 0
push 0
push str.peW_KfN
jmp 0x4028ae
mov edi, dword [esp + 0xa8]
mov esi, dword [edi - 4]
shr esi, 1
xor eax, eax
xor edx, edx
test esi, esi
jle 0x402c33
lea ecx, [ecx]
mov cl, byte [edi + edx*2]
cmp cl, 0x3d
jne 0x402c0b
mov ecx, dword [esp + 0xe8]
mov dword [eax + ecx], 0x443325
add eax, 3
jmp 0x402c2e
cmp cl, 0x2b
jne 0x402c23
mov ecx, dword [esp + 0xe8]
mov dword [eax + ecx], 0x423225
add eax, 3
jmp 0x402c2e
mov ebx, dword [esp + 0xe8]
mov byte [eax + ebx], cl
inc eax
inc edx
cmp edx, esi
jl 0x402bf0
mov ecx, dword [esp + 0xe8]
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0xec]
push ecx
push esi
push 0x45a6b8
push str.checkTypecertissuerO__3DAlipay.comCorporation_OU__3DMachineCACenter_CN__3DAlipay.comCorporationMachineCAisOldfalseserialNumber_ssignParam_ssignResult_s
push ebx
mov byte [eax + ecx], 0
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x14
push str.checkCodeUrl_:_.
add esi, 0x18
push esi
mov edi, eax
call ebp
mov ecx, dword [str._durex]
lea esi, [eax + 0xb]
mov dword [esi], ecx
mov dx, word [0x40963c]
push 0x27
push esi
mov word [esi + 4], dx
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 0x10
push 0
push 0x4000000
push 0
push 0
push str.HTTP_1.0
push esi
mov byte [eax], 0
mov eax, dword [0x45a54c]
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
push edi
push ebx
push 0x2f
mov esi, eax
push 0x408e3f
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
lea ecx, [esp + 0x14]
push ecx
push 0x7f
push 0x44a4e8
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [esp + 0x14]
push str._isSuccess_:true
push 0x44a4e8
mov byte [edx + 0x44a4e8], 0
call ebp
add esp, 8
test eax, eax
jne 0x402e6c
push eax
push eax
push eax
push 0x409654
push eax
call dword [sym.imp.USER32.dll_MessageBoxExW]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret
mov edi, 0x40a186
rep movsd dword es:[edi], dword [esi]
push str._durex_sendcode_checkTypephoneparam
mov ecx, 0x4c
mov esi, 0x40a186
mov edi, 0x40a2f9
push 0x408f64
rep movsd dword es:[edi], dword [esi]
mov edi, dword [sym.imp.WININET.dll_HttpOpenRequestA]
push eax
call edi
mov ebx, dword [sym.imp.WININET.dll_HttpSendRequestA]
push 0
push 0
push 0
mov esi, eax
push 0
push esi
call ebx
mov ebp, dword [sym.imp.WININET.dll_InternetReadFile]
lea ecx, [esp + 0x14]
push ecx
push 0x7f
push 0x44a4e8
push esi
call ebp
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [esp + 0x14]
push str._isSuccess_:true
push 0x44a4e8
mov byte [edx + 0x44a4e8], 0
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
jne 0x402db5
push eax
push eax
push eax
push 0x40967c
push eax
call dword [sym.imp.USER32.dll_MessageBoxExW]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret
mov eax, dword [0x45a670]
push 1
push 0x401dc0
push eax
push 0x67
push 0x400000
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov eax, dword [0x45a54c]
mov ecx, dword [0x44a4e8]
mov dx, word [0x44a4ec]
push 0
push 0x4000000
push 0
push 0
push str.HTTP_1.0
push str._durex_checkcode_checkTypephonecheckCode631719param
push 0x408f64
push eax
mov dword [0x40a2ec], ecx
mov word [0x40a2f0], dx
call edi
push 0
push 0
push 0
mov esi, eax
push 0
push esi
call ebx
lea ecx, [esp + 0x14]
push ecx
push 0x7f
push 0x44a4e8
push esi
call ebp
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [esp + 0x14]
push str._isSuccess_:true
push 0x44a4e8
mov byte [edx + 0x44a4e8], 0
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
jne 0x402e6c
push eax
push eax
push eax
push 0x409694
push eax
call dword [sym.imp.USER32.dll_MessageBoxExW]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0xd0
ret