Function at 0x430399
Capabilities:
Move file
Query or enumerate registry value
Read .ini file

Disassembly:
mov eax, 0x4756c5
call fcn.00465b54
sub esp, 0x148
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0xd0], 0x47b4b8
mov dword [ebp - 0xb0], 0x47b4b0
call fcn.00405884
push 1
pop esi
push 4
push ebx
push ebx
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x4306c8
mov edi, 0x1fff
push edi
call fcn.004662c5
cmp eax, ebx
mov dword [ebp - 0x1c], eax
setne cl
mov byte [ebp - 0x20], cl
lea eax, [ebp - 0x104]
push ebx
push eax
mov byte [ebp - 4], 2
call fcn.0041f776
push 0x493334
push eax
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 3
push eax
call fcn.00407747
push 0xc
push eax
mov byte [ebp - 4], 4
call fcn.0041c080
add esp, 0x20
lea ecx, [ebp - 0xa8]
mov byte [ebp - 0x11], al
mov byte [ebp - 4], 3
call fcn.00407f77
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 2
call fcn.00407f77
cmp byte [ebp - 0x11], bl
je 0x4304cd
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
push 0x493328
push edi
push dword [ebp - 0x1c]
push 0x493320
call esi
cmp eax, 0x1ffd
jne 0x4304cd
add edi, edi
push edi
call fcn.004662c5
pop ecx
cmp eax, ebx
setne cl
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
mov byte [ebp - 0x28], cl
push eax
lea ecx, [ebp - 0x20]
call fcn.0042586a
cmp byte [ebp - 0x28], bl
je 0x4304b6
push dword [ebp - 0x24]
call fcn.0045e012
pop ecx
push 0x493328
push edi
push dword [ebp - 0x1c]
push 0x493320
call esi
lea ecx, [edi - 2]
cmp ecx, eax
je 0x430488
lea eax, [ebp - 0x14]
push 1
push eax
lea ecx, [ebp - 0x80]
call fcn.0040580f
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push eax
mov byte [ebp - 4], 6
call fcn.00426a54
push dword [0x47b518]
mov ecx, eax
add eax, 4
mov byte [ebp - 4], 7
neg ecx
sbb ecx, ecx
push ebx
and ecx, eax
push ecx
lea ecx, [ebp - 0x7c]
call fcn.00406639
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 6
call fcn.00407f77
jmp 0x430545
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x13]
push 1
push eax
push esi
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 5
call fcn.004059b3
cmp dword [ebp - 0x4c], ebx
mov byte [ebp - 4], 9
je 0x430695
lea eax, [ebp - 0xa8]
lea ecx, [ebp - 0xa4]
neg eax
sbb eax, eax
and eax, ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x74]
lea ecx, [ebp - 0x58]
inc eax
push eax
lea eax, [ebp - 0x12c]
push ebx
push eax
call fcn.00405b5f
mov edi, eax
lea eax, [ebp - 0x80]
push 0x49331c
push eax
lea eax, [ebp - 0x104]
push eax
mov byte [ebp - 4], 0xb
call fcn.00409cdb
add esp, 0xc
mov ecx, edi
add edi, 4
neg ecx
sbb ecx, ecx
mov byte [ebp - 4], 0xc
and ecx, edi
push ecx
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
and ecx, eax
call fcn.0041333d
neg eax
sbb al, al
lea ecx, [ebp - 0x104]
inc al
mov byte [ebp - 4], 0xb
mov byte [ebp - 0x11], al
call fcn.00407f77
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 9
call fcn.00407f77
cmp byte [ebp - 0x11], bl
je 0x43064a
mov eax, dword [ebp - 0x74]
push dword [0x47b518]
inc eax
lea ecx, [ebp - 0x58]
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00405b5f
push dword [0x47b518]
mov ecx, eax
add eax, 4
mov byte [ebp - 4], 0xd
neg ecx
sbb ecx, ecx
push ebx
and ecx, eax
push ecx
lea ecx, [ebp - 0xcc]
call fcn.00406639
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 9
call fcn.00407f77
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
lea eax, [ebp - 0x12]
push 1
push eax
push esi
lea ecx, [ebp - 0xa8]
call fcn.004059b3
push dword [0x47b518]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xa
push ebx
push dword [ebp - 0x24]
call fcn.00406639
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 9
call fcn.00407f77
cmp dword [ebp - 0x4c], ebx
jne 0x430580
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.00407f77
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
call fcn.00407f77
cmp byte [ebp - 0x20], bl
mov byte [ebp - 4], 1
je 0x43088e
push dword [ebp - 0x1c]
call fcn.0045e012
pop ecx
jmp 0x43088e
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x12]
push esi
push eax
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xe
call fcn.0040554d
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xf
push eax
push 0x4932e8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [ebp - 0x24]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push ebx
push ebx
mov esi, 0x4932cc
push ebx
push esi
push dword [ebp - 0x18]
mov dword [ebp - 0x24], ebx
call edi
push dword [ebp - 0x24]
lea eax, [ebp - 0xdc]
lea ecx, [ebp - 0xa8]
push eax
call fcn.0040574d
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0x10
call fcn.00406443
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x24]
push ecx
push eax
push ebx
push ebx
push esi
push dword [ebp - 0x18]
call edi
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0xf
call fcn.0040578b
lea ecx, [ebp - 0xa8]
call fcn.00406443
mov edi, eax
cmp byte [edi], bl
je 0x430858
mov esi, 0x4932c4
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x13]
lea eax, [eax + edi + 1]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x80], 0x47b4b8
mov dword [ebp - 0x60], 0x47b4b0
call fcn.004059b3
lea eax, [ebp - 0x14]
push ebx
push eax
push edi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x58], 0x47b4b8
mov dword [ebp - 0x38], 0x47b4b0
call fcn.004059b3
push esi
mov byte [ebp - 4], 0x12
call fcn.00465bad
pop ecx
push eax
push ebx
push esi
lea ecx, [ebp - 0x7c]
call fcn.0042068a
push eax
push ebx
lea ecx, [ebp - 0x7c]
call fcn.00406717
push esi
call fcn.00465bad
pop ecx
push eax
push ebx
push esi
lea ecx, [ebp - 0x54]
call fcn.0042068a
push eax
push ebx
lea ecx, [ebp - 0x54]
call fcn.00406717
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 0xc]
call fcn.0041d11d
pop ecx
test al, al
pop ecx
je 0x430828
push dword [0x47b518]
lea eax, [ebp - 0x58]
neg eax
sbb eax, eax
lea ecx, [ebp - 0x54]
and eax, ecx
push ebx
push eax
lea ecx, [ebp - 0xcc]
call fcn.00406639
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x11
call fcn.00407f77
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xf
call fcn.00407f77
mov edi, dword [ebp - 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [eax + edi + 1], bl
lea edi, [eax + edi + 1]
jne 0x430771
lea eax, [ebp - 0xd0]
push eax
mov eax, dword [ebp - 0x2c]
push dword [ebp + 0xc]
lea ecx, [eax + 4]
call fcn.0045ef82
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xe
call fcn.00407f77
cmp dword [ebp - 0x18], ebx
mov byte [ebp - 4], 1
je 0x43088e
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
and ecx, eax
lea eax, [ebp - 0xcc]
push ecx
lea ecx, [ebp - 0xd0]
neg ecx
sbb ecx, ecx
and ecx, eax
call fcn.0041333d
test eax, eax
je 0x4308fc
mov dword [ebp + 0xc], ebx
mov eax, dword [ebp - 0x2c]
lea edx, [ebp + 0xc]
push edx
push 0x492700
mov eax, dword [eax + 0x11c]
push 0x47df34
push eax
mov byte [ebp - 4], 0x13
mov ecx, dword [eax]
call dword [ecx + 0xc]
cmp eax, ebx
jl 0x4308eb
mov eax, dword [ebp + 0xc]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x4308fc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xd0]
push ebx
push eax
mov ecx, esi
mov dword [esi], 0x47b4b8
mov dword [esi + 0x20], 0x47b4b0
call fcn.00405884
mov dword [ebp - 0x30], 1
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], bl
call fcn.00407f77
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8