Function at 0x42ffa0
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value
Resolve function by parsing pe exports
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4779c3
mov eax, dword fs:[0]
push eax
mov eax, 0x205c
call fcn.00472040
mov eax, dword [0x49ef38]
xor eax, esp
mov dword [esp + 0x2058], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49ef38]
xor eax, esp
push eax
lea eax, [esp + 0x2070]
mov dword fs:[0], eax
mov eax, dword [0x49f4e4]
mov edx, dword [eax + 0xc]
mov ecx, 0x49f4e4
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x28], ebp
mov eax, dword [0x49f4e4]
mov edx, dword [eax + 0xc]
xor ebx, ebx
mov ecx, 0x49f4e4
mov dword [esp + 0x2078], ebx
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2080]
push eax
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x2080], 1
mov dword [esp + 0x40], 0x4213d0
mov dword [esp + 0x44], 0x4214b0
mov dword [esp + 0x48], 0x421540
call fcn.004275c0
add esp, 8
mov esi, dword [esp + 0x34]
mov byte [esp + 0x2078], 2
cmp esi, ebx
je 0x430676
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
push 0x1388
push esi
call eax
cmp eax, ebx
jge 0x4300d6
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
mov byte [esp + 0x207c], 1
call edx
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x2078], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4300a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x2078], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4300cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x8007006c
jmp 0x43064e
push 0x16
push str.ATSYNCMLMOBEXSTART_r_n
lea ecx, [esp + 0x30]
call fcn.00402bd0
mov ebp, dword [esp + 0x28]
mov eax, dword [ebp - 0xc]
push 0x1388
push eax
push ebp
push esi
call fcn.00421260
push 3
lea ecx, [esp + 0x3c]
push ecx
push 0xea60
lea edx, [esp + 0x2c]
push edx
push 0x2000
lea eax, [esp + 0x80]
push eax
push esi
call fcn.00421310
mov edi, eax
add esp, 0x1c
cmp edi, ebx
jne 0x4304d8
lea edx, [esp + 0x2c]
mov byte [esp + 0x38], 0x80
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], 0xf
mov byte [esp + 0x3b], 0x11
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], 0x20
mov byte [esp + 0x3e], bl
mov byte [esp + 0x3f], 0x46
mov byte [esp + 0x40], bl
mov byte [esp + 0x41], 8
mov byte [esp + 0x42], 0x4d
mov byte [esp + 0x43], 0x4f
mov byte [esp + 0x44], 0x42
mov byte [esp + 0x45], 0x45
mov byte [esp + 0x46], 0x58
mov ecx, dword [esi]
mov eax, dword [ecx + 0x44]
push edx
push esi
call eax
cmp dword [esp + 0x2c], 0x10
jne 0x430223
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x18]
push edx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SoftwareSamsungKiesConnectWiFi
push SysReAllocStringLen
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x430223
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebx
push ebx
push 0x483f14
push edx
mov dword [esp + 0x3c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4301ec
mov eax, dword [esp + 0x18]
mov ecx, eax
shr ecx, 8
mov byte [esp + 0x3d], cl
jmp 0x430214
mov eax, dword [esp + 0x14]
push 4
lea edx, [esp + 0x1c]
push edx
push 4
push ebx
push 0x483f14
push eax
mov dword [esp + 0x30], 0xffff
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov al, 0xff
mov byte [esp + 0x3d], al
mov ecx, dword [esp + 0x14]
push ecx
mov byte [esp + 0x42], al
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x1388
push 0xf
lea edx, [esp + 0x40]
push edx
push esi
call fcn.00421260
push ebx
push ebx
push 0x1388
lea eax, [esp + 0x2c]
push eax
push 0x14
lea ecx, [esp + 0x80]
push ecx
push esi
call fcn.00421310
add esp, 0x1c
cmp eax, ebx
jne 0x4303ee
movzx dx, byte [esp + 0x71]
movzx ax, byte [esp + 0x72]
shl dx, 8
or dx, ax
movzx edi, dx
mov edx, dword [0x49f4e4]
mov eax, dword [edx + 0xc]
mov ecx, 0x49f4e4
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
movzx edi, di
push edi
lea ecx, [esp + 0x1c]
push 0x482a00
push ecx
mov byte [esp + 0x2084], 3
call fcn.00402eb0
push edi
mov edi, dword [esp + 0x28]
push edi
push str.MTU_s__x_
call fcn.004031a0
add esp, 0x18
push edi
lea ecx, [esp + 0x18]
call fcn.00406780
mov edi, eax
push str.TXMTU
lea ecx, [esp + 0x28]
mov byte [esp + 0x207c], 4
call fcn.004066f0
mov ecx, dword [edi]
mov byte [esp + 0x2078], 5
cmp ecx, ebx
je 0x4302eb
mov ecx, dword [ecx]
jmp 0x4302ed
xor ecx, ecx
mov eax, dword [eax]
cmp eax, ebx
je 0x4302f7
mov eax, dword [eax]
jmp 0x4302f9
xor eax, eax
mov edx, dword [esi]
push ecx
push eax
mov eax, dword [edx + 0x6c]
push esi
call eax
lea ecx, [esp + 0x24]
call fcn.00407910
lea ecx, [esp + 0x14]
call fcn.00407910
cmp dword [esp + 0x20], 0xc
jb 0x4303dd
cmp byte [esp + 0x73], 0xcb
jne 0x4303dd
movzx edi, byte [esp + 0x74]
movzx ecx, byte [esp + 0x75]
movzx edx, byte [esp + 0x76]
movzx eax, byte [esp + 0x77]
shl edi, 8
add edi, ecx
shl edi, 8
add edi, edx
shl edi, 8
lea ecx, [esp + 0x14]
add edi, eax
call fcn.00402420
push edi
lea ecx, [esp + 0x18]
push 0x482a00
push ecx
mov byte [esp + 0x2084], 6
call fcn.00402eb0
mov edx, dword [esp + 0x20]
add esp, 0xc
push edx
lea ecx, [esp + 0x34]
call fcn.00406780
mov edi, eax
push str.OBEXCID
lea ecx, [esp + 0x28]
mov byte [esp + 0x207c], 7
call fcn.004066f0
mov ecx, dword [edi]
mov byte [esp + 0x2078], 8
cmp ecx, ebx
je 0x4303aa
mov ecx, dword [ecx]
jmp 0x4303ac
xor ecx, ecx
mov eax, dword [eax]
cmp eax, ebx
je 0x4303b6
mov eax, dword [eax]
jmp 0x4303b8
xor eax, eax
mov edx, dword [esi]
push ecx
push eax
mov eax, dword [edx + 0x6c]
push esi
call eax
lea ecx, [esp + 0x24]
call fcn.00407910
lea ecx, [esp + 0x30]
call fcn.00407910
lea ecx, [esp + 0x14]
call fcn.00401e10
lea ecx, [esp + 0x18]
mov byte [esp + 0x2078], 2
call fcn.00401e10
cmp dword [esp + 0x2c], 0x10
je 0x4304d1
mov cl, 0x63
push 0x1388
mov byte [esp + 0x5e], cl
mov byte [esp + 0x63], cl
mov byte [esp + 0x6b], cl
push 0x23
lea ecx, [esp + 0x50]
mov dl, 0x65
mov al, 0x6e
push ecx
push esi
mov byte [esp + 0x58], 0x82
mov byte [esp + 0x59], bl
mov byte [esp + 0x5a], 0x23
mov byte [esp + 0x5b], 0xcb
mov byte [esp + 0x5c], bl
mov byte [esp + 0x5d], bl
mov byte [esp + 0x5e], bl
mov byte [esp + 0x5f], 1
mov byte [esp + 0x60], 0x42
mov byte [esp + 0x61], bl
mov byte [esp + 0x62], 0x1b
mov byte [esp + 0x63], 0x6d
mov byte [esp + 0x64], 0x2d
mov byte [esp + 0x65], 0x6f
mov byte [esp + 0x66], 0x62
mov byte [esp + 0x67], dl
mov byte [esp + 0x68], 0x78
mov byte [esp + 0x69], 0x2f
mov byte [esp + 0x6b], 0x6f
mov byte [esp + 0x6c], al
mov byte [esp + 0x6d], al
mov byte [esp + 0x6e], dl
mov byte [esp + 0x70], 0x74
mov byte [esp + 0x71], 0x69
mov byte [esp + 0x72], 0x6f
mov byte [esp + 0x73], al
mov byte [esp + 0x74], 0x5f
mov byte [esp + 0x75], 0x70
mov byte [esp + 0x76], 0x61
mov byte [esp + 0x78], 0x6b
mov byte [esp + 0x79], dl
mov byte [esp + 0x7a], 0x74
call fcn.00421260
push ebx
push ebx
push 0x1388
lea edx, [esp + 0x2c]
push edx
push 3
lea eax, [esp + 0x80]
push eax
push esi
call fcn.00421310
add esp, 0x1c
xor edi, edi
jmp 0x4305d2
cmp edi, 1
jne 0x43057f
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x6c]
push str.ERROR:
push edx
mov byte [esp + ecx + 0x74], bl
call dword [sym.imp.MSVCR90.dll_strstr]
add esp, 8
push eax
lea ecx, [esp + 0x20]
call fcn.00403340
push str.CME_ERROR:_r_n
push str.CME_ERROR:_r_n
lea ecx, [esp + 0x24]
call fcn.004283c0
mov ecx, eax
call fcn.00426430
mov eax, dword [esp + 0x1c]
push eax
call fcn.00427430
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.MSVCR90.dll_atoi]
mov edx, dword [esi]
add esp, 8
mov edi, eax
mov eax, dword [edx + 0x34]
push esi
call eax
push edi
call fcn.00421f90
add esp, 4
cmp eax, ebx
je 0x430556
or eax, 0x80040000
mov ebx, eax
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
mov byte [esp + 0x207c], 1
call edx
lea ecx, [esp + 0x1c]
call fcn.00401e10
lea ecx, [esp + 0x28]
call fcn.00401e10
mov eax, ebx
jmp 0x43064e
cmp edi, 2
jne 0x4305d2
push 0x483ed4
lea ecx, [esp + 0x2c]
call fcn.00403340
mov ebp, dword [esp + 0x28]
mov eax, dword [ebp - 0xc]
push 0x1388
push eax
push ebp
push esi
call fcn.00421260
push 3
lea eax, [esp + 0x3c]
push eax
push 0x1388
lea ecx, [esp + 0x2c]
push ecx
push 0x2000
lea edx, [esp + 0x80]
push edx
push esi
call fcn.00421310
add esp, 0x1c
mov edi, 0x667
mov eax, dword [esi]
mov ecx, dword [eax + 0x34]
push esi
call ecx
cmp edi, ebx
jle 0x4305ea
and edi, 0xffff
or edi, 0x80070000
mov byte [esp + 0x2078], 1
cmp esi, ebx
je 0x4305fe
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x2078], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430625
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x2078], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43064c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x2070]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2058]
xor ecx, esp
call fcn.00471f66
add esp, 0x2068
ret
mov edi, 0x37
jmp 0x4305de