Function at 0x4e7890
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x555beb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push ebx
push ebp
push esi
mov ebx, ecx
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.CU_PROFILE_PATH
mov dword [esp + 0xa4], ebx
call fcn.00512952
mov esi, dword [esp + 0xd4]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push esi
mov dword [esp + 0xd0], 0
call fcn.00512659
or edi, 0xffffffff
mov dword [esp + 0xcc], edi
call fcn.00422b30
add esp, 8
test eax, eax
mov eax, dword [ebx + 0x20]
setge cl
mov edx, dword [eax - 8]
and ecx, 0xff
test edx, edx
je 0x4e791d
mov edx, dword [ebx + 0x3c]
mov eax, dword [edx - 8]
test eax, eax
je 0x4e791d
mov al, 1
jmp 0x4e791f
xor al, al
and eax, 0xff
cmp ecx, eax
jne 0x4e86bd
mov eax, dword [0x5ab980]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc4], 1
mov dword [esp + 0x1c], eax
push 0xa
lea ecx, [esp + 0xa4]
mov byte [esp + 0xc8], 2
call fcn.00510deb
mov dword [esp + 0xa0], 0x559f90
push fcn.005128e4
push 0x432ae0
push 0xa
lea eax, [esp + 0x2c]
push 4
push eax
mov byte [esp + 0xd8], 3
call fcn.004fa7f1
push esi
lea ecx, [esp + 0x20]
mov byte [esp + 0xc8], 4
call fcn.00512a1d
mov ecx, dword [esp + 0xd8]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, ebx
call fcn.004e99c0
push 1
lea eax, [esp + 0x20]
push 0x598474
push eax
lea ecx, [esp + 0xac]
call fcn.00423a70
cmp eax, 1
jge 0x4e7a14
push fcn.005128e4
push 0xa
lea ecx, [esp + 0x28]
push 4
push ecx
mov byte [esp + 0xd4], 3
call fcn.004fa713
lea ecx, [esp + 0xa0]
mov byte [esp + 0xc4], 2
call fcn.00510e5f
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc4], 1
call fcn.005128e4
mov dword [esp + 0xc4], edi
jmp 0x4e86b4
mov esi, dword [esp + 0xa4]
xor edi, edi
test esi, esi
je 0x4e7a3c
lea ebp, [esp + 0x20]
mov eax, esi
mov esi, dword [esi]
add eax, 8
mov ecx, ebp
push eax
inc edi
add ebp, 4
call fcn.00512a1d
test esi, esi
jne 0x4e7a25
mov esi, dword [esp + 0xcc]
lea edx, [esp + 0x18]
push esi
push 0x59960c
push edx
call fcn.00512bed
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xc8], 5
call fcn.00512a1d
lea ecx, [esp + 0x18]
mov byte [esp + 0xc4], 4
call fcn.005128e4
test edi, edi
jle 0x4e7aa5
lea ebp, [esp + 0x20]
mov ebx, edi
push 0x5993f0
lea ecx, [esp + 0x14]
call fcn.00512cc0
push ebp
lea ecx, [esp + 0x14]
call fcn.00512cfc
add ebp, 4
dec ebx
jne 0x4e7a80
mov ebx, dword [esp + 0x9c]
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.00512659
mov ecx, ebx
call fcn.004e9bc0
mov ecx, dword [esi]
push str._MoveRegTree_
push ecx
call fcn.004f9670
add esp, 8
test eax, eax
jne 0x4e7b20
cmp edi, 1
jne 0x4e7af0
mov edx, dword [esp + 0x20]
push eax
push 0x598d38
push edx
mov ecx, 0x5bc714
call fcn.0047b7a0
jmp 0x4e8669
mov eax, dword [esp + 0xd4]
mov edx, dword [esi]
mov ecx, dword [eax]
lea eax, [esp + 0x10]
push ecx
push edi
push edx
push str._nERROR:__s__requires_1_element__found__i_elements.__Where____s
push eax
call fcn.0050e6c7
add esp, 0x10
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
jmp 0x4e865d
mov eax, dword [esi]
push str._MoveRegKey_
push eax
call fcn.004f9670
add esp, 8
test eax, eax
jne 0x4e7b7e
cmp edi, 1
jne 0x4e7b53
mov ecx, dword [esp + 0x20]
push eax
push 0x598d3c
push ecx
mov ecx, 0x5bc714
call fcn.0047b7a0
jmp 0x4e8669
mov edx, dword [esp + 0xd4]
mov ecx, dword [esi]
mov eax, dword [edx]
lea edx, [esp + 0x10]
push eax
push edi
push ecx
push str._nERROR:__s__requires_1_element__found__i_elements.__Where____s
push edx
call fcn.0050e6c7
add esp, 0x10
mov ecx, esp
mov dword [esp + 0x18], esp
jmp 0x4e8658
mov ecx, dword [esi]
push str._BlockRegKey_
push ecx
call fcn.004f9670
add esp, 8
test eax, eax
je 0x4e8615
mov edx, dword [esi]
push str._BlockRegTree_
push edx
call fcn.004f9670
add esp, 8
test eax, eax
je 0x4e8615
mov eax, dword [esi]
push str._MoveRegValue_
push eax
call fcn.004f9670
add esp, 8
test eax, eax
je 0x4e858c
mov ecx, dword [esi]
push str._BlockRegValue_
push ecx
call fcn.004f9670
add esp, 8
test eax, eax
je 0x4e858c
mov edx, dword [esi]
push str._MoveFile_
push edx
call fcn.004f9670
add esp, 8
test eax, eax
je 0x4e84e8
mov eax, dword [esi]
push str._BlockFile_
push eax
call fcn.004f9670
add esp, 8
test eax, eax
je 0x4e84e8
mov ecx, dword [esi]
push str._MoveFolder_
push ecx
call fcn.004f9670
add esp, 8
test eax, eax
je 0x4e842e
mov edx, dword [esi]
push str._BlockFolder_
push edx
call fcn.004f9670
add esp, 8
test eax, eax
je 0x4e842e
mov eax, dword [esi]
push str._CopyINISection_
push eax
call fcn.004f9670
add esp, 8
test eax, eax
je 0x4e8669
mov ecx, dword [esi]
push str._TransformPathFile_
push ecx
call fcn.004f9670
add esp, 8
test eax, eax
je 0x4e83e3
mov edx, dword [esi]
push str._TransformFilePath_
push edx
call fcn.004f9670
add esp, 8
test eax, eax
je 0x4e83e3
mov eax, dword [esi]
push str._TransformPath_
push eax
call fcn.004f9670
add esp, 8
test eax, eax
je 0x4e837c
mov ecx, dword [esi]
push str._TransformFolderPath_
push ecx
call fcn.004f9670
add esp, 8
test eax, eax
je 0x4e837c
mov edx, dword [esi]
push str._TransformRegValueName_
push edx
call fcn.004f9670
add esp, 8
test eax, eax
jne 0x4e7d23
cmp edi, 4
jne 0x4e7cf3
push eax
lea eax, [esp + 0x30]
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
mov ecx, 0x5b8c78
call fcn.0049c4a0
jmp 0x4e8669
mov ecx, dword [esp + 0xd4]
mov eax, dword [esi]
mov edx, dword [ecx]
lea ecx, [esp + 0x10]
push edx
push edi
push eax
push str._nERROR:__s__requires_4_element__found__i_elements.__Where____s
push ecx
call fcn.0050e6c7
add esp, 0x10
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
jmp 0x4e865d
mov eax, dword [esi]
push str._TransformRegKeyName_
push eax
call fcn.004f9670
add esp, 8
test eax, eax
je 0x4e832c
mov ecx, dword [esi]
push str._TransformRegKey_
push ecx
call fcn.004f9670
add esp, 8
test eax, eax
je 0x4e832c
mov edx, dword [esi]
push str._SetRegValue_
push edx
call fcn.004f9670
add esp, 8
test eax, eax
jne 0x4e7fc4
cmp edi, 4
jne 0x4e7f94
lea ecx, [esp + 0x48]
call fcn.00496d50
mov edi, dword [esp + 0x20]
mov ebp, 1
mov byte [esp + 0xc4], 9
mov dword [esp + 0x4c], ebp
mov esi, str.REG_SZ
mov eax, edi
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4e7dc1
test cl, cl
je 0x4e7dbd
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4e7dc1
add eax, 2
add esi, 2
test cl, cl
jne 0x4e7d99
xor eax, eax
jmp 0x4e7dc6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4e7dd1
mov dword [esp + 0x94], ebp
mov esi, str.REG_MULTI_SZ
mov eax, edi
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4e7e00
test cl, cl
je 0x4e7dfc
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4e7e00
add eax, 2
add esi, 2
test cl, cl
jne 0x4e7dd8
xor eax, eax
jmp 0x4e7e05
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4e7e14
mov dword [esp + 0x94], 7
mov esi, str.REG_DWORD
mov eax, edi
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4e7e43
test cl, cl
je 0x4e7e3f
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4e7e43
add eax, 2
add esi, 2
test cl, cl
jne 0x4e7e1b
xor eax, eax
jmp 0x4e7e48
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4e7e57
mov dword [esp + 0x94], 4
mov esi, str.REG_BINARY
mov eax, edi
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4e7e86
test cl, cl
je 0x4e7e82
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4e7e86
add eax, 2
add esi, 2
test cl, cl
jne 0x4e7e5e
xor eax, eax
jmp 0x4e7e8b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4e7e9a
mov dword [esp + 0x94], 3
lea eax, [esp + 0x24]
lea ecx, [esp + 0x50]
push eax
call fcn.00512a1d
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x58]
call fcn.00512a1d
mov eax, dword [esp + 0x94]
dec eax
je 0x4e7ef6
sub eax, 3
je 0x4e7ee3
sub eax, 3
jne 0x4e7f04
push ebp
lea edx, [esp + 0x30]
push 0x598168
push edx
lea ecx, [esp + 0x84]
call fcn.00423a70
jmp 0x4e7f04
mov eax, dword [esp + 0x2c]
push eax
call fcn.004f9b83
add esp, 4
mov dword [esp + 0x60], eax
jmp 0x4e7f04
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x60]
call fcn.00512a1d
lea edx, [esp + 0x48]
push 0
push edx
mov ecx, 0x5b8c78
call fcn.004a2fc0
lea ecx, [esp + 0x98]
mov byte [esp + 0xc4], 0x10
call fcn.005128e4
lea ecx, [esp + 0x78]
mov byte [esp + 0xc4], 0xf
call fcn.00510e5f
lea ecx, [esp + 0x64]
mov byte [esp + 0xc4], 0xe
call fcn.00511214
lea ecx, [esp + 0x5c]
mov byte [esp + 0xc4], 0xd
call fcn.005128e4
lea ecx, [esp + 0x58]
mov byte [esp + 0xc4], 0xc
call fcn.005128e4
lea ecx, [esp + 0x54]
mov byte [esp + 0xc4], 0xb
call fcn.005128e4
lea ecx, [esp + 0x50]
mov byte [esp + 0xc4], 0xa
call fcn.005128e4
jmp 0x4e8669
mov eax, dword [esp + 0xd4]
mov edx, dword [esi]
mov ecx, dword [eax]
lea eax, [esp + 0x10]
push ecx
push edi
push edx
push str._nERROR:__s__requires_4_element__found__i_elements.__Where____s
push eax
call fcn.0050e6c7
add esp, 0x10
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
jmp 0x4e865d
mov eax, dword [esi]
push str._DeleteRegValue_
push eax
call fcn.004f9670
add esp, 8
test eax, eax
jne 0x4e80d6
cmp edi, 2
jne 0x4e80a6
lea ecx, [esp + 0x48]
call fcn.00496d50
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 0x11
push ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x50], edi
call fcn.00512a1d
lea edx, [esp + 0x24]
lea ecx, [esp + 0x54]
push edx
call fcn.00512a1d
lea eax, [esp + 0x48]
push 0
push eax
mov ecx, 0x5b8c78
call fcn.004a2fc0
lea ecx, [esp + 0x98]
mov byte [esp + 0xc4], 0x18
call fcn.005128e4
lea ecx, [esp + 0x78]
mov byte [esp + 0xc4], 0x17
call fcn.00510e5f
lea ecx, [esp + 0x64]
mov byte [esp + 0xc4], 0x16
call fcn.00511214
lea ecx, [esp + 0x5c]
mov byte [esp + 0xc4], 0x15
call fcn.005128e4
lea ecx, [esp + 0x58]
mov byte [esp + 0xc4], 0x14
call fcn.005128e4
lea ecx, [esp + 0x54]
mov byte [esp + 0xc4], 0x13
call fcn.005128e4
lea ecx, [esp + 0x50]
mov byte [esp + 0xc4], 0x12
call fcn.005128e4
jmp 0x4e8669
mov ecx, dword [esp + 0xd4]
mov eax, dword [esi]
mov edx, dword [ecx]
lea ecx, [esp + 0x10]
push edx
push edi
push eax
push str._nERROR:__s__requires_2_element__found__i_elements.__Where____s
push ecx
call fcn.0050e6c7
add esp, 0x10
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
jmp 0x4e865d
mov eax, dword [esi]
push str._DeleteRegKey_
push eax
call fcn.004f9670
add esp, 8
test eax, eax
je 0x4e8238
mov ecx, dword [esi]
push str._DeleteRegTree_
push ecx
call fcn.004f9670
add esp, 8
test eax, eax
je 0x4e8238
mov edx, dword [esi]
push str._DeleteTargetFile_
push edx
call fcn.004f9670
add esp, 8
test eax, eax
jne 0x4e8209
cmp edi, 1
jne 0x4e81de
lea ecx, [esp + 0x48]
call fcn.00496d50
lea eax, [esp + 0x20]
lea ecx, [esp + 0x58]
push eax
mov byte [esp + 0xc8], 0x21
mov dword [esp + 0x50], 4
call fcn.00512a1d
lea ecx, [esp + 0x48]
push 0
push ecx
mov ecx, 0x5b8c78
call fcn.004a2fc0
lea ecx, [esp + 0x98]
mov byte [esp + 0xc4], 0x28
call fcn.005128e4
lea ecx, [esp + 0x78]
mov byte [esp + 0xc4], 0x27
call fcn.00510e5f
lea ecx, [esp + 0x64]
mov byte [esp + 0xc4], 0x26
call fcn.00511214
lea ecx, [esp + 0x5c]
mov byte [esp + 0xc4], 0x25
call fcn.005128e4
lea ecx, [esp + 0x58]
mov byte [esp + 0xc4], 0x24
call fcn.005128e4
lea ecx, [esp + 0x54]
mov byte [esp + 0xc4], 0x23
call fcn.005128e4
lea ecx, [esp + 0x50]
mov byte [esp + 0xc4], 0x22
call fcn.005128e4
jmp 0x4e8669
mov edx, dword [esp + 0xd4]
mov ecx, dword [esi]
mov eax, dword [edx]
lea edx, [esp + 0x10]
push eax
push edi
push ecx
push str._nERROR:__s__requires_1_element__found__i_elements.__Where____s
push edx
call fcn.0050e6c7
add esp, 0x10
mov ecx, esp
mov dword [esp + 0x18], esp
jmp 0x4e8658
mov ecx, dword [esp + 0xd4]
mov eax, dword [esi]
mov edx, dword [ecx]
lea ecx, [esp + 0x10]
push edx
push eax
push str._nERROR:_Unhandled_Operator__s._Where____s
push ecx
call fcn.0050e6c7
add esp, 0xc
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
jmp 0x4e865d
cmp edi, 1
jne 0x4e8301
lea ecx, [esp + 0x48]
call fcn.00496d50
lea eax, [esp + 0x20]
lea ecx, [esp + 0x50]
push eax
mov byte [esp + 0xc8], 0x19
mov dword [esp + 0x50], 2
call fcn.00512a1d
lea ecx, [esp + 0x54]
call fcn.0051286f
lea ecx, [esp + 0x48]
push 0
push ecx
mov ecx, 0x5b8c78
call fcn.004a2fc0
lea ecx, [esp + 0x98]
mov byte [esp + 0xc4], 0x20
call fcn.005128e4
lea ecx, [esp + 0x78]
mov byte [esp + 0xc4], 0x1f
call fcn.00510e5f
lea ecx, [esp + 0x64]
mov byte [esp + 0xc4], 0x1e
call fcn.00511214
lea ecx, [esp + 0x5c]
mov byte [esp + 0xc4], 0x1d
call fcn.005128e4
lea ecx, [esp + 0x58]
mov byte [esp + 0xc4], 0x1c
call fcn.005128e4
lea ecx, [esp + 0x54]
mov byte [esp + 0xc4], 0x1b
call fcn.005128e4
lea ecx, [esp + 0x50]
mov byte [esp + 0xc4], 0x1a
call fcn.005128e4
jmp 0x4e8669
mov edx, dword [esp + 0xd4]
mov ecx, dword [esi]
mov eax, dword [edx]
lea edx, [esp + 0x10]
push eax
push edi
push ecx
push str._nERROR:__s__requires_1_element__found__i_elements.__Where____s
push edx
call fcn.0050e6c7
add esp, 0x10
mov ecx, esp
mov dword [esp + 0x18], esp
jmp 0x4e8658
cmp edi, 2
jne 0x4e834c
lea ecx, [esp + 0x24]
push 0
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, 0x5b8c78
call fcn.0049c570
jmp 0x4e8669
mov eax, dword [esp + 0xd4]
mov edx, dword [esi]
mov ecx, dword [eax]
lea eax, [esp + 0x10]
push ecx
push edi
push edx
push str._nERROR:__s__requires_2_element__found__i_elements.__Where____s
push eax
call fcn.0050e6c7
add esp, 0x10
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
jmp 0x4e865d
cmp edi, 2
jne 0x4e83b3
lea eax, [esp + 0x20]
push eax
call fcn.0041f9c0
lea ecx, [esp + 0x28]
push ecx
call fcn.0041f9c0
add esp, 8
lea edx, [esp + 0x24]
lea eax, [esp + 0x20]
mov ecx, 0x5b8c78
push 0
push edx
push eax
call fcn.0049c590
jmp 0x4e8669
mov ecx, dword [esp + 0xd4]
mov eax, dword [esi]
mov edx, dword [ecx]
lea ecx, [esp + 0x10]
push edx
push edi
push eax
push str._nERROR:__s__requires_2_element__found__i_elements.__Where____s
push ecx
call fcn.0050e6c7
add esp, 0x10
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
jmp 0x4e865d
cmp edi, 2
jne 0x4e8403
lea eax, [esp + 0x24]
push 0
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, 0x5b8c78
call fcn.0049c590
jmp 0x4e8669
mov edx, dword [esp + 0xd4]
mov ecx, dword [esi]
mov eax, dword [edx]
lea edx, [esp + 0x10]
push eax
push edi
push ecx
push str._nERROR:__s__requires_2_element__found__i_elements.__Where____s
push edx
call fcn.0050e6c7
add esp, 0x10
mov ecx, esp
mov dword [esp + 0x18], esp
jmp 0x4e8658
cmp edi, 1
jne 0x4e84b8
lea ecx, [esp + 0x20]
push ecx
call fcn.0041f9c0
add esp, 4
lea edx, [esp + 0x20]
mov ecx, 0x5b8c78
push edi
push edx
call fcn.0049c5e0
mov eax, dword [esi]
push str._MoveFolder_
push eax
call fcn.004f9670
add esp, 8
test eax, eax
mov eax, 0x598d3c
je 0x4e8472
mov eax, 0x5994b0
push eax
lea ecx, [esp + 0x1c]
call fcn.00512952
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0x18]
mov byte [esp + 0xc4], 8
mov eax, dword [ecx]
mov ecx, 0x5b8c78
push eax
mov eax, dword [esp + 0x24]
push edx
push eax
call fcn.00498ca0
lea ecx, [esp + 0x18]
mov byte [esp + 0xc4], 4
call fcn.005128e4
jmp 0x4e8669
mov ecx, dword [esp + 0xd4]
mov eax, dword [esi]
mov edx, dword [ecx]
lea ecx, [esp + 0x10]
push edx
push edi
push eax
push str._nERROR:__s__requires_1_element__found__i_elements.__Where____s
push ecx
call fcn.0050e6c7
add esp, 0x10
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
jmp 0x4e865d
cmp edi, 1
jne 0x4e8561
lea eax, [esp + 0x20]
push edi
push eax
mov ecx, 0x5b8c78
call fcn.0049c5e0
mov ecx, dword [esi]
push str._MoveFile_
push ecx
call fcn.004f9670
add esp, 8
test eax, eax
mov eax, 0x598d3c
je 0x4e851b
mov eax, 0x5994b0
push eax
lea ecx, [esp + 0x1c]
call fcn.00512952
mov edx, dword [esp + 0xd4]
mov ecx, dword [esp + 0x20]
mov byte [esp + 0xc4], 7
mov eax, dword [edx]
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
mov ecx, 0x5b8c78
call fcn.00498ca0
lea ecx, [esp + 0x18]
mov byte [esp + 0xc4], 4
call fcn.005128e4
jmp 0x4e8669
mov edx, dword [esp + 0xd4]
mov ecx, dword [esi]
mov eax, dword [edx]
lea edx, [esp + 0x10]
push eax
push edi
push ecx
push str._nERROR:__s__requires_1_element__found__i_elements.__Where____s
push edx
call fcn.0050e6c7
add esp, 0x10
mov ecx, esp
mov dword [esp + 0x18], esp
jmp 0x4e8658
cmp edi, 2
jne 0x4e85ed
mov ecx, dword [esi]
push str._MoveRegValue_
push ecx
call fcn.004f9670
add esp, 8
test eax, eax
mov eax, 0x598d3c
je 0x4e85af
mov eax, 0x5994b0
push eax
lea ecx, [esp + 0x1c]
call fcn.00512952
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
mov ecx, 0x5bc714
mov byte [esp + 0xd0], 6
call fcn.0047b7a0
lea ecx, [esp + 0x18]
mov byte [esp + 0xc4], 4
call fcn.005128e4
jmp 0x4e8669
mov edx, dword [esp + 0xd4]
mov ecx, dword [esi]
mov eax, dword [edx]
lea edx, [esp + 0x10]
push eax
push edi
push ecx
push str._nERROR:__s__requires_2_element__found__i_elements.__Where____s
push edx
call fcn.0050e6c7
add esp, 0x10
mov ecx, esp
mov dword [esp + 0x18], esp
jmp 0x4e8658
cmp edi, 1
jne 0x4e8632
mov ecx, dword [esp + 0x20]
push 0
push 0x59adec
push ecx
mov ecx, 0x5bc714
call fcn.0047b7a0
jmp 0x4e8669
mov edx, dword [esp + 0xd4]
mov ecx, dword [esi]
mov eax, dword [edx]
lea edx, [esp + 0x10]
push eax
push edi
push ecx
push str._nERROR:__s__requires_1_element__found__i_elements.__Where____s
push edx
call fcn.0050e6c7
add esp, 0x10
mov ecx, esp
mov dword [esp + 0x18], esp
lea eax, [esp + 0x14]
push eax
call fcn.00512659
mov ecx, ebx
call fcn.004e9bc0
push fcn.005128e4
push 0xa
lea ecx, [esp + 0x28]
push 4
push ecx
mov byte [esp + 0xd4], 3
call fcn.004fa713
lea ecx, [esp + 0xa0]
mov byte [esp + 0xc4], 2
call fcn.00510e5f
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc4], 1
call fcn.005128e4
mov dword [esp + 0xc4], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.005128e4
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xb8
ret 0x10