Function at 0x47d8f0
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad8d0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x4d25ac]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, edx
mov dword [ebp - 0xe0], eax
xor edx, edx
xor ebx, ebx
push 0x23
mov eax, str.CFFConfig:_ParsePreferences__szKey:
lea esi, [ebp - 0xdc]
mov dword [ebp - 0xec], edi
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xc4], 7
mov dword [ebp - 0xc8], ebx
mov word [ebp - 0xd8], dx
call fcn.00401f30
mov eax, esi
push eax
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.004035d0
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0xc4], 8
jb 0x47d991
mov ecx, dword [ebp - 0xd8]
push ecx
call fcn.00491101
add esp, 4
xor edx, edx
push 0x25
mov eax, str.CFFConfig:_ParsePreferences__szValue:
lea esi, [ebp - 0xdc]
mov dword [ebp - 0xc4], 7
mov dword [ebp - 0xc8], ebx
mov word [ebp - 0xd8], dx
call fcn.00401f30
mov ecx, dword [ebp - 0xbc]
mov eax, esi
push eax
mov dword [ebp - 4], 1
call fcn.004035d0
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0xc4], 8
jb 0x47d9f3
mov ecx, dword [ebp - 0xd8]
push ecx
call fcn.00491101
add esp, 4
xor edx, edx
push 0x23
mov eax, str.CFFConfig:_ParsePreferences__ptype:
lea esi, [ebp - 0xdc]
mov dword [ebp - 0xc4], 7
mov dword [ebp - 0xc8], ebx
mov word [ebp - 0xd8], dx
call fcn.00401f30
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 2
call fcn.00403270
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0xc4], 8
jb 0x47da4c
mov eax, dword [ebp - 0xd8]
push eax
call fcn.00491101
add esp, 4
push ebx
mov esi, 0xf
push 0x4c1e70
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
call fcn.00408550
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 4], 3
cmp dword [eax + 0x54], 8
mov byte [ebp - 0xad], bl
mov byte [ebp - 0xa5], bl
jb 0x47da98
mov eax, dword [eax + 0x40]
jmp 0x47da9b
add eax, 0x40
push 3
lea ecx, [ebp - 0x2cc]
push eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x2d0], ecx
call fcn.00403bd0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2d0]
push edx
lea eax, [ebp - 0x24c]
push eax
call fcn.0047ec70
mov eax, dword [ebp - 0x2d0]
lea ecx, [ebp - 0x2cc]
cmp eax, ecx
je 0x47dae5
push eax
call fcn.0049227f
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 7
mov edx, dword [0x4d4934]
mov eax, dword [edx + 0xc]
mov ecx, 0x4d4934
call eax
add eax, 0x10
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 8
xor ecx, ecx
push 0xffffffffffffffff
mov word [ebp - 0x48], cx
push ebx
mov eax, edi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 0xae], 1
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
call fcn.00401c20
push 1
push 0x4b6f98
xor edx, edx
mov eax, edi
mov byte [ebp - 4], 9
call fcn.0047f1b0
mov esi, eax
cmp esi, 0xffffffff
je 0x47db7d
push 4
lea ebx, [ebp - 0x4c]
call fcn.0047eff0
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.00401c20
push 1
lea edx, [esi + 4]
push 0x4b6f98
mov eax, ebx
call fcn.0047f1b0
mov esi, eax
cmp esi, 0xffffffff
jne 0x47db4e
xor ebx, ebx
cmp dword [ebp - 0x34], 8
jb 0x47dbcf
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xb8], eax
cmp eax, ebx
je 0x47dbda
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x47dbda
lea edi, [eax + eax]
mov eax, edi
call fcn.0049a5e0
mov esi, esp
cmp esi, ebx
je 0x47dbda
mov edx, dword [ebp - 0xb8]
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
push edx
push ebx
push 3
mov byte [esi], bl
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x47dbdc
lea eax, [ebp - 0x48]
mov dword [ebp - 0xb8], eax
jmp 0x47db90
xor eax, eax
lea ecx, [ebp - 0xe8]
push ecx
mov edi, eax
call fcn.0047ed90
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x24c]
mov ecx, dword [edx + 4]
push 0xa
lea ecx, [ebp + ecx - 0x24c]
call fcn.0041f7f0
movzx eax, al
push eax
lea ecx, [ebp - 0x24c]
push ecx
lea ecx, [ebp - 0x30]
call fcn.0047f3b0
mov edx, dword [eax]
mov ecx, dword [edx + 4]
add ecx, eax
mov eax, dword [ecx + 8]
and al, 6
movsx edx, al
add esp, 8
neg edx
sbb edx, edx
not edx
test ecx, edx
je 0x47e376
jmp 0x47dc40
push 0xb
push 0x4c58cc
lea eax, [ebp - 0x30]
push eax
xor eax, eax
call fcn.00407b80
cmp dword [ebp - 0x18], 0x10
mov ebx, dword [ebp - 0x2c]
mov esi, eax
jae 0x47dc60
lea ebx, [ebp - 0x2c]
lea eax, [ebp - 0xac]
call fcn.0047eb40
cmp esi, 0xffffffff
je 0x47e29a
push 1
lea ecx, [ebp - 0xa4]
push ecx
lea edx, [ebp - 0x30]
add esi, 0xb
push edx
mov eax, esi
mov byte [ebp - 0xa4], 0x22
call fcn.00407b80
push 1
lea ecx, [ebp - 0xa4]
push ecx
lea edx, [ebp - 0x30]
mov edi, eax
push edx
sub edi, esi
mov byte [ebp - 0xa4], 0x2c
call fcn.00407b80
push 1
lea ecx, [ebp - 0xa4]
push ecx
lea edx, [ebp - 0x30]
push edx
mov dword [ebp - 0xc0], eax
mov byte [ebp - 0xa4], 0x22
call fcn.00407b80
cmp eax, 0xffffffff
jne 0x47dda9
mov ebx, dword [ebp - 0xc0]
push 1
lea edx, [ebp - 0xa4]
lea eax, [ebp - 0x30]
push edx
push eax
mov eax, dword [ebp - 0xc0]
inc ebx
mov byte [ebp - 0xa4], 0x29
call fcn.00407b80
sub eax, ebx
mov ecx, esi
push edi
lea esi, [ebp - 0x84]
lea edx, [ebp - 0x30]
mov dword [ebp - 0xc0], eax
call fcn.0047ea80
mov ecx, dword [ebp - 0xc0]
push ecx
mov ecx, ebx
lea esi, [ebp - 0x68]
lea edx, [ebp - 0x30]
mov byte [ebp - 4], 0xb
call fcn.0047ea80
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x50], 0x10
mov ecx, dword [ebp - 0x64]
jae 0x47dd3e
lea ecx, [ebp - 0x64]
lea edx, [ebp - 0xb4]
push edx
call fcn.0047eab0
lea ebx, [ebp - 0xb4]
mov byte [ebp - 4], 0xd
call fcn.00410c10
mov ebx, eax
call fcn.00410c90
mov ecx, dword [eax]
mov esi, dword [ebp - 0xb4]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x47ddd6
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x47ddc7
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x47ddc7
call fcn.004087c0
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x47dd9e
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp - 0xb4], ebx
jmp 0x47ddd6
lea ebx, [eax + 1]
push 1
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 0xa4], 0x22
push ecx
mov eax, ebx
jmp 0x47dcf8
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [ebp - 0xb4]
call fcn.004086c0
mov ecx, dword [ebp - 0x80]
xor ebx, ebx
cmp dword [ebp - 0x6c], 0x10
jae 0x47dde4
lea ecx, [ebp - 0x80]
lea edx, [ebp - 0xb8]
push edx
call fcn.0047eab0
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0xb8]
mov eax, edx
lea edi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x47de00
mov esi, dword [ebp - 0xec]
sub eax, edi
sar eax, 1
mov edi, eax
mov eax, dword [esi + 0x14]
push edx
mov ecx, esi
call fcn.00403710
cmp eax, ebx
je 0x47de32
jg 0x47de2e
cmp dword [ebp + 0xc], 1
je 0x47de32
xor cl, cl
jmp 0x47de34
mov cl, 1
cmp eax, ebx
setl byte [ebp - 0xa4]
test cl, cl
jne 0x47df2e
push 4
call fcn.00491198
add esp, 4
cmp eax, ebx
je 0x47de5d
lea ecx, [ebp - 0x180]
mov dword [eax], ecx
jmp 0x47de5f
xor eax, eax
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x174], ebx
mov dword [ebp - 0x170], ebx
mov dword [ebp - 0x16c], ebx
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x164], ebx
mov byte [ebp - 0x160], 0
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x158], ebx
mov byte [ebp - 0x154], 0
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x14c], ebx
mov byte [ebp - 0x148], 0
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x6c], 0x10
mov ecx, dword [ebp - 0x80]
jae 0x47dec0
lea ecx, [ebp - 0x80]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x47dec5
sub eax, edi
push ecx
lea edx, [ebp - 0xe8]
lea edi, [ecx + eax]
push edx
lea eax, [ebp - 0x184]
push eax
call fcn.0047f560
mov bl, al
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x174]
add esp, 0xc
test eax, eax
je 0x47df01
push eax
call fcn.00491101
add esp, 4
mov ecx, dword [ebp - 0x180]
xor eax, eax
push ecx
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x16c], eax
call fcn.00491101
add esp, 4
test bl, bl
je 0x47e211
xor ebx, ebx
mov eax, dword [ebp + 0xc]
sub eax, ebx
je 0x47e3ec
sub eax, 1
je 0x47e050
sub eax, 1
jne 0x47e213
xor edx, edx
mov edi, 7
xor ebx, ebx
push 0x43
mov eax, str.CFFConfig:_ParsePreferences__PARSING_TYPE_DELETE__found_key__value:
lea esi, [ebp - 0x108]
mov dword [ebp - 0xf0], edi
mov dword [ebp - 0xf4], ebx
mov word [ebp - 0x104], dx
call fcn.00401f30
mov ecx, dword [ebp - 0xbc]
mov eax, esi
push eax
mov byte [ebp - 4], 0x15
call fcn.004035d0
add esp, 4
cmp dword [ebp - 0xf0], 8
jb 0x47dfa6
mov ecx, dword [ebp - 0x104]
push ecx
call fcn.00491101
add esp, 4
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0xb8]
xor edx, edx
add eax, 0xfffffff0
mov word [ebp - 0x104], dx
mov dword [ebp - 0xf0], edi
mov dword [ebp - 0xf4], ebx
mov byte [ebp - 0xa5], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47dfe8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0xb4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47e00e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, 0x10
cmp dword [ebp - 0x50], esi
jb 0x47e024
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00491101
add esp, 4
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], 0
cmp dword [ebp - 0x6c], esi
jb 0x47e328
mov edx, dword [ebp - 0x80]
push edx
call fcn.00491101
add esp, 4
jmp 0x47e328
cmp byte [ebp - 0xad], 0
jne 0x47e213
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xbc]
push eax
push ecx
mov edi, esi
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 0xad], 1
call fcn.0047e9a0
add esp, 8
mov byte [ebp - 4], 0x12
cmp dword [eax + 0x18], 8
jb 0x47e08e
mov edx, dword [eax + 4]
jmp 0x47e091
lea edx, [eax + 4]
cmp edx, ebx
jne 0x47e099
xor eax, eax
jmp 0x47e0af
mov eax, edx
lea edi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x47e0a0
sub eax, edi
sar eax, 1
mov ebx, eax
push edx
lea eax, [ebp - 0xac]
call fcn.004086c0
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x1a4], 8
jb 0x47e0d9
mov edx, dword [ebp - 0x1b8]
push edx
call fcn.00491101
add esp, 4
xor ebx, ebx
xor eax, eax
mov edi, 7
mov dword [ebp - 0x1a4], edi
mov dword [ebp - 0x1a8], ebx
mov word [ebp - 0x1b8], ax
cmp byte [ebp - 0xa4], bl
je 0x47e125
push 0x4c5938
lea esi, [ebp - 0xac]
call fcn.0047ebc0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x47e119
lea eax, [ebp - 0x2c]
push eax
lea esi, [ebp - 0xac]
call fcn.0047ebc0
xor ecx, ecx
push 0x2f
mov eax, str.CFFConfig::ParsePreferences___PARSING_TYPE_SET:
lea esi, [ebp - 0x1a0]
mov dword [ebp - 0x188], edi
mov dword [ebp - 0x18c], ebx
mov word [ebp - 0x19c], cx
call fcn.00401f30
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0xac]
cmp dword [edx - 4], 1
jle 0x47e172
mov edx, dword [edx - 0xc]
push edx
lea eax, [ebp - 0xac]
push eax
call fcn.00407d00
mov edx, dword [ebp - 0xac]
xor ecx, ecx
mov eax, edx
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x110], ebx
mov word [ebp - 0x120], cx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x47e190
sub eax, esi
sar eax, 1
push eax
mov eax, edx
lea esi, [ebp - 0x124]
call fcn.00401f30
lea edx, [ebp - 0x1a0]
push edx
mov ecx, esi
mov byte [ebp - 4], 0x14
call fcn.004035d0
mov esi, 8
add esp, 4
cmp dword [ebp - 0x10c], esi
jb 0x47e1de
mov eax, dword [ebp - 0x120]
push eax
call fcn.00491101
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x110], ebx
mov word [ebp - 0x120], cx
cmp dword [ebp - 0x188], esi
jb 0x47e20a
mov edx, dword [ebp - 0x19c]
push edx
call fcn.00491101
add esp, 4
mov byte [ebp - 0xa5], 1
xor ebx, ebx
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0xb8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47e239
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0xb4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47e25f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, 0x10
cmp dword [ebp - 0x50], esi
jb 0x47e275
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00491101
add esp, 4
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], 0
cmp dword [ebp - 0x6c], esi
jb 0x47e29c
mov edx, dword [ebp - 0x80]
push edx
call fcn.00491101
add esp, 4
jmp 0x47e29c
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jle 0x47e328
mov eax, dword [ebp - 0xac]
cmp eax, ebx
jne 0x47e2b3
xor edx, edx
jmp 0x47e2fa
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x47e2f6
lea edi, [eax + eax]
mov eax, edi
call fcn.0049a5e0
mov esi, esp
test esi, esi
je 0x47e2f6
mov eax, dword [ebp - 0xac]
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push eax
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x47e2f8
xor eax, eax
mov edx, eax
mov eax, edx
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47e300
sub eax, esi
push eax
push edx
lea eax, [ebp - 0xa0]
call fcn.00410e20
push 2
push 0x4c5938
lea eax, [ebp - 0xa0]
call fcn.00410e20
mov ecx, dword [ebp - 0x24c]
mov ecx, dword [ecx + 4]
push 0xa
lea ecx, [ebp + ecx - 0x24c]
call fcn.0041f7f0
movzx edx, al
push edx
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x30]
call fcn.0047f3b0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + eax + 8]
add ecx, eax
and dl, 6
movsx eax, dl
add esp, 8
neg eax
sbb eax, eax
not eax
test ecx, eax
jne 0x47dc40
xor ebx, ebx
lea ecx, [ebp - 0x244]
call fcn.0041ef60
test eax, eax
jne 0x47e3ae
mov ecx, dword [ebp - 0x24c]
mov ecx, dword [ecx + 4]
mov eax, dword [ebp + ecx - 0x244]
lea ecx, [ebp + ecx - 0x24c]
or eax, 2
cmp dword [ecx + 0x28], ebx
jne 0x47e3a7
or eax, 4
push ebx
push eax
call fcn.0041c0e0
cmp dword [ebp + 0xc], ebx
jle 0x47e64a
cmp byte [ebp - 0xa5], bl
je 0x47e72e
mov esi, dword [ebp - 0xe0]
lea ecx, [ebp - 0xa0]
mov edx, esi
call fcn.0047e7e0
mov edi, 8
cmp dword [esi + 0x54], edi
jb 0x47e600
mov eax, dword [esi + 0x40]
jmp 0x47e603
mov eax, dword [ebp - 0xb4]
mov ecx, eax
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x47e3f7
mov esi, dword [ebp - 0xbc]
sub ecx, edi
sar ecx, 1
push ecx
call fcn.00401f30
lea ecx, [ebp - 0x244]
call fcn.0041ef60
xor edi, edi
test eax, eax
jne 0x47e44c
mov ecx, dword [ebp - 0x24c]
mov ecx, dword [ecx + 4]
mov eax, dword [ebp + ecx - 0x244]
lea ecx, [ebp + ecx - 0x24c]
or eax, 2
cmp dword [ecx + 0x28], edi
jne 0x47e445
or eax, 4
push edi
push eax
call fcn.0041c0e0
xor edx, edx
mov ebx, 7
push 0x2f
mov eax, str.CFFConfig::ParsePreferences___PARSING_TYPE_GET:
lea esi, [ebp - 0x140]
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x12c], edi
mov word [ebp - 0x13c], dx
call fcn.00401f30
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0xb4], edi
mov edx, esi
setne al
movzx ecx, al
push ecx
push edx
call fcn.00403190
add esp, 8
cmp dword [ebp - 0x128], 8
jb 0x47e4ac
mov eax, dword [ebp - 0x13c]
push eax
call fcn.00491101
add esp, 4
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0xb8]
xor ecx, ecx
add eax, 0xfffffff0
mov word [ebp - 0x13c], cx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x12c], edi
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47e4e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0xb4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47e50d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x50], 0x10
jb 0x47e51f
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00491101
add esp, 4
cmp dword [ebp - 0x6c], 0x10
mov esi, 0xf
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], edi
mov byte [ebp - 0x64], 0
jb 0x47e540
mov edx, dword [ebp - 0x80]
push edx
call fcn.00491101
add esp, 4
lea eax, [ebp - 0xe8]
push eax
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], edi
mov byte [ebp - 0x80], 0
mov byte [ebp - 4], 9
call fcn.0047ee40
cmp dword [ebp - 0x34], 8
jb 0x47e56c
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00491101
add esp, 4
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0xac]
xor edx, edx
add eax, 0xfffffff0
mov word [ebp - 0x48], dx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], edi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47e59d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x18], 0x10
jb 0x47e5af
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00491101
add esp, 4
lea ecx, [ebp - 0x1f4]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 3
call fcn.0041df80
lea edx, [ebp - 0x1f4]
push edx
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00490087
add esp, 4
cmp dword [ebp - 0x88], 0x10
jb 0x47e5f9
mov eax, dword [ebp - 0x9c]
push eax
call fcn.00491101
add esp, 4
mov al, 1
jmp 0x47e70a
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x54], edi
jb 0x47e614
mov ecx, dword [esi + 0x40]
jmp 0x47e617
lea ecx, [esi + 0x40]
cmp dword [esi + 0x70], edi
jb 0x47e621
mov eax, dword [esi + 0x5c]
jmp 0x47e624
lea eax, [esi + 0x5c]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne byte [ebp - 0xae]
cmp dword [esi + 0x70], edi
jb 0x47e640
mov esi, dword [esi + 0x5c]
jmp 0x47e643
add esi, 0x5c
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [ebp - 0xe8]
push edx
mov byte [ebp - 4], 9
call fcn.0047ee40
cmp dword [ebp - 0x34], 8
jb 0x47e66c
mov eax, dword [ebp - 0x48]
push eax
call fcn.00491101
add esp, 4
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xac]
xor ecx, ecx
add eax, 0xfffffff0
mov word [ebp - 0x48], cx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47e6a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jb 0x47e6b8
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00491101
add esp, 4
lea ecx, [ebp - 0x1f4]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 3
call fcn.0041df80
lea edx, [ebp - 0x1f4]
push edx
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00490087
add esp, 4
cmp dword [ebp - 0x88], esi
jb 0x47e704
mov eax, dword [ebp - 0x9c]
push eax
call fcn.00491101
add esp, 4
mov al, byte [ebp - 0xae]
lea esp, [ebp - 0x2e4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049110c
mov esp, ebp
pop ebp
ret 0xc
lea edx, [ebp - 0xe8]
push edx
mov byte [ebp - 4], 9
call fcn.0047ee40
lea esi, [ebp - 0x4c]
call fcn.0040a810
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xac]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47e76c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x30]
call fcn.00407660
lea ecx, [ebp - 0x1f4]
mov byte [ebp - 4], 3
call fcn.0041df80
lea ecx, [ebp - 0x1f4]
push ecx
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00490087
add esp, 4
lea ecx, [ebp - 0xa0]
call fcn.00407660
xor al, al
jmp 0x47e70a