Function at 0x409290
Capabilities:
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x449f1e
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x460770]
xor eax, esp
mov dword [esp + 0x178], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x460770]
xor eax, esp
push eax
lea eax, [esp + 0x194]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1ac]
mov dword [esp + 0x74], eax
xor eax, eax
mov dword [esp + 0x28], eax
push 0xfe
push eax
lea ecx, [esp + 0x95]
mov dword [esp + 0x1a4], 1
push ecx
mov byte [esp + 0x98], al
call fcn.00435560
add esp, 0xc
push str.C:uhz.ini
push 0xff
lea edx, [esp + 0x94]
push edx
push 0x4511ab
push str.disableupdate
push str.debug
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401cb0
lea ebx, [esp + 0x18]
mov byte [esp + 0x19c], 2
call fcn.00403f00
mov edi, eax
call fcn.00403f80
mov ecx, dword [esp + 0x18]
push 0x451298
push ecx
call fcn.00432ae9
xor ebx, ebx
add esp, 8
cmp eax, ebx
sete al
cmp al, bl
je 0x409392
mov byte [esp + 0x19c], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x409cb4
mov dword [esp + 0x88], vtable.CHttpRequest.0
push 0x4511ab
lea ecx, [esp + 0x24]
mov byte [esp + 0x1a0], 3
call fcn.00401cb0
mov byte [esp + 0x19c], 4
mov ecx, dword [esp + 0x1a8]
push 0x4511ab
push ecx
call fcn.00432ae9
add esp, 8
cmp eax, ebx
sete al
cmp al, bl
je 0x4093e0
mov eax, 0x452e40
jmp 0x40940f
push 0x452e50
lea edx, [esp + 0x1ac]
push edx
lea eax, [esp + 0x80]
push eax
call fcn.00401830
add esp, 0xc
mov byte [esp + 0x19c], 5
mov eax, dword [eax]
mov dword [esp + 0x28], 1
push eax
lea ecx, [esp + 0x28]
call fcn.00401cb0
mov dword [esp + 0x19c], 7
test byte [esp + 0x28], 1
je 0x40944b
mov eax, dword [esp + 0x78]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40944b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.http:__update.1771.com_files_UZHSingle_Update.xml
lea ecx, [esp + 0x30]
call fcn.00401cb0
lea ecx, [esp + 0x20]
mov byte [esp + 0x19c], 8
mov eax, dword [esp + 0x2c]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x38], esp
mov esi, esp
push eax
call fcn.00401db0
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0040ce50
cmp al, bl
je 0x409c20
lea ecx, [esp + 0x34]
push ecx
call fcn.004089a0
mov byte [esp + 0x19c], 9
test byte [esp + 0x5c], 0x30
jne 0x4094ca
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x38]
call fcn.00404260
lea ecx, [esp + 0x38]
call fcn.00401eb0
lea ebx, [esp + 0x34]
call fcn.00411c90
xor ebx, ebx
push 0x4511ab
lea ecx, [esp + 0x20]
call fcn.00401cb0
mov byte [esp + 0x19c], 0xa
jmp 0x4094e4
xor ebx, ebx
push ecx
mov eax, esp
mov dword [eax], str.file
lea eax, [esp + 0x38]
mov dword [esp + 0x34], esp
call fcn.00410e30
cmp al, 1
jne 0x409af9
mov ecx, dword [esp + 0x40]
cmp ecx, ebx
je 0x409534
cmp dword [esp + 0x50], 1
jne 0x409534
mov eax, dword [esp + 0x44]
mov dword [esp + 0x3c], ecx
xor ecx, ecx
cmp eax, ebx
setne cl
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x50], ecx
push ecx
mov eax, esp
mov dword [eax], str.hasvalue
lea eax, [esp + 0x38]
mov dword [esp + 0x34], esp
call fcn.00410e30
cmp al, bl
je 0x409a06
mov ecx, dword [esp + 0x40]
cmp ecx, ebx
je 0x409584
cmp dword [esp + 0x50], 1
jne 0x409584
mov eax, dword [esp + 0x44]
xor edx, edx
cmp eax, ebx
setne dl
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x50], edx
lea esi, [esp + 0x80]
lea edx, [esp + 0x34]
call fcn.00408a80
mov ebx, eax
mov byte [esp + 0x19c], 0xb
call fcn.00403f00
mov edi, eax
call fcn.00403f80
mov esi, dword [eax]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
sub esi, 0x10
call edx
lea ecx, [esi + 0xc]
xor ebx, ebx
cmp dword [ecx], ebx
jl 0x4095d3
cmp eax, dword [esi]
jne 0x4095d3
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x409607
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
cmp edi, ebx
je 0x409a62
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.004321b7
add esp, 0x10
add edi, 0x10
mov dword [esp + 0x6c], edi
mov byte [esp + 0x19c], 0xd
mov eax, dword [esp + 0x80]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409639
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x409680
mov edi, dword [esp + 0x68]
mov edi, dword [edi]
mov edx, dword [esp + 0x40]
mov ecx, eax
mov esi, eax
and eax, 0xffff
sar esi, 0x10
mov esi, dword [edi + esi*4]
shl eax, 5
mov eax, dword [esi + eax + 0x10]
mov dword [esp + 0x44], edx
xor edx, edx
cmp ecx, ebx
setne dl
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x50], edx
push ecx
mov eax, esp
mov dword [eax], str.updatehttppath
lea eax, [esp + 0x38]
mov dword [esp + 0x34], esp
call fcn.00410e30
cmp al, bl
je 0x409a67
mov ecx, dword [esp + 0x40]
cmp ecx, ebx
je 0x4096d0
cmp dword [esp + 0x50], 1
jne 0x4096d0
mov eax, dword [esp + 0x44]
mov dword [esp + 0x3c], ecx
xor ecx, ecx
cmp eax, ebx
setne cl
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x50], ecx
lea esi, [esp + 0x7c]
lea edx, [esp + 0x34]
call fcn.00408a80
mov ebx, eax
mov byte [esp + 0x19c], 0xe
call fcn.00403f00
mov edi, eax
call fcn.00403f80
mov esi, dword [eax]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub esi, 0x10
call eax
lea ecx, [esi + 0xc]
xor ebx, ebx
cmp dword [ecx], ebx
jl 0x40971c
cmp eax, dword [esi]
jne 0x40971c
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x409750
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
cmp edi, ebx
je 0x409a62
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.004321b7
add esp, 0x10
add edi, 0x10
mov dword [esp + 0x28], edi
mov byte [esp + 0x19c], 0x10
mov eax, dword [esp + 0x7c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40977f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x4097c6
mov edi, dword [esp + 0x68]
mov edi, dword [edi]
mov edx, dword [esp + 0x40]
mov ecx, eax
mov esi, eax
and eax, 0xffff
sar esi, 0x10
mov esi, dword [edi + esi*4]
shl eax, 5
mov eax, dword [esi + eax + 0x10]
mov dword [esp + 0x44], edx
xor edx, edx
cmp ecx, ebx
setne dl
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x50], edx
push ecx
mov eax, esp
mov dword [eax], str.updatelocalpath
lea eax, [esp + 0x38]
mov dword [esp + 0x34], esp
call fcn.00410e30
cmp al, bl
je 0x409a80
mov ecx, dword [esp + 0x40]
cmp ecx, ebx
je 0x409816
cmp dword [esp + 0x50], 1
jne 0x409816
mov eax, dword [esp + 0x44]
mov dword [esp + 0x3c], ecx
xor ecx, ecx
cmp eax, ebx
setne cl
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x50], ecx
lea esi, [esp + 0x84]
lea edx, [esp + 0x34]
call fcn.00408a80
mov ebx, eax
mov byte [esp + 0x19c], 0x11
call fcn.00403f00
mov edi, eax
call fcn.00403f80
mov esi, dword [eax]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub esi, 0x10
call eax
lea ecx, [esi + 0xc]
xor ebx, ebx
cmp dword [ecx], ebx
jl 0x409865
cmp eax, dword [esi]
jne 0x409865
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x409899
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
cmp edi, ebx
je 0x409a62
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.004321b7
add esp, 0x10
lea esi, [edi + 0x10]
mov dword [esp + 0x30], esi
mov byte [esp + 0x19c], 0x13
mov eax, dword [esp + 0x84]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4098cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x409914
mov ebp, dword [esp + 0x68]
mov ebp, dword [ebp]
mov edx, dword [esp + 0x40]
mov ecx, eax
mov edi, eax
and eax, 0xffff
sar edi, 0x10
mov edi, dword [ebp + edi*4]
shl eax, 5
mov eax, dword [edi + eax + 0x10]
mov dword [esp + 0x44], edx
xor edx, edx
cmp ecx, ebx
setne dl
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x24]
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x409aa5
push eax
push esi
call fcn.00432ae9
add esp, 8
cmp eax, ebx
sete al
cmp al, bl
jne 0x409aaf
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x409987
mov ebp, dword [esp + 0x68]
mov ebp, dword [ebp]
mov edx, dword [esp + 0x40]
mov ecx, eax
mov edi, eax
and eax, 0xffff
sar edi, 0x10
mov edi, dword [ebp + edi*4]
shl eax, 5
mov eax, dword [edi + eax + 0x10]
mov dword [esp + 0x44], edx
xor edx, edx
cmp ecx, ebx
setne dl
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x50], edx
lea eax, [esi - 0x10]
mov byte [esp + 0x19c], 0x10
lea ecx, [eax + 0xc]
mov edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4099ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x19c], 0xd
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 0x4099d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x19c], 0xa
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4094e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4094e2
lea ecx, [esp + 0x1c]
call fcn.0040ea80
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x1a0], 8
call fcn.00410b70
lea ecx, [esp + 0x2c]
call fcn.0040ea80
lea ecx, [esp + 0x24]
call fcn.0040ea80
lea ecx, [esp + 0x20]
call fcn.0040ea80
lea ecx, [esp + 0x18]
call fcn.0040ea80
lea ecx, [esp + 0x1a4]
call fcn.0040ea80
lea ecx, [esp + 0x1a8]
call fcn.0040ea80
jmp 0x409d18
call fcn.00401f90
lea ecx, [esp + 0x6c]
call fcn.0040ea80
lea ecx, [esp + 0x1c]
call fcn.0040ea80
lea edx, [esp + 0x34]
push edx
jmp 0x409a14
lea ecx, [esp + 0x28]
call fcn.0040ea80
lea ecx, [esp + 0x6c]
call fcn.0040ea80
lea ecx, [esp + 0x1c]
call fcn.0040ea80
lea eax, [esp + 0x34]
push eax
jmp 0x409a14
push 0x80004005
call fcn.004021a0
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x20]
call fcn.00404260
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0x28]
push edx
call fcn.00404260
lea eax, [esp + 0x34]
call fcn.00411c30
lea ecx, [esp + 0x30]
call fcn.0040ea80
lea ecx, [esp + 0x28]
call fcn.0040ea80
lea ecx, [esp + 0x6c]
mov byte [esp + 0x19c], 0xa
call fcn.0040ea80
xor ebx, ebx
mov eax, dword [esp + 0x74]
mov eax, dword [eax]
push 0x4511ab
push eax
call fcn.00432ae9
add esp, 8
cmp eax, ebx
sete al
cmp al, bl
jne 0x409be6
lea ecx, [esp + 0x1c]
push 0x4511ab
push ecx
call fcn.00403ed0
add esp, 8
test al, al
jne 0x409be6
push 0x4511ab
lea ecx, [esp + 0x74]
call fcn.00401cb0
lea edx, [esp + 0x70]
push edx
push ecx
mov byte [esp + 0x1a4], 0x14
lea eax, [esp + 0x1ac]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00401e20
call fcn.00408aa0
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x7c]
push edx
call fcn.00403ea0
add esp, 0x10
test al, al
lea ecx, [esp + 0x70]
sete bl
call fcn.0040ea80
lea ecx, [esp + 0x1c]
call fcn.0040ea80
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x1a0], 8
call fcn.00410b70
lea ecx, [esp + 0x2c]
call fcn.0040ea80
lea ecx, [esp + 0x24]
call fcn.0040ea80
lea ecx, [esp + 0x20]
call fcn.0040ea80
lea ecx, [esp + 0x18]
call fcn.0040ea80
lea ecx, [esp + 0x1a4]
call fcn.0040ea80
lea ecx, [esp + 0x1a8]
call fcn.0040ea80
mov al, bl
jmp 0x409d1a
mov byte [esp + 0x19c], 9
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409c0e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x1a0], 8
call fcn.00410b70
mov byte [esp + 0x19c], 7
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409c48
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x19c], 4
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409c70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x19c], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409c98
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x19c], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409cc0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x19c], bl
mov eax, dword [esp + 0x1a4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409cea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x19c], 0xffffffff
mov eax, dword [esp + 0x1a8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409d18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x194]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x178]
xor ecx, esp
call fcn.00432019
add esp, 0x18c
ret 0xc