Function at 0x432030
Capabilities:
Move file
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x4c4]
sub esp, 0x4c4
push 0xffffffffffffffff
push 0x4aa196
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4d62b0]
xor eax, ebp
mov dword [ebp + 0x4c0], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov ebx, ecx
mov dword [ebp - 0x20], esi
push 0x206
lea eax, [ebp + 0x2ba]
push esi
mov dword [ebp - 4], esi
push eax
mov word [ebp + 0x2b8], si
call int.0048bd10
add esp, 8
mov ecx, esp
mov dword [ebp - 0x14], esp
push ecx
mov ecx, 0x4ba22c
call fcn.0040b6b0
call fcn.00431e30
lea edx, [ebp - 0x18]
push edx
push 0x2001f
push esi
push 0x4ba23c
push 0x80000002
mov dword [ebp - 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x4324f8
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp + 0x2b8]
push edx
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0x4b7334
push eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
jne 0x4324f8
mov eax, dword [ebp - 0x14]
cmp eax, 1
je 0x43210b
cmp eax, 2
jne 0x4324f8
mov eax, dword [ebp - 0x18]
cmp eax, esi
je 0x43212b
test al, 1
jne 0x4324f8
shr eax, 1
cmp word [ebp + eax*2 + 0x2b6], si
je 0x432132
jmp 0x4324f8
mov word [ebp + 0x2b8], si
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp + 0x2b8]
call fcn.0040b6b0
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00438fb0
mov eax, dword [eax]
mov ecx, 0x4b72a4
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43217d
cmp dx, si
je 0x432179
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43217d
add eax, 4
add ecx, 4
cmp dx, si
jne 0x432157
xor eax, eax
jmp 0x432182
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
mov eax, dword [ebp - 0x14]
setne byte [ebp - 0x19]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4321a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0x19], 0
je 0x4321bd
push 1
push 0x4b72a4
lea ecx, [ebp - 0x10]
push ecx
call fcn.0043fad0
push 9
push 0x4ba268
lea edx, [ebp - 0x10]
push edx
call fcn.0043fad0
mov ecx, dword [ebp - 0x10]
mov eax, ecx
mov dword [ebp + 0x298], 7
mov dword [ebp + 0x294], esi
mov word [ebp + 0x284], si
lea edx, [eax + 2]
lea esp, [esp]
mov di, word [eax]
add eax, 2
cmp di, si
jne 0x4321f0
sub eax, edx
sar eax, 1
push eax
push ecx
lea esi, [ebp + 0x280]
call fcn.0043d0d0
mov byte [ebp - 4], 2
push 2
xor edi, edi
push 0x4ba27c
lea esi, [ebp + 0x29c]
mov dword [ebp + 0x2b4], 7
mov dword [ebp + 0x2b0], edi
mov word [ebp + 0x2a0], di
call fcn.0043d0d0
lea eax, [ebp]
push eax
mov byte [ebp - 4], 3
call fcn.0041c220
mov byte [ebp - 4], 4
mov eax, dword [ebx + 0x4b0]
mov ecx, dword [ebx + 0x4ac]
mov edx, dword [0x4dbc14]
mov dword [ebp + 0x144], eax
mov eax, dword [ebx + 0x4bc]
mov dword [ebp + 0x15c], eax
mov dword [ebp + 0xac], ecx
mov ecx, dword [ebx + 0x4b4]
mov dword [ebp + 0x140], edx
mov edx, dword [0x4dbc18]
lea eax, [ebx + 0x4dc]
push eax
mov dword [ebp], 0x64
mov dword [ebp + 8], 0x10
mov dword [ebp + 0x148], ecx
mov dword [ebp + 0x158], edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [ebp + 0x160], eax
call dword [section..data]
mov esi, dword [ebx + 0x490]
cmp esi, edi
mov dword [ebp - 0x18], eax
jne 0x4322cc
xor esi, esi
jmp 0x432314
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jg 0x432310
add eax, eax
mov dword [ebp - 0x14], eax
call fcn.00491f30
mov edi, esp
test edi, edi
je 0x432310
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
push 0
push 0
push ecx
push edi
push 0xffffffffffffffff
push esi
push 0
push edx
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, edi
jmp 0x432312
xor eax, eax
mov esi, eax
mov eax, esi
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x432320
sub eax, edi
push eax
push esi
lea ecx, [ebp + 0xb4]
call fcn.0040d220
lea eax, [ebp]
push eax
call fcn.0047ae96
mov edi, eax
call fcn.00441680
lea esi, [ebp]
mov byte [ebp - 4], 3
call fcn.0041d890
push 1
lea eax, [ebp + 0x29c]
lea ecx, [ebp + 0x280]
call fcn.00459ec0
add esp, 4
lea ecx, [ebp]
push ecx
mov esi, eax
call fcn.0041c220
mov byte [ebp - 4], 5
mov eax, dword [0x4dbc14]
mov edx, dword [ebx + 0x4ac]
mov ecx, dword [ebx + 0x4b0]
mov dword [ebp + 0x140], eax
mov eax, dword [0x4dbc18]
mov dword [ebp + 0x158], eax
mov dword [ebp + 0xac], edx
mov edx, dword [ebx + 0x4b4]
mov dword [ebp + 0x144], ecx
mov ecx, dword [ebx + 0x4bc]
lea eax, [ebx + 0x4dc]
push eax
mov dword [ebp], 0x64
mov dword [ebp + 8], 0xb
mov dword [ebp + 4], esi
mov dword [ebp + 0x148], edx
mov dword [ebp + 0x15c], ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [ebp + 0x160], eax
call dword [section..data]
mov esi, dword [ebx + 0x490]
test esi, esi
mov edi, eax
jne 0x4323f9
xor edx, edx
jmp 0x43243e
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jg 0x43243a
add eax, eax
mov dword [ebp - 0x14], eax
call fcn.00491f30
mov ebx, esp
test ebx, ebx
je 0x43243a
mov edx, dword [ebp - 0x14]
push 0
push 0
push edx
push ebx
push 0xffffffffffffffff
push esi
push 0
push edi
mov byte [ebx], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, ebx
jmp 0x43243c
xor eax, eax
mov edx, eax
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x432443
sub eax, esi
push eax
push edx
lea ecx, [ebp + 0xb4]
call fcn.0040d220
lea eax, [ebp]
push eax
call fcn.0047ae96
mov edi, eax
call fcn.00441680
lea esi, [ebp]
call fcn.0041d890
mov edi, 8
cmp dword [ebp + 0x2b4], edi
jb 0x43248f
mov ecx, dword [ebp + 0x2a0]
push ecx
call fcn.00487c06
add esp, 4
xor esi, esi
cmp dword [ebp + 0x298], edi
mov ebx, 7
mov dword [ebp + 0x2b4], ebx
mov dword [ebp + 0x2b0], esi
mov word [ebp + 0x2a0], si
jb 0x4324c0
mov edx, dword [ebp + 0x284]
push edx
call fcn.00487c06
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp + 0x298], ebx
mov dword [ebp + 0x294], esi
mov word [ebp + 0x284], si
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4324f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor esi, esi
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp + 0x2b8]
call fcn.0040b6b0
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.00438fb0
mov eax, dword [eax]
mov ecx, 0x4b72a4
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x432546
cmp dx, si
je 0x432542
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x432546
add eax, 4
add ecx, 4
cmp dx, si
jne 0x432520
xor eax, eax
jmp 0x43254b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
mov eax, dword [ebp - 0x14]
setne bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43256f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x432583
push 1
push 0x4b72a4
lea ecx, [ebp - 0x10]
push ecx
call fcn.0043fad0
push 0xb
push 0x4ba284
lea edx, [ebp - 0x10]
push edx
call fcn.0043fad0
mov eax, dword [0x4da734]
mov edx, dword [eax + 0xc]
mov ecx, 0x4da734
call edx
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0x4ba29c
lea edi, [ebp - 0x18]
call fcn.0040e820
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
add esp, 0xc
push 1
push edi
push ecx
call ebx
push 4
push esi
push edi
call ebx
lea eax, [edi - 0x10]
mov byte [ebp - 4], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4325ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432622
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
cmp eax, esi
je 0x432630
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
lea esp, [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x4c0]
xor ecx, ebp
call fcn.00488fa3
add ebp, 0x4c4
mov esp, ebp
pop ebp
ret