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

Disassembly:
push 0xffffffffffffffff
push 0x4513e7
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x470ee4]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x470ee4]
xor eax, esp
push eax
lea eax, [esp + 0x144]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x38], 0xffffffff
call fcn.00414eb4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403843
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov dword [esp + 0x14c], 0
call fcn.00414eb4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403878
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
push 0x2c
push str.http:__www.senyuan.net_hjtools_hjt_ver18.ini
lea ecx, [esp + 0x2c]
mov byte [esp + 0x154], 1
call fcn.00401a30
push 0x27
push str.http:__www.senyuan.net_hjzg_ver2138.ini
lea ecx, [esp + 0x2c]
call fcn.00401a30
push str.hjt_ver.ini
lea ecx, [esp + 0x1c]
push 0x4723a8
push ecx
call fcn.00401e20
add esp, 0xc
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x150], 2
call fcn.00401c80
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x14c], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403901
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xffffffffffffffff
lea ecx, [ebx + 4]
push 0
call fcn.00414237
push 0xffffffffffffffff
lea ecx, [ebx + 0x18]
push 0
call fcn.00438629
push 0xffffffffffffffff
push 0
mov ecx, 0x472500
call fcn.00414237
push 0xffffffffffffffff
push 0
mov ecx, 0x472514
call fcn.00414237
push 0xffffffffffffffff
push 0
mov ecx, 0x4724d8
call fcn.00414237
push 0xffffffffffffffff
push 0
mov ecx, 0x4724ec
call fcn.00414237
push 0xffffffffffffffff
lea ecx, [ebx + 0x48]
push 0
call fcn.00414237
push 0xffffffffffffffff
lea ecx, [ebx + 0x70]
push 0
call fcn.00414237
push 0xffffffffffffffff
lea ecx, [ebx + 0x5c]
push 0
call fcn.00414237
push 0xffffffffffffffff
lea ecx, [ebx + 0x84]
push 0
call fcn.00414237
mov edi, dword [esp + 0x24]
push edi
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
mov esi, dword [esp + 0x2c]
push 0
push 0
push esi
push edi
push 0
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
jne 0x404033
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
push esi
push 0xffffffffffffffff
push 0x4579d0
push str.VERSION
mov dword [ebx + 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 0x457934
mov dword [esp + 0x30], eax
call edi
push esi
push 0
push str.GCOUNTS
push 0x457934
mov dword [esp + 0x40], eax
call edi
push esi
push 0
push str.BCOUNTS
push str.FF_TBK
mov dword [esp + 0x44], eax
call edi
push esi
push 0
push str.GCOUNTS
push str.FF_TBK
mov dword [esp + 0x4c], eax
call edi
push 0x100
lea ecx, [esp + 0x44]
push 0
push ecx
mov dword [esp + 0x24], eax
call fcn.0043bc20
add esp, 0xc
call fcn.00414eb4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403a6b
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x14], ebx
mov byte [esp + 0x14c], 3
call fcn.00414eb4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403a9d
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
push 0xff
lea ecx, [esp + 0x48]
push ecx
push 0x457880
push str.Name
push str.NOPASSWD
mov byte [esp + 0x164], 4
call edi
lea eax, [esp + 0x40]
lea ebp, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403ae0
sub eax, ebp
push eax
lea edx, [esp + 0x44]
push edx
mov ecx, 0x4723c0
call fcn.00401a30
push esi
push 0xff
lea eax, [esp + 0x48]
push eax
push 0x457880
push 0x457998
push str.SOFTPASSWD
call edi
lea eax, [esp + 0x40]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403b20
sub eax, edx
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, 0x4723c4
call fcn.00401a30
xor ebp, ebp
cmp dword [esp + 0x20], ebp
jle 0x403c39
jmp 0x403b50
push ebp
lea edx, [esp + 0x18]
push str.URL_d
push edx
call fcn.00401d40
mov ecx, dword [esp + 0x20]
add esp, 0xc
push esi
push 0xff
lea eax, [esp + 0x48]
push eax
push 0x457880
push ecx
push str.SOURCE
call edi
lea eax, [esp + 0x40]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403b86
sub eax, edx
push eax
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x30]
call fcn.00401a30
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
add eax, 0xffffffff
cmp ebp, eax
jne 0x403bbe
lea eax, [esp + 0x28]
add ecx, 0x30
push eax
call fcn.00401c80
jmp 0x403bcf
mov eax, dword [ecx + 0xc]
add ecx, 4
lea edx, [esp + 0x28]
push edx
push eax
call fcn.00414387
push ebp
lea eax, [esp + 0x18]
push str.LEN_d
push eax
call fcn.00401d40
mov ebx, dword [esp + 0x20]
add esp, 0xc
push esi
push 0xff
lea ecx, [esp + 0x48]
push ecx
push 0x457970
push ebx
push str.LENGTH
call edi
lea edx, [esp + 0x40]
push edx
call fcn.0043bc9a
mov ecx, dword [esp + 0x24]
add ecx, 0xffffffff
add esp, 4
cmp ebp, ecx
mov ecx, dword [esp + 0x1c]
jne 0x403c1f
mov dword [ecx + 0x34], eax
jmp 0x403c2c
mov edx, dword [ecx + 0x20]
add ecx, 0x18
push eax
push edx
call fcn.0043874d
add ebp, 1
cmp ebp, dword [esp + 0x20]
jl 0x403b50
xor ebp, ebp
cmp dword [esp + 0x30], ebp
jle 0x403cdb
push ebp
lea edx, [esp + 0x18]
push str.BFF_d
push edx
call fcn.00401d40
mov ecx, dword [esp + 0x20]
add esp, 0xc
push esi
push 0xff
lea eax, [esp + 0x48]
push eax
push 0x457880
push ecx
push 0x457934
call edi
mov eax, dword [0x4724e0]
lea edx, [esp + 0x40]
push edx
push eax
mov ecx, 0x4724d8
call fcn.004143bc
push ebp
lea ecx, [esp + 0x18]
push str.BFER_d
push ecx
call fcn.00401d40
mov ebx, dword [esp + 0x20]
add esp, 0xc
push esi
push 0xff
lea edx, [esp + 0x48]
push edx
push 0x457880
push ebx
push 0x457934
call edi
mov ecx, dword [0x472508]
lea eax, [esp + 0x40]
push eax
push ecx
mov ecx, 0x472500
call fcn.004143bc
add ebp, 1
cmp ebp, dword [esp + 0x30]
jl 0x403c45
xor ebp, ebp
cmp dword [esp + 0x34], ebp
jle 0x403d86
jmp 0x403cf0
push ebp
lea edx, [esp + 0x18]
push str.GFF_d
push edx
call fcn.00401d40
mov ecx, dword [esp + 0x20]
add esp, 0xc
push esi
push 0xff
lea eax, [esp + 0x48]
push eax
push 0x457880
push ecx
push 0x457934
call edi
mov eax, dword [0x4724f4]
lea edx, [esp + 0x40]
push edx
push eax
mov ecx, 0x4724ec
call fcn.004143bc
push ebp
lea ecx, [esp + 0x18]
push str.GFER_d
push ecx
call fcn.00401d40
mov ebx, dword [esp + 0x20]
add esp, 0xc
push esi
push 0xff
lea edx, [esp + 0x48]
push edx
push 0x457880
push ebx
push 0x457934
call edi
mov ecx, dword [0x47251c]
lea eax, [esp + 0x40]
push eax
push ecx
mov ecx, 0x472514
call fcn.004143bc
add ebp, 1
cmp ebp, dword [esp + 0x34]
jl 0x403cf0
xor ebp, ebp
cmp dword [esp + 0x3c], ebp
jle 0x403e27
push ebp
lea edx, [esp + 0x18]
push str.BFF_d
push edx
call fcn.00401d40
mov ecx, dword [esp + 0x20]
add esp, 0xc
push esi
push 0xff
lea eax, [esp + 0x48]
push eax
push 0x457880
push ecx
push str.FF_TBK
call edi
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x50]
add ecx, 0x48
lea edx, [esp + 0x40]
push edx
push eax
call fcn.004143bc
push ebp
lea eax, [esp + 0x18]
push str.BFER_d
push eax
call fcn.00401d40
mov ebx, dword [esp + 0x20]
add esp, 0xc
push esi
push 0xff
lea ecx, [esp + 0x48]
push ecx
push 0x457880
push ebx
push str.FF_TBK
call edi
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x78]
add ecx, 0x70
lea edx, [esp + 0x40]
push edx
push eax
call fcn.004143bc
add ebp, 1
cmp ebp, dword [esp + 0x3c]
jl 0x403d92
xor ebp, ebp
cmp dword [esp + 0x18], ebp
jle 0x403ece
push ebp
lea eax, [esp + 0x18]
push str.GFF_d
push eax
call fcn.00401d40
mov edx, dword [esp + 0x20]
add esp, 0xc
push esi
push 0xff
lea ecx, [esp + 0x48]
push ecx
push 0x457880
push edx
push str.FF_TBK
call edi
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x64]
add ecx, 0x5c
lea edx, [esp + 0x40]
push edx
push eax
call fcn.004143bc
push ebp
lea eax, [esp + 0x18]
push str.GFER_d
push eax
call fcn.00401d40
mov ebx, dword [esp + 0x20]
add esp, 0xc
push esi
push 0xff
lea ecx, [esp + 0x48]
push ecx
push 0x457880
push ebx
push str.FF_TBK
call edi
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x8c]
add ecx, 0x84
lea edx, [esp + 0x40]
push edx
push eax
call fcn.004143bc
add ebp, 1
cmp ebp, dword [esp + 0x18]
jl 0x403e33
push esi
push 0xff
lea eax, [esp + 0x48]
push eax
push 0x457880
push str.BFF_IE
push 0x457934
call edi
mov ebp, dword [esp + 0x1c]
lea eax, [esp + 0x40]
lea edx, [eax + 1]
lea ecx, [ebp + 0x40]
mov dword [esp + 0x18], edx
lea esp, [esp]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x403f00
sub eax, dword [esp + 0x18]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00401a30
push esi
push 0xff
lea ecx, [esp + 0x48]
push ecx
push 0x457880
push str.BFER_IE
push 0x457934
call edi
lea eax, [esp + 0x40]
lea edx, [eax + 1]
lea ecx, [ebp + 0x44]
mov dword [esp + 0x18], edx
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x403f42
sub eax, dword [esp + 0x18]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00401a30
push esi
push 0xff
lea ecx, [esp + 0x48]
push ecx
push 0x457880
push str.PC_BAIDU
push 0x457934
call edi
lea eax, [esp + 0x40]
lea edx, [eax + 1]
lea ecx, [ebp + 0x98]
mov dword [esp + 0x18], edx
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x403f87
sub eax, dword [esp + 0x18]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00401a30
push esi
push 0xff
lea ecx, [esp + 0x48]
push ecx
push 0x457880
push str.PC_GOOGLE
push 0x457934
call edi
lea eax, [esp + 0x40]
lea edi, [ebp + 0x9c]
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x403fc8
sub eax, ecx
push eax
lea edx, [esp + 0x44]
push edx
mov ecx, edi
call fcn.00401a30
mov ecx, ebp
call fcn.004023d0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x14c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40400f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov byte [esp + 0x14c], 1
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404033
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
add esi, 0xfffffff0
mov byte [esp + 0x14c], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x404057
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x14c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404082
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 + 0x144]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.0043bb93
add esp, 0x13c
ret