Function at 0x4329e0
Capabilities:
Access peb ldr_data
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x477ea3
mov eax, dword fs:[0]
push eax
mov eax, 0x1040
call fcn.00472150
mov eax, dword [0x49eef8]
xor eax, esp
mov dword [esp + 0x103c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49eef8]
xor eax, esp
push eax
lea eax, [esp + 0x1054]
mov dword fs:[0], eax
xor ebx, ebx
push 0x1000
lea eax, [esp + 0x54]
push ebx
push eax
mov edi, ecx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 0x1000
call sub.MSVCR90.dll_memset
mov edx, dword [0x49f474]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x49f474
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x4c], ebp
push str.SYSTEMCurrentControlSetServicesModemEnum
lea ecx, [esp + 0x40]
mov dword [esp + 0x1060], ebx
call fcn.004062a0
push str.ModemName
mov byte [esp + 0x1060], 1
mov dword [esp + 0x30], ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [esp + 0x48], esi
cmp esi, ebx
jne 0x432a9d
push 0x8007000e
call fcn.00401120
mov eax, dword [esp + 0x1064]
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x4c]
lea edx, [esp + 0x2c]
push edx
push esi
push eax
push edi
mov byte [esp + 0x106c], 2
call ecx
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0x1060], 1
call esi
mov edx, dword [esp + 0x2c]
push edx
lea ecx, [esp + 0x48]
call fcn.004062a0
mov eax, dword [esp + 0x2c]
push eax
mov byte [esp + 0x1060], 3
call esi
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x34]
push ecx
push 0x20019
push ebx
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x432e5a
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x1c]
push edx
push ebx
push 0x48447c
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x432e4b
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x3c]
call fcn.004062a0
mov eax, dword [esp + 0x38]
cmp dword [eax - 0xc], ebx
mov byte [esp + 0x105c], 4
jge 0x432b5d
push 0x80070057
call fcn.00401120
mov edx, dword [0x49f474]
movzx ebx, word [eax]
mov eax, dword [edx + 0xc]
mov ecx, 0x49f474
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
movsx ecx, bl
push ecx
lea edx, [esp + 0x28]
push 0x482c88
push edx
mov byte [esp + 0x1068], 5
call fcn.00402e10
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.MSVCR90.dll__wtoi]
xor esi, esi
add esp, 0x10
xor edi, edi
cmp eax, esi
mov dword [esp + 0x48], eax
jle 0x432df9
mov ebx, 0x1000
push ebx
lea ecx, [esp + 0x54]
push esi
push ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ebx
call sub.MSVCR90.dll_memset
mov edx, dword [0x49f474]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x49f474
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
push edi
lea ecx, [esp + 0x24]
push 0x482c88
push ecx
mov byte [esp + 0x1068], 6
call fcn.00402e10
add esp, 0xc
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x54]
push eax
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x1c]
push ecx
push esi
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
jne 0x432d92
lea eax, [esp + 0x50]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x432c30
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x54]
call fcn.00402840
mov ebp, dword [esp + 0x4c]
cmp dword [ebp - 0xc], esi
jl 0x432d92
push str.VID_04E8
push ebp
call dword [sym.imp.MSVCR90.dll_wcsstr]
add esp, 8
cmp eax, esi
je 0x432d92
sub eax, ebp
sar eax, 1
cmp eax, 0xffffffff
jle 0x432d92
cmp dword [ebp - 0xc], esi
jl 0x432d92
push str.PID_6651
push ebp
call dword [sym.imp.MSVCR90.dll_wcsstr]
add esp, 8
cmp eax, esi
je 0x432d92
sub eax, ebp
sar eax, 1
cmp eax, 0xffffffff
jle 0x432d92
push str.SYSTEMCurrentControlSetEnum_
lea ecx, [esp + 0x20]
call fcn.004062a0
mov eax, dword [ebp - 0xc]
push eax
push ebp
lea ecx, [esp + 0x24]
mov byte [esp + 0x1064], 7
call fcn.00404470
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x30]
push edx
push 0x20019
push esi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x432d6a
push ebx
lea ecx, [esp + 0x54]
push esi
push ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ebx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x1c]
push ecx
push esi
push str.FriendlyName
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
jne 0x432d5b
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x2c]
call fcn.004062a0
mov ecx, dword [esp + 0x44]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1060], 8
call fcn.00404030
test eax, eax
je 0x432dc7
lea ecx, [esp + 0x28]
call fcn.00401e00
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x432d6a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x105c], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x432d92
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x105c], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432dba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc edi
cmp edi, dword [esp + 0x48]
jl 0x432bb0
jmp 0x432df9
mov eax, dword [esp + 0x30]
mov dword [esp + 0x40], 1
cmp eax, esi
je 0x432dde
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x28]
call fcn.00401e00
lea ecx, [esp + 0x1c]
call fcn.00401e00
lea ecx, [esp + 0x20]
call fcn.00401e00
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x105c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432e21
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x105c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432e49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x432e5a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x105c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432e82
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x105c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432eaa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebp, 0xfffffff0
mov dword [esp + 0x105c], 0xffffffff
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432ed2
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x1054]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x103c]
xor ecx, esp
call fcn.00472076
add esp, 0x104c
ret 4