Function at 0x433de0
Capabilities:
Get file size
Query or enumerate registry value
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456e10
push 0x44bffc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4e0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor eax, eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x64], 0xffffffff
mov dword [ebp - 4], eax
mov edi, 1
mov dword [0x477438], edi
push eax
push eax
push 0xb
mov esi, dword [ebp + 8]
push esi
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
call ebx
push 0
push 0
push 0x184
push esi
call ebx
push 0
push 0
push 0x2afe
mov eax, dword [0x4773dc]
push eax
call ebx
mov eax, dword [0x47518c]
mov dword [ebp - 0x44], eax
xor ecx, ecx
mov dword [ebp - 0x4c], ecx
cmp ecx, dword [0x4751a4]
jae 0x433e8c
xor edx, edx
mov bl, byte [eax + 0x28]
test bl, bl
setne dl
mov byte [eax + 0x29], dl
mov byte [eax + 0x28], 0
mov byte [eax + 0x52], 0
add eax, 0x62
mov dword [ebp - 0x44], eax
inc ecx
jmp 0x433e63
push 0x104
call fcn.0044c0d4
add esp, 4
mov ebx, eax
mov dword [ebp - 0x6c], ebx
mov dword [0x477440], edi
call fcn.0044b850
mov esi, edi
mov dword [ebp - 0x48], esi
cmp esi, 3
jae 0x434253
mov edi, esi
dec edi
neg edi
sbb edi, edi
and edi, 0xcd
add edi, 0xfa2
mov dword [ebp - 0x2c], edi
push 0x104
push ebx
push edi
mov eax, dword [0x477340]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [ebp - 0x58]
push ecx
push 0x20019
push 0
push ebx
mov edx, 0x1067
cmp edx, edi
sbb eax, eax
add eax, 0x80000002
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43424d
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x24], 0x104
mov dword [ebp - 0x3c], 4
mov ecx, dword [ebp - 0x5c]
mov eax, ecx
inc ecx
mov dword [ebp - 0x5c], ecx
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x20]
push edx
push 0
push 0
lea ecx, [ebp - 0x24]
push ecx
push ebx
push eax
mov edx, dword [ebp - 0x58]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x43422e
push ebx
push 0xffffffffffffffff
push 0x1a2
mov eax, dword [0x4773dc]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x43422e
mov eax, dword [ebp - 0x20]
cmp eax, 4
jb 0x43422e
cmp eax, 7
ja 0x43422e
push 0
push 1
push 3
push 1
push 0x80000000
push ebx
call fcn.0044a650
mov edi, eax
mov dword [ebp - 0x64], edi
cmp edi, 0xffffffff
je 0x43422e
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x24], eax
cmp eax, 0x17a
jb 0x43422e
push eax
call fcn.0044c0d4
add esp, 4
mov esi, eax
mov dword [ebp - 0x50], esi
push 0
lea ecx, [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x64], 0xffffffff
mov dword [ebp - 0x28], esi
lea edi, [esi + 0x155]
mov dword [ebp - 0x1c], edi
mov esi, 1
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x28]
cmp eax, dword [ecx + 4]
jae 0x43414b
xor esi, esi
mov dword [ebp - 0x488], esi
mov eax, dword [0x47518c]
mov dword [ebp - 0x484], eax
mov ecx, dword [0x4751a4]
mov edx, esi
inc esi
mov dword [ebp - 0x488], esi
cmp edx, ecx
jae 0x434057
mov edx, dword [eax + 0x2a]
cmp edx, dword [edi + 0x20]
jne 0x43404c
mov dl, byte [eax + 0x22]
cmp dl, byte [edi + 0x24]
jne 0x43404c
test byte [eax + 0x27], 6
jne 0x43404c
mov edi, eax
jmp 0x434059
add eax, 0x62
mov dword [ebp - 0x484], eax
jmp 0x434025
xor edi, edi
mov dword [ebp - 0x44], edi
test edi, edi
je 0x4340e7
push edi
call fcn.00435210
mov esi, eax
mov dword [ebp - 0x54], esi
test esi, esi
jne 0x4340d4
push 0x104
lea eax, [ebp - 0x274]
push eax
push 0x23d
mov ecx, dword [0x4773fc]
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
add edi, 2
push edi
push ebx
lea edx, [ebp - 0x274]
push edx
lea eax, [ebp - 0x170]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x30
call dword [sym.imp.USER32.dll_MessageBeep]
push 0x30
mov ecx, dword [0x477404]
push ecx
lea edx, [ebp - 0x170]
push edx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x43414b
mov ecx, dword [ebp - 0x1c]
add ecx, 0x25
mov dword [ebp - 0x1c], ecx
inc dword [ebp - 0x4c]
mov edi, ecx
jmp 0x433ffd
push 0x104
lea eax, [ebp - 0x47c]
push eax
push 0x23c
mov ecx, dword [0x4773fc]
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
mov edx, dword [ebp - 0x1c]
push edx
push ebx
lea eax, [ebp - 0x47c]
push eax
lea ecx, [ebp - 0x378]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x30
call dword [sym.imp.USER32.dll_MessageBeep]
push 0x30
mov edx, dword [0x477404]
push edx
lea eax, [ebp - 0x378]
push eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor esi, esi
mov dword [ebp - 0x54], esi
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x434162
push eax
call fcn.0044c186
add esp, 4
mov dword [ebp - 0x50], 0
test esi, esi
je 0x434175
mov ecx, dword [ebp - 0x20]
push ecx
push ebx
call fcn.0040b9b0
jmp 0x43422e
mov edx, dword [ebp - 0x40]
test edx, edx
jne 0x4341b1
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.0044c0d4
add esp, 4
mov edx, eax
mov dword [ebp - 0x40], edx
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
jmp 0x434229
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ecx, [esi + ecx + 3]
push ecx
push edx
call fcn.0044c3bd
add esp, 8
mov edx, eax
mov dword [ebp - 0x40], edx
mov edi, 0x460c4c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ebx, dword [ebp - 0x6c]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x433f0c
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x58], 0
mov esi, dword [ebp - 0x48]
inc esi
jmp 0x433eab
xor esi, esi
mov dword [0x477440], esi
call fcn.0044b8c0
cmp ebx, esi
je 0x434270
push ebx
call fcn.0044c186
add esp, 4
mov dword [ebp - 0x6c], esi
mov ecx, dword [0x47518c]
mov esi, ecx
mov dword [ebp - 0x44], esi
mov eax, dword [0x4751a4]
lea edx, [eax + eax*2]
shl edx, 4
add edx, eax
lea ecx, [ecx + edx*2 - 0x62]
mov dword [ebp - 0x30], ecx
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x4c], edi
cmp edi, eax
jae 0x434339
mov edx, dword [esi + 0x2a]
cmp edx, ebx
je 0x43432d
cmp byte [esi + 0x29], 0
je 0x43432d
cmp byte [esi + 0x28], 0
jne 0x43432d
cmp edx, dword [ecx + 0x2a]
jne 0x4342c2
mov dl, byte [esi + 0x22]
cmp dl, byte [ecx + 0x22]
je 0x43432d
mov dword [ebp - 0x38], ebx
push esi
call fcn.00435210
xor eax, eax
mov ax, word [esi]
mov dword [ebp - 0x38], eax
mov cl, byte [esi + 0x22]
test cl, 0x10
je 0x4342e7
and eax, 0xffe2ffff
or eax, 0x20000
jmp 0x434302
test cl, 0x40
je 0x4342f8
and eax, 0xffe3ffff
or eax, 0x30000
jmp 0x434302
and eax, 0xffe1ffff
or eax, 0x10000
mov dword [ebp - 0x38], eax
test byte [esi + 0x27], 2
je 0x434318
and eax, 0xffffff
or eax, 0x10000000
mov dword [ebp - 0x38], eax
push ebx
push eax
lea eax, [esi + 2]
push eax
call fcn.0040bc20
mov ecx, esi
mov dword [ebp - 0x30], ecx
mov eax, dword [0x4751a4]
add esi, 0x62
mov dword [ebp - 0x44], esi
inc edi
jmp 0x434293
mov ecx, dword [0x47518c]
mov dword [ebp - 0x44], ecx
xor edx, edx
mov dword [ebp - 0x4c], edx
cmp edx, eax
jae 0x43436d
cmp byte [ecx + 0x29], 0
je 0x434364
cmp byte [ecx + 0x28], 0
jne 0x434364
mov byte [ecx + 0x28], 1
mov byte [ecx + 0x52], 1
mov eax, dword [0x4751a4]
add ecx, 0x62
mov dword [ebp - 0x44], ecx
inc edx
jmp 0x434344
mov esi, dword [ebp - 0x40]
cmp esi, ebx
je 0x4343ca
cmp dword [0x47517c], ebx
jne 0x4343ca
mov dword [0x47517c], 1
push 0x460c4c
push esi
call fcn.0044c740
add esp, 8
mov dword [ebp - 0x6c], eax
cmp eax, ebx
je 0x4343b0
push ebx
push ebx
push eax
push 0xfa2
call fcn.00440b60
push 0x460c4c
push ebx
jmp 0x43438c
push esi
call fcn.0044c186
add esp, 4
mov dword [ebp - 0x40], ebx
mov ecx, dword [ebp + 8]
push ecx
call fcn.00433de0
jmp 0x43458a
push 0xffffffffffffffeb
mov edx, dword [0x4773dc]
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, eax
jne 0x4344d8
push ebx
push ebx
push 0x197
mov esi, dword [ebp + 8]
push esi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
call edi
push 0xffffffffffffffff
push ebx
push 0x185
push esi
call edi
push ebx
push 1
push 0xb
push esi
call edi
push 1
push ebx
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [0x477438], ebx
mov dword [0x477374], ebx
mov eax, dword [0x47518c]
mov dword [ebp - 0x4ec], eax
xor ecx, ecx
mov dword [ebp - 0x4f0], ecx
mov edx, dword [0x4751a4]
cmp ecx, edx
jae 0x434459
mov bl, byte [eax + 0x28]
test bl, bl
je 0x434447
inc dword [0x477374]
add eax, 0x62
mov dword [ebp - 0x4ec], eax
inc ecx
mov dword [ebp - 0x4f0], ecx
jmp 0x434436
push 0x40
lea eax, [ebp - 0x4c8]
push eax
push 0x18
mov ecx, dword [0x4773fc]
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
mov edx, dword [0x477374]
push edx
push 0x460c7c
lea eax, [ebp - 0x4e8]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edi, [ebp - 0x4e8]
lea edx, [ebp - 0x4c8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x4c8]
push eax
push 0
push 0xc
mov ecx, dword [0x4773dc]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
mov dword [0x47517c], ebx
jmp 0x43458a
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4