Function at 0x494db0
Capabilities:
Move file
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b8ad7
mov eax, dword fs:[0]
push eax
mov eax, 0x87f8
call fcn.004a5370
mov eax, dword [0x4cc3b0]
xor eax, esp
mov dword [esp + 0x87f4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cc3b0]
xor eax, esp
push eax
lea eax, [esp + 0x880c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x881c]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov eax, dword [str.InterfaceConvertProfile]
push eax
push str._s_u
push 0x5110d0
mov edx, 0xc8
call fcn.0049c820
add esp, 0x10
lea ecx, [esp + 0x390]
call fcn.0043f460
mov ebx, 1
mov dword [esp + 0x8814], ebx
xor ebp, ebp
cmp byte [0x4e9b89], 0
mov byte [esp + 0xc64], 0
je 0x494f18
push 0x400
lea ecx, [esp + 0x77dc]
push ecx
mov ecx, 0x4f0dd0
call fcn.004130a0
push 0x830
lea edx, [esp + 0x210c]
push ebp
push edx
call fcn.004a53a0
add esp, 0xc
xor eax, eax
jmp 0x494e80
movzx ecx, word [esp + eax + 0x77d8]
mov word [esp + eax + 0x2108], cx
add eax, 2
cmp cx, bp
jne 0x494e80
lea ecx, [esp + 0x187c]
call fcn.0046db90
lea ecx, [esp + 0x18a0]
call fcn.0046db90
lea ecx, [esp + 0x18c4]
call fcn.0046db90
push ebp
lea eax, [esp + 0xc6c]
push eax
lea ecx, [esp + 0x77e0]
push ecx
push ebp
call fcn.004354a0
test al, al
je 0x494ef3
mov edx, dword [esp + 0x1868]
mov eax, dword [esp + 0x186c]
mov dword [esp + 0x2908], edx
mov dword [esp + 0x290c], eax
lea ecx, [esp + 0x2108]
push ecx
lea ecx, [esp + 0x394]
call fcn.0043f070
lea ecx, [esp + 0x390]
call fcn.0043f2e0
jmp 0x494fcc
lea ecx, [esp + 0x48]
call fcn.0046b1a0
mov byte [esp + 0x8814], 2
lea edi, [esp + 0x48]
cmp esi, ebp
je 0x494f35
mov edi, esi
jmp 0x494f45
push ebp
lea edx, [esp + 0x4c]
push edx
mov ecx, 0x4f04a8
call fcn.004408f0
push ebp
push ebp
push ebx
push ebx
push ebx
lea eax, [esp + 0x3a4]
push eax
push 3
push edi
call fcn.004638a0
test al, al
jne 0x494f8b
mov byte [esp + 0x8814], 1
lea ecx, [esp + 0x48]
call fcn.00401ab0
mov dword [esp + 0x8814], 0xffffffff
lea ecx, [esp + 0x390]
call fcn.00491c80
jmp 0x496132
xor esi, esi
cmp dword [esp + 0x444], ebp
jbe 0x494fbb
jmp 0x494fa0
push esi
lea ecx, [esp + 0x394]
call fcn.0043f400
add esi, ebx
mov dword [eax + 4], ebp
cmp esi, dword [esp + 0x444]
jb 0x494fa0
mov byte [esp + 0x8814], 1
lea ecx, [esp + 0x48]
call fcn.00401ab0
mov ecx, dword [str.InterfaceConvertProfile]
push 0x5110d0
push ecx
call fcn.0045bdb0
mov edx, dword [0x4eacd4]
push edx
mov byte [esp + 0x1a], 0
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov edx, dword [0x4d76b0]
neg eax
lea ecx, [esp + 0x390]
push ecx
sbb eax, eax
and eax, dword [0x4eacd4]
push 0x491cd0
push eax
push str.CONVERTARC
push edx
mov dword [esp + 0x38], ebp
call dword [sym.imp.USER32.dll_DialogBoxParamW]
test eax, eax
je 0x4960ea
push ebp
push str.Background
push 0x5110d0
call fcn.0045ba90
test eax, eax
jne 0x495050
cmp dword [0x4ea3a4], ebx
jne 0x495049
cmp byte [0x4f8023], al
jne 0x495050
mov byte [esp + 0x1c], 0
jmp 0x495055
mov byte [esp + 0x1c], 1
mov eax, dword [esp + 0x1c]
push ebp
push eax
push ebp
push 8
call fcn.00488810
push 0x400
lea ecx, [esp + 0x210c]
push ecx
call fcn.00485d40
xor esi, esi
xor edi, edi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [0x4ea420], ebp
mov dword [0x4ea424], ebp
cmp dword [esp + 0x444], ebp
jbe 0x4950d2
mov edi, edi
push edi
lea ecx, [esp + 0x394]
call fcn.0043f400
test byte [eax + 4], 8
je 0x4950c7
mov edx, dword [eax + 8]
add dword [0x4ea420], edx
mov eax, dword [eax + 0xc]
adc dword [0x4ea424], eax
add esi, ebx
add edi, ebx
cmp edi, dword [esp + 0x444]
jb 0x4950a0
push 0x480
lea ecx, [esp + 0x3ddc]
push ecx
push ebp
push esi
call fcn.00446800
mov eax, dword [0x4e9b84]
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea edx, [esp + 0x3dd8]
push edx
push 0x65
push eax
call edi
or esi, 0xffffffff
cmp byte [0x4eac4c], 0
mov dword [0x4eac40], ebp
mov dword [0x4eac44], ebp
mov dword [esp + 0x20], ebp
jne 0x49589b
cmp byte [0x4e9b88], 0
jne 0x4958b2
mov edx, dword [esp + 0x24]
push 0x480
lea ecx, [esp + 0x3ddc]
push ecx
push ebp
push edx
call fcn.00446800
mov ecx, dword [0x4e9b84]
lea eax, [esp + 0x3dd8]
push eax
push 0x66
push ecx
call edi
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push 0x480
lea edx, [esp + 0x3ddc]
push edx
push eax
push ecx
call fcn.00446800
mov eax, dword [0x4e9b84]
lea edx, [esp + 0x3dd8]
push edx
push 0x67
push eax
call edi
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push 0x480
lea ecx, [esp + 0x3ddc]
push ecx
push edx
push eax
call fcn.00446800
mov edx, dword [0x4e9b84]
lea ecx, [esp + 0x3dd8]
push ecx
push 0x68
push edx
call edi
cmp esi, 0xffffffff
je 0x4951e8
push esi
lea eax, [esp + 0x7fdc]
push eax
lea ecx, [esp + 0x398]
call fcn.0043f230
mov ecx, dword [eax + 0x800]
add dword [0x4eac40], ecx
mov edx, dword [eax + 0x804]
adc dword [0x4eac44], edx
or esi, 0xffffffff
call fcn.00487980
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x444]
jge 0x49589b
mov ecx, eax
push ecx
lea ecx, [esp + 0x394]
call fcn.0043f400
mov ebx, eax
test byte [ebx + 4], 8
mov dword [esp + 0x18], ebx
je 0x49588a
mov edx, dword [ebx]
mov esi, dword [esp + 0x20]
push 1
push ebp
push edx
mov ecx, 0x4f0dd0
mov dword [esp + 0x50], esi
call fcn.004162e0
cmp eax, 1
jne 0x49588a
lea eax, [esp + 0xf0]
push eax
mov ecx, 0x4f0dd0
call fcn.004130d0
lea ecx, [esp + 0x187c]
call fcn.0046db90
lea ecx, [esp + 0x18a0]
call fcn.0046db90
lea ecx, [esp + 0x18c4]
call fcn.0046db90
mov edx, dword [ebx]
push ebp
lea ecx, [esp + 0xc6c]
push ecx
push edx
push ebp
call fcn.004354a0
test al, al
je 0x49588a
cmp word [0x4f60e8], bp
jne 0x4952bb
cmp dword [esp + 0x22c], ebp
je 0x4952bb
push 0x50e
call fcn.00461310
push eax
mov eax, dword [ebx]
push eax
call fcn.00493aa0
add esp, 8
jmp 0x49588a
lea ecx, [esp + 0x67d8]
push ecx
push str.Rar_CVXXXXXX
call fcn.00485640
test al, al
je 0x49588a
lea edx, [esp + 0x67d8]
push edx
call fcn.00485d20
mov esi, 1
cmp dword [0x4ea3a4], esi
jne 0x4952f9
mov ecx, 0x4f2cd0
call fcn.0041e5e0
call fcn.00481910
push 0x400
push 0x4f907c
mov ecx, 0x4f0dd0
call fcn.004130a0
mov eax, dword [0x4f0fdc]
mov ecx, dword [0x4f987c]
mov dword [0x4f701c], eax
mov eax, 4
push 0x4ba77c
mov dword [0x4f65f4], esi
mov dword [0x4f6c08], eax
mov dword [0x4f6c0c], eax
call fcn.0046b240
push 0x4f907c
push 0x20a
call fcn.00461310
push eax
lea ecx, [esp + 0x3de0]
push ecx
mov edx, 0x480
call fcn.0049c820
add esp, 0xc
lea edx, [esp + 0x3dd8]
push edx
call fcn.00486150
cmp byte [0x4f6c02], 0
mov eax, dword [0x512a68]
mov dword [esp + 0x1c], eax
je 0x495391
mov byte [0x4f6c02], 0
mov byte [esp + 0x16], 1
push ebp
push ebp
mov ecx, 0x4f0dd0
call fcn.00417a70
cmp byte [0x4e9b88], 0
jne 0x495866
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [0x512a68]
jne 0x495866
push 0x5110d0
call fcn.00481cc0
mov edx, dword [0x4f663c]
mov dword [esp + 0x40], edx
mov byte [0x4f673a], 0
cmp word [0x4f4ce0], bp
jne 0x49543e
push ebp
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, 0x4f0dd0
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebp
call fcn.00413280
cmp dword [esp + 0x28], ebp
jbe 0x495431
push 0x4f4ce0
push str.Rar_CMXXXXXX
call fcn.00485550
mov esi, eax
cmp esi, ebp
je 0x495431
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
push esi
push edx
push 1
push eax
call fcn.004a6e34
push esi
call fcn.004a6c05
add esp, 0x14
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004a5785
add esp, 4
mov esi, dword [esp + 0x18]
mov eax, dword [esi]
push 0x400
lea edx, [esp + 0x7fdc]
push edx
push eax
call fcn.00452160
xor eax, eax
lea esp, [esp]
movzx ecx, word [esp + eax + 0x45c]
mov word [esp + eax + 0x5fd8], cx
add eax, 2
cmp cx, bp
jne 0x495460
cmp word [esp + 0x5fd8], bp
je 0x49548f
lea ecx, [esp + 0x5fd8]
push ecx
call fcn.004516c0
mov edx, dword [esi]
push edx
call fcn.004400e0
mov byte [esp + 0x17], al
mov ebx, 0x4bae00
cmp dword [0x4f701c], ebp
je 0x4954ad
mov ebx, 0x4baa98
cmp word [0x4f34e0], bp
je 0x4954bb
mov ebx, 0x4badc8
mov esi, dword [esp + 0x18]
mov eax, dword [esi]
push ebx
push eax
call fcn.00452020
test al, al
je 0x4955d4
cmp word [esp + 0x5fd8], bp
je 0x4954f7
lea ecx, [esp + 0x7fd8]
push ecx
lea edx, [esp + 0x5fdc]
push edx
call fcn.00473520
test eax, eax
jne 0x4955d4
mov byte [esp + 0x15], 1
xor eax, eax
mov edi, edi
movzx ecx, word [esp + eax + 0x67d8]
mov word [eax + 0x4f907c], cx
add eax, 2
cmp cx, bp
jne 0x495500
push 0x4f907c
call fcn.004516c0
mov eax, dword [esi]
push eax
call fcn.00451c20
mov edx, eax
jmp 0x495530
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x495530
mov edi, 0x4f907c
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
cmp cx, bp
jne 0x495545
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x4f907c
rep movsb byte es:[edi], byte [esi]
call fcn.00451fb0
mov esi, eax
cmp esi, ebp
je 0x4956eb
xor ecx, ecx
push 0x4f907c
mov word [esi], cx
call fcn.00451fb0
mov edx, 0x2e
mov word [esi], dx
cmp eax, ebp
je 0x4956eb
cmp byte [esp + 0x17], 0
je 0x4956eb
cmp dword [esp + 0x170], ebp
jne 0x4956eb
cmp dword [esp + 0x214], ebp
je 0x4956eb
mov edx, eax
mov ecx, esi
sub edx, esi
nop
movzx eax, word [ecx]
mov word [edx + ecx], ax
add ecx, 2
cmp ax, bp
jne 0x4955c0
jmp 0x4956eb
mov byte [esp + 0x15], 0
cmp word [esp + 0x5fd8], bp
je 0x495644
xor eax, eax
jmp 0x4955f0
movzx ecx, word [esp + eax + 0x5fd8]
mov word [eax + 0x4f907c], cx
add eax, 2
cmp cx, bp
jne 0x4955f0
mov eax, dword [esi]
push eax
call fcn.00451c20
mov edx, eax
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x495611
mov edi, 0x4f907c
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
cmp cx, bp
jne 0x495626
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x495661
mov ecx, dword [esi]
mov edx, 0x4f907c
jmp 0x495650
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, bp
jne 0x495650
push 0x4f907c
call fcn.00451fb0
mov esi, eax
cmp esi, ebp
je 0x4956b4
xor ecx, ecx
push 0x4f907c
mov word [esi], cx
call fcn.00451fb0
cmp eax, ebp
je 0x4956ac
push str..tar
push eax
call fcn.00473520
test eax, eax
je 0x4956b4
cmp byte [esp + 0x17], 0
je 0x4956ac
cmp dword [esp + 0x170], ebp
jne 0x4956ac
cmp dword [esp + 0x214], ebp
jne 0x4956b4
mov edx, 0x2e
mov word [esi], dx
push ebx
push 0x4f907c
call fcn.00453b20
push 0x4f907c
push ebp
call fcn.00431780
test al, al
je 0x4956eb
push 0x50d
call fcn.00461310
push eax
push 0x4f907c
call fcn.00493aa0
add esp, 8
mov byte [esp + 0x15], 1
mov esi, dword [esp + 0x1c]
cmp esi, dword [0x512a68]
jne 0x495792
lea eax, [esp + 0x67d8]
push eax
call fcn.00485d20
mov ecx, dword [0x4f987c]
push 0x4ba77c
mov dword [0x4f661c], 3
mov dword [0x4f6618], 2
mov byte [0x4f6652], 0
mov byte [0x4f6656], 0
call fcn.0046b240
push 0x4f907c
call fcn.00451c20
push eax
push 0x208
call fcn.00461310
push eax
lea ecx, [esp + 0x3de0]
push ecx
mov edx, 0x480
call fcn.0049c820
add esp, 0xc
lea edx, [esp + 0x3dd8]
push edx
call fcn.00486150
cmp byte [0x4f6c02], 0
je 0x495787
mov byte [0x4f6c02], 0
mov byte [esp + 0x16], 1
push ebp
mov ecx, 0x4f0dd0
call fcn.00417250
cmp word [0x4f4ce0], bp
je 0x4957a5
push 0x4f4ce0
call fcn.004857e0
cmp byte [0x4e9b88], 0
jne 0x495854
cmp esi, dword [0x512a68]
jne 0x495854
push 1
push ebp
push 0x4f907c
mov ecx, 0x4f0dd0
call fcn.004162e0
cmp eax, 1
jne 0x495854
lea eax, [esp + 0x240]
push eax
mov ecx, 0x4f0dd0
call fcn.004130d0
mov eax, dword [esp + 0x200]
mov ecx, dword [esp + 0x204]
cmp eax, dword [esp + 0x350]
jne 0x49580f
cmp ecx, dword [esp + 0x354]
je 0x4958e1
or eax, ecx
je 0x4958e1
push 0x4babb4
lea ecx, [esp + 0xf4]
push ecx
call fcn.00473520
test eax, eax
jne 0x49583a
cmp dword [esp + 0x214], ebp
jne 0x4958e1
push 0x50a
call fcn.00461310
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [edx]
push eax
call fcn.00493aa0
add esp, 8
cmp byte [esp + 0x15], 0
jne 0x495866
push 0x4f907c
push ebp
call fcn.00431a70
lea ecx, [esp + 0x2108]
push ecx
call fcn.00485d20
lea edx, [esp + 0x67d8]
push edx
call fcn.00485a50
mov esi, dword [esp + 0x44]
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
inc dword [esp + 0x20]
cmp byte [0x4eac4c], 0
je 0x49511e
cmp byte [0x4e9b88], 0
jne 0x4958b2
cmp byte [0x4eac4c], 0
mov eax, 0x4d0
je 0x4958b7
mov eax, 0x271
push eax
call fcn.00461310
push eax
call fcn.00486150
cmp byte [0x4eac4c], 0
je 0x496082
mov eax, dword [0x4e9b84]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x496096
mov eax, dword [esp + 0xc60]
cmp eax, ebp
je 0x49596b
mov ecx, dword [esp + 0x20c]
push ecx
mov ecx, dword [esp + 0x20c]
cdq
push ecx
push edx
push eax
call fcn.004a59a0
push ebp
mov esi, edx
mov edx, dword [esp + 0x360]
push 0x64
mov edi, eax
mov eax, dword [esp + 0x360]
push edx
push eax
call fcn.004a59a0
cmp esi, edx
jg 0x49596b
jl 0x49592e
cmp edi, eax
jae 0x49596b
push 0x4f907c
call fcn.00451c20
push eax
push 0x50f
call fcn.00461310
push eax
lea ecx, [esp + 0x3de0]
push ecx
mov edx, 0x480
call fcn.0049c820
add esp, 0xc
lea edx, [esp + 0x3dd8]
push edx
call fcn.00486150
jmp 0x495854
xor eax, eax
lea ecx, [ecx]
movzx ecx, word [eax + 0x4f60e8]
mov word [esp + eax + 0x46d8], cx
add eax, 2
cmp cx, bp
jne 0x495970
mov esi, 1
cmp dword [0x4ea3a4], esi
jne 0x49599e
mov ecx, 0x4f2cd0
call fcn.0041e5e0
call fcn.00481910
xor eax, eax
jmp 0x4959b0
movzx ecx, word [esp + eax + 0x46d8]
mov word [eax + 0x4f60e8], cx
add eax, 2
cmp cx, bp
jne 0x4959b0
push 0x400
push 0x4f907c
mov ecx, 0x4f0dd0
call fcn.004130a0
mov eax, dword [0x4f0fdc]
mov ecx, dword [0x4f987c]
push 0x4ba77c
mov dword [0x4f701c], eax
mov byte [0x4f673a], 1
mov dword [0x4f66dc], ebp
mov dword [0x4f6700], ebp
call fcn.0046b240
push 0x4f907c
call fcn.00451c20
push eax
push 0x20b
call fcn.00461310
push eax
lea ecx, [esp + 0x3de0]
push ecx
mov edx, 0x480
call fcn.0049c820
add esp, 0xc
lea edx, [esp + 0x3dd8]
push edx
call fcn.00486150
cmp byte [0x4f6c02], 0
je 0x495a55
mov byte [0x4f6c02], 0
mov byte [esp + 0x16], 1
push ebp
push ebp
mov ecx, 0x4f0dd0
call fcn.00417a70
cmp byte [0x4e9b88], 0
jne 0x495854
mov eax, dword [esp + 0x1c]
cmp eax, dword [0x512a68]
jne 0x495854
mov ecx, dword [esp + 0x350]
or ecx, dword [esp + 0x354]
jne 0x495ab3
cmp dword [esp + 0x186c], ebp
jl 0x495ab3
jg 0x495aa6
cmp dword [esp + 0x1868], 0x200
jb 0x495ab3
cmp dword [esp + 0x1f8], esi
jbe 0x495854
mov eax, dword [esp + 0xc60]
cmp eax, ebp
je 0x495b04
mov ecx, dword [esp + 0x20c]
push ecx
mov ecx, dword [esp + 0x20c]
cdq
push ecx
push edx
push eax
call fcn.004a59a0
push ebp
mov esi, edx
mov edx, dword [esp + 0x360]
push 0x64
mov edi, eax
mov eax, dword [esp + 0x360]
push edx
push eax
call fcn.004a59a0
cmp esi, edx
jl 0x495854
jg 0x495b04
cmp edi, eax
jb 0x495854
push 0x4f907c
call fcn.00451c20
push eax
push 0x25a
call fcn.00461310
push eax
lea ecx, [esp + 0x3de0]
push ecx
mov edx, 0x480
call fcn.0049c820
add esp, 0xc
lea edx, [esp + 0x3dd8]
push edx
call fcn.00486150
mov eax, dword [esp + 0x1868]
inc dword [esp + 0x24]
add dword [esp + 0x38], eax
mov ecx, dword [esp + 0x186c]
adc dword [esp + 0x3c], ecx
lea ecx, [esp + 0x2938]
call fcn.00401190
push ebp
lea edx, [esp + 0x293c]
push edx
push 0x4f907c
push ebp
call fcn.004354a0
test al, al
je 0x495b90
mov eax, dword [esp + 0x3538]
add dword [esp + 0x30], eax
mov ecx, dword [esp + 0x353c]
adc dword [esp + 0x34], ecx
cmp byte [esp + 0x15], 0
je 0x495efb
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
push ebp
push 1
push eax
mov ecx, 0x4f0dd0
call fcn.004162e0
cmp eax, 1
jne 0x495866
lea ecx, [esp + 0x48]
call fcn.0046b1a0
mov byte [esp + 0x8814], 3
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
lea edx, [esp + 0x4fd8]
sub edx, eax
jmp 0x495be0
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bp
jne 0x495be0
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileW]
mov byte [esp + 0x15], 0
lea ebx, [ebx]
lea edx, [esp + 0x4fd8]
push edx
lea eax, [esp + 0x57dc]
push str._s._cvtbackup_
push eax
mov edx, 0x400
call fcn.0049c820
add esp, 0xc
lea ecx, [esp + 0x57d8]
push ecx
lea edx, [esp + 0x4fdc]
push edx
call esi
test eax, eax
je 0x495dab
lea eax, [esp + 0x4fd8]
push eax
lea ecx, [esp + 0x4c]
call fcn.0046b250
lea ecx, [esp + 0x57d8]
push ecx
lea ecx, [esp + 0x4c]
call fcn.0046b250
push 0x400
lea edx, [esp + 0x4fdc]
push edx
mov ecx, 0x4f0dd0
call fcn.004134d0
test al, al
je 0x495c8f
lea eax, [esp + 0x4fd8]
push eax
push ebp
call fcn.00431780
test al, al
jne 0x495c00
push ebp
push 1
push 0x4f907c
mov ecx, 0x4f0dd0
call fcn.004162e0
cmp eax, 1
jne 0x495db0
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + 0x4f907c]
mov word [esp + eax + 0x4fd8], cx
add eax, 2
cmp cx, bp
jne 0x495cb0
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
lea edx, [esp + 0x57d8]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bp
jne 0x495ce0
lea edx, [esp + 0x4fd8]
push edx
call fcn.00451c20
mov esi, eax
lea eax, [esp + 0x57d8]
push eax
call fcn.00451c20
jmp 0x495d10
movzx ecx, word [esi]
mov word [eax], cx
add esi, 2
add eax, 2
cmp cx, bp
jne 0x495d10
lea ecx, [esp + 0x57d8]
push ecx
lea edx, [esp + 0x4fdc]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x495dab
cmp ebx, ebp
je 0x495d44
cmp ebx, 1
jne 0x495d78
push ebp
push ebp
push 3
push ebp
push ebp
push 0x40000000
lea eax, [esp + 0x57f0]
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x495d78
lea ecx, [esp + 0x20f8]
push ecx
push ebp
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x400
lea edx, [esp + 0x4fdc]
push edx
mov ecx, 0x4f0dd0
call fcn.004134d0
test al, al
je 0x495db0
lea eax, [esp + 0x4fd8]
push eax
push ebp
call fcn.00431780
test al, al
jne 0x495cd1
jmp 0x495db0
mov byte [esp + 0x15], 1
xor bl, bl
cmp byte [esp + 0xc5c], bl
jne 0x495e33
push 0x400
lea ecx, [esp + 0x47dc]
push ecx
lea ecx, [esp + 0x50]
mov bl, 1
call fcn.0046b560
test al, al
je 0x495e2a
jmp 0x495de0
push 0x400
lea edx, [esp + 0x6fdc]
push edx
lea ecx, [esp + 0x50]
call fcn.0046b560
test al, al
je 0x495e2a
lea eax, [esp + 0x47d8]
push eax
push ebp
call fcn.00431780
test al, al
jne 0x495e28
push 0x400
lea ecx, [esp + 0x47dc]
push ecx
lea ecx, [esp + 0x50]
call fcn.0046b560
test al, al
jne 0x495de0
jmp 0x495e2a
xor bl, bl
lea ecx, [esp + 0x48]
call fcn.0046ae00
push 0x400
lea edx, [esp + 0x47dc]
push edx
lea ecx, [esp + 0x50]
call fcn.0046b560
test al, al
je 0x495ee5
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x495e60
push 0x400
lea eax, [esp + 0x6fdc]
push eax
lea ecx, [esp + 0x50]
call fcn.0046b560
test al, al
je 0x495ee5
cmp byte [esp + 0x15], 0
jne 0x495ea3
test bl, bl
jne 0x495eb5
lea ecx, [esp + 0x6fd8]
push ecx
push ebp
call fcn.004326d0
lea edx, [esp + 0x6fd8]
push edx
push ebp
call fcn.00431a70
jmp 0x495ec7
test bl, bl
jne 0x495eb5
lea eax, [esp + 0x47d8]
push eax
push ebp
call fcn.00431a70
lea ecx, [esp + 0x47d8]
push ecx
lea edx, [esp + 0x6fdc]
push edx
call esi
push 0x400
lea eax, [esp + 0x47dc]
push eax
lea ecx, [esp + 0x50]
call fcn.0046b560
test al, al
jne 0x495e60
mov byte [esp + 0x8814], 1
lea ecx, [esp + 0x48]
call fcn.00401ab0
jmp 0x495866
cmp byte [esp + 0xc5c], 0
je 0x495fc8
mov esi, dword [esp + 0x18]
mov ecx, dword [esi]
push ebp
push 1
push ecx
mov ecx, 0x4f0dd0
call fcn.004162e0
cmp eax, 1
jne 0x495fc8
mov eax, dword [esi]
lea edx, [esp + 0x47d8]
sub edx, eax
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
cmp cx, bp
jne 0x495f31
lea edx, [esp + 0x47d8]
push edx
call fcn.00451c20
push eax
push 0x258
call fcn.00461310
push eax
lea eax, [esp + 0x3de0]
push eax
mov edx, 0x480
call fcn.0049c820
add esp, 0xc
lea ecx, [esp + 0x3dd8]
push ecx
call fcn.00486150
lea edx, [esp + 0x47d8]
push edx
push ebp
call fcn.004326d0
lea eax, [esp + 0x47d8]
push eax
push ebp
call fcn.00431a70
push 0x400
lea ecx, [esp + 0x47dc]
push ecx
mov ecx, 0x4f0dd0
call fcn.004134d0
test al, al
je 0x495fc8
lea edx, [esp + 0x47d8]
push edx
push ebp
call fcn.00431780
test al, al
jne 0x495f40
push ebp
push 1
push 0x4f907c
mov ecx, 0x4f0dd0
call fcn.004162e0
cmp eax, 1
jne 0x495866
xor eax, eax
jmp 0x495ff0
movzx ecx, word [eax + 0x4f907c]
mov word [esp + eax + 0x57d8], cx
add eax, 2
cmp cx, bp
jne 0x495ff0
mov eax, dword [esp + 0x40]
cmp eax, ebp
je 0x496014
cmp eax, 1
jne 0x49604c
push ebp
push ebp
push 3
push ebp
push ebp
push 0x40000000
lea eax, [esp + 0x57f0]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x49604c
lea ecx, [esp + 0x20f8]
push ecx
push ebp
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x400
lea edx, [esp + 0x57dc]
push edx
mov ecx, 0x4f0dd0
call fcn.004134d0
test al, al
je 0x495866
lea eax, [esp + 0x57d8]
push eax
push ebp
call fcn.00431780
test al, al
jne 0x496007
jmp 0x495866
push ebp
push ebp
push ebp
push ebp
push ebp
push 1
push ebp
push 1
call fcn.00486d70
call fcn.004861f0
cmp byte [0x4e9b89], 0
je 0x4960cf
push ebp
push ebp
lea ecx, [esp + 0x77e0]
push ecx
mov ecx, 0x4f0dd0
call fcn.004162e0
cmp eax, 1
je 0x4960c6
mov ecx, 0x4f04a8
call fcn.00442a80
test al, al
jne 0x4960d5
cmp byte [0x4e9b89], 0
jne 0x4960ea
cmp dword [esp + 0x24], ebp
jbe 0x4960ea
push 0x4f907c
call fcn.00451c20
push eax
mov ecx, 0x4f04a8
call fcn.00443130
cmp byte [esp + 0xc64], 0
je 0x496105
mov edx, dword [str.InterfaceConvertProfile]
push edx
push 0x5110d0
call fcn.0045bdb0
push 0x5110d0
call fcn.0045be90
cmp byte [esp + 0x16], 0
je 0x49611b
call fcn.00485140
mov dword [esp + 0x8814], 0xffffffff
lea ecx, [esp + 0x390]
call fcn.004147b0
mov ecx, dword [esp + 0x880c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x87f4]
xor ecx, esp
call fcn.004a4b43
add esp, 0x8804
ret 4