Function at 0x4efe40
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cba4f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x338
mov eax, dword [0x639698]
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], eax
mov ebx, 1
mov dword [ebp - 4], edi
push ebx
mov dword [ebp - 0x2c], edi
mov dword [0x6344f0], edi
mov dword [0x6344f4], 0xbff00000
call fcn.004eeb70
test eax, eax
jne 0x4efec0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.005936db
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x60]
call fcn.00595172
mov ecx, dword [ebp + 8]
push edi
push 0x4000
push ecx
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.005951e7
test eax, eax
jne 0x4efeee
mov ecx, esi
call fcn.004eecc0
jmp 0x4eff7d
push edi
lea ecx, [ebp - 0x1ac]
call fcn.004ee9a0
lea edx, [esi + 0x10]
push str..tmp
lea eax, [ebp - 0x24]
push edx
push eax
mov byte [ebp - 4], 2
call fcn.00593970
mov ecx, dword [0x639698]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x24]
mov byte [ebp - 4], 4
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x1ac]
push eax
call fcn.004eeb50
push 2
lea ecx, [ebp - 0x1ac]
call fcn.004eeb70
test eax, eax
jne 0x4effb0
mov ecx, esi
call fcn.004eecc0
lea ecx, [ebp - 0x60]
call fcn.00595517
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.005936db
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.005936db
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 1
call fcn.004eea70
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0
call fcn.005951a4
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.005936db
mov eax, 0xfffffffe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
push 0x1000
lea ecx, [esi + 0x14]
push ebx
push ecx
lea ecx, [ebp - 0x108]
call fcn.00597946
push edi
push 0x1000
lea edx, [ebp - 0x60]
push ebx
push edx
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 5
call fcn.00597946
push edi
push 0x1000
lea eax, [ebp - 0x198]
push edi
push eax
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 6
call fcn.00597946
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 7
call fcn.00593d4b
lea ecx, [ebp - 0x344]
mov byte [ebp - 4], 9
call fcn.00500050
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0xa
call fcn.00500050
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x28], edi
mov ecx, dword [esi + 8]
push 0xfffffc00
push ecx
lea ecx, [ebp - 0x108]
call fcn.00597e10
cmp eax, edi
jne 0x4f004b
mov dword [ebp - 0x28], ebx
jmp 0x4f0063
mov eax, dword [esi + 8]
lea edx, [ebp - 0x344]
push 4
push edx
push eax
mov ecx, esi
call fcn.004f1e10
cmp eax, edi
je 0x4f002e
mov ecx, dword [0x639698]
mov dword [ebp + 8], ecx
mov byte [ebp - 4], 0xc
mov edi, 0xf
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x14c]
lea eax, [ebp - 0x40]
push edx
push eax
call fcn.004f4260
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xd
call fcn.00593814
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xc
call fcn.005936db
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4f0494
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x24c]
push ecx
push edx
push eax
call fcn.004f3370
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4f00e5
lea eax, [ebp + 8]
push 0x62619c
lea ecx, [ebp - 0x3c]
push eax
push ecx
call fcn.00593970
or dword [ebp - 0x14], 1
mov byte [ebp - 4], 0xe
jmp 0x4f00f9
push 0x63f7e8
lea ecx, [ebp - 0x38]
call fcn.00593749
or dword [ebp - 0x14], 2
mov dword [ebp - 4], edi
push eax
lea ecx, [ebp - 0x1c]
call fcn.00593af3
mov al, byte [ebp - 0x14]
mov dword [ebp - 4], 0xe
test esi, esi
sete bl
test al, 2
je 0x4f0125
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x38]
and al, 0xfd
mov dword [ebp - 0x14], eax
call fcn.005936db
mov al, byte [ebp - 0x14]
mov dword [ebp - 4], 0xc
test al, 1
je 0x4f0143
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
and al, 0xfe
mov dword [ebp - 0x14], eax
call fcn.005936db
test bl, bl
jne 0x4f0075
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
test ecx, ecx
jne 0x4f048f
lea edx, [ebp - 0x244]
lea ecx, [ebp - 0x33c]
push edx
call fcn.0056b1f1
test eax, eax
je 0x4f01c2
mov eax, dword [esi + 8]
lea ecx, [ebp - 0xc4]
push eax
call fcn.00597df3
mov ecx, dword [esi + 8]
push 0xfffffc00
push ecx
lea ecx, [ebp - 0x108]
call fcn.00597e10
test eax, eax
jne 0x4f01a5
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], 1
jmp 0x4f0151
mov eax, dword [esi + 8]
lea edx, [ebp - 0x344]
push 4
push edx
push eax
mov ecx, esi
call fcn.004f1e10
test eax, eax
je 0x4f0181
mov eax, dword [ebp + 8]
jmp 0x4f0151
lea ecx, [ebp - 0x244]
push ecx
lea ecx, [ebp - 0x33c]
call fcn.0056b227
test eax, eax
je 0x4f02f2
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x24c]
push edx
push eax
mov ecx, esi
call fcn.004f15c0
mov ecx, dword [esi + 0x34]
inc ecx
mov dword [esi + 0x34], ecx
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0xc4]
call fcn.00597df3
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp + 0xc]
inc eax
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x14c]
lea eax, [ebp - 0x3c]
push edx
push eax
call fcn.004f4260
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x10
call fcn.00593814
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xc
call fcn.005936db
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4f0250
mov dword [ebp - 0x28], 2
jmp 0x4f014e
lea ecx, [ebp - 0x24c]
push edi
push ecx
push eax
call fcn.004f3370
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4f0283
lea edx, [ebp + 8]
push 0x62619c
lea eax, [ebp - 0x40]
push edx
push eax
call fcn.00593970
or dword [ebp - 0x14], 4
mov byte [ebp - 4], 0x11
jmp 0x4f029b
push 0x63f7e8
lea ecx, [ebp - 0x38]
call fcn.00593749
or dword [ebp - 0x14], 8
mov dword [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x1c]
call fcn.00593af3
mov al, byte [ebp - 0x14]
mov dword [ebp - 4], 0x11
test esi, esi
sete bl
test al, 8
je 0x4f02c7
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x38]
and al, 0xf7
mov dword [ebp - 0x14], eax
call fcn.005936db
mov al, byte [ebp - 0x14]
mov dword [ebp - 4], 0xc
test al, 4
je 0x4f02e5
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x40]
and al, 0xfb
mov dword [ebp - 0x14], eax
call fcn.005936db
test bl, bl
jne 0x4f020e
jmp 0x4f014b
mov ecx, dword [esi + 8]
push ecx
lea ecx, [ebp - 0xc4]
call fcn.00597df3
mov edx, dword [esi + 8]
push 0xfffffc00
push edx
lea ecx, [ebp - 0x108]
call fcn.00597e10
test eax, eax
jne 0x4f0328
mov eax, dword [esi + 8]
mov dword [ebp - 0x28], 1
mov byte [eax], 0
jmp 0x4f0340
mov edx, dword [esi + 8]
lea ecx, [ebp - 0x344]
push 4
push ecx
push edx
mov ecx, esi
call fcn.004f1e10
test eax, eax
je 0x4f0301
lea eax, [ebp - 0x14c]
lea ecx, [ebp - 0x4c]
push eax
push ecx
mov ecx, esi
call fcn.004f4260
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x13
call fcn.00593814
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xc
call fcn.005936db
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4f0381
mov dword [ebp - 0x28], 2
jmp 0x4f0151
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x24c]
push edx
push ecx
push eax
call fcn.004f3370
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4f03b7
lea edx, [ebp + 8]
push 0x62619c
lea eax, [ebp - 0x44]
push edx
push eax
call fcn.00593970
or dword [ebp - 0x14], 0x10
mov byte [ebp - 4], 0x14
jmp 0x4f03cf
push 0x63f7e8
lea ecx, [ebp - 0x30]
call fcn.00593749
or dword [ebp - 0x14], 0x20
mov dword [ebp - 4], 0x15
push eax
lea ecx, [ebp - 0x1c]
call fcn.00593af3
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 4], 0x14
test bl, 0x20
je 0x4f03f5
and ebx, 0xffffffdf
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], ebx
call fcn.005936db
test bl, 0x10
mov dword [ebp - 4], 0xc
je 0x4f040f
and ebx, 0xffffffef
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x14], ebx
call fcn.005936db
test esi, esi
jne 0x4f014b
lea ecx, [ebp - 0x74]
call fcn.00595172
push esi
push 0x3022
push str.error.adi
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x16
call fcn.005951e7
test eax, eax
je 0x4f047b
mov edx, dword [ebp - 0x74]
push 2
push esi
lea ecx, [ebp - 0x74]
call dword [edx + 0x28]
lea eax, [ebp + 8]
push 0x62619c
lea ecx, [ebp - 0x48]
push eax
push ecx
call fcn.00593970
mov eax, dword [eax]
lea ecx, [ebp - 0x74]
push eax
mov byte [ebp - 4], 0x17
call fcn.0059535a
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x16
call fcn.005936db
lea ecx, [ebp - 0x74]
call fcn.00595517
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xc
call fcn.005951a4
mov esi, dword [ebp - 0x18]
jmp 0x4f0340
cmp ecx, 2
jne 0x4f04cf
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 8]
cmp byte [eax], 0
je 0x4f04ab
push eax
lea ecx, [ebp - 0xc4]
call fcn.00597df3
mov edx, dword [esi + 8]
push 0xfffffc00
push edx
lea ecx, [ebp - 0x108]
call fcn.00597e10
test eax, eax
je 0x4f05f1
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 8]
jmp 0x4f049f
mov ebx, 0x19
mov edi, 0x1a
mov ecx, dword [eax - 8]
mov esi, dword [ebp - 0x18]
test ecx, ecx
je 0x4f05f1
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x24c]
push ecx
push edx
mov ecx, esi
call fcn.004f15c0
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0xc4]
push eax
call fcn.00597df3
mov ecx, dword [ebp - 0x2c]
mov eax, dword [esi + 0x34]
inc ecx
inc eax
mov dword [ebp - 0x2c], ecx
mov dword [esi + 0x34], eax
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x14c]
lea edx, [ebp - 0x48]
push ecx
push edx
mov ecx, esi
call fcn.004f4260
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x18
call fcn.00593814
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xc
call fcn.005936db
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4f05f1
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x24c]
push ecx
push edx
push eax
call fcn.004f3370
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4f0587
lea eax, [ebp + 8]
push 0x62619c
lea ecx, [ebp - 0x30]
push eax
push ecx
call fcn.00593970
or dword [ebp - 0x14], 0x40
mov byte [ebp - 4], bl
jmp 0x4f05a0
push 0x63f7e8
lea ecx, [ebp - 0x44]
call fcn.00593749
mov ecx, dword [ebp - 0x14]
or cl, 0x80
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], edi
push eax
lea ecx, [ebp - 0x1c]
call fcn.00593af3
mov al, byte [ebp - 0x14]
mov dword [ebp - 4], ebx
test al, 0x80
je 0x4f05c3
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x44]
and al, 0x7f
mov dword [ebp - 0x14], eax
call fcn.005936db
mov al, byte [ebp - 0x14]
mov dword [ebp - 4], 0xc
test al, 0x40
je 0x4f05e1
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
and al, 0xbf
mov dword [ebp - 0x14], eax
call fcn.005936db
test esi, esi
je 0x4f0516
mov eax, dword [ebp + 8]
jmp 0x4f04d9
lea ecx, [ebp - 0x14c]
call fcn.00597aaa
lea ecx, [ebp - 0x108]
call fcn.00597aaa
lea ecx, [ebp - 0xc4]
call fcn.00597aaa
lea ecx, [ebp - 0x60]
call fcn.00595517
mov ecx, dword [ebp - 0x18]
call fcn.004eecc0
lea ecx, [ebp - 0x1ac]
call fcn.004eecc0
mov edx, dword [ebp - 0x18]
push str..bak
lea eax, [ebp - 0x34]
lea esi, [edx + 0x10]
push esi
push eax
call fcn.00593970
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [ebp - 0x34]
mov eax, dword [esi]
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileA]
push edx
push eax
call ebx
mov esi, dword [esi]
mov eax, dword [ebp - 0x24]
push esi
push eax
call ebx
lea ecx, [ebp - 0x34]
call fcn.005936db
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xb
call fcn.005936db
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0xa
call fcn.00500180
lea ecx, [ebp - 0x344]
mov byte [ebp - 4], 9
call fcn.00500180
mov dword [ebp - 4], 7
call fcn.00593d89
push str.BadAdif.txt
lea ecx, [ebp + 0xc]
push 0x664810
push ecx
call fcn.00593970
mov edx, dword [0x5f7fb0]
mov eax, dword [eax]
push 1
push edx
push 2
push eax
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 0x1c
call fcn.00585563
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x1e
call fcn.005936db
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [ebp - 0x2a4]
call fcn.005861dc
lea ecx, [ebp - 0x2a4]
call fcn.00585bef
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4f0717
push 0x30
push 0
push str.Bad_line_s__detected_in_this_ADIF_file__n_nSee_BadAdif.txt_file_in_MixW_directory_for_the_list_of_bad_lines._n_nClick_OK_to_continue.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 7
call fcn.0058561a
lea ecx, [ebp - 0x29c]
call fcn.00586163
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 6
call fcn.00597a22
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 5
call fcn.00597a22
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 4
call fcn.00597a22
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.005936db
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.005936db
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 1
call fcn.004eea70
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0
call fcn.005951a4
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.005936db
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8