Function at 0x4a2150
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x48c
mov ebx, eax
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x80]
mov dword [esp + 0x24], edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x64], 1
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x70], 0xffffffff
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x54], ebx
mov eax, str.__list_components
test edx, edx
jne 0x4a21c2
mov eax, str.__list_dirs
mov dword [esp + 0x58], eax
lea eax, [esp + 0x40]
mov dword [esp + 4], 1
mov dword [esp], eax
mov dword [esp + 0x5c], 0
call fcn.004a82a0
test eax, eax
jns 0x4a21f1
add esp, 0x48c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], 0
mov dword [esp + 0x60], eax
lea eax, [esp + 0x60]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004a8cb0
mov dword [esp + 0x28], 0
test eax, eax
js 0x4a2580
mov edi, dword [esp + 0x28]
mov eax, 0x3ff
sub eax, edi
mov dword [esp + 8], eax
lea eax, [esp + 0x80]
add eax, edi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.004a7b70
test eax, eax
jle 0x4a2405
add edi, eax
xor esi, esi
mov dword [esp + 0x28], edi
lea ebp, [esp + 0x80]
mov byte [esp + edi + 0x80], 0
mov dword [esp + 4], 0xa
mov dword [esp], ebp
call sub.msvcrt.dll_strchr
mov ebx, eax
test eax, eax
je 0x4a23c0
cmp ebp, ebx
jae 0x4a22b0
cmp byte [ebx - 1], 0xd
je 0x4a2420
mov byte [ebx], 0
mov dword [esp + 4], 0x3a
mov dword [esp], ebp
call sub.msvcrt.dll_strchr
test eax, eax
je 0x4a23b5
lea esi, [eax + 1]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x3c], esi
mov byte [eax], 0
test edi, edi
je 0x4a22ff
mov dword [esp + 4], 0x3a
mov dword [esp], esi
call sub.msvcrt.dll_strchr
test eax, eax
je 0x4a23b5
lea esi, [eax + 1]
mov byte [eax], 0
mov dword [esp + 0x3c], esi
mov dword [esp + 4], 0x3a
mov dword [esp], esi
call sub.msvcrt.dll_strchr
test eax, eax
je 0x4a231a
mov byte [eax], 0
mov esi, dword [esp + 0x3c]
mov dword [esp], esi
call sub.msvcrt.dll_strlen
mov dword [esp + 0xc], 0
inc eax
mov dword [esp], esi
mov dword [esp + 8], eax
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.004aa570
test eax, eax
jne 0x4a23b5
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
cmp byte [eax], 0
je 0x4a23b5
mov esi, dword [esp + 0x24]
test esi, esi
je 0x4a2430
mov edi, 0x7151de
mov ecx, 4
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x4a237a
mov ecx, dword [0x7b5a18]
test ecx, ecx
je 0x4a2712
mov edi, str.gpgsm
mov ecx, 6
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x4a2398
mov edx, dword [0x7b5a1c]
test edx, edx
je 0x4a25c9
mov edi, 0x7151e8
mov ecx, 4
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x4a23b5
mov eax, dword [0x7b5a20]
test eax, eax
je 0x4a259d
lea ebp, [ebx + 1]
mov esi, ebx
jmp 0x4a2288
mov edx, dword [esp + 0x28]
test esi, esi
mov ebx, edx
je 0x4a2570
inc esi
lea ecx, [esp + 0x80]
mov eax, esi
sub eax, ecx
sub edx, eax
mov ebx, edx
mov dword [esp + 0x28], edx
lea eax, [esp + 0x80]
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.msvcrt.dll_memmove
cmp ebx, 0x3fe
jbe 0x4a2241
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.004a8640
add esp, 0x48c
pop ebx
pop esi
pop edi
pop ebp
ret
mov byte [ebx - 1], 0
jmp 0x4a22b3
mov edi, str.homedir
mov ecx, 8
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x4a244d
mov eax, dword [0x7b59e8]
test eax, eax
je 0x4a26fc
mov edi, str.sysconfdir
mov ecx, 0xb
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x4a246a
mov eax, dword [0x7b59ec]
test eax, eax
je 0x4a25b3
mov edi, str.bindir
mov ecx, 7
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x4a2487
mov eax, dword [0x7b59f0]
test eax, eax
je 0x4a25df
mov edi, str.libexecdir
mov ecx, 0xb
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x4a24a4
mov eax, dword [0x7b59f4]
test eax, eax
je 0x4a25f5
mov edi, str.libdir
mov ecx, 7
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x4a24c1
mov eax, dword [0x7b59f8]
test eax, eax
je 0x4a260b
mov edi, str.datadir
mov ecx, 8
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x4a24df
mov edi, dword [0x7b59fc]
test edi, edi
je 0x4a2621
mov edi, str.localedir
mov ecx, 0xa
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x4a24fd
mov esi, dword [0x7b5a00]
test esi, esi
je 0x4a2637
mov edi, str.agent_socket
mov ecx, 0xd
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x4a251b
mov ecx, dword [0x7b5a04]
test ecx, ecx
je 0x4a264d
mov edi, str.dirmngr_socket
mov ecx, 0xf
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x4a2539
mov edx, dword [0x7b5a0c]
test edx, edx
je 0x4a26e6
mov edi, str.agent_ssh_socket
mov ecx, 0x11
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x4a23b5
mov eax, dword [0x7b5a08]
test eax, eax
jne 0x4a23b5
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sub.msvcrt.dll__strdup
mov dword [0x7b5a08], eax
jmp 0x4a23b5
lea esi, [esp + 0x80]
jmp 0x4a23e2
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.004a8640
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.004a8640
jmp 0x4a21e6
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sub.msvcrt.dll__strdup
mov dword [0x7b5a20], eax
jmp 0x4a23b5
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sub.msvcrt.dll__strdup
mov dword [0x7b59ec], eax
jmp 0x4a23b5
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sub.msvcrt.dll__strdup
mov dword [0x7b5a1c], eax
jmp 0x4a23b5
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sub.msvcrt.dll__strdup
mov dword [0x7b59f0], eax
jmp 0x4a23b5
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sub.msvcrt.dll__strdup
mov dword [0x7b59f4], eax
jmp 0x4a23b5
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sub.msvcrt.dll__strdup
mov dword [0x7b59f8], eax
jmp 0x4a23b5
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sub.msvcrt.dll__strdup
mov dword [0x7b59fc], eax
jmp 0x4a23b5
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sub.msvcrt.dll__strdup
mov dword [0x7b5a00], eax
jmp 0x4a23b5
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x49], 0x69752e53
mov dword [esp], eax
mov dword [esp + 0x4d], 0x76726573
mov word [esp + 0x51], 0x7265
mov byte [esp + 0x53], 0
call sub.msvcrt.dll__strdup
mov edi, eax
mov dword [0x7b5a04], eax
test eax, eax
je 0x4a23b5
xor esi, esi
cmp byte [eax], 0
je 0x4a2694
call fcn.004a20f0
sub eax, edi
mov esi, eax
lea eax, [esi + 0xb]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov ebp, eax
test eax, eax
je 0x4a23b5
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.msvcrt.dll_strncpy
mov eax, dword [esp + 0x49]
mov dword [ebp + esi], eax
mov eax, dword [esp + 0x4d]
mov dword [ebp + esi + 4], eax
mov ax, word [esp + 0x51]
mov word [ebp + esi + 8], ax
mov al, byte [esp + 0x53]
mov byte [ebp + esi + 0xa], al
mov dword [0x7b5a10], ebp
jmp 0x4a23b5
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sub.msvcrt.dll__strdup
mov dword [0x7b5a0c], eax
jmp 0x4a23b5
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sub.msvcrt.dll__strdup
mov dword [0x7b59e8], eax
jmp 0x4a23b5
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sub.msvcrt.dll__strdup
mov dword [0x7b5a18], eax
jmp 0x4a23b5