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

Disassembly:
push 0xffffffffffffffff
push 0x4790b4
mov eax, dword fs:[0]
push eax
mov eax, 0x2090
call fcn.004748a0
mov eax, dword [0x4a4eb0]
xor eax, esp
mov dword [esp + 0x208c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4eb0]
xor eax, esp
push eax
lea eax, [esp + 0x20a4]
mov dword fs:[0], eax
mov eax, dword [0x4a540c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a540c
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x20], ebp
mov eax, dword [0x4a540c]
mov edx, dword [eax + 0xc]
xor ebx, ebx
mov ecx, 0x4a540c
mov dword [esp + 0x20ac], ebx
call edx
add eax, 0x10
mov dword [esp + 0x24], eax
mov edi, dword [esp + 0x20b4]
lea eax, [esp + 0x38]
push edi
push eax
mov byte [esp + 0x20b4], 1
mov dword [esp + 0x44], 0x424600
mov dword [esp + 0x48], 0x4246e0
mov dword [esp + 0x4c], 0x424770
call fcn.0042a200
add esp, 8
mov esi, dword [esp + 0x38]
mov byte [esp + 0x20ac], 2
cmp esi, ebx
je 0x431c50
mov ecx, dword [esi]
mov edx, dword [ecx + 0x30]
push 0x2710
push esi
call edx
cmp eax, ebx
jge 0x431406
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
mov byte [esp + 0x20b0], 1
call ecx
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x20ac], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4313d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x20ac], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4313fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x8007006c
jmp 0x431c28
push 0x47fd68
lea ecx, [esp + 0x30]
call fcn.004062c0
lea ecx, [esp + 0x2c]
push ecx
push str.S2Exception
push edi
mov byte [esp + 0x20b8], 3
call fcn.0040dd70
lea edx, [esp + 0x38]
push str.true
push edx
call fcn.004040c0
add esp, 0x14
test al, al
je 0x431499
push str.S2Exception
push edi
call fcn.0040dca0
add esp, 8
push str.ATPROF__r_n
lea ecx, [esp + 0x24]
call fcn.004032e0
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 0xc]
push 0x2710
push ecx
push eax
push esi
call fcn.00424490
push 3
lea eax, [esp + 0x40]
push eax
push 0x2710
lea ecx, [esp + 0x34]
push ecx
push 0x2000
lea edx, [esp + 0xb4]
push edx
push esi
call fcn.00424540
add esp, 0x1c
push 0x16
push str.ATSYNCMLMOBEXSTART_r_n
lea ecx, [esp + 0x28]
call fcn.00402b70
mov ebp, dword [esp + 0x20]
mov eax, dword [ebp - 0xc]
push 0x2710
push eax
push ebp
push esi
call fcn.00424490
push 3
lea eax, [esp + 0x40]
push eax
push 0xea60
lea ecx, [esp + 0x34]
push ecx
push 0x2000
lea edx, [esp + 0xb4]
push edx
push esi
call fcn.00424540
mov edi, eax
add esp, 0x1c
cmp edi, ebx
jne 0x431a0c
lea ecx, [esp + 0x34]
mov byte [esp + 0x3c], 0x80
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], 0xf
mov byte [esp + 0x3f], 0x11
mov byte [esp + 0x40], bl
mov byte [esp + 0x41], 0x20
mov byte [esp + 0x42], bl
mov byte [esp + 0x43], 0x46
mov byte [esp + 0x44], bl
mov byte [esp + 0x45], 8
mov byte [esp + 0x46], 0x4d
mov byte [esp + 0x47], 0x4f
mov byte [esp + 0x48], 0x42
mov byte [esp + 0x49], 0x45
mov byte [esp + 0x4a], 0x58
mov eax, dword [esi]
mov edx, dword [eax + 0x44]
push ecx
push esi
call edx
cmp dword [esp + 0x34], 0xe
jne 0x4315e6
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SoftwareSamsungKiesConnectWiFi
push 0x80000001
mov dword [esp + 0x3c], ebx
call dword [0x47f00c]
test eax, eax
jne 0x4315e6
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
push ebx
push ebx
push 0x4863f0
push ecx
mov dword [esp + 0x34], 4
call dword [0x47f010]
test eax, eax
jne 0x4315af
mov eax, dword [esp + 0x18]
mov edx, eax
shr edx, 8
mov byte [esp + 0x41], dl
jmp 0x4315d7
mov ecx, dword [esp + 0x14]
push 4
lea eax, [esp + 0x1c]
push eax
push 4
push ebx
push 0x4863f0
push ecx
mov dword [esp + 0x30], 0xffff
call dword [0x47f024]
mov al, 0xff
mov byte [esp + 0x41], al
mov edx, dword [esp + 0x14]
push edx
mov byte [esp + 0x46], al
call dword [0x47f008]
push 0x2710
push 0xf
lea eax, [esp + 0x44]
push eax
push esi
call fcn.00424490
push ebx
push ebx
push 0x2710
lea ecx, [esp + 0x34]
push ecx
push 0x14
lea edx, [esp + 0xb4]
push edx
push esi
call fcn.00424540
add esp, 0x1c
cmp eax, ebx
jne 0x4317c6
movzx ax, byte [esp + 0xa5]
movzx cx, byte [esp + 0xa6]
mov edx, dword [0x4a540c]
shl ax, 8
or ax, cx
movzx edi, ax
mov eax, dword [edx + 0xc]
mov ecx, 0x4a540c
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
movzx edi, di
push edi
lea ecx, [esp + 0x1c]
push 0x480460
push ecx
mov byte [esp + 0x20b8], 4
call fcn.00402e50
push edi
mov edi, dword [esp + 0x28]
push edi
push str.MTU_s__x_
call fcn.00403140
add esp, 0x18
push edi
lea ecx, [esp + 0x18]
call fcn.00406720
mov edi, eax
push str.TXMTU
lea ecx, [esp + 0x20]
mov byte [esp + 0x20b0], 5
call fcn.00406690
mov ecx, dword [edi]
mov byte [esp + 0x20ac], 6
cmp ecx, ebx
je 0x4316b4
mov ecx, dword [ecx]
jmp 0x4316b6
xor ecx, ecx
mov eax, dword [eax]
cmp eax, ebx
je 0x4316c0
mov eax, dword [eax]
jmp 0x4316c2
xor eax, eax
mov edx, dword [esi]
push ecx
push eax
mov eax, dword [edx + 0x6c]
push esi
call eax
lea ecx, [esp + 0x1c]
call fcn.00407c20
lea ecx, [esp + 0x14]
call fcn.00407c20
cmp dword [esp + 0x28], 0xc
jb 0x4317b5
cmp byte [esp + 0xa7], 0xcb
jne 0x4317b5
movzx edi, byte [esp + 0xa8]
movzx ecx, byte [esp + 0xa9]
movzx edx, byte [esp + 0xaa]
movzx eax, byte [esp + 0xab]
shl edi, 8
add edi, ecx
shl edi, 8
add edi, edx
shl edi, 8
lea ecx, [esp + 0x14]
add edi, eax
call fcn.004023c0
push edi
lea ecx, [esp + 0x18]
push 0x480460
push ecx
mov byte [esp + 0x20b8], 7
call fcn.00402e50
mov edx, dword [esp + 0x20]
add esp, 0xc
push edx
lea ecx, [esp + 0x34]
call fcn.00406720
mov edi, eax
push str.OBEXCID
lea ecx, [esp + 0x20]
mov byte [esp + 0x20b0], 8
call fcn.00406690
mov ecx, dword [edi]
mov byte [esp + 0x20ac], 9
cmp ecx, ebx
je 0x431782
mov ecx, dword [ecx]
jmp 0x431784
xor ecx, ecx
mov eax, dword [eax]
cmp eax, ebx
je 0x43178e
mov eax, dword [eax]
jmp 0x431790
xor eax, eax
mov edx, dword [esi]
push ecx
push eax
mov eax, dword [edx + 0x6c]
push esi
call eax
lea ecx, [esp + 0x1c]
call fcn.00407c20
lea ecx, [esp + 0x30]
call fcn.00407c20
lea ecx, [esp + 0x14]
call fcn.0044e330
lea ecx, [esp + 0x18]
mov byte [esp + 0x20ac], 3
call fcn.0044e330
cmp dword [esp + 0x34], 0xe
je 0x431a05
mov cl, 0x63
mov al, 0x6e
mov dl, 0x65
mov byte [esp + 0x5e], cl
mov byte [esp + 0x63], cl
mov byte [esp + 0x6b], cl
mov cl, 0x8a
mov byte [esp + 0x5b], dl
mov byte [esp + 0x60], al
mov byte [esp + 0x61], al
mov byte [esp + 0x62], dl
mov byte [esp + 0x67], al
mov byte [esp + 0x6d], dl
mov byte [esp + 0x7b], cl
mov byte [esp + 0x81], cl
mov dl, 0x83
mov cl, 0x21
mov byte [esp + 0x91], al
mov al, 0x97
mov byte [esp + 0x4c], 0x82
mov byte [esp + 0x4d], bl
mov byte [esp + 0x4e], 0x23
mov byte [esp + 0x4f], 0xcb
mov byte [esp + 0x50], bl
mov byte [esp + 0x51], bl
mov byte [esp + 0x52], bl
mov byte [esp + 0x53], 1
mov byte [esp + 0x54], 0x42
mov byte [esp + 0x55], bl
mov byte [esp + 0x56], 0x1b
mov byte [esp + 0x57], 0x6d
mov byte [esp + 0x58], 0x2d
mov byte [esp + 0x59], 0x6f
mov byte [esp + 0x5a], 0x62
mov byte [esp + 0x5c], 0x78
mov byte [esp + 0x5d], 0x2f
mov byte [esp + 0x5f], 0x6f
mov byte [esp + 0x64], 0x74
mov byte [esp + 0x65], 0x69
mov byte [esp + 0x66], 0x6f
mov byte [esp + 0x68], 0x5f
mov byte [esp + 0x69], 0x70
mov byte [esp + 0x6a], 0x61
mov byte [esp + 0x6c], 0x6b
mov byte [esp + 0x6e], 0x74
mov byte [esp + 0x70], 0xcd
mov byte [esp + 0x71], 0x5e
mov byte [esp + 0x72], 0xec
mov byte [esp + 0x73], 0xfe
mov byte [esp + 0x74], 0x35
mov byte [esp + 0x75], 0xe4
mov byte [esp + 0x76], 0xe0
mov byte [esp + 0x77], 0xc9
mov byte [esp + 0x78], 0x76
mov byte [esp + 0x79], 0x5c
mov byte [esp + 0x7a], 0xc1
mov byte [esp + 0x7c], 0x89
mov byte [esp + 0x7d], 0x48
mov byte [esp + 0x7e], 0x94
mov byte [esp + 0x7f], 0xc0
mov byte [esp + 0x80], 0x79
mov byte [esp + 0x82], 0xd5
mov byte [esp + 0x83], 0xd8
mov byte [esp + 0x84], 8
mov byte [esp + 0x85], 0xca
mov byte [esp + 0x86], 0x14
mov byte [esp + 0x87], 0x8c
mov byte [esp + 0x88], 0x4c
mov byte [esp + 0x89], 0xab
mov byte [esp + 0x8a], dl
mov byte [esp + 0x8b], 0x87
mov byte [esp + 0x8c], 7
mov byte [esp + 0x8d], 2
mov byte [esp + 0x8e], 0x39
mov byte [esp + 0x8f], cl
mov byte [esp + 0x90], 0x75
mov byte [esp + 0x92], 0x56
mov byte [esp + 0x93], dl
mov byte [esp + 0x94], cl
mov byte [esp + 0x95], 0xec
mov byte [esp + 0x96], al
push str._neobutter__bEncrypt1_FALSE
mov byte [esp + 0x9b], 0xf1
mov byte [esp + 0x9c], 0xca
mov byte [esp + 0x9d], 0x4d
mov byte [esp + 0x9e], 0x90
mov byte [esp + 0x9f], 0xdf
mov byte [esp + 0xa0], 0xb6
mov byte [esp + 0xa1], al
mov byte [esp + 0xa2], 0xc1
mov byte [esp + 0xa3], 0x41
call fcn.00403140
add esp, 4
push 0x2710
push 0x23
lea ecx, [esp + 0x54]
push ecx
push esi
call fcn.00424490
push ebx
push ebx
push 0x2710
lea edx, [esp + 0x34]
push edx
push 3
lea eax, [esp + 0xb4]
push eax
push esi
call fcn.00424540
add esp, 0x1c
xor edi, edi
jmp 0x431b84
cmp edi, 1
jne 0x431b31
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0xa0]
push str.ERROR:
push edx
mov byte [esp + ecx + 0xa8], bl
call dword [0x47f2a8]
add esp, 8
push eax
lea ecx, [esp + 0x28]
call fcn.004032e0
push str.CME_ERROR:_r_n
push str.CME_ERROR:_r_n
lea ecx, [esp + 0x2c]
call fcn.0042b4e0
mov ecx, eax
call fcn.00429220
mov eax, dword [esp + 0x24]
push eax
call fcn.0042a870
mov ecx, dword [esp + 0x28]
push ecx
call dword [0x47f28c]
mov ebp, eax
add esp, 8
cmp ebp, 3
jne 0x431ae3
push str.ITPolicyError
lea ecx, [esp + 0x20]
call fcn.00406690
mov edi, eax
push str.OBEXError
lea ecx, [esp + 0x34]
mov byte [esp + 0x20b0], 0xa
call fcn.00406690
mov ecx, dword [edi]
mov byte [esp + 0x20ac], 0xb
cmp ecx, ebx
je 0x431ab1
mov ecx, dword [ecx]
jmp 0x431ab3
xor ecx, ecx
mov eax, dword [eax]
cmp eax, ebx
je 0x431abd
mov eax, dword [eax]
jmp 0x431abf
xor eax, eax
mov edx, dword [esi]
push ecx
push eax
mov eax, dword [edx + 0x6c]
push esi
call eax
lea ecx, [esp + 0x30]
call fcn.00407c20
lea ecx, [esp + 0x1c]
mov byte [esp + 0x20ac], 3
call fcn.00407c20
mov ecx, dword [esi]
mov edx, dword [ecx + 0x34]
push esi
call edx
push ebp
call fcn.004251a0
add esp, 4
cmp eax, ebx
je 0x431aff
or eax, 0x80040000
mov ebx, eax
lea ecx, [esp + 0x2c]
call fcn.0044e330
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
mov byte [esp + 0x20b0], 1
call ecx
lea ecx, [esp + 0x24]
call fcn.0044e330
lea ecx, [esp + 0x20]
call fcn.0044e330
mov eax, ebx
jmp 0x431c28
cmp edi, 2
jne 0x431b84
push 0x48635c
lea ecx, [esp + 0x24]
call fcn.004032e0
mov ebp, dword [esp + 0x20]
mov eax, dword [ebp - 0xc]
push 0x2710
push eax
push ebp
push esi
call fcn.00424490
push 3
lea edx, [esp + 0x40]
push edx
push 0x2710
lea eax, [esp + 0x34]
push eax
push 0x2000
lea ecx, [esp + 0xb4]
push ecx
push esi
call fcn.00424540
add esp, 0x1c
mov edi, 0x667
mov edx, dword [esi]
mov eax, dword [edx + 0x34]
push esi
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x20ac], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431bb4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, ebx
jle 0x431bc4
and edi, 0xffff
or edi, 0x80070000
mov byte [esp + 0x20ac], 1
cmp esi, ebx
je 0x431bd8
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x20ac], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431bff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x20ac], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431c26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x20a4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x208c]
xor ecx, esp
call fcn.004747ca
add esp, 0x209c
ret
mov edi, 0x37
jmp 0x431bb8