Function at 0x4691e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ceca2
mov eax, dword fs:[0]
push eax
sub esp, 0x360
mov eax, dword [0x658c00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x104], 0
mov ecx, 0x65b0c0
call fcn.004713f0
nop
lea eax, [ebp - 0x70]
push eax
call fcn.00465be0
add esp, 4
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0x178]
mov dword [ebp - 0x17c], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x17c]
mov dword [ebp - 0x180], edx
push 0x5d2f88
mov ecx, dword [ebp - 0x180]
call fcn.0046d350
mov ecx, eax
call fcn.0046da70
mov dword [ebp - 0x184], eax
push 0
lea eax, [ebp - 0x184]
push eax
lea ecx, [ebp - 0x28]
call fcn.00449de0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push ecx
call fcn.00470b70
add esp, 4
movzx edx, al
test edx, edx
jne 0x4692a2
mov dword [ebp - 0x120], 1
jmp 0x4692ac
mov dword [ebp - 0x120], 0
mov al, byte [ebp - 0x120]
mov byte [ebp - 0x10c], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00461a40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00460c70
movzx ecx, byte [ebp - 0x10c]
test ecx, ecx
je 0x469393
push str.___Update_found
mov edx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push edx
call fcn.0044a610
add esp, 8
mov dword [ebp - 0x188], eax
push 0x454220
mov ecx, dword [ebp - 0x188]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
nop
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1cc], esp
push 0x5d2fb0
call fcn.0045c2c0
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 4], 2
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x1ac], esp
mov dword [ebp - 0x18c], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1b0], esp
push 0x5d2fbc
call fcn.0045c2c0
mov ecx, dword [ebp - 0x18c]
push ecx
mov ecx, 0x65b0c0
call fcn.004786c0
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 4], 0xffffffff
call fcn.00465d50
add esp, 0x30
push 0x454220
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
nop
jmp 0x46965b
lea edx, [ebp - 0x88]
push edx
call fcn.00465be0
add esp, 4
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x194], eax
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x194]
mov dword [ebp - 0x198], ecx
push 1
push 0x40
push 0x20
push 0x5d2fc8
mov ecx, dword [ebp - 0x198]
call fcn.0046d350
push eax
lea ecx, [ebp - 0x2b4]
call fcn.0045baf0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x88]
call fcn.00460c70
nop
push 2
push 0
push 0
lea ecx, [ebp - 0x2b4]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int_]
nop
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1b8], esp
push 0x5d2fd8
call fcn.0045c2c0
lea edx, [ebp - 0x58]
push edx
mov ecx, 0x65b0c0
call fcn.004786c0
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x134], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x134]
call fcn.0046da70
mov dword [ebp - 0x114], eax
lea ecx, [ebp - 0x1e4]
push ecx
lea ecx, [ebp - 0x2b4]
call dword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
mov ecx, eax
call fcn.00462bc0
push edx
push eax
lea edx, [ebp - 0xa0]
push edx
call fcn.00478160
add esp, 0xc
mov dword [ebp - 0x138], eax
mov ecx, dword [ebp - 0x138]
call fcn.0046da70
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
mov cl, byte [eax]
mov byte [ebp - 0x105], cl
mov edx, dword [ebp - 0x114]
cmp cl, byte [edx]
jne 0x4694f6
cmp byte [ebp - 0x105], 0
je 0x4694ea
mov eax, dword [ebp - 0x110]
mov cl, byte [eax + 1]
mov byte [ebp - 0x106], cl
mov edx, dword [ebp - 0x114]
cmp cl, byte [edx + 1]
jne 0x4694f6
add dword [ebp - 0x110], 2
add dword [ebp - 0x114], 2
cmp byte [ebp - 0x106], 0
jne 0x469498
mov dword [ebp - 0x124], 0
jmp 0x469501
sbb eax, eax
or eax, 1
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x13c], ecx
cmp dword [ebp - 0x13c], 0
je 0x469522
mov dword [ebp - 0x128], 1
jmp 0x46952c
mov dword [ebp - 0x128], 0
mov dl, byte [ebp - 0x128]
mov byte [ebp - 0x107], dl
lea ecx, [ebp - 0xa0]
call fcn.00460c70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
call fcn.00460c70
movzx eax, byte [ebp - 0x107]
test eax, eax
je 0x46961c
push str.__Update_found
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push ecx
call fcn.0044a610
add esp, 8
mov dword [ebp - 0x140], eax
push 0x454220
mov ecx, dword [ebp - 0x140]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [ebp - 0x2b4]
call fcn.0046ddc0
push 0x5d2ff8
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1c0], esp
push 0x5d3004
call fcn.0045c2c0
mov dword [ebp - 0x1c4], eax
mov byte [ebp - 4], 7
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x1c8], esp
mov dword [ebp - 0x144], edx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1bc], esp
push str.mapper_dll
call fcn.0045c2c0
mov eax, dword [ebp - 0x144]
push eax
mov ecx, 0x65b0c0
call fcn.004786c0
mov dword [ebp - 0x1a0], eax
mov byte [ebp - 4], 5
call fcn.00465d50
add esp, 0x30
push 0x454220
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
nop
jmp 0x469648
push str.___update_not_found
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push ecx
call fcn.0044a610
add esp, 8
mov dword [ebp - 0x148], eax
push 0x454220
mov ecx, dword [ebp - 0x148]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
nop
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2b4]
call fcn.004639d0
nop
lea edx, [ebp - 0xb8]
push edx
call fcn.00465be0
add esp, 4
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x150], eax
mov dword [ebp - 4], 8
mov ecx, dword [ebp - 0x150]
mov dword [ebp - 0x154], ecx
push 1
push 0x40
push 0x20
push 0x5d3034
mov ecx, dword [ebp - 0x154]
call fcn.0046d350
push eax
lea ecx, [ebp - 0x36c]
call fcn.0045baf0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xb8]
call fcn.00460c70
nop
push 2
push 0
push 0
lea ecx, [ebp - 0x36c]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int_]
nop
lea edx, [ebp - 0x100]
push edx
call fcn.00465be0
add esp, 4
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x15c], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x104]
or ecx, 1
mov dword [ebp - 0x104], ecx
mov edx, dword [ebp - 0x15c]
mov dword [ebp - 0x160], edx
push 0x5d3048
mov ecx, dword [ebp - 0x160]
call fcn.0046d350
mov ecx, eax
call fcn.0046da70
mov dword [ebp - 0x164], eax
push 0
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x40]
call fcn.00449de0
mov dword [ebp - 4], 0xc
mov ecx, dword [ebp - 0x104]
or ecx, 2
mov dword [ebp - 0x104], ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00470b70
add esp, 4
movzx eax, al
test eax, eax
je 0x4698a9
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1a4], esp
push str.mapper_size
call fcn.0045c2c0
lea ecx, [ebp - 0xe8]
push ecx
mov ecx, 0x65b0c0
call fcn.004786c0
mov dword [ebp - 0x168], eax
mov edx, dword [ebp - 0x168]
mov dword [ebp - 0x16c], edx
mov dword [ebp - 4], 0xd
mov eax, dword [ebp - 0x104]
or eax, 4
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x16c]
call fcn.0046da70
mov dword [ebp - 0x11c], eax
lea ecx, [ebp - 0x1fc]
push ecx
lea ecx, [ebp - 0x36c]
call dword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
mov ecx, eax
call fcn.00462bc0
push edx
push eax
lea edx, [ebp - 0xd0]
push edx
call fcn.00478160
add esp, 0xc
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x104]
or eax, 8
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x170]
call fcn.0046da70
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
mov dl, byte [ecx]
mov byte [ebp - 0x108], dl
mov eax, dword [ebp - 0x11c]
cmp dl, byte [eax]
jne 0x46987d
cmp byte [ebp - 0x108], 0
je 0x469871
mov ecx, dword [ebp - 0x118]
mov dl, byte [ecx + 1]
mov byte [ebp - 0x109], dl
mov eax, dword [ebp - 0x11c]
cmp dl, byte [eax + 1]
jne 0x46987d
add dword [ebp - 0x118], 2
add dword [ebp - 0x11c], 2
cmp byte [ebp - 0x109], 0
jne 0x46981f
mov dword [ebp - 0x12c], 0
jmp 0x469888
sbb ecx, ecx
or ecx, 1
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x174], edx
cmp dword [ebp - 0x174], 0
jne 0x4698a9
mov dword [ebp - 0x130], 1
jmp 0x4698b3
mov dword [ebp - 0x130], 0
mov al, byte [ebp - 0x130]
mov byte [ebp - 0x10a], al
mov ecx, dword [ebp - 0x104]
and ecx, 8
je 0x4698dd
and dword [ebp - 0x104], 0xfffffff7
lea ecx, [ebp - 0xd0]
call fcn.00460c70
nop
mov dword [ebp - 4], 0xc
mov edx, dword [ebp - 0x104]
and edx, 4
je 0x469902
and dword [ebp - 0x104], 0xfffffffb
lea ecx, [ebp - 0xe8]
call fcn.00460c70
nop
mov dword [ebp - 4], 0xb
mov eax, dword [ebp - 0x104]
and eax, 2
je 0x469924
and dword [ebp - 0x104], 0xfffffffd
lea ecx, [ebp - 0x40]
call fcn.00461a40
nop
mov dword [ebp - 4], 0xa
mov ecx, dword [ebp - 0x104]
and ecx, 1
je 0x469949
and dword [ebp - 0x104], 0xfffffffe
lea ecx, [ebp - 0x100]
call fcn.00460c70
nop
movzx edx, byte [ebp - 0x10a]
test edx, edx
je 0x469960
lea ecx, [ebp - 0x36c]
call fcn.0046ddc0
nop
mov byte [ebp - 0x10b], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x36c]
call fcn.004639d0
movzx eax, byte [ebp - 0x10b]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c9818
mov esp, ebp
pop ebp
ret