Function at 0x4035e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x53882a
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x592830]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [0x592830]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
xor edi, edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x70], edi
mov dword [esp + 0xd8], edi
call section..text
and dword [esp + 0x54], 0xfffffe00
mov dword [esp + 0x58], edi
mov byte [esp + 0xd8], 2
mov eax, dword [esp + 0x2c]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x2c], eax
mov eax, dword [0x5a23a8]
mov dword [esp + 0x30], edi
test al, 1
jne 0x40368b
or eax, 1
push 0x5391a0
mov dword [0x5a23a8], eax
mov dword [0x59fa64], 0x568b34
call fcn.004ed188
add esp, 4
mov ecx, dword [0x59e998]
push 0xffffffffffffffff
mov eax, dword [ecx]
push str._Update__out_of_expired
call dword [eax + 0xc]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
sub esp, 8
lea ecx, [esp + 0x58]
push str.message
mov byte [esp + 0xe8], 3
call fcn.0040cf40
add esp, 4
mov ecx, eax
call fcn.0040c9f0
lea ecx, [esp + 0x24]
mov byte [esp + 0xd8], 2
call fcn.0040c940
mov eax, dword [esp + 0x2c]
and eax, 0xffffff01
or eax, 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], 0
lea eax, [esp + 0x24]
push eax
sub esp, 8
lea ecx, [esp + 0x58]
push str.result
mov byte [esp + 0xe8], 4
call fcn.0040cf40
add esp, 4
mov ecx, eax
call fcn.0040c9f0
lea ecx, [esp + 0x24]
mov byte [esp + 0xd8], 2
call fcn.0040c940
cmp dword [ebp + 8], 3
jne 0x404035
push 5
push str.local
push dword [ebx + 4]
call fcn.004edb47
add esp, 0xc
test eax, eax
jne 0x40393f
push 0x84
call fcn.004ebc43
add esp, 4
mov dword [esp + 0x48], eax
mov byte [esp + 0xd8], 5
test eax, eax
je 0x40377f
push 1
mov ecx, eax
call fcn.00401ca0
jmp 0x403781
xor eax, eax
test eax, eax
cmovne edi, eax
mov byte [esp + 0xd8], 2
cmp dword [0x59dc34], 0x10
mov esi, 0x59dc20
mov eax, esi
cmovae eax, dword [0x59dc20]
push eax
mov ecx, edi
mov dword [esp + 0x74], edi
call fcn.00403140
cmp dword [edi + 0x44], 0
jne 0x4037bf
mov dword [esp + 0x44], 0
jmp 0x4037d6
cmp dword [edi + 0x48], 0x10
lea ebx, [edi + 0x34]
mov dword [esp + 0x44], ebx
jb 0x4037d2
mov ebx, dword [ebx]
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x38]
push dword [ebx + 8]
mov ecx, edi
call fcn.004024b0
test eax, eax
jns 0x4037ff
push str._Update__init_failed_on_local
lea ecx, [esp + 0x18]
call fcn.0040c790
mov byte [esp + 0xd8], 6
jmp 0x40404b
cmp dword [edi + 0x2c], 0
jne 0x40380f
mov dword [esp + 0x38], 0
jmp 0x403822
cmp dword [edi + 0x30], 0x10
lea ebx, [edi + 0x1c]
mov dword [esp + 0x38], ebx
jb 0x403822
mov ebx, dword [ebx]
mov dword [esp + 0x38], ebx
cmp dword [0x59dc34], 0x10
lea eax, [esp + 0xb0]
cmovae esi, dword [0x59dc20]
push eax
mov ecx, edi
mov dword [esp + 0x4c], esi
call fcn.00403230
mov esi, eax
mov byte [esp + 0xd8], 7
cmp dword [esi + 0x14], 0x10
jb 0x403855
mov esi, dword [esi]
mov eax, dword [esp + 0x1c]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x1c], eax
mov eax, dword [0x5a23a8]
mov dword [esp + 0x20], 0
test al, 1
jne 0x403897
or eax, 1
push 0x5391a0
mov dword [0x5a23a8], eax
mov dword [0x59fa64], 0x568b34
call fcn.004ed188
add esp, 4
mov ecx, dword [0x59e998]
push 0xffffffffffffffff
mov eax, dword [ecx]
push esi
call dword [eax + 0xc]
mov dword [esp + 0x14], eax
push ecx
push str.version
lea ecx, [esp + 0x54]
mov byte [esp + 0xe0], 8
call fcn.0040cf40
mov esi, eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
call fcn.0040c7f0
movsx ecx, byte [esi + 8]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
xor ecx, ebx
mov byte [esi + 8], bl
mov edx, dword [esi + 4]
and ecx, 0xff
xor ebx, ecx
mov ecx, dword [esi]
mov dword [esi], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 4], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 8]
mov edx, ecx
shl edx, 0x17
sar edx, 0x1f
mov eax, ecx
shl edx, 8
xor eax, ebx
xor edx, ebx
and eax, 0x100
and edx, 0x100
xor eax, ecx
xor ebx, edx
lea ecx, [esp + 0x24]
mov dword [esi + 8], eax
mov dword [esp + 0x2c], ebx
call fcn.0040c940
mov byte [esp + 0xd8], 7
jmp 0x403b3c
push 6
push str.remote
push dword [ebx + 4]
call fcn.004edb47
add esp, 0xc
test eax, eax
jne 0x404035
push 0x84
call fcn.004ebc43
add esp, 4
mov dword [esp + 0x48], eax
mov byte [esp + 0xd8], 9
test eax, eax
je 0x403981
push 0
mov ecx, eax
call fcn.00401ca0
jmp 0x403983
xor eax, eax
test eax, eax
cmovne edi, eax
mov byte [esp + 0xd8], 2
cmp dword [0x59dc34], 0x10
mov esi, 0x59dc20
mov eax, esi
cmovae eax, dword [0x59dc20]
push eax
mov ecx, edi
mov dword [esp + 0x74], edi
call fcn.00403140
cmp dword [edi + 0x44], 0
jne 0x4039c1
mov dword [esp + 0x44], 0
jmp 0x4039d8
cmp dword [edi + 0x48], 0x10
lea ebx, [edi + 0x34]
mov dword [esp + 0x44], ebx
jb 0x4039d4
mov ebx, dword [ebx]
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x38]
push dword [ebx + 8]
mov ecx, edi
call fcn.00401ee0
test eax, eax
jns 0x403a01
push str._Update__init_failed_on_remote
lea ecx, [esp + 0x18]
call fcn.0040c790
mov byte [esp + 0xd8], 0xa
jmp 0x40404b
cmp dword [edi + 0x2c], 0
jne 0x403a11
mov dword [esp + 0x38], 0
jmp 0x403a24
cmp dword [edi + 0x30], 0x10
lea ebx, [edi + 0x1c]
mov dword [esp + 0x38], ebx
jb 0x403a24
mov ebx, dword [ebx]
mov dword [esp + 0x38], ebx
cmp dword [0x59dc34], 0x10
lea eax, [esp + 0xb0]
cmovae esi, dword [0x59dc20]
push eax
mov ecx, edi
mov dword [esp + 0x4c], esi
call fcn.00403230
mov esi, eax
mov byte [esp + 0xd8], 0xb
cmp dword [esi + 0x14], 0x10
jb 0x403a57
mov esi, dword [esi]
mov eax, dword [esp + 0x1c]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x1c], eax
mov eax, dword [0x5a23a8]
mov dword [esp + 0x20], 0
test al, 1
jne 0x403a99
or eax, 1
push 0x5391a0
mov dword [0x5a23a8], eax
mov dword [0x59fa64], 0x568b34
call fcn.004ed188
add esp, 4
mov ecx, dword [0x59e998]
push 0xffffffffffffffff
mov eax, dword [ecx]
push esi
call dword [eax + 0xc]
mov dword [esp + 0x14], eax
push ecx
push str.version
lea ecx, [esp + 0x54]
mov byte [esp + 0xe0], 0xc
call fcn.0040cf40
mov esi, eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
call fcn.0040c7f0
movsx ecx, byte [esi + 8]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
xor ecx, ebx
mov byte [esi + 8], bl
mov edx, dword [esi + 4]
and ecx, 0xff
xor ebx, ecx
mov ecx, dword [esi]
mov dword [esi], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 4], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 8]
mov edx, ecx
shl edx, 0x17
sar edx, 0x1f
mov eax, ecx
shl edx, 8
xor eax, ebx
xor edx, ebx
and eax, 0x100
and edx, 0x100
xor eax, ecx
xor ebx, edx
lea ecx, [esp + 0x24]
mov dword [esi + 8], eax
mov dword [esp + 0x2c], ebx
call fcn.0040c940
mov byte [esp + 0xd8], 0xb
lea ecx, [esp + 0x14]
call fcn.0040c940
mov byte [esp + 0xd8], 2
cmp dword [esp + 0xc4], 0x10
jb 0x403b66
push dword [esp + 0xb0]
call fcn.004ebc0b
add esp, 4
call fcn.004033a0
test eax, eax
je 0x40407c
push 0x8000000
call dword [sym.imp.rxmss.dll_MssSetCacheSize]
mov dword [esp + 0x3c], 0
push 0
lea eax, [esp + 0x28]
push eax
push 0x541184
push 0
mov byte [esp + 0xe8], 0xf
push 0x541194
mov dword [esp + 0x38], 0
call dword [sym.imp.rxmss.dll_MssCreateInstance]
test eax, eax
jns 0x403c2f
mov byte [esp + 0xd8], 0xe
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x403bc9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push str._Update__Failed_to_create_MssLibUpdater
lea ecx, [esp + 0x18]
call fcn.0040c790
lea eax, [esp + 0x14]
push eax
sub esp, 8
lea ecx, [esp + 0x58]
push str.message
mov byte [esp + 0xe8], 0x10
call fcn.0040cf40
add esp, 4
mov ecx, eax
call fcn.0040c9f0
lea ecx, [esp + 0x14]
mov byte [esp + 0xd8], 0xe
call fcn.0040c940
mov byte [esp + 0xd8], 2
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x40407c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x40407c
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
cmp ecx, edx
je 0x403c77
mov esi, edx
test ecx, ecx
je 0x403c4b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edx, dword [esp + 0x24]
xor ecx, ecx
mov dword [esp + 0x3c], ecx
test esi, esi
je 0x403c77
mov eax, dword [esi]
lea ecx, [esp + 0x3c]
push ecx
push 0x541184
push esi
call dword [eax]
mov ecx, dword [esp + 0x3c]
xor edx, edx
test eax, eax
cmovs ecx, edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x3c], ecx
mov byte [esp + 0xd8], 0xe
test edx, edx
je 0x403c8d
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x5c], vtable.LibUpCB.0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], edi
push 0
lea edx, [esp + 0x60]
push edx
push dword [esp + 0x40]
mov byte [esp + 0xe4], 0x11
push dword [esp + 0x54]
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
cmp eax, 1
jne 0x403d85
push str._Update__The_virus_library_has_been_the_latest_version
lea ecx, [esp + 0x18]
call fcn.0040c790
lea eax, [esp + 0x14]
push eax
sub esp, 8
lea ecx, [esp + 0x58]
push str.message
mov byte [esp + 0xe8], 0x12
call fcn.0040cf40
add esp, 4
mov ecx, eax
call fcn.0040c9f0
lea ecx, [esp + 0x14]
mov byte [esp + 0xd8], 0x11
call fcn.0040c940
mov eax, dword [esp + 0x1c]
and eax, 0xffffff01
or eax, 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], 1
lea eax, [esp + 0x14]
push eax
sub esp, 8
mov byte [esp + 0xe4], 0x13
push str.result
lea ecx, [esp + 0x5c]
call fcn.0040cf40
add esp, 4
mov ecx, eax
call fcn.0040c9f0
lea ecx, [esp + 0x14]
mov byte [esp + 0xd8], 0x11
call fcn.0040c940
lea ecx, [esp + 0x5c]
call fcn.004041d0
jmp 0x403c10
test eax, eax
jns 0x403dae
push str._Update__Failed_to_init
lea ecx, [esp + 0x18]
call fcn.0040c790
lea eax, [esp + 0x14]
push eax
sub esp, 8
mov byte [esp + 0xe4], 0x14
push str.message
jmp 0x403d53
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x5c]
mov ecx, dword [eax]
push edx
push dword [esp + 0x48]
push eax
call dword [ecx + 0x10]
test eax, eax
jns 0x403ded
push str._Update__Failed_to_Update
lea ecx, [esp + 0x18]
call fcn.0040c790
lea eax, [esp + 0x14]
push eax
sub esp, 8
mov byte [esp + 0xe4], 0x15
push str.message
jmp 0x403d53
mov eax, dword [esp + 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
jns 0x403e23
push str._Update__Failed_to_NotifyUpdated
lea ecx, [esp + 0x18]
call fcn.0040c790
lea eax, [esp + 0x14]
push eax
sub esp, 8
mov byte [esp + 0xe4], 0x16
push str.message
jmp 0x403d53
mov eax, dword [esp + 0x1c]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x1c], eax
mov eax, dword [0x5a23a8]
mov dword [esp + 0x20], 0
test al, 1
jne 0x403e65
or eax, 1
push 0x5391a0
mov dword [0x5a23a8], eax
mov dword [0x59fa64], 0x568b34
call fcn.004ed188
add esp, 4
mov ecx, dword [0x59e998]
push 0xffffffffffffffff
mov eax, dword [ecx]
push str._Update__Updated_successfully
call dword [eax + 0xc]
mov dword [esp + 0x14], eax
push ecx
push str.message
lea ecx, [esp + 0x54]
mov byte [esp + 0xe0], 0x17
call fcn.0040cf40
mov esi, eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
call fcn.0040c7f0
movsx ecx, byte [esi + 8]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
xor ecx, ebx
mov byte [esi + 8], bl
mov edx, dword [esi + 4]
and ecx, 0xff
xor ebx, ecx
mov ecx, dword [esi]
mov dword [esi], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 4], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 8]
mov edx, ecx
shl edx, 0x17
sar edx, 0x1f
mov eax, ecx
shl edx, 8
xor eax, ebx
xor edx, ebx
and eax, 0x100
and edx, 0x100
xor eax, ecx
xor ebx, edx
lea ecx, [esp + 0x24]
mov dword [esi + 8], eax
mov dword [esp + 0x2c], ebx
call fcn.0040c940
lea ecx, [esp + 0x14]
mov byte [esp + 0xd8], 0x11
call fcn.0040c940
mov eax, dword [esp + 0x1c]
and eax, 0xffffff01
or eax, 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], 1
push ecx
push str.result
lea ecx, [esp + 0x54]
mov byte [esp + 0xe0], 0x18
call fcn.0040cf40
mov esi, eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
call fcn.0040c7f0
movsx ecx, byte [esi + 8]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
xor ecx, ebx
mov byte [esi + 8], bl
mov edx, dword [esi + 4]
and ecx, 0xff
xor ebx, ecx
mov ecx, dword [esi]
mov dword [esi], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 4], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov ecx, dword [esi + 8]
mov edx, ecx
shl edx, 0x17
sar edx, 0x1f
mov eax, ecx
shl edx, 8
xor eax, ebx
xor edx, ebx
and eax, 0x100
and edx, 0x100
xor eax, ecx
xor ebx, edx
lea ecx, [esp + 0x24]
mov dword [esi + 8], eax
mov dword [esp + 0x2c], ebx
call fcn.0040c940
lea ecx, [esp + 0x14]
mov byte [esp + 0xd8], 0x11
call fcn.0040c940
mov esi, dword [esp + 0x60]
test esi, esi
je 0x403c10
mov ebx, dword [esp + 0x64]
cmp esi, ebx
je 0x40400f
cmp dword [esi + 0x14], 0x10
jb 0x403ff3
push dword [esi]
call fcn.004ebc0b
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
add esi, 0x18
cmp esi, ebx
jne 0x403fe3
mov esi, dword [esp + 0x60]
push esi
call fcn.004ebc0b
add esp, 4
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
jmp 0x403c10
push str._Update__invalid_arguments
lea ecx, [esp + 0x18]
call fcn.0040c790
mov byte [esp + 0xd8], 0xd
lea eax, [esp + 0x14]
push eax
sub esp, 8
lea ecx, [esp + 0x58]
push str.message
call fcn.0040cf40
add esp, 4
mov ecx, eax
call fcn.0040c9f0
lea ecx, [esp + 0x14]
mov byte [esp + 0xd8], 2
call fcn.0040c940
mov dword [esp + 0x78], vtable.Json::FastWriter.0
mov dword [esp + 0x90], 0xf
mov dword [esp + 0x8c], 0
mov byte [esp + 0x7c], 0
mov byte [esp + 0x94], 0
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0xe0], 0x19
call fcn.00408e60
cmp dword [esp + 0xac], 0x10
lea eax, [esp + 0x98]
cmovae eax, dword [esp + 0x98]
push eax
push 0x541180
call fcn.004ed250
add esp, 8
cmp dword [esp + 0xac], 0x10
jb 0x404106
push dword [esp + 0x98]
call fcn.004ebc0b
add esp, 4
cmp dword [esp + 0x90], 0x10
mov dword [esp + 0xac], 0xf
mov dword [esp + 0xa8], 0
mov byte [esp + 0x98], 0
mov dword [esp + 0x78], vtable.Json::FastWriter.0
jb 0x404142
push dword [esp + 0x7c]
call fcn.004ebc0b
add esp, 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0x90], 0xf
mov dword [esp + 0x8c], 0
mov byte [esp + 0x7c], 0
mov dword [esp + 0x78], vtable.Json::Writer.0
mov byte [esp + 0xd8], 0
call fcn.0040c940
mov dword [esp + 0xd8], 0xffffffff
test edi, edi
je 0x40418d
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
xor eax, eax
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.004ebb9e
mov esp, ebp
pop ebp
ret