Function at 0x402340
Capabilities:
Delete file
Download url
Read .ini file
Receive data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x488a8d
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x4b47a8]
xor eax, esp
mov dword [esp + 0x184], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0x19c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x38], 0xffffffff
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4023a3
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1a4], 0
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4023d8
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
push 0x27
push str.http:__www.senyuan.net_hjjm_ver2958.ini
lea ecx, [esp + 0x34]
mov byte [esp + 0x1ac], 1
call fcn.004068a0
push str.hjt_ver.ini
lea ecx, [esp + 0x20]
push 0x4b90c8
push ecx
call fcn.00406070
add esp, 0xc
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x1a8], 2
call fcn.00406820
mov byte [esp + 0x1a4], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402451
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xffffffffffffffff
lea ecx, [esi + 4]
push 0
call fcn.0044de30
push 0xffffffffffffffff
lea ecx, [esi + 0x18]
push 0
call fcn.0046713b
push 0xffffffffffffffff
push 0
mov ecx, 0x4b90f4
call fcn.0044de30
push 0xffffffffffffffff
push 0
mov ecx, 0x4b9108
call fcn.0044de30
push 0xffffffffffffffff
push 0
mov ecx, 0x4b90cc
call fcn.0044de30
push 0xffffffffffffffff
push 0
mov ecx, 0x4b90e0
call fcn.0044de30
push 0xffffffffffffffff
lea ecx, [esi + 0x48]
push 0
call fcn.0044de30
push 0xffffffffffffffff
lea ecx, [esi + 0x70]
push 0
call fcn.0044de30
push 0xffffffffffffffff
lea ecx, [esi + 0x5c]
push 0
call fcn.0044de30
push 0xffffffffffffffff
lea ecx, [esi + 0x84]
push 0
call fcn.0044de30
mov edi, dword [esp + 0x2c]
push edi
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
mov esi, dword [esp + 0x34]
push 0
push 0
push esi
push edi
push 0
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
jne 0x402ef9
push 0x12
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push esi
push 0x67a
push str.DLLVER
push str.VERSION
call edi
mov ecx, dword [esp + 0x18]
push esi
push 0xffffffffffffffff
push 0x494504
push str.VERSION
mov dword [ecx + 0x3c], eax
call edi
push esi
push 0
push str.COUNTS
push str.VERSION
mov dword [esp + 0x48], eax
call edi
push esi
push 0
push str.BCOUNTS
push 0x494518
mov dword [esp + 0x34], eax
call edi
push esi
push 0
push str.GCOUNTS
push 0x494518
mov dword [esp + 0x4c], eax
call edi
push esi
push 0
push str.BCOUNTS
push str.FF_TBK
mov dword [esp + 0x38], eax
call edi
push esi
push 0
push str.GCOUNTS
push str.FF_TBK
mov dword [esp + 0x40], eax
call edi
push esi
push 0x1e
push str.REFRESH_TIMES
push 0x494518
mov dword [esp + 0x2c], eax
call edi
push esi
push 3
push str.SetTimes
push str.VERSION
mov ebp, eax
call edi
push 0x100
lea edx, [esp + 0x9c]
push 0
push edx
mov ebx, eax
call fcn.0046c870
push 0xa
lea eax, [esp + 0xa8]
push eax
push ebp
call fcn.004808d6
push str.param.ini
lea ecx, [esp + 0x30]
push 0x4b90c8
push ecx
call fcn.00406070
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 0x24
push eax
lea edx, [esp + 0x9c]
push edx
push str.RefreshTimes
push str.PARAM
call edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40262b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.hjjm.dat
lea ecx, [esp + 0x18]
push 0x4b9120
push ecx
call fcn.00406070
mov eax, dword [eax]
add esp, 0xc
push eax
lea edx, [esp + 0x9c]
push edx
push str.RefreshTimes
push 0x494518
call edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402679
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xa
lea ecx, [esp + 0x9c]
push ecx
push ebx
call fcn.004808d6
push str.param.ini
lea edx, [esp + 0x24]
push 0x4b90c8
push edx
call fcn.00406070
mov eax, dword [eax]
add esp, 0x18
push eax
lea eax, [esp + 0x9c]
push eax
push str.SetTimes
push str.PARAM
call edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4026d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4026f1
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x1a4], 3
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402723
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
xor ebx, ebx
cmp dword [esp + 0x24], ebx
mov byte [esp + 0x1a4], 4
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jle 0x4028ac
lea ecx, [ecx]
push ebx
lea ecx, [esp + 0x18]
push str.URL_d
push ecx
call fcn.004067e0
mov eax, dword [esp + 0x20]
add esp, 0xc
push esi
push 0xff
lea edx, [esp + 0xa0]
push edx
push 0x494704
push eax
push str.SOURCE
call edi
lea eax, [esp + 0x98]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402790
sub eax, edx
push eax
lea ecx, [esp + 0x9c]
push ecx
lea ecx, [esp + 0x28]
call fcn.004068a0
mov eax, dword [esp + 0x24]
add eax, 0xffffffff
cmp ebx, eax
jne 0x402829
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov ebp, dword [edx + 0x30]
add edx, 0x30
lea eax, [ecx - 0x10]
sub ebp, 0x10
cmp eax, ebp
je 0x40283e
cmp dword [ebp + 0xc], 0
jl 0x402816
mov edx, dword [eax]
cmp edx, dword [ebp]
jne 0x402816
push eax
call fcn.00406990
mov dword [esp + 0x44], eax
add esp, 4
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x402804
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x18]
add ecx, 0x10
add eax, 0x30
mov dword [eax], ecx
jmp 0x40283e
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, dword [esp + 0x20]
add ecx, 0x30
call fcn.004068a0
jmp 0x40283e
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0xc]
add ecx, 4
lea edx, [esp + 0x20]
push edx
push eax
call fcn.0044e042
push ebx
lea eax, [esp + 0x18]
push str.LEN_d
push eax
call fcn.004067e0
mov edx, dword [esp + 0x20]
add esp, 0xc
push esi
push 0xff
lea ecx, [esp + 0xa0]
push ecx
push 0x494590
push edx
push str.LENGTH
call edi
lea eax, [esp + 0x98]
push eax
call fcn.00469241
mov ebp, dword [esp + 0x28]
lea ecx, [ebp - 1]
add esp, 4
cmp ebx, ecx
mov ecx, dword [esp + 0x18]
jne 0x402894
mov dword [ecx + 0x34], eax
jmp 0x4028a1
mov edx, dword [ecx + 0x20]
add ecx, 0x18
push eax
push edx
call fcn.0046725f
add ebx, 1
cmp ebx, ebp
jl 0x402750
mov ebx, dword [esp + 0x3c]
xor ebp, ebp
test ebx, ebx
jle 0x402960
lea ebx, [ebx]
push ebp
lea edx, [esp + 0x18]
push str.BFF_d
push edx
call fcn.004067e0
mov ecx, dword [esp + 0x20]
add esp, 0xc
push esi
push 0xff
lea eax, [esp + 0xa0]
push eax
push 0x494704
push ecx
push 0x494518
call edi
mov eax, dword [0x4b90d4]
lea edx, [esp + 0x98]
push edx
push eax
mov ecx, 0x4b90cc
call fcn.0044e077
push ebp
lea ecx, [esp + 0x18]
push str.BFER_d
push ecx
call fcn.004067e0
mov eax, dword [esp + 0x20]
add esp, 0xc
push esi
push 0xff
lea edx, [esp + 0xa0]
push edx
push 0x494704
push eax
push 0x494518
call edi
mov edx, dword [0x4b90fc]
lea ecx, [esp + 0x98]
push ecx
push edx
mov ecx, 0x4b90f4
call fcn.0044e077
add ebp, 1
cmp ebp, ebx
jl 0x4028c0
mov ebx, dword [esp + 0x28]
xor ebp, ebp
test ebx, ebx
jle 0x402a10
mov edi, edi
push ebp
lea eax, [esp + 0x18]
push str.GFF_d
push eax
call fcn.004067e0
mov edx, dword [esp + 0x20]
add esp, 0xc
push esi
push 0xff
lea ecx, [esp + 0xa0]
push ecx
push 0x494704
push edx
push 0x494518
call edi
mov ecx, dword [0x4b90e8]
lea eax, [esp + 0x98]
push eax
push ecx
mov ecx, 0x4b90e0
call fcn.0044e077
push ebp
lea edx, [esp + 0x18]
push str.GFER_d
push edx
call fcn.004067e0
mov ecx, dword [esp + 0x20]
add esp, 0xc
push esi
push 0xff
lea eax, [esp + 0xa0]
push eax
push 0x494704
push ecx
push 0x494518
call edi
mov eax, dword [0x4b9110]
lea edx, [esp + 0x98]
push edx
push eax
mov ecx, 0x4b9108
call fcn.0044e077
add ebp, 1
cmp ebp, ebx
jl 0x402970
mov ebx, dword [esp + 0x18]
xor ebp, ebp
cmp dword [esp + 0x30], ebp
jle 0x402ab9
push ebp
lea ecx, [esp + 0x18]
push str.BFF_d
push ecx
call fcn.004067e0
mov eax, dword [esp + 0x20]
add esp, 0xc
push esi
push 0xff
lea edx, [esp + 0xa0]
push edx
push 0x494704
push eax
push str.FF_TBK
call edi
mov eax, dword [ebx + 0x50]
lea ecx, [ebx + 0x48]
lea edx, [esp + 0x98]
push edx
push eax
call fcn.0044e077
push ebp
lea eax, [esp + 0x18]
push str.BFER_d
push eax
call fcn.004067e0
mov edx, dword [esp + 0x20]
add esp, 0xc
push esi
push 0xff
lea ecx, [esp + 0xa0]
push ecx
push 0x494704
push edx
push str.FF_TBK
call edi
mov eax, dword [ebx + 0x78]
lea ecx, [ebx + 0x70]
lea edx, [esp + 0x98]
push edx
push eax
call fcn.0044e077
add ebp, 1
cmp ebp, dword [esp + 0x30]
jl 0x402a20
xor ebp, ebp
cmp dword [esp + 0x1c], ebp
jle 0x402b64
push ebp
lea eax, [esp + 0x18]
push str.GFF_d
push eax
call fcn.004067e0
mov edx, dword [esp + 0x20]
add esp, 0xc
push esi
push 0xff
lea ecx, [esp + 0xa0]
push ecx
push 0x494704
push edx
push str.FF_TBK
call edi
mov eax, dword [ebx + 0x64]
lea ecx, [ebx + 0x5c]
lea edx, [esp + 0x98]
push edx
push eax
call fcn.0044e077
push ebp
lea eax, [esp + 0x18]
push str.GFER_d
push eax
call fcn.004067e0
mov edx, dword [esp + 0x20]
add esp, 0xc
push esi
push 0xff
lea ecx, [esp + 0xa0]
push ecx
push 0x494704
push edx
push str.FF_TBK
call edi
mov eax, dword [ebx + 0x8c]
lea ecx, [ebx + 0x84]
lea edx, [esp + 0x98]
push edx
push eax
call fcn.0044e077
add ebp, 1
cmp ebp, dword [esp + 0x1c]
jl 0x402ac5
push esi
push 0xff
lea eax, [esp + 0xa0]
push eax
push 0x494704
push str.BFF_IE
push 0x494518
call edi
lea eax, [esp + 0x98]
lea ebp, [ebx + 0x40]
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x402b90
sub eax, ecx
push eax
lea ecx, [esp + 0x9c]
push ecx
mov ecx, ebp
call fcn.004068a0
push esi
push 0xff
lea edx, [esp + 0xa0]
push edx
push 0x494704
push str.BFER_IE
push 0x494518
call edi
lea eax, [esp + 0x98]
lea ebp, [ebx + 0x44]
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x402bd7
sub eax, ecx
push eax
lea eax, [esp + 0x9c]
push eax
mov ecx, ebp
call fcn.004068a0
push esi
push 0xff
lea ecx, [esp + 0xa0]
push ecx
push 0x494704
push str.PC_BAIDU
push 0x494518
call edi
lea eax, [esp + 0x98]
lea ebp, [ebx + 0x98]
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x402c21
sub eax, ecx
push eax
lea edx, [esp + 0x9c]
push edx
mov ecx, ebp
call fcn.004068a0
push esi
push 0xff
lea eax, [esp + 0xa0]
push eax
push 0x494704
push str.PC_GOOGLE
push 0x494518
call edi
lea eax, [esp + 0x98]
lea ebp, [ebx + 0x9c]
lea ecx, [eax + 1]
jmp 0x402c70
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x402c70
sub eax, ecx
push eax
lea ecx, [esp + 0x9c]
push ecx
mov ecx, ebp
call fcn.004068a0
push esi
push 0xff
lea edx, [esp + 0xa0]
push edx
push 0x494704
push str.TAOBAOID
push 0x494518
call edi
lea eax, [esp + 0x98]
lea ebp, [ebx + 0xa0]
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x402cc0
sub eax, ecx
push eax
lea eax, [esp + 0x9c]
push eax
mov ecx, ebp
call fcn.004068a0
push esi
push 0xff
lea ecx, [esp + 0xa0]
push ecx
push 0x494704
push str.TAOBAOFER
push 0x494518
call edi
lea eax, [esp + 0x98]
lea ebp, [ebx + 0xa4]
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x402d10
sub eax, ecx
push eax
lea edx, [esp + 0x9c]
push edx
mov ecx, ebp
call fcn.004068a0
push esi
push 0xff
lea eax, [esp + 0xa0]
push eax
push str.ffffffff
push str.b2345
push 0x494518
call edi
lea eax, [esp + 0x98]
lea ebp, [ebx + 0xa8]
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x402d60
sub eax, ecx
push eax
lea ecx, [esp + 0x9c]
push ecx
mov ecx, ebp
call fcn.004068a0
push esi
push 0xff
lea edx, [esp + 0xa0]
push edx
push str.http:__www.dt189.com
push str.HomeUrl
push 0x494518
call edi
mov ecx, dword [0x4b92bc]
lea eax, [esp + 0x98]
push eax
push ecx
call fcn.00469941
add esp, 8
test eax, eax
je 0x402e9c
lea eax, [esp + 0x98]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402dc3
sub eax, edx
push eax
lea edx, [esp + 0x9c]
push edx
mov ecx, 0x4b92bc
call fcn.004068a0
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402dfb
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x44]
call fcn.00444a70
lea ecx, [esp + 0x1c]
push ecx
mov edx, eax
push edx
mov byte [esp + 0x1ac], 6
call fcn.00444be0
push str.param.ini
lea eax, [esp + 0x2c]
push 0x4b90c8
push eax
call fcn.00406070
mov eax, dword [eax]
mov edi, dword [esp + 0x28]
add esp, 0xc
push eax
push edi
push str.szHomeUrl
push str.PARAM
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402e78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x1a4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402e9c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebx
call fcn.00404960
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [esp + 0x1a4], 3
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 0x402ed1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1a4], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402ef9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
mov byte [esp + 0x1a4], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402f1d
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov dword [esp + 0x1a4], 0xffffffff
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 0x402f48
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x19c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.00468ce5
add esp, 0x194
ret