Function at 0x42b270
Capabilities:
Delete file
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x481f50
push eax
mov dword fs:[0], esp
lea eax, [ebp - 0x50c]
sub esp, 0x500
push 0x410
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x50c]
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 - 0x50c]
nop word [eax + eax]
cmp word [eax], 0
je 0x42b2de
add eax, 2
sub ecx, 1
jne 0x42b2d0
push esi
mov edx, 0x208
mov esi, ecx
mov eax, edx
sub eax, ecx
neg esi
sbb esi, esi
and esi, eax
test ecx, ecx
jne 0x42b308
mov eax, 0x30100001
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x50c]
lea ecx, [ecx + esi*2]
mov ax, word [ecx]
lea ecx, [ecx - 2]
cmp ax, 0x5c
jne 0x42b311
xor eax, eax
mov word [ecx + 4], ax
mov ecx, edx
lea eax, [ebp - 0x50c]
nop dword [eax + eax]
cmp word [eax], 0
je 0x42b33e
add eax, 2
sub ecx, 1
jne 0x42b330
mov eax, edx
mov esi, ecx
sub eax, ecx
neg esi
push edi
sbb esi, esi
and esi, eax
test ecx, ecx
je 0x42b38e
lea ecx, [ebp - 0x50c]
lea ecx, [ecx + esi*2]
sub edx, esi
je 0x42b381
mov edi, 0x48fe58
mov eax, accept
sub edi, ecx
test eax, eax
je 0x42b381
movzx esi, word [edi + ecx]
test si, si
je 0x42b381
mov word [ecx], si
dec eax
add ecx, 2
sub edx, 1
jne 0x42b368
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
push 1
push 0x40
push 4
lea eax, [ebp - 0x50c]
push eax
lea ecx, [ebp - 0xfc]
call fcn.0041b030
mov eax, dword [ebp - 0xfc]
lea ecx, [ebp - 0xfc]
mov dword [ebp - 4], 0
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::good_void_const]
test al, al
jne 0x42b3d0
mov esi, 0x30100002
jmp 0x42b5db
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0xfc]
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 - 0x3c]
add ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x38]
adc eax, dword [ebp - 0x40]
or ecx, eax
jne 0x42b421
lea ecx, [ebp - 0xec]
call fcn.0041d5c0
test eax, eax
jne 0x42b417
push eax
mov eax, dword [ebp - 0xfc]
lea ecx, [ebp - 0xfc]
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 0x42b5db
push 0
push 0
push 0
lea ecx, [ebp - 0xfc]
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 - 0x3c]
add ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x38]
adc eax, dword [ebp - 0x40]
push 0x496140
push ecx
mov dword [ebp - 0x10], eax
call fcn.00435d82
mov edx, dword [ebp - 0x3c]
add esp, 8
add edx, dword [ebp - 0x44]
mov edi, eax
mov ecx, dword [ebp - 0x38]
adc ecx, dword [ebp - 0x40]
push ecx
push edx
push edi
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x10], 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 - 0xec]
call fcn.0041d5c0
test eax, eax
jne 0x42b497
push eax
mov eax, dword [ebp - 0xfc]
lea ecx, [ebp - 0xfc]
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 - 0x50c]
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 0x42b4a6
mov esi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
push ebx
push 0xa
push 0
push edx
mov byte [ecx], 0
call esi
push 0x10
push 0
push edi
mov ebx, eax
call esi
push dword [ebp - 0x10]
mov esi, eax
call fcn.00435d7d
add esp, 0x1c
test ebx, ebx
je 0x42b5d5
test esi, esi
je 0x42b5d5
push str.user32.dll
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x2c]
push eax
push 0x42b150
call dword [sym.imp.USER32.dll_EnumWindows]
mov ebx, dword [ebp - 0x2c]
test eax, eax
jne 0x42b52c
mov esi, 0x30100005
jmp 0x42b588
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
cmp ebx, eax
jne 0x42b540
mov esi, 0x30100006
jmp 0x42b588
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 - 0x10]
jne 0x42b540
mov ebx, dword [ebp - 0x2c]
xor esi, esi
test ebx, ebx
je 0x42b5da
mov ecx, dword [ebp - 0x24]
mov eax, ebx
sub ecx, ebx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x42b5b4
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42b5b4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push ebx
call fcn.00435aee
add esp, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
jmp 0x42b5da
mov esi, 0x30100004
pop ebx
lea ecx, [ebp - 0xfc]
call fcn.0041b660
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret