Function at 0x557730
Capabilities:
Contain obfuscated stackstrings
Get common file path
Get file size
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x2b0
lea eax, [esp + 0x88]
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push eax
push 1
push ebx
push 0x5f242c
call fcn.00559f50
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 4
push eax
push reloc.WS2_32.dll_bind
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebp, 0x104
test eax, eax
jne 0x5577e4
lea ecx, [esp + 0x9c]
lea edx, [esp + 0xb8]
push ecx
push edx
push ebx
push ebx
push 0x5f2420
mov dword [esp + 0xb0], ebp
call fcn.00559f50
add esp, 4
push eax
mov eax, dword [esp + 0xac]
push eax
call edi
test eax, eax
jne 0x5577d6
cmp dword [0x894054], ebx
je 0x5577d6
lea ecx, [esp + 0xb8]
push ecx
push 0x5f240c
call fcn.00559f50
mov edx, dword [0x894054]
add esp, 4
add edx, 0x20
push eax
push edx
call fcn.00555120
add esp, 0xc
mov eax, dword [esp + 0x98]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x98]
push ecx
push 3
push ebx
push 0x5f23a8
call fcn.00559f50
add esp, 4
push eax
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x5581af
lea edx, [esp + 0x9c]
lea eax, [esp + 0xb8]
push edx
push eax
push ebx
push ebx
push 0x5f2398
mov dword [esp + 0xb0], ebp
call fcn.00559f50
mov ecx, dword [esp + 0xac]
add esp, 4
push eax
push ecx
call edi
test eax, eax
jne 0x55789f
cmp dword [0x894054], ebx
je 0x55789f
mov edx, dword [esp + 0xbb]
mov eax, dword [esp + 0xba]
mov ecx, dword [esp + 0xb9]
and edx, 0xff
push edx
mov edx, dword [esp + 0xbc]
and eax, 0xff
and ecx, 0xff
push eax
and edx, 0xff
push ecx
push edx
push 0x5f2374
call fcn.00559f50
add esp, 4
push eax
mov eax, dword [0x894054]
add eax, 0x20
push eax
call fcn.00555120
add esp, 0x18
lea ecx, [esp + 0x1bc]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x5f2360
call fcn.00559f50
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1bc]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push ebx
push 0x80
mov ecx, ebp
push 3
push ebx
and ecx, 3
push 3
lea eax, [esp + 0x1d0]
push closesocket
push eax
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0xbc], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x55794e
cmp dword [0x894054], ebx
je 0x55798e
lea ecx, [esp + 0x1bc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x5f1598
call fcn.00559f50
mov edx, dword [0x894054]
add esp, 4
add edx, 0x20
push eax
push edx
call fcn.00555120
add esp, 0x10
jmp 0x55798e
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [0x894054]
mov dword [esp + 0xa0], eax
cmp ecx, ebx
je 0x557987
push eax
push 0x5f1588
call fcn.00559f50
add esp, 4
push eax
mov eax, dword [0x894054]
add eax, 0x20
push eax
call fcn.00555120
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5f22b0
call fcn.00559f50
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, eax
cmp ebp, ebx
je 0x557ad1
push 0x5f2294
call fcn.00559f50
add esp, 4
push eax
push ebp
call fcn.005573f0
push 0x5f227c
mov esi, eax
call fcn.00559f50
add esp, 4
push eax
push ebp
call fcn.005573f0
mov edi, eax
push 0x5f2268
mov dword [esp + 0xb0], edi
call fcn.00559f50
add esp, 4
push eax
push ebp
call fcn.005573f0
cmp esi, ebx
mov dword [esp + 0xa4], eax
je 0x557aca
cmp edi, ebx
je 0x557aca
cmp eax, ebx
je 0x557aca
lea ecx, [esp + 0xb0]
lea edx, [esp + 0x1bc]
push ecx
push edx
call esi
mov esi, eax
cmp esi, ebx
je 0x557aca
push esi
call fcn.0056ae19
add esp, 4
mov edi, eax
mov eax, dword [esp + 0xb0]
lea ecx, [esp + 0x1bc]
push edi
push esi
push eax
push ecx
call dword [esp + 0xbc]
lea edx, [esp + 0xb4]
lea eax, [esp + 0xa8]
push edx
push eax
push 0x5f17ac
push edi
call dword [esp + 0xb4]
mov eax, dword [esp + 0xa8]
cmp dword [eax], 0xfeef04bd
jne 0x557ac1
cmp dword [0x894054], ebx
je 0x557ac1
mov edx, dword [eax + 0xc]
xor ecx, ecx
mov cx, word [eax + 0xc]
shr edx, 0x10
push ecx
push edx
mov edx, dword [eax + 8]
xor ecx, ecx
mov cx, word [eax + 8]
shr edx, 0x10
push ecx
push edx
push 0x5f2348
call fcn.00559f50
add esp, 4
push eax
mov eax, dword [0x894054]
add eax, 0x20
push eax
call fcn.00555120
add esp, 0x18
push edi
call fcn.0056c052
add esp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0xa0]
cmp eax, 0x18d10
jne 0x557e30
cmp dword [0x894054], ebx
je 0x557b0b
push 0x5f232c
call fcn.00559f50
mov ecx, dword [0x894054]
add esp, 4
add ecx, 0x20
push eax
push ecx
call fcn.00555120
add esp, 8
mov al, 0xc7
mov cl, 0xf2
mov byte [esp + 0x11], al
mov byte [esp + 0x21], al
mov al, 0x16
mov byte [esp + 0x43], cl
mov byte [esp + 0x36], al
mov byte [esp + 0x47], cl
mov byte [esp + 0x54], al
mov dl, 0xf5
mov cl, 0xb5
mov al, 0x77
mov byte [esp + 0x10], 0x2a
mov byte [esp + 0x12], 0xe
mov byte [esp + 0x13], 0x10
mov byte [esp + 0x14], 6
mov byte [esp + 0x15], 0xbe
mov byte [esp + 0x16], 0xa7
mov byte [esp + 0x17], 0xcd
mov byte [esp + 0x18], dl
mov byte [esp + 0x19], 0xfa
mov byte [esp + 0x1a], 0x66
mov byte [esp + 0x1b], 0xf
mov byte [esp + 0x1c], 0x86
mov byte [esp + 0x1d], 0xa3
mov byte [esp + 0x1e], 0x8a
mov byte [esp + 0x1f], 0x41
mov byte [esp + 0x20], 0x58
mov byte [esp + 0x22], 0xaf
mov byte [esp + 0x23], 0x6e
mov byte [esp + 0x24], dl
mov byte [esp + 0x25], 0xc1
mov byte [esp + 0x26], 0x92
mov byte [esp + 0x27], 0x3d
mov byte [esp + 0x28], dl
mov byte [esp + 0x29], 0x56
mov byte [esp + 0x2a], 0xa8
mov byte [esp + 0x2b], 0x81
mov byte [esp + 0x2c], 0x48
mov byte [esp + 0x2d], 0x2e
mov byte [esp + 0x2e], 0x89
mov byte [esp + 0x2f], 0x7c
mov byte [esp + 0x30], 4
mov byte [esp + 0x31], 0x36
mov byte [esp + 0x32], 0x53
mov byte [esp + 0x33], 0xe3
mov byte [esp + 0x34], 0x64
mov byte [esp + 0x35], 0x79
mov byte [esp + 0x37], 0x34
mov byte [esp + 0x38], 0x7d
mov byte [esp + 0x39], 0xe8
mov byte [esp + 0x3a], 0xb0
mov byte [esp + 0x3b], 0xae
mov byte [esp + 0x3c], 0xd7
mov byte [esp + 0x3d], 0x3c
mov byte [esp + 0x3e], 0xc5
mov byte [esp + 0x3f], 0xeb
mov byte [esp + 0x40], 0x7a
mov byte [esp + 0x41], 0x25
mov byte [esp + 0x42], 0x2d
mov byte [esp + 0x44], 0xb8
mov byte [esp + 0x45], 0xe4
mov byte [esp + 0x46], 0xf4
mov byte [esp + 0x48], 0xcd
mov byte [esp + 0x49], 0x95
mov byte [esp + 0x4a], 0xb
mov byte [esp + 0x4b], 0xdd
mov byte [esp + 0x4c], 0x4f
mov byte [esp + 0x4d], 0xa
mov byte [esp + 0x4e], 0x9f
mov byte [esp + 0x4f], 0x27
mov byte [esp + 0x50], 0x19
mov byte [esp + 0x51], cl
mov byte [esp + 0x52], 0xf6
mov byte [esp + 0x53], 0x52
mov byte [esp + 0x55], al
mov byte [esp + 0x56], 1
mov byte [esp + 0x57], 0x2c
mov byte [esp + 0x58], 0xf6
mov byte [esp + 0x59], 0xae
mov byte [esp + 0x5a], 0x9a
mov byte [esp + 0x75], dl
lea edx, [esp + 0x10]
push 0x88
push edx
push 3
push ebx
mov byte [esp + 0x6b], 0xd3
mov byte [esp + 0x6c], 0x7f
mov byte [esp + 0x6d], 0xbf
mov byte [esp + 0x6e], 0x6a
mov byte [esp + 0x6f], 0x22
mov byte [esp + 0x70], 0x91
mov byte [esp + 0x71], 0x6b
mov byte [esp + 0x72], 0xf3
mov byte [esp + 0x73], 0xdb
mov byte [esp + 0x74], 0x93
mov byte [esp + 0x75], 0xd
mov byte [esp + 0x76], 0x1c
mov byte [esp + 0x77], 0xd2
mov byte [esp + 0x78], bl
mov byte [esp + 0x79], cl
mov byte [esp + 0x7a], 0xb8
mov byte [esp + 0x7b], 0x14
mov byte [esp + 0x7c], 0x1c
mov byte [esp + 0x7d], 0x3e
mov byte [esp + 0x7e], 0x9e
mov byte [esp + 0x7f], 0x94
mov byte [esp + 0x80], 0x7b
mov byte [esp + 0x81], 0xa9
mov byte [esp + 0x82], 0x8e
mov byte [esp + 0x83], 0xc6
mov byte [esp + 0x84], 0x84
mov byte [esp + 0x86], 0x2b
mov byte [esp + 0x87], 0xfa
mov byte [esp + 0x88], cl
mov byte [esp + 0x89], 0x95
mov byte [esp + 0x8a], bl
mov byte [esp + 0x8b], 0xa5
mov byte [esp + 0x8c], 0x95
mov byte [esp + 0x8d], 0xb2
mov byte [esp + 0x8e], 0x65
mov byte [esp + 0x8f], 0x8c
mov byte [esp + 0x90], 0x31
mov byte [esp + 0x91], 0x19
mov byte [esp + 0x92], al
mov byte [esp + 0x93], bl
mov byte [esp + 0x94], 0xcd
mov byte [esp + 0x95], 0x5b
mov byte [esp + 0x96], 0x4e
mov byte [esp + 0x97], 0x92
mov byte [esp + 0x98], 0x68
mov byte [esp + 0x99], 0xe4
mov byte [esp + 0x9a], 0x42
mov byte [esp + 0x9b], 0x66
mov byte [esp + 0x9c], 0x17
mov byte [esp + 0x9d], cl
mov byte [esp + 0x9e], 0xd4
mov byte [esp + 0x9f], 0x93
mov byte [esp + 0xa0], bl
mov byte [esp + 0xa1], bl
mov byte [esp + 0xa2], bl
mov byte [esp + 0xa3], bl
mov byte [esp + 0xa4], bl
mov byte [esp + 0xa5], bl
mov byte [esp + 0xa6], bl
mov byte [esp + 0xa7], bl
push 0x5f231c
jmp 0x558188
cmp eax, 0x17110
jne 0x5581a1
cmp dword [0x894054], ebx
je 0x557e63
push 0x5f2300
call fcn.00559f50
mov ecx, dword [0x894054]
add esp, 4
add ecx, 0x20
push eax
push ecx
call fcn.00555120
add esp, 8
mov dl, 7
mov al, 0x77
mov byte [esp + 0x23], dl
mov byte [esp + 0x38], dl
mov byte [esp + 0x3f], dl
mov cl, 0xf0
mov dl, 0x49
mov byte [esp + 0x10], 0x5f
mov byte [esp + 0x11], 0x71
mov byte [esp + 0x12], 0x69
mov byte [esp + 0x13], 0x53
mov byte [esp + 0x14], 0x8a
mov byte [esp + 0x15], 0x8e
mov byte [esp + 0x16], 0x54
mov byte [esp + 0x17], 0xac
mov byte [esp + 0x18], 9
mov byte [esp + 0x19], 0x3f
mov byte [esp + 0x1a], 0x65
mov byte [esp + 0x1b], 0x5a
mov byte [esp + 0x1c], 0x26
mov byte [esp + 0x1d], 0x8d
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], 0x15
mov byte [esp + 0x20], 0x9e
mov byte [esp + 0x21], 0x68
mov byte [esp + 0x22], 0xbb
mov byte [esp + 0x24], 0xed
mov byte [esp + 0x25], 0x8f
mov byte [esp + 0x26], cl
mov byte [esp + 0x27], 0xb7
mov byte [esp + 0x28], 0xf1
mov byte [esp + 0x29], 0x99
mov byte [esp + 0x2a], 5
mov byte [esp + 0x2b], 0x15
mov byte [esp + 0x2c], 0x80
mov byte [esp + 0x2d], 0x64
mov byte [esp + 0x2e], 0xa8
mov byte [esp + 0x2f], 0xd8
mov byte [esp + 0x30], 0x87
mov byte [esp + 0x31], 0xc3
mov byte [esp + 0x32], 0x58
mov byte [esp + 0x33], 0xa9
mov byte [esp + 0x34], 0xce
mov byte [esp + 0x35], 0x26
mov byte [esp + 0x36], 0xfe
mov byte [esp + 0x37], 0xb3
mov byte [esp + 0x39], 0xd7
mov byte [esp + 0x3a], 0xa3
mov byte [esp + 0x3b], 0x81
mov byte [esp + 0x3c], 0xbe
mov byte [esp + 0x3d], 0xb8
mov byte [esp + 0x3e], 0x6e
mov byte [esp + 0x40], 0x15
mov byte [esp + 0x41], 0x68
mov byte [esp + 0x42], 0x44
mov byte [esp + 0x43], 0x17
mov byte [esp + 0x44], 0xbe
mov byte [esp + 0x45], 0x81
mov byte [esp + 0x46], 0x80
mov byte [esp + 0x47], 0x75
mov byte [esp + 0x48], 0xa1
mov byte [esp + 0x49], 0xdb
mov byte [esp + 0x4a], 0xab
mov byte [esp + 0x4b], 0x21
mov byte [esp + 0x4c], 0xd1
mov byte [esp + 0x4d], 0x1f
mov byte [esp + 0x4e], 0xbc
mov byte [esp + 0x4f], 0x9c
mov byte [esp + 0x50], 0x1d
mov byte [esp + 0x51], dl
mov byte [esp + 0x52], cl
mov byte [esp + 0x53], 0xe5
mov byte [esp + 0x54], 0xdd
mov byte [esp + 0x55], dl
mov byte [esp + 0x56], 0x7f
mov byte [esp + 0x57], 0xb5
mov byte [esp + 0x58], 0xe4
mov byte [esp + 0x59], 9
mov byte [esp + 0x5a], cl
mov byte [esp + 0x5b], 0x39
mov byte [esp + 0x5c], 0x94
mov dl, 0x20
mov cl, 0x2a
mov byte [esp + 0x6a], dl
mov byte [esp + 0x8c], dl
lea edx, [esp + 0x10]
push 0x88
mov byte [esp + 0x61], cl
mov byte [esp + 0x7a], cl
push edx
mov cl, 0xa0
push 3
push ebx
mov byte [esp + 0x6e], 0x6b
mov byte [esp + 0x6f], 0x83
mov byte [esp + 0x70], 0xf
mov byte [esp + 0x71], 0xdb
mov byte [esp + 0x72], 0x56
mov byte [esp + 0x73], 0xe
mov byte [esp + 0x74], 0xa3
mov byte [esp + 0x75], 0x61
mov byte [esp + 0x76], 0x9f
mov byte [esp + 0x77], 0x12
mov byte [esp + 0x78], 0xd4
mov byte [esp + 0x79], 0xd7
mov byte [esp + 0x7b], 0x90
mov byte [esp + 0x7c], 0x54
mov byte [esp + 0x7d], 0x9b
mov byte [esp + 0x7e], 0xc6
mov byte [esp + 0x7f], 0x99
mov byte [esp + 0x80], 0xc
mov byte [esp + 0x81], 0x44
mov byte [esp + 0x82], 3
mov byte [esp + 0x83], 0xd5
mov byte [esp + 0x84], 0x1b
mov byte [esp + 0x85], 0x9a
mov byte [esp + 0x87], cl
mov byte [esp + 0x88], 0xa2
mov byte [esp + 0x89], 0x8c
mov byte [esp + 0x8a], 0x1c
mov byte [esp + 0x8b], 0xf6
mov byte [esp + 0x8c], 0x68
mov byte [esp + 0x8d], 0xa5
mov byte [esp + 0x8e], 0x57
mov byte [esp + 0x8f], 0x2e
mov byte [esp + 0x90], 0x11
mov byte [esp + 0x91], 0x40
mov byte [esp + 0x92], 0xa5
mov byte [esp + 0x93], 0x8f
mov byte [esp + 0x94], al
mov byte [esp + 0x95], 0x71
mov byte [esp + 0x96], 0xec
mov byte [esp + 0x97], 0x6a
mov byte [esp + 0x98], 0x69
mov byte [esp + 0x99], cl
mov byte [esp + 0x9a], 0xcb
mov byte [esp + 0x9b], 0x1e
mov byte [esp + 0x9d], 0x8e
mov byte [esp + 0x9e], 0xe0
mov byte [esp + 0x9f], 5
mov byte [esp + 0xa0], bl
mov byte [esp + 0xa1], bl
mov byte [esp + 0xa2], bl
mov byte [esp + 0xa3], bl
mov byte [esp + 0xa4], bl
mov byte [esp + 0xa5], bl
mov byte [esp + 0xa6], bl
mov byte [esp + 0xa7], bl
push 0x5f22f0
call fcn.00559f50
add esp, 4
push eax
mov eax, dword [esp + 0xac]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov bl, 1
mov ecx, dword [esp + 0x98]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
add esp, 0x2b0
ret