Function at 0x41da30
Capabilities:
Delete file
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43ae10
push eax
mov dword fs:[0], esp
lea eax, [ebp - 0x510]
sub esp, 0x508
push ebx
push esi
push edi
push 0x410
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x510]
push 0x208
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, 0x208
lea eax, [ebp - 0x510]
nop dword [eax]
cmp word [eax], 0
je 0x41da9e
add eax, 2
sub ecx, 1
jne 0x41da90
mov eax, 0x208
mov edx, ecx
sub eax, ecx
neg edx
sbb edx, edx
and edx, eax
test ecx, ecx
jne 0x41dac7
mov eax, 0x30100001
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x510]
lea ecx, [ecx + edx*2]
mov ax, word [ecx]
lea ecx, [ecx - 2]
cmp ax, 0x5c
jne 0x41dad0
xor eax, eax
mov word [ecx + 4], ax
lea ecx, [ebp - 0x510]
push 0x448de0
call fcn.004094f0
sub esp, 8
lea eax, [ebp - 0x510]
lea ecx, [ebp - 0x100]
push 4
push eax
call fcn.0040c7f0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x100]
mov eax, dword [eax + 4]
cmp dword [ebp + eax - 0xf4], 0
je 0x41db2d
mov esi, 0x30100002
jmp 0x41dcf6
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x100]
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, dword [ebp - 0x30]
add ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
adc eax, dword [ebp - 0x24]
or ecx, eax
jne 0x41db7e
lea ecx, [ebp - 0xf0]
call fcn.0040cdb0
test eax, eax
jne 0x41db74
push eax
mov eax, dword [ebp - 0x100]
lea ecx, [ebp - 0x100]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov esi, 0x30100003
jmp 0x41dcf6
push 0
push 0
push 0
lea ecx, [ebp - 0x100]
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_]
mov ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
adc eax, dword [ebp - 0x24]
push 0x443530
push ecx
mov dword [ebp - 0x14], eax
call fcn.00438d21
mov edx, dword [ebp - 0x30]
add esp, 8
add edx, dword [ebp - 0x28]
mov edi, eax
mov ecx, dword [ebp - 0x2c]
adc ecx, dword [ebp - 0x24]
push ecx
push edx
push edi
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x14], edi
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__::read_char___long_long___int64__]
lea ecx, [ebp - 0xf0]
call fcn.0040cdb0
test eax, eax
jne 0x41dbf4
push eax
mov eax, dword [ebp - 0x100]
lea ecx, [ebp - 0x100]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea eax, [ebp - 0x510]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, edi
mov al, byte [edi]
mov ecx, edi
inc edi
cmp al, 0x21
jne 0x41dc03
mov esi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
push 0xa
push 0
push edx
mov byte [ecx], 0
call esi
add esp, 0xc
mov ebx, eax
push 0x10
push 0
push edi
call esi
add esp, 0xc
mov esi, eax
push dword [ebp - 0x14]
call fcn.00438d2a
add esp, 4
test ebx, ebx
je 0x41dcf1
test esi, esi
je 0x41dcf1
lea ecx, [ebp - 0x48]
call fcn.00409910
push str.user32.dll
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x48]
push eax
push 0x41d930
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x41dc86
lea ecx, [ebp - 0x48]
mov esi, 0x30100005
call fcn.004099f0
jmp 0x41dcf6
mov eax, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x48]
mov dword [ebp - 0x14], eax
cmp ebx, eax
jne 0x41dca2
lea ecx, [ebp - 0x48]
mov esi, 0x30100006
call fcn.004099f0
jmp 0x41dcf6
mov esi, dword [ebx + 4]
mov edi, dword [ebx]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push 0x20
push 0x100
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0x20
push 0x101
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
add ebx, 8
cmp ebx, dword [ebp - 0x14]
jne 0x41dca2
lea ecx, [ebp - 0x48]
xor esi, esi
call fcn.004099f0
jmp 0x41dcf6
mov esi, 0x30100004
lea ecx, [ebp - 0x100]
call fcn.00409940
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret