Function at 0x47da00
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0ba8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x50ac94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 2
xor ebx, ebx
push str.SeBackupPrivilege
mov esi, 0xfffffffe
mov dword [ebp - 0x14], ebx
call fcn.004660d0
mov ecx, dword [ebp + 8]
add esp, 4
lea eax, [ebp - 0x14]
push eax
push 0x20019
push ebx
push ecx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x47db0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
mov edx, esp
mov dword [ebp - 0x24], esp
push eax
mov eax, dword [ebp + 8]
push eax
push str._MyRegSaveKeyEx:_failed:_couldnt_open_source_key__s__LE_d
push edx
call fcn.00468700
add esp, 0x10
call fcn.0047c480
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47dab1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47dad3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47daf9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str..test
lea edx, [ebp + 0xc]
push edx
push ecx
call fcn.0042380e
mov ecx, dword [ebp - 0x14]
add esp, 0xc
call fcn.0047d020
add esp, 4
cmp eax, ebx
je 0x47def1
push ecx
mov eax, esp
mov dword [ebp - 0x24], esp
push str.MyRegSaveKeyEx:_RegSaveKeyEx_seems_to_work._Now_doing_it_with_the_right_SA_attributes
push eax
call fcn.00468700
add esp, 8
call fcn.0047c480
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov dword [ebp - 0x24], esp
mov esi, esp
push eax
call fcn.00424240
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0046bda0
add esp, 4
cmp eax, ebx
jne 0x47dc30
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 0xc]
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
push edx
push str._MyRegSaveKeyEx:_failed_deleting_hive_file_for_second_RegSaveKeyEx:__s__LE_d
push ecx
call fcn.00468700
add esp, 0x10
call fcn.0047c480
mov eax, dword [ebp - 0x14]
add esp, 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47dbcf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47dbf1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47daf9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
lea ecx, [ebp - 0x40]
push ecx
lea esi, [ebp - 0x30]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], ebx
call fcn.0046f760
add esp, 4
call fcn.004b1a4e
push eax
lea edx, [ebp - 0x18]
push str.SoftwareCameyo.Repackage._d
push edx
call fcn.00468700
add esp, 0xc
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
push eax
push SysReAllocStringLen
call fcn.00469b50
mov eax, dword [ebp - 0x18]
add esp, 8
push ebx
lea ecx, [ebp - 0x1c]
push ecx
mov edx, esi
push edx
push 0xf003f
push ebx
push ebx
push ebx
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x47dd79
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x18]
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
push edx
push str._MyRegSaveKeyEx:_could_not_create_Repackage_key:__s__LE_d
push ecx
call fcn.00468700
add esp, 0x10
call fcn.0047c480
mov eax, dword [ebp - 0x14]
add esp, 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47dcf4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47dd17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47dd3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47daf9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x4e6d60
push str.Shlwapi.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
push ebx
push ecx
push ebx
push edx
call eax
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call esi
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
push edi
push str.MyRegSaveKeyEx:_SHCopyKeyW_returned_Res_d__LE_d
push ecx
call fcn.00468700
add esp, 0x10
call fcn.0047c480
add esp, 4
cmp edi, ebx
jne 0x47ddf4
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
push 2
push ebx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSaveKeyExW]
mov edi, eax
call esi
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
push edi
push str.MyRegSaveKeyEx:_actual_RegSaveKeyEx_returned_Res_d__LE_d
push ecx
jmp 0x47de04
call esi
push ecx
mov edx, esp
mov dword [ebp - 0x24], esp
push eax
push edi
push str._MyRegSaveKeyEx:_SHCopeKeyW_failed:_Res_d__LE_d
push edx
call fcn.00468700
add esp, 0x10
call fcn.0047c480
mov eax, dword [ebp - 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 4
push eax
call esi
mov ecx, dword [ebp - 0x18]
push ecx
push SysReAllocStringLen
call fcn.00469b50
add esp, 4
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.MyRegSaveKeyEx:_success__short_path_
call fcn.004235bf
call fcn.0047c480
mov edx, dword [ebp - 0x14]
add esp, 4
push edx
call esi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47de71
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47de94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47deb7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47dedd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.RegLoadAppKeyW
push str.ADVAPI32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x47e392
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
mov edx, esp
mov dword [ebp - 0x24], esp
push eax
mov eax, dword [ebp + 0x10]
push ecx
push eax
push str.MyRegSaveKeyEx:_trying_DoRunDll__s_:_KeyName_s__TargetFile_s
push edx
call fcn.00468700
add esp, 0x14
call fcn.0047c480
mov esi, esp
mov dword [ebp - 0x24], esp
push str.VirtReg.dat
call fcn.004b1a4e
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call ebx
push eax
push str.CE._x._x._x._s
push esi
call fcn.00468700
lea ecx, [ebp - 0x10]
add esp, 0x18
push ecx
call fcn.00467e00
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x20], 0
mov eax, dword [edx - 0xc]
test eax, eax
je 0x47e17a
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 8]
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push edx
push eax
push str._s__s
push ecx
call fcn.00468700
add esp, 0xc
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.MyRegSaveKeyExRundll
call fcn.004235bf
mov byte [ebp - 4], 6
mov eax, dword [ebp + 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x18], esp
mov esi, esp
push eax
call fcn.00424240
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [ebp - 4], 4
call fcn.00470e60
add esp, 0x10
test eax, eax
je 0x47e16d
cmp dword [ebp - 0x20], 0x7b
jne 0x47e16d
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.MyRegSaveKeyEx:_success__through_Rundll_
call fcn.004235bf
call fcn.0047c480
mov eax, dword [ebp - 0x10]
add esp, 4
push 0xf
push 0xc0000000
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x24], esp
mov esi, esp
push eax
call fcn.00424240
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0047d8b0
add esp, 0xc
push ecx
mov dword [ebp - 0x24], esp
test eax, eax
je 0x47e0ab
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.00424240
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0046bda0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
add esp, 4
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x47e083
xor esi, esi
jmp 0x47e36f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 0xc]
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
mov eax, dword [ebp - 0x10]
push edx
push eax
push str.MyRegSaveKeyEx:_MoveFile1__s___s__failed__LE_d
push ecx
call fcn.00468700
add esp, 0x14
jmp 0x47e18a
mov ecx, esp
push str.MyRegSaveKeyEx:_timed_out_waiting_for_file_to_become_available__1_
push ecx
call fcn.00468700
add esp, 8
call fcn.0047c480
mov dword [ebp - 0x24], esp
mov esi, esp
push str.VirtReg.dat
call fcn.004b1a4e
push eax
call edi
push eax
call ebx
push eax
push str.CE._x._x._x._s
push esi
call fcn.00468700
lea edx, [ebp - 0x24]
add esp, 0x18
push edx
call fcn.00467e00
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [eax]
mov esi, dword [ebp - 0x10]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x47e148
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x47e13b
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x47e13b
push eax
call fcn.00424240
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x47e133
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp - 0x10], ebx
jmp 0x47e148
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.004241cf
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47e192
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x47e192
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.MyRegSaveKeyEx:_Rundll_failed
jmp 0x47e185
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.MyRegSaveKeyEx:_no_ExportDll_specified
call fcn.004235bf
call fcn.0047c480
add esp, 4
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push edx
push eax
push SysReAllocStringLen
push str.MyRegSaveKeyEx:_trying_directly_through_our_process:_hRootKey0x_x__KeyName_s__TargetFile_s
push ecx
call fcn.00468700
add esp, 0x14
call fcn.0047c480
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov esi, esp
push eax
call fcn.00424240
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 8
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 0x18], esp
mov esi, esp
push eax
call fcn.00424240
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [ebp - 4], 4
call fcn.0047d1b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x47e34b
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.MyRegSaveKeyEx:_success__directly_through_our_process_
call fcn.004235bf
call fcn.0047c480
mov eax, dword [ebp - 0x10]
add esp, 4
push 0xf
push 0xc0000000
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov esi, esp
push eax
call fcn.00424240
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0047d8b0
add esp, 0xc
test eax, eax
jne 0x47e30c
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.MyRegSaveKeyEx:_timed_out_waiting_for_file_to_become_available__2_
push ecx
call fcn.00468700
add esp, 8
call fcn.0047c480
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47e289
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47e2ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47e2cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47e2f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffffe
je 0x47e36f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 0xc]
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
mov eax, dword [ebp - 0x10]
push edx
push eax
push str.MyRegSaveKeyEx:_MoveFile2__s___s__failed__LE_d
push ecx
call fcn.00468700
add esp, 0x14
jmp 0x47e367
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
push esi
push str.MyRegSaveKeyEx:_failed_directly_through_our_process:_Res_d__LE_d
push ecx
call fcn.00468700
add esp, 0x10
call fcn.0047c480
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47e392
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
push esi
push str.MyRegSaveKeyEx:_Res_d__LE_d
push ecx
call fcn.00468700
add esp, 0x10
call fcn.0047c480
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47e3d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47e3fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47e422
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret