Function at 0x4419a0
Capabilities:
Get file size
Get session user name
Query or enumerate registry key
Query or enumerate registry value
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c98f
mov eax, dword fs:[0]
push eax
sub esp, 0xa08
mov eax, dword [0x72400c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
mov dword [ebp - 0x9bc], edi
mov dword [ebp - 0xa0c], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x830]
push 0x7a
xor eax, eax
mov dword [ebp - 0x81c], 7
push 0x711508
mov dword [ebp - 0x820], 0
mov word [ebp - 0x830], ax
call fcn.0040f5c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x830]
cmp dword [ebp - 0x81c], 8
mov eax, dword [ebp - 0x820]
cmovae ecx, dword [ebp - 0x830]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x830]
cmovae ecx, dword [ebp - 0x830]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x848]
call fcn.004447b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x9dc]
cmp dword [ebp - 0x834], 0x10
lea eax, [ebp - 0x848]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmovae eax, dword [ebp - 0x848]
push ecx
push 0x20019
push 0
push eax
push closesocket
call ebx
test eax, eax
je 0x441b38
push 0
mov dword [edi + 0x14], 0xf
mov ecx, edi
mov dword [edi + 0x10], 0
push 0x70fe7c
mov byte [edi], 0
call fcn.00407f60
mov eax, dword [ebp - 0x834]
cmp eax, 0x10
jb 0x441acf
inc eax
lea ecx, [ebp - 0x848]
push eax
push dword [ebp - 0x848]
call fcn.00408600
mov eax, dword [ebp - 0x81c]
mov dword [ebp - 0x834], 0xf
mov dword [ebp - 0x838], 0
mov byte [ebp - 0x848], 0
cmp eax, 8
jb 0x441b08
inc eax
lea ecx, [ebp - 0x830]
push eax
push dword [ebp - 0x830]
call fcn.004120a0
mov ecx, dword [ebp + 0x20]
xor eax, eax
mov dword [ebp - 0x81c], 7
mov dword [ebp - 0x820], 0
mov word [ebp - 0x830], ax
cmp ecx, 0x10
jb 0x442518
inc ecx
push ecx
jmp 0x44250d
push 0x104
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004e7b30
add esp, 0xc
mov dword [ebp - 0x9f0], 0x104
lea eax, [ebp - 0xa14]
mov dword [ebp - 0x9d0], 0
push eax
lea eax, [ebp - 0xa08]
push eax
lea eax, [ebp - 0xa04]
push eax
lea eax, [ebp - 0xa00]
push eax
lea eax, [ebp - 0x9fc]
push eax
lea eax, [ebp - 0x9f8]
push eax
lea eax, [ebp - 0x9f4]
push eax
lea eax, [ebp - 0x9d0]
push eax
push 0
lea eax, [ebp - 0x9f0]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x9dc]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [ebp - 0x9d0], 0
je 0x442470
lea ecx, [ebp - 0x9b8]
call fcn.0040e600
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 3
push ecx
lea ecx, [ebp - 0x890]
push ecx
mov ecx, eax
call fcn.004442b0
lea ecx, [ebp - 0x9b8]
mov byte [ebp - 4], 5
call fcn.0040e540
xor esi, esi
nop word [eax + eax]
cmp esi, dword [ebp - 0x9d0]
jae 0x44244e
lea eax, [ebp - 0xa14]
mov dword [ebp - 0x9ec], 0xff
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x9ec]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push dword [ebp - 0x9dc]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x442448
mov dword [ebp - 0x8f4], 0xf
mov dword [ebp - 0x8f8], eax
mov byte [ebp - 0x908], al
cmp byte [ebp - 0x114], al
jne 0x441c68
xor ecx, ecx
jmp 0x441c7a
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x441c71
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x908]
call fcn.00407f60
push 0x70febc
lea edx, [ebp - 0x848]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8f0]
call fcn.004282f0
lea ecx, [ebp - 0x908]
mov byte [ebp - 4], 7
push ecx
mov edx, eax
lea ecx, [ebp - 0x8a8]
call fcn.00428780
add esp, 8
mov eax, dword [ebp - 0x8dc]
cmp eax, 0x10
jb 0x441ce0
inc eax
lea ecx, [ebp - 0x8f0]
push eax
push dword [ebp - 0x8f0]
call fcn.00408600
mov dword [ebp - 0x8dc], 0xf
mov dword [ebp - 0x8e0], 0
mov byte [ebp - 0x8f0], 0
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x8f4]
cmp eax, 0x10
jb 0x441d1d
inc eax
lea ecx, [ebp - 0x908]
push eax
push dword [ebp - 0x908]
call fcn.00408600
cmp dword [ebp - 0x894], 0x10
lea ecx, [ebp - 0x9d8]
push ecx
push 0x20019
lea eax, [ebp - 0x8a8]
mov dword [ebp - 0x8f4], 0xf
cmovae eax, dword [ebp - 0x8a8]
push 0
push eax
push closesocket
mov dword [ebp - 0x8f8], 0
mov byte [ebp - 0x908], 0
call ebx
lea eax, [ebp - 0x9e8]
mov dword [ebp - 0x9e8], 0x400
push eax
lea eax, [ebp - 0x618]
push eax
push 0
push 0
push str.Email
push dword [ebp - 0x9d8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x442426
lea eax, [ebp - 0x618]
push eax
lea ecx, [ebp - 0x938]
call fcn.0040f910
push dword [ebp - 0x880]
cmp dword [ebp - 0x87c], 8
lea ecx, [ebp - 0x890]
push 0
cmovae ecx, dword [ebp - 0x890]
push ecx
mov ecx, eax
call fcn.00410650
mov ecx, dword [ebp - 0x924]
mov ebx, eax
cmp ecx, 8
jb 0x441ded
inc ecx
push ecx
push dword [ebp - 0x938]
lea ecx, [ebp - 0x938]
call fcn.004120a0
cmp ebx, 0xffffffff
je 0x442420
push str.New_Signature
lea ecx, [ebp - 0x8c0]
mov dword [ebp - 0x9e4], 0x400
call fcn.0040f910
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x8c0]
cmp dword [ebp - 0x8ac], 8
mov eax, dword [ebp - 0x8b0]
cmovae ecx, dword [ebp - 0x8c0]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x8c0]
cmovae ecx, dword [ebp - 0x8c0]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x8d8]
call fcn.004447b0
lea ecx, [ebp - 0x9e4]
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x8c4], 0x10
lea eax, [ebp - 0x8d8]
push ecx
cmovae eax, dword [ebp - 0x8d8]
lea ecx, [ebp - 0x618]
push ecx
push 0
push 0
push eax
push dword [ebp - 0x9d8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
je 0x441eea
push 0x70fe7c
mov ecx, edi
call fcn.00407af0
lea ecx, [ebp - 0x8d8]
call fcn.00406f20
lea ecx, [ebp - 0x8c0]
call fcn.0040f850
lea ecx, [ebp - 0x8a8]
call fcn.00406f20
lea ecx, [ebp - 0x890]
call fcn.0040f850
lea ecx, [ebp - 0x848]
call fcn.00406f20
lea ecx, [ebp - 0x830]
call fcn.0040f850
lea ecx, [ebp + 0xc]
call fcn.00406f20
jmp 0x442518
xor eax, eax
mov dword [ebp - 0x84c], 7
mov dword [ebp - 0x850], 0
mov word [ebp - 0x860], ax
push str.C:Users_
lea ecx, [ebp - 0x860]
mov byte [ebp - 4], 0xd
call fcn.0040f7e0
lea eax, [ebp - 0x9e0]
mov dword [ebp - 0x9e0], 0x100
push eax
lea eax, [ebp - 0x818]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp - 0x818]
push eax
lea ecx, [ebp - 0x860]
call fcn.00417a60
push str.AppDataRoamingMicrosoftSignatures_
lea ecx, [ebp - 0x860]
call fcn.00417a60
lea eax, [ebp - 0x618]
push eax
lea ecx, [ebp - 0x8f0]
call fcn.0040f910
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x860]
mov byte [ebp - 4], 0xe
call fcn.00417fb0
lea ecx, [ebp - 0x8f0]
mov byte [ebp - 4], 0xd
call fcn.0040f850
push str..htm
lea ecx, [ebp - 0x860]
call fcn.00417a60
cmp dword [ebp - 0x84c], 8
lea eax, [ebp - 0x860]
push 0
cmovae eax, dword [ebp - 0x860]
push 0x80
push 3
push 0
push 0
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x9c0], esi
cmp esi, 0xffffffff
je 0x442404
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x9c8], eax
cmp eax, 0xffffffff
je 0x4423fd
push eax
mov byte [ebp - 4], 0xf
call fcn.004cec81
mov ebx, eax
mov dword [ebp - 4], 0xd
add esp, 4
mov dword [ebp - 0x9c0], ebx
test ebx, ebx
je 0x4423fd
push 0
lea eax, [ebp - 0x9d4]
push eax
push dword [ebp - 0x9c8]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4423b8
mov eax, dword [ebp - 0x9c8]
cmp dword [ebp - 0x9d4], eax
jne 0x4423b8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x864], 0xf
mov dword [ebp - 0x868], 0
mov byte [ebp - 0x878], 0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x8f0]
push dword [ebp - 0x9d4]
push ebx
call fcn.00424f50
push eax
lea ecx, [ebp - 0x878]
call fcn.0040f9c0
lea ecx, [ebp - 0x8f0]
call fcn.00406f20
push ebx
mov dword [ebp - 4], 0x11
call fcn.004cea7d
add esp, 4
lea eax, [ebp - 0x878]
push eax
lea eax, [ebp - 0x950]
push eax
call fcn.00442540
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x940], 0
jne 0x4420fe
lea eax, [ebp - 0x878]
mov ecx, edi
push eax
call fcn.00407ac0
lea ecx, [ebp - 0x950]
call fcn.00406f20
lea ecx, [ebp - 0x878]
call fcn.00406f20
lea ecx, [ebp - 0x860]
call fcn.0040f850
jmp 0x441e9b
lea eax, [ebp - 0x950]
push eax
call fcn.00442f50
push 0
push eax
lea ecx, [ebp - 0x908]
call fcn.00419f80
add esp, 8
mov esi, eax
push 0x71006c
lea ecx, [ebp - 0x8f0]
mov byte [ebp - 4], 0x15
call fcn.00407af0
push esi
mov edx, eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x938]
call fcn.00428780
add esp, 4
lea ecx, [ebp - 0x8f0]
call fcn.00406f20
lea ecx, [ebp - 0x908]
call fcn.00406f20
push 1
mov byte [ebp - 4], 0x1a
call fcn.004d2daf
mov dword [ebp - 0x9c0], eax
push 0
mov byte [ebp - 4], 0x1c
call fcn.004d2f4f
add esp, 8
mov dword [ebp - 0x9c8], eax
lea eax, [ebp - 0x938]
push ecx
push eax
lea ecx, [ebp - 0x9cc]
call fcn.00441490
lea eax, [ebp - 0x9cc]
push eax
lea ecx, [ebp - 0x9c4]
call fcn.0040a080
lea ecx, [ebp - 0x9cc]
call fcn.0040a030
mov dword [ebp - 4], 0x1b
xor eax, eax
mov dword [ebp - 0x90c], 7
mov dword [ebp - 0x910], 0
mov word [ebp - 0x920], ax
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x920]
push dword [ebp - 0x868]
call fcn.00424ec0
xor esi, esi
mov dword [ebp - 4], 0x1e
cmp dword [ebp - 0x868], esi
jbe 0x44225d
nop dword [eax + eax]
cmp dword [ebp - 0x864], 0x10
lea eax, [ebp - 0x878]
cmovae eax, dword [ebp - 0x878]
mov al, byte [esi + eax]
mov byte [ebp - 0x9c8], al
lea eax, [ebp - 0x9c4]
push eax
call fcn.00431460
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push dword [ebp - 0x9c8]
call dword [edx + 0x30]
cmp dword [ebp - 0x90c], 8
movzx ecx, ax
lea eax, [ebp - 0x920]
cmovae eax, dword [ebp - 0x920]
mov word [eax + esi*2], cx
inc esi
cmp esi, dword [ebp - 0x868]
jb 0x442200
lea ecx, [ebp - 0x9b8]
call fcn.0040e600
lea ecx, [ebp - 0x920]
mov byte [ebp - 4], 0x21
push ecx
lea ecx, [ebp - 0x968]
push ecx
mov ecx, eax
call fcn.0040e500
lea ecx, [ebp - 0x9b8]
call fcn.0040e540
lea eax, [ebp - 0x968]
mov ecx, edi
push eax
call fcn.00407ac0
lea ecx, [ebp - 0x968]
call fcn.00406f20
lea ecx, [ebp - 0x920]
call fcn.0040f850
lea ecx, [ebp - 0x9c4]
call fcn.0040a030
lea ecx, [ebp - 0x938]
call fcn.00406f20
jmp 0x4420d8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.004cea7d
add esp, 4
mov ecx, edi
push 0x70fe7c
call fcn.00407af0
lea ecx, [ebp - 0x860]
call fcn.0040f850
jmp 0x441e9b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x70fe7c
mov ecx, edi
call fcn.00407af0
lea ecx, [ebp - 0x860]
call fcn.0040f850
jmp 0x441e9b
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x894]
cmp eax, 0x10
jb 0x442448
inc eax
lea ecx, [ebp - 0x8a8]
push eax
push dword [ebp - 0x8a8]
call fcn.00408600
inc esi
jmp 0x441c00
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x87c]
cmp eax, 8
jb 0x442470
inc eax
lea ecx, [ebp - 0x890]
push eax
push dword [ebp - 0x890]
call fcn.004120a0
push 0
mov dword [edi + 0x14], 0xf
mov ecx, edi
mov dword [edi + 0x10], 0
push 0x70fe7c
mov byte [edi], 0
call fcn.00407f60
mov eax, dword [ebp - 0x834]
cmp eax, 0x10
jb 0x4424ad
inc eax
lea ecx, [ebp - 0x848]
push eax
push dword [ebp - 0x848]
call fcn.00408600
mov eax, dword [ebp - 0x81c]
mov dword [ebp - 0x834], 0xf
mov dword [ebp - 0x838], 0
mov byte [ebp - 0x848], 0
cmp eax, 8
jb 0x4424e6
inc eax
lea ecx, [ebp - 0x830]
push eax
push dword [ebp - 0x830]
call fcn.004120a0
xor eax, eax
mov dword [ebp - 0x81c], 7
mov word [ebp - 0x830], ax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x820], 0
cmp eax, 0x10
jb 0x442518
inc eax
push eax
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00408600
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ce564
mov esp, ebp
pop ebp
ret 0x1c