Function at 0x4389d0
Capabilities:
Create directory
Create process on windows
Delete file
Move file
Query or enumerate registry key
Query or enumerate registry value
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x479dec
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x8774
call fcn.00457240
mov eax, dword [0x4994a0]
xor eax, dword [ebp + 4]
push ebx
push esi
push edi
mov dword [esp + 0x877c], eax
xor eax, eax
mov ecx, 0x104
lea edi, [esp + 0x260]
rep stosd dword es:[edi], eax
push 0x410
lea eax, [esp + 0x264]
push eax
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x260]
push ecx
lea ecx, [esp + 0x14]
call fcn.00405920
mov edx, dword [esp + 0x10]
push 0x5c
push edx
mov dword [esp + 0x8794], edi
call fcn.004577cd
add esp, 8
cmp eax, edi
jne 0x438a65
or eax, 0xffffffff
jmp 0x438a69
sub eax, dword [esp + 0x10]
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
call fcn.00408600
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x8790], 1
call fcn.00402990
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x878c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438ab0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x260]
sub edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x438ac0
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendA]
push str.Registry_Backups
lea eax, [esp + 0x264]
push eax
call esi
lea ecx, [esp + 0x260]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea edx, [esp + 0x260]
push edx
lea ecx, [esp + 0x40]
call fcn.00405920
push str..reg
lea eax, [esp + 0x264]
push eax
mov byte [esp + 0x8794], 2
call esi
mov ebx, 0xf
lea eax, [esp + 0x260]
mov dword [esp + 0x90], ebx
mov dword [esp + 0x8c], edi
mov byte [esp + 0x7c], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x438b37
sub eax, edx
push eax
lea ecx, [esp + 0x264]
push ecx
lea ecx, [esp + 0x80]
call fcn.004044d0
lea edx, [esp + 0xcc]
push edx
mov byte [esp + 0x8790], 3
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push str.1.reg
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [ebp + 8]
cmp esi, edi
je 0x439493
mov eax, dword [esi + 8]
cmp eax, edi
je 0x438be6
jle 0x438be6
lea ebx, [ebx]
mov eax, dword [esi + 4]
mov ecx, dword [eax + edi*4]
lea edx, [esp + 0x1c]
push edx
call fcn.0043c330
mov eax, dword [eax]
push 0x47e490
push eax
call fcn.004578d3
add esp, 8
test eax, eax
mov eax, dword [esp + 0x1c]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438bd3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
jne 0x438c10
mov eax, dword [esi + 8]
inc edi
cmp edi, eax
jl 0x438b90
mov ebx, 0xf
xor edi, edi
cmp dword [esp + 0x90], 0x10
jb 0x438bfd
mov eax, dword [esp + 0x7c]
push eax
call fcn.0046b3f3
add esp, 4
mov dword [esp + 0x90], ebx
mov dword [esp + 0x8c], edi
jmp 0x4397b1
call fcn.0046b487
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x878c], 4
call fcn.00472326
mov ecx, dword [eax + 4]
call fcn.0046b1f1
push 1
push str.SeBackupPrivilege
mov byte [esp + 0x8794], 5
call fcn.004375f0
add esp, 8
lea ecx, [esp + 0x48]
call fcn.0046b989
push 0
push 0x1002
push str.1.reg
lea ecx, [esp + 0x54]
mov byte [esp + 0x8798], 6
call fcn.0046bbda
mov ecx, dword [esi + 8]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x1c], eax
jle 0x43943c
jmp 0x438c90
mov ecx, dword [esi + 4]
mov esi, dword [ecx + eax*4]
call fcn.0046b487
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
lea eax, [esp + 0xb0]
push eax
mov ecx, esi
mov byte [esp + 0x8790], 7
call fcn.00416bf0
mov eax, dword [eax]
lea ecx, [eax - 0x10]
lea ebx, [edi - 0x10]
cmp ecx, ebx
mov byte [esp + 0x878c], 8
je 0x438d1e
mov edx, dword [ebx + 0xc]
test edx, edx
lea edi, [ebx + 0xc]
jge 0x438cf2
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00402770
mov edi, dword [esp + 0x18]
jmp 0x438d1e
push ecx
call fcn.00402360
add esp, 4
mov dword [esp + 0x24], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x438d13
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov edi, dword [esp + 0x24]
add edi, 0x10
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0xb0]
add eax, 0xfffffff0
mov byte [esp + 0x878c], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438d47
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [edi - 4]
mov ebx, dword [edi - 0xc]
mov ecx, 1
sub ecx, eax
mov eax, dword [edi - 8]
sub eax, ebx
or eax, ecx
jge 0x438d6b
push ebx
lea ecx, [esp + 0x1c]
call fcn.00402310
mov edi, dword [esp + 0x18]
push edi
call fcn.004588fd
add esp, 4
lea eax, [esp + 0xc]
mov dword [edi - 0xc], ebx
push eax
mov ecx, esi
mov byte [ebx + edi], 0
call fcn.0043c330
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 0xc]
test eax, eax
mov byte [esp + 0x878c], 9
jne 0x438da2
lea eax, [ecx - 0x10]
jmp 0x4393e4
jg 0x438da9
or ebx, 0xffffffff
jmp 0x438dc3
push 0x5c
push ecx
call fcn.004589da
add esp, 8
test eax, eax
jne 0x438dbd
or ebx, 0xffffffff
jmp 0x438dc3
sub eax, dword [esp + 0xc]
mov ebx, eax
push ebx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x14]
call fcn.00408600
inc ebx
push ebx
push 0
lea ecx, [esp + 0x14]
mov byte [esp + 0x8794], 0xa
call fcn.00423780
mov ecx, dword [esp + 0x20]
push str.HKEY_CLASSES_ROOT
push ecx
call fcn.004578d3
add esp, 8
test eax, eax
jne 0x438e07
mov dword [esp + 0x28], SysReAllocString
jmp 0x438e61
mov ebx, dword [esp + 0x20]
push str.HKEY_CURRENT_USER
push ebx
call fcn.004578d3
add esp, 8
test eax, eax
jne 0x438e27
mov dword [esp + 0x28], OleUIBusyA
jmp 0x438e61
push str.HKEY_LOCAL_MACHINE
push ebx
call fcn.004578d3
add esp, 8
test eax, eax
jne 0x438e43
mov dword [esp + 0x28], reloc.OLEAUT32.dll_SysReAllocString
jmp 0x438e61
push str.HKEY_USERS
push ebx
call fcn.004578d3
add esp, 8
test eax, eax
jne 0x4393bb
mov dword [esp + 0x28], OleUIBusyA
lea edx, [esp + 0xa8]
push edx
mov ecx, esi
call fcn.0043c360
mov eax, dword [eax]
push 0x4849ac
push eax
mov byte [esp + 0x8794], 0xb
call fcn.004578d3
add esp, 8
test eax, eax
je 0x438ed9
lea eax, [esp + 0xc0]
push eax
mov ecx, esi
call fcn.0043c360
mov eax, dword [eax]
push 0x4849a8
push eax
call fcn.004578d3
add esp, 8
test eax, eax
mov eax, dword [esp + 0xc0]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438ed1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x438ed9
mov bl, 1
jmp 0x438edb
xor bl, bl
mov eax, dword [esp + 0xa8]
add eax, 0xfffffff0
mov byte [esp + 0x878c], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438f04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x438f14
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
jmp 0x4393be
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x2c]
push eax
push 0xf003f
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x438f40
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
jmp 0x4393be
push 4
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x50]
call fcn.0046b6d6
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx - 0xc]
push 4
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x6c], edx
call fcn.0046b6d6
mov eax, dword [esp + 0xc]
cmp dword [eax - 4], 1
jle 0x438f86
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x10]
call fcn.004020c0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x64]
push edx
push eax
lea ecx, [esp + 0x50]
call fcn.0046b6d6
call fcn.0046b487
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x40], eax
lea eax, [esp + 0x9c]
push eax
mov ecx, esi
mov byte [esp + 0x8790], 0xc
call fcn.0043c360
mov eax, dword [eax]
push 0x4849ac
push eax
call fcn.004578d3
mov ebx, eax
mov eax, dword [esp + 0xa4]
add esp, 8
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438ff8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x439309
push 4
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x2c], 1
call fcn.0046b6d6
xor eax, eax
mov byte [esp + 0x158], 0
mov ecx, 0x40
lea edi, [esp + 0x159]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0xe8]
push ecx
stosb byte es:[edi], al
lea edx, [esp + 0xe4]
push edx
lea eax, [esp + 0xe4]
push eax
lea ecx, [esp + 0xf0]
push ecx
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0xe4]
push edx
mov edx, dword [esp + 0x4c]
push 0
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0x180]
push ecx
push edx
mov dword [esp + 0xdc], 0x104
mov dword [esp + 0xf8], 0
mov dword [esp + 0x60], 0x3fff
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4392ef
mov dword [esp + 0x44], 0
jbe 0x4392ef
mov eax, 0x3fff
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x477c]
push ecx
lea edx, [esp + 0xc0]
push edx
mov edx, dword [esp + 0x50]
push 0
lea eax, [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x78c]
push ecx
push edx
push eax
mov byte [esp + 0x798], 0
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
mov edi, eax
call fcn.0043c2c0
mov ecx, eax
call fcn.00416bc0
lea edx, [esp + 0xa4]
push edx
mov ecx, esi
mov byte [esp + 0x8790], 0xd
call fcn.0043c2c0
mov ecx, eax
call fcn.00416bc0
mov eax, dword [eax]
push str._Default_
push eax
call fcn.004578d3
mov ebx, eax
mov eax, dword [esp + 0xac]
add esp, 8
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x439177
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x4391a6
mov ecx, esi
call fcn.0043c2c0
mov edx, 0x47e490
lea ecx, [edx + 1]
lea ebx, [ebx]
mov bl, byte [edx]
inc edx
test bl, bl
jne 0x439190
sub edx, ecx
push edx
push 0x47e490
mov ecx, eax
call fcn.00402770
lea eax, [esp + 0x94]
push eax
mov ecx, esi
call fcn.0043c2c0
mov ecx, eax
call fcn.00416bc0
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x8790], 0xe
call fcn.00402990
mov eax, dword [esp + 0x94]
add eax, 0xfffffff0
mov byte [esp + 0x878c], 0xd
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4391f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test edi, edi
jne 0x4392b4
lea eax, [esp + 0xa0]
push eax
mov ecx, esi
call fcn.0043c2c0
mov ecx, eax
call fcn.00416bc0
mov eax, dword [eax]
lea ecx, [esp + 0x778]
push ecx
push eax
call fcn.004578d3
mov ebx, eax
mov eax, dword [esp + 0xa8]
add esp, 8
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x439251
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x4392b4
push 4
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x50]
call fcn.0046b6d6
mov ecx, dword [esp + 0x30]
push ecx
lea edx, [esp + 0x77c]
push edx
lea ecx, [esp + 0x50]
call fcn.0046b6d6
push 4
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0x50]
call fcn.0046b6d6
push 4
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x50]
call fcn.0046b6d6
mov edx, dword [esp + 0x38]
push edx
lea eax, [esp + 0x477c]
push eax
lea ecx, [esp + 0x50]
call fcn.0046b6d6
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
mov byte [esp + 0x878c], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4392da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x60]
inc eax
cmp eax, ecx
mov dword [esp + 0x44], eax
jb 0x4390c2
push 4
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x2c], 0
call fcn.0046b6d6
jmp 0x43931b
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x48]
push ecx
push edx
call fcn.00437960
add esp, 8
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x878c], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43934c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x878c], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x439372
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x878c], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x439398
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x878c], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x439425
mov ecx, dword [eax]
push eax
jmp 0x439420
lea eax, [ebx - 0x10]
mov byte [esp + 0x878c], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4393dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x878c], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x439403
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add edi, 0xfffffff0
mov byte [esp + 0x878c], 6
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x439425
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x438c90
lea ecx, [esp + 0x48]
call fcn.0046b927
lea ecx, [esp + 0x48]
mov byte [esp + 0x878c], 5
call fcn.0046b9c8
mov byte [esp + 0x878c], 4
call fcn.00472326
mov ecx, dword [eax + 4]
call fcn.0046b206
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x878c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4394af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x4394af
push edi
push 0x47e490
push str._e_1.reg_HKEY_LOCAL_MACHINE
push str.regedit.exe
push 0x47e490
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
movzx eax, word [esp + 0xd8]
movzx ecx, word [esp + 0xd6]
movzx edx, word [esp + 0xd4]
push eax
movzx eax, word [esp + 0xd6]
push ecx
movzx ecx, word [esp + 0xd6]
push edx
movzx edx, word [esp + 0xd8]
push eax
push ecx
push edx
lea eax, [esp + 0x108]
push str._4.4d__2.2d__2.2d__2.2d__2.2d__2.2d.reg
push eax
call fcn.00458982
push 0x482880
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.00405860
mov eax, dword [eax]
add esp, 0x2c
xor edi, edi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x439538
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileA]
mov edi, edi
push str.Registry_Backups_
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.00405860
lea edx, [esp + 0xfc]
push edx
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x87a4], 0xf
call fcn.00405860
mov eax, dword [eax]
add esp, 0x18
push eax
push str.1.reg
call esi
mov ebx, eax
mov eax, dword [esp + 0x14]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4395a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x878c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4395c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
jne 0x439540
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
lea eax, [esp + 0xbc]
push eax
push edi
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0xc0]
push edx
lea eax, [esp + 0x44]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x64], edi
mov dword [esp + 0xe4], edi
mov dword [esp + 0xec], 1
mov eax, str..reg
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], edi
mov byte [esp + 0x87bc], 0x10
mov dword [esp + 0x8c], esp
mov byte [ecx + 4], bl
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x439636
sub eax, esi
push eax
push str..reg
call fcn.004044d0
push 0x482880
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0x87c8], 0x11
call fcn.00405860
mov esi, dword [eax]
sub esp, 0x10
mov ecx, esp
xor ebx, ebx
mov eax, esi
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
mov byte [esp + 0x87d8], 0x12
mov dword [esp + 0xe4], esp
mov byte [ecx + 4], bl
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x439690
sub eax, edi
push eax
push esi
call fcn.004044d0
mov byte [esp + 0x87d8], 0x13
call fcn.00438470
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
add esp, 0x4c
mov byte [esp + 0x878c], 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4396d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov dword [esp + 0x5c], ebx
lea eax, [esp + 0x678]
push eax
lea ecx, [esp + 0xc8]
mov byte [esp + 0x8790], 0x14
call fcn.00405920
mov ecx, dword [esp + 0x34]
add ecx, 0xfffffffb
xor edi, edi
test ecx, ecx
jle 0x439730
xor esi, esi
mov eax, dword [esp + 0x6c]
cmp dword [eax + esi + 0x18], 0x10
jb 0x439716
mov eax, dword [eax + esi + 4]
jmp 0x43971a
lea eax, [eax + esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x34]
inc edi
add edx, 0xfffffffb
add esi, 0x1c
cmp edi, edx
jl 0x439705
mov eax, dword [esp + 0xc4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x439751
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x6c]
cmp esi, ebx
je 0x43977c
mov edi, dword [esp + 0x70]
cmp esi, edi
je 0x439773
mov ecx, esi
call fcn.00403fd0
add esi, 0x1c
cmp esi, edi
jne 0x439761
mov esi, dword [esp + 0x6c]
push esi
call fcn.0046b3f3
add esp, 4
cmp dword [esp + 0x90], 0x10
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
jb 0x43979f
mov eax, dword [esp + 0x7c]
push eax
call fcn.0046b3f3
add esp, 4
mov dword [esp + 0x90], 0xf
mov dword [esp + 0x8c], ebx
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x7c], 0
mov byte [esp + 0x878c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4397dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x878c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x439805
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x8784]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x877c]
xor ecx, dword [ebp + 4]
call fcn.00456aa7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret