Function at 0x4167c7
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x77c
mov eax, dword [0x4cdbf8]
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 [0x557bd8], eax
call fcn.00487397
mov dword [0x5524ec], eax
pop ecx
test eax, eax
je 0x416928
push esi
xor esi, esi
push esi
push eax
call fcn.00481c10
add esp, 0xc
test eax, eax
je 0x416928
call fcn.00417da0
push 0x104
push dword [0x5524ec]
push esi
call dword [0x555b78]
mov eax, dword [0x5524ec]
push 1
push eax
add eax, 0x258
push eax
call fcn.004230a0
mov eax, dword [0x5524ec]
add esp, 0xc
push esi
push eax
add eax, 0x12c
push eax
call fcn.00422bc0
mov eax, dword [0x5524ec]
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 0x416870
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.00481c10
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 0x416941
mov eax, dword [0x5524ec]
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.0047fe8c
mov esp, ebp
pop ebp
ret 0x10
mov ecx, edi
call fcn.00415c64
test eax, eax
jns 0x416959
mov ecx, dword [0x5524ec]
call fcn.004049e8
jmp 0x416928
push ecx
mov ecx, dword [0x5524ec]
lea ecx, [ecx + 0x258]
call fcn.004144cf
pop ecx
test eax, eax
je 0x41694c
xor ebx, ebx
push ebx
push ebx
call fcn.0045a940
push 0x1f40
push ebx
mov esi, 0x555c60
push esi
call fcn.00481c10
mov ecx, dword [0x5524ec]
add esp, 0x14
mov edx, 0x555ffc
sub edx, ecx
push 0x20
pop eax
mov word [0x556518], ax
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x4169a3
or dword [0x555c64], 0x38200
push esi
call fcn.00442760
mov dword [esp], 0x557bc0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call fcn.00437d30
call fcn.00444dc0
call fcn.0046ab20
call fcn.00414404
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.00422490
call fcn.00459fa0
push ebx
push 1
call fcn.0041d370
push eax
push str.LogThread
push ebx
push ebx
push 0x41490b
call fcn.0041d900
add esp, 0x1c
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0xc]
push eax
push 0x8002
push dword [0x557bd8]
call dword [0x555bc4]
mov eax, dword [0x557bd8]
mov esi, dword [sym.imp.USER32.dll_LoadIconA]
push 0x65
push eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], 0x4b4228
call esi
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc]
push eax
call dword [0x555bf8]
test ax, ax
je 0x417051
mov eax, dword [0x557bd8]
push 0x66
push eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], 0x4b4248
call esi
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc]
push eax
call dword [0x555bf8]
test ax, ax
je 0x417051
mov ecx, dword [0x5524ec]
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 0x2050
push esi
push edx
lea eax, [esp + 0x408]
push edi
push eax
call fcn.00424110
lea ecx, [esp + 0x410]
call fcn.00404d2e
mov ecx, dword [0x5524ec]
mov edx, str._s_s.cfg
push edx
lea eax, [ecx + 0x258]
push eax
lea eax, [ecx + 0x384]
push eax
push 0x2054
push esi
push edx
lea eax, [esp + 0x2f8]
push edi
push eax
call fcn.00424110
add esp, 0x40
lea eax, [esp + 0x2c0]
push ebx
push ebx
push 3
push ebx
push 3
push SysReAllocString
push eax
call fcn.0041f350
add esp, 0x1c
cmp eax, 0xffffffff
jne 0x416c9b
mov eax, dword [0x5524ec]
mov ecx, str._sRdpHelper.reg
push ecx
add eax, 0x384
push eax
push 0x205c
push esi
push ecx
lea eax, [esp + 0x1a4]
push edi
push eax
call fcn.00424110
add esp, 0x1c
lea eax, [esp + 0x190]
push eax
call fcn.0041fc30
mov eax, dword [0x5524ec]
pop ecx
mov ecx, str._sRdpHelper.exe
add eax, 0x384
push ecx
push eax
push 0x205e
push esi
push ecx
lea eax, [esp + 0x1a4]
push edi
push eax
call fcn.00424110
add esp, 0x1c
lea eax, [esp + 0x190]
push eax
call fcn.0041fc30
mov eax, dword [0x5524ec]
pop ecx
mov ecx, str._sRdpHelper.7z
add eax, 0x384
push ecx
push eax
push 0x2060
push esi
push ecx
lea eax, [esp + 0x1a4]
push edi
push eax
call fcn.00424110
add esp, 0x1c
lea eax, [esp + 0x190]
push eax
call fcn.0041fc30
mov eax, dword [0x5524ec]
pop ecx
mov ecx, str._s.cfg
add eax, 0x384
push ecx
push eax
push 0x2063
push esi
push ecx
lea eax, [esp + 0x534]
push edi
push eax
call fcn.00424110
add esp, 0x1c
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x524]
push eax
call dword [0x555b90]
mov esi, eax
cmp esi, 0xffffffff
je 0x416ca2
test byte [esp + 0x50], 0x10
je 0x416c4a
lea eax, [esp + 0x50]
push eax
push esi
call dword [0x555c30]
test eax, eax
jne 0x416c31
jmp 0x416c92
mov ecx, 0x4b2b58
lea eax, [esp + 0x7c]
push ecx
push eax
mov eax, dword [0x5524ec]
add eax, 0x384
push eax
push 0x2067
push str.D:MyProjectsProPilotTestMain.c
push ecx
lea eax, [esp + 0x668]
push edi
push eax
call fcn.00424110
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 [0x555bec]
jmp 0x416ca2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x552b28]
test eax, eax
je 0x416e62
cmp dword [eax], ebx
je 0x416e62
lea ecx, [esp + 0x2c0]
call fcn.00405356
mov edi, dword [sym.imp.USER32.dll_DialogBoxParamA]
jmp 0x416d22
push ebx
test eax, eax
jne 0x416cfb
push 0x414592
push ebx
push str.NewPinDialog
push dword [0x557bd8]
call edi
test eax, eax
je 0x417051
xor edx, edx
lea ecx, [esp + 0x2c0]
call fcn.004056d7
jmp 0x416d16
push 0x4147bb
push ebx
push str.PinDialog
push dword [0x557bd8]
call edi
test eax, eax
je 0x417051
lea ecx, [esp + 0x2c0]
call fcn.00405356
test eax, eax
jle 0x416ccb
mov esi, dword [0x5524ec]
lea eax, [esi + 0x604]
cmp dword [eax], ebx
je 0x416d5f
push eax
call fcn.004201d0
mov eax, dword [0x5524ec]
pop ecx
push dword [eax + 0x604]
call fcn.0048737c
mov eax, dword [0x5524ec]
pop ecx
mov dword [eax + 0x604], ebx
mov esi, dword [0x5524ec]
test byte [esi + 0x5e4], 0x20
je 0x416d9e
mov eax, dword [esi + 0x610]
mov ecx, 0x4b19af
test eax, eax
cmovne ecx, eax
cmp byte [ecx], bl
je 0x416d9e
push ebx
push 0x411e16
push ebx
push str.EnterOtpDialog
push dword [0x557bd8]
call edi
test eax, eax
je 0x417051
mov esi, dword [0x5524ec]
mov ecx, dword [esi + 0x5fc]
xor edx, edx
mov edi, ebx
call fcn.00406c82
mov esi, eax
test esi, esi
je 0x416de5
lea ecx, [esi + 0x34]
cmp byte [ecx], bl
jne 0x416dc2
call fcn.00415be9
xor edi, edi
inc edi
mov ecx, dword [esi + 0x70]
xor edx, edx
inc edx
call fcn.00406c82
mov esi, eax
test esi, esi
jne 0x416db3
test edi, edi
je 0x416de5
xor edx, edx
lea ecx, [esp + 0x2c0]
call fcn.004056d7
call fcn.0040eaad
call fcn.00415fb9
test eax, eax
je 0x416e15
push dword [0x557bd8]
push 1
call fcn.0041d370
push eax
push str.LoadAndExecuteResource
push ebx
push ebx
push 0x4165dc
call fcn.0041d900
add esp, 0x1c
mov eax, dword [0x5524ec]
cmp dword [eax + 0x5fc], ebx
jne 0x416e62
push 0x10
call fcn.00487397
pop ecx
mov ecx, dword [0x5524ec]
mov dword [ecx + 0x5fc], eax
test eax, eax
je 0x416e4c
mov edi, dword [0x5524ec]
xor eax, eax
mov edi, dword [edi + 0x5fc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edx, dword [0x5524ec]
mov ecx, dword [0x552464]
call fcn.00404964
mov dword [0x552464], eax
mov edi, dword [sym.imp.USER32.dll_CreateDialogParamA]
push ebx
push 0x411f97
push ebx
push str.RdpZapperDialog
push dword [0x557bd8]
call edi
mov ecx, dword [0x5524ec]
mov dword [ecx + 0x5f4], eax
mov esi, dword [0x5524ec]
call fcn.00436990
push ebx
push 0x4157ee
lea ecx, [eax + 0xdb4]
mov eax, dword [esi + 0x5f4]
mov dword [ecx], eax
mov eax, dword [0x5524ec]
push dword [eax + 0x5f4]
push str.RdpMessageDialog
push dword [0x557bd8]
call edi
mov ecx, dword [0x5524ec]
mov dword [ecx + 0x5f8], eax
mov eax, dword [0x5524ec]
push dword [eax + 0x5f4]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [0x552b28]
test eax, eax
je 0x416f07
cmp dword [eax], ebx
je 0x416f07
mov ecx, dword [0x5524ec]
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.0040e0b0
call fcn.00436990
test eax, eax
je 0x416f88
call fcn.00436990
cmp dword [eax], ebx
je 0x416f88
mov eax, dword [0x4eeee0]
test eax, eax
je 0x416f2f
mov esi, dword [eax + 0x190]
jmp 0x416f35
mov esi, dword [0x4eeee4]
call fcn.00436990
test eax, eax
je 0x416f47
call fcn.00436990
mov edi, dword [eax]
jmp 0x416f49
mov edi, ebx
mov ebx, str._s_ver__s_started
push ebx
push str.FileVersion
push dword [0x5524ec]
call fcn.004218d0
pop ecx
pop ecx
push eax
mov eax, dword [0x5524ec]
add eax, 0x258
push eax
push ebx
push dword [0x4eeee0]
xor ebx, ebx
push esi
push ebx
push 0x20aa
push str.D:MyProjectsProPilotTestMain.c
push ebx
call edi
add esp, 0x28
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
jmp 0x416fb5
lea eax, [esp + 0x34]
push eax
call fcn.00439360
pop ecx
test eax, eax
jne 0x416fb5
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 0x416f90
mov eax, dword [0x5524ec]
push 0x41b
push dword [eax + 0x5f4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, eax
call fcn.0040f380
mov eax, dword [0x552b28]
test eax, eax
je 0x416ff2
cmp dword [eax], ebx
je 0x416ff2
call fcn.0040ef1b
push dword [0x556a14]
mov esi, dword [sym.imp.USER32.dll_DestroyWindow]
call esi
mov eax, dword [0x552b28]
mov dword [0x556a14], ebx
test eax, eax
je 0x417039
cmp dword [eax], ebx
je 0x417039
mov eax, dword [0x5524ec]
mov ecx, 0x4b33f4
push 1
push ecx
add eax, 0x258
push eax
push ecx
push ebx
push ebx
call fcn.00420ad0
add esp, 0x14
push eax
call fcn.004412c0
pop ecx
pop ecx
mov eax, dword [0x5524ec]
push dword [eax + 0x5f4]
call esi
mov eax, dword [0x5524ec]
mov dword [eax + 0x5f4], ebx
mov ecx, dword [0x5533d8]
test ecx, ecx
je 0x417062
push ecx
call dword [0x555bfc]
push 0x557bc0
mov dword [0x5544a8], ebx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
xor eax, eax
inc eax
jmp 0x41692a