Function at 0x41616c
Capabilities:
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x77c
mov eax, dword [0x4ccbf8]
xor eax, esp
mov dword [esp + 0x778], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, 0x614
push esi
mov dword [0x556a38], eax
call fcn.00486927
mov dword [0x5514ec], eax
pop ecx
test eax, eax
je 0x4162c8
push esi
xor esi, esi
push esi
push eax
call fcn.004811a0
add esp, 0xc
test eax, eax
je 0x4162c8
push 0x104
push dword [0x5514ec]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [0x5514ec]
push 1
push eax
add eax, 0x258
push eax
call fcn.00422540
mov eax, dword [0x5514ec]
add esp, 0xc
push esi
push eax
add eax, 0x12c
push eax
call fcn.00422060
mov eax, dword [0x5514ec]
add esp, 0xc
lea ecx, [eax + 0x12c]
lea edx, [eax + 0x384]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x416210
push 0x100
lea eax, [esp + 0x1a8]
mov dword [esp + 0x194], 0x11c
push esi
push eax
mov dword [esp + 0x1a8], esi
mov dword [esp + 0x1ac], esi
call fcn.004811a0
add esp, 0xc
mov dword [esp + 0x2a8], esi
xor eax, eax
mov word [esp + 0x2a6], ax
push 3
push 0x20
pop eax
push eax
push 3
push 1
push 3
push 2
pop ebx
push ebx
push esi
push esi
mov esi, dword [sym.imp.ntdll.dll_VerSetConditionMask]
call esi
push edx
push eax
call esi
push edx
push eax
call esi
push edx
push eax
push 0x23
lea eax, [esp + 0x19c]
mov dword [esp + 0x1a0], 6
xor ecx, ecx
mov dword [esp + 0x1a4], ebx
push eax
mov word [esp + 0x2b4], cx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
jne 0x4162e1
mov eax, dword [0x5514ec]
push 0x30
add eax, 0x258
push eax
push str.This_program_requires_Windows_8_or_higher
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov ecx, dword [esp + 0x784]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047f41c
mov esp, ebp
pop ebp
ret 0x10
mov ecx, edi
call fcn.0041560a
test eax, eax
jns 0x4162f9
mov ecx, dword [0x5514ec]
call fcn.004049e8
jmp 0x4162c8
push ecx
mov ecx, dword [0x5514ec]
lea ecx, [ecx + 0x258]
call fcn.00413e74
pop ecx
test eax, eax
je 0x4162ec
xor ebx, ebx
push ebx
push ebx
call fcn.00459ee0
push 0x1f40
push ebx
mov esi, 0x554ac0
push esi
call fcn.004811a0
mov ecx, dword [0x5514ec]
add esp, 0x14
mov edx, 0x554e5c
sub edx, ecx
push 0x20
pop eax
mov word [0x555378], ax
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x416343
or dword [0x554ac4], 0x38200
push esi
call fcn.00441d10
mov dword [esp], 0x556a20
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call fcn.004372c0
call fcn.00444380
call fcn.0046a0b0
call fcn.00413da9
mov ecx, 0x4042b6
call fcn.004041ed
mov ecx, 0x4042e9
call fcn.004041ed
mov ecx, 0x40431c
call fcn.004041ed
mov ecx, 0x40434f
call fcn.004041ed
call fcn.00421930
call fcn.00459540
push ebx
push 1
call fcn.0041ba40
push eax
push str.LogThread
push ebx
push ebx
push 0x4142b0
call fcn.0041c290
add esp, 0x1c
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0xc]
push eax
push 0x8002
push dword [0x556a38]
call dword [sym.imp.USER32.dll_GetClassInfoA]
mov eax, dword [0x556a38]
mov esi, dword [sym.imp.USER32.dll_LoadIconA]
push 0x65
push eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], 0x4b3ea4
call esi
mov edi, dword [sym.imp.USER32.dll_RegisterClassA]
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc]
push eax
call edi
test ax, ax
je 0x416995
mov eax, dword [0x556a38]
push 0x66
push eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], 0x4b3ec4
call esi
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc]
push eax
call edi
test ax, ax
je 0x416995
mov ecx, dword [0x5514ec]
mov edx, str._s_s__.reg
push edx
mov esi, str.D:MyProjectsProPilotTestMain.c
mov edi, 0x12c
lea eax, [ecx + 0x258]
push eax
lea eax, [ecx + 0x384]
push eax
push 0x2042
push esi
push edx
lea eax, [esp + 0x408]
push edi
push eax
call fcn.004236c0
lea ecx, [esp + 0x410]
call fcn.00404d2e
mov ecx, dword [0x5514ec]
mov edx, str._s_s.cfg
push edx
lea eax, [ecx + 0x258]
push eax
lea eax, [ecx + 0x384]
push eax
push 0x2046
push esi
push edx
lea eax, [esp + 0x2f8]
push edi
push eax
call fcn.004236c0
add esp, 0x40
lea eax, [esp + 0x2c0]
push ebx
push ebx
push 3
push ebx
push 3
push SysReAllocString
push eax
call fcn.0041dce0
add esp, 0x1c
cmp eax, 0xffffffff
jne 0x416639
mov eax, dword [0x5514ec]
mov ecx, str._sRdpHelper.reg
push ecx
add eax, 0x384
push eax
push 0x204e
push esi
push ecx
lea eax, [esp + 0x1a4]
push edi
push eax
call fcn.004236c0
add esp, 0x1c
lea eax, [esp + 0x190]
push eax
call fcn.0041ea70
mov eax, dword [0x5514ec]
pop ecx
mov ecx, str._sRdpHelper.exe
add eax, 0x384
push ecx
push eax
push 0x2050
push esi
push ecx
lea eax, [esp + 0x1a4]
push edi
push eax
call fcn.004236c0
add esp, 0x1c
lea eax, [esp + 0x190]
push eax
call fcn.0041ea70
mov eax, dword [0x5514ec]
pop ecx
mov ecx, str._sRdpHelper.7z
add eax, 0x384
push ecx
push eax
push 0x2052
push esi
push ecx
lea eax, [esp + 0x1a4]
push edi
push eax
call fcn.004236c0
add esp, 0x1c
lea eax, [esp + 0x190]
push eax
call fcn.0041ea70
mov eax, dword [0x5514ec]
pop ecx
mov ecx, str._s.cfg
add eax, 0x384
push ecx
push eax
push 0x2055
push esi
push ecx
lea eax, [esp + 0x534]
push edi
push eax
call fcn.004236c0
add esp, 0x1c
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x524]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x416640
test byte [esp + 0x50], 0x10
je 0x4165e8
lea eax, [esp + 0x50]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4165cf
jmp 0x416630
mov ecx, 0x4b2860
lea eax, [esp + 0x7c]
push ecx
push eax
mov eax, dword [0x5514ec]
add eax, 0x384
push eax
push 0x2059
push str.D:MyProjectsProPilotTestMain.c
push ecx
lea eax, [esp + 0x668]
push edi
push eax
call fcn.004236c0
add esp, 0x20
lea eax, [esp + 0x2c0]
push eax
lea eax, [esp + 0x654]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x416640
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x551b28]
test eax, eax
je 0x416783
cmp dword [eax], ebx
je 0x416783
lea ecx, [esp + 0x2c0]
call fcn.00405358
mov edi, dword [sym.imp.USER32.dll_DialogBoxParamA]
jmp 0x4166c0
push ebx
test eax, eax
jne 0x416699
push 0x413f37
push ebx
push str.NewPinDialog
push dword [0x556a38]
call edi
test eax, eax
je 0x416995
xor edx, edx
lea ecx, [esp + 0x2c0]
call fcn.004056d8
jmp 0x4166b4
push 0x414160
push ebx
push str.PinDialog
push dword [0x556a38]
call edi
test eax, eax
je 0x416995
lea ecx, [esp + 0x2c0]
call fcn.00405358
test eax, eax
jle 0x416669
mov esi, dword [0x5514ec]
lea eax, [esi + 0x604]
cmp dword [eax], ebx
je 0x4166fd
push eax
call fcn.0041f010
mov eax, dword [0x5514ec]
pop ecx
push dword [eax + 0x604]
call fcn.0048690c
mov eax, dword [0x5514ec]
pop ecx
mov dword [eax + 0x604], ebx
mov esi, dword [0x5514ec]
test byte [esi + 0x5e4], 0x20
je 0x41673c
mov eax, dword [esi + 0x610]
mov ecx, 0x4b1aef
test eax, eax
cmovne ecx, eax
cmp byte [ecx], bl
je 0x41673c
push ebx
push 0x4117dd
push ebx
push str.EnterOtpDialog
push dword [0x556a38]
call edi
test eax, eax
je 0x416995
mov esi, dword [0x5514ec]
mov ecx, dword [esi + 0x5fc]
xor edx, edx
mov edi, ebx
call fcn.00406b8f
mov esi, eax
test esi, esi
je 0x416783
lea ecx, [esi + 0x34]
cmp byte [ecx], bl
jne 0x416760
call fcn.0041558f
xor edi, edi
inc edi
mov ecx, dword [esi + 0x70]
xor edx, edx
inc edx
call fcn.00406b8f
mov esi, eax
test esi, esi
jne 0x416751
test edi, edi
je 0x416783
xor edx, edx
lea ecx, [esp + 0x2c0]
call fcn.004056d8
call fcn.0040e47d
call fcn.0041595f
test eax, eax
je 0x4167b3
push dword [0x556a38]
push 1
call fcn.0041ba40
push eax
push str.LoadAndExecuteResource
push ebx
push ebx
push 0x415f80
call fcn.0041c290
add esp, 0x1c
mov edi, dword [sym.imp.USER32.dll_CreateDialogParamA]
push ebx
push 0x41195c
push ebx
push str.RdpZapperDialog
push dword [0x556a38]
call edi
mov ecx, dword [0x5514ec]
mov dword [ecx + 0x5f4], eax
mov esi, dword [0x5514ec]
call fcn.00435f20
push ebx
push 0x415194
lea ecx, [eax + 0xdb4]
mov eax, dword [esi + 0x5f4]
mov dword [ecx], eax
mov eax, dword [0x5514ec]
push dword [eax + 0x5f4]
push str.RdpMessageDialog
push dword [0x556a38]
call edi
mov ecx, dword [0x5514ec]
mov dword [ecx + 0x5f8], eax
mov eax, dword [0x5514ec]
push dword [eax + 0x5f4]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [0x551b28]
test eax, eax
je 0x416858
cmp dword [eax], ebx
je 0x416858
mov ecx, dword [0x5514ec]
mov eax, dword [ecx + 0x5dc]
not eax
and eax, 1
push eax
push dword [ecx + 0x5f4]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0040da81
call fcn.00435f20
test eax, eax
je 0x4168d9
call fcn.00435f20
cmp dword [eax], ebx
je 0x4168d9
mov eax, dword [0x4edee0]
test eax, eax
je 0x416880
mov esi, dword [eax + 0x190]
jmp 0x416886
mov esi, dword [0x4edee4]
call fcn.00435f20
test eax, eax
je 0x416898
call fcn.00435f20
mov edi, dword [eax]
jmp 0x41689a
mov edi, ebx
mov ebx, str._s_ver__s_started
push ebx
push str.FileVersion
push dword [0x5514ec]
call fcn.00420d70
pop ecx
pop ecx
push eax
mov eax, dword [0x5514ec]
add eax, 0x258
push eax
push ebx
push dword [0x4edee0]
xor ebx, ebx
push esi
push ebx
push 0x2097
push str.D:MyProjectsProPilotTestMain.c
push ebx
call edi
add esp, 0x28
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
jmp 0x416906
lea eax, [esp + 0x34]
push eax
call fcn.004388f0
pop ecx
test eax, eax
jne 0x416906
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
push ebx
lea eax, [esp + 0x40]
push eax
call esi
test eax, eax
jne 0x4168e1
mov eax, dword [0x5514ec]
push 0x41b
push dword [eax + 0x5f4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, eax
call fcn.0040ed50
call fcn.0040e8eb
push dword [0x555874]
mov esi, dword [sym.imp.USER32.dll_DestroyWindow]
call esi
mov eax, dword [0x551b28]
mov dword [0x555874], ebx
test eax, eax
je 0x41697d
cmp dword [eax], ebx
je 0x41697d
mov eax, dword [0x5514ec]
mov ecx, 0x4b307c
push 1
push ecx
add eax, 0x258
push eax
push ecx
push ebx
push ebx
call fcn.0041ff80
add esp, 0x14
push eax
call fcn.00440870
pop ecx
pop ecx
mov eax, dword [0x5514ec]
push dword [eax + 0x5f4]
call esi
mov eax, dword [0x5514ec]
mov dword [eax + 0x5f4], ebx
mov ecx, dword [0x5523d8]
test ecx, ecx
je 0x4169a6
push ecx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
push 0x556a20
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
xor eax, eax
inc eax
jmp 0x4162ca