Function at 0x406090
Capabilities:
Access peb ldr_data
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x442613
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x45a9a0]
xor eax, esp
mov dword [esp + 0x428], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45a9a0]
xor eax, esp
push eax
lea eax, [esp + 0x440]
mov dword fs:[0], eax
mov eax, dword [esp + 0x458]
mov esi, dword [esp + 0x450]
mov edi, ecx
push str.http:__update.totalvaccine.co.kr_version
lea ecx, [esp + 0x24]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], eax
call fcn.004042a0
push 0x4475a8
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44c], 0
call fcn.004042a0
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x454], 1
call fcn.004031f0
push str.bina_
push eax
lea eax, [esp + 0x4c]
mov bl, 2
push eax
mov byte [esp + 0x460], bl
call fcn.004032b0
add esp, 0x18
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x44c], 3
call fcn.00403150
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x448], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406177
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x448], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40619f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x448], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4061c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x44713c
lea ecx, [esp + 0x18]
call fcn.004042a0
push 0x44713c
lea ecx, [esp + 0x20]
mov byte [esp + 0x44c], 4
call fcn.004042a0
push 0x44713c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44c], 5
call fcn.004042a0
mov ebp, dword [esi + 4]
test ebp, ebp
mov byte [esp + 0x448], 6
je 0x4063c9
test ebp, ebp
mov eax, ebp
je 0x40652d
mov ecx, dword [eax + 8]
mov esi, dword [esp + 0x14]
mov ebp, dword [ebp]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x406279
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x40626b
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40626b
push eax
call fcn.00402bd0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x406262
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x14], ebx
jmp 0x406279
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401b00
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.004031f0
add esp, 0xc
mov ecx, dword [eax]
mov esi, dword [esp + 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
mov byte [esp + 0x448], 7
je 0x4062ef
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4062e1
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4062e1
push eax
call fcn.00402bd0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4062d8
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x18], ebx
jmp 0x4062ef
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00401b00
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x448], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406317
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push str.uninst_totalvaccine.exe
push ecx
call fcn.0042e1ca
add esp, 8
test eax, eax
sete al
test al, al
je 0x40637a
push 0x3ff
lea edx, [esp + 0x41]
push 0
push edx
mov byte [esp + 0x48], 0
call fcn.0042c9b0
add esp, 0xc
push 0x400
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x24]
push str._s_s
push eax
call fcn.004031d0
mov edi, dword [esp + 0x3c]
jmp 0x406399
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x2c]
mov edx, dword [edi + 0x80]
push ecx
push edx
lea eax, [esp + 0x24]
push str._s_s
push eax
call fcn.004031d0
mov ecx, dword [esp + 0x464]
mov edx, dword [ecx]
mov eax, dword [esp + 0x40]
add esp, 0x10
push edx
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
call fcn.00405880
test ebp, ebp
jne 0x406214
push 0x44713c
lea ecx, [esp + 0x28]
call fcn.004042a0
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push 0x447568
push edx
mov byte [esp + 0x454], 8
call fcn.004031d0
mov eax, dword [esp + 0x30]
add esp, 0xc
push eax
push 0x3ef
mov ecx, edi
call fcn.00410905
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
mov edx, dword [edi + 0x10c]
push 0
push eax
push 0x402
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [edi + 0x10c]
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x448], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40645b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x448], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406483
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x448], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4064ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x448], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4064d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x448], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4064fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x440]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x428]
xor ecx, esp
call fcn.0042cd95
add esp, 0x438
ret 0xc
call fcn.00408a28
int3