Function at 0x40fbd0
Capabilities:
Create directory
Move file

Disassembly:
push 0xffffffffffffffff
push 0x4382d2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x648
mov eax, dword [0x449320]
mov dword [esp + 0x644], eax
mov eax, dword [esp + 0x658]
mov dword [esp + 0xc], ecx
push eax
lea ecx, [esp + 4]
call fcn.004057f0
mov ecx, dword [esp + 0x65c]
push ecx
lea ecx, [esp + 8]
mov dword [esp + 0x654], 0
call fcn.004057f0
mov edx, dword [esp]
mov eax, dword [edx - 0xc]
test eax, eax
mov byte [esp + 0x650], 1
je 0x40fc5e
lea ecx, [eax - 1]
test ecx, ecx
jl 0x40fe44
cmp ecx, eax
jg 0x40fe44
cmp byte [ecx + edx], 0x5c
je 0x40fc5e
push 0x5c
lea ecx, [esp + 4]
call fcn.00406de0
mov edx, dword [esp + 4]
mov ecx, dword [edx - 0xc]
test ecx, ecx
je 0x40fc8d
lea eax, [ecx - 1]
test eax, eax
jl 0x40fe44
cmp eax, ecx
jg 0x40fe44
cmp byte [eax + edx], 0x5c
je 0x40fc8d
push 0x5c
lea ecx, [esp + 8]
call fcn.00406de0
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x24]
call fcn.004132ad
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x450]
push 0x439e5c
push eax
mov byte [esp + 0x66c], 2
call fcn.0041c5fc
add esp, 0xc
push 0
lea ecx, [esp + 0x450]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00413340
test eax, eax
je 0x40fead
mov ebp, dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea ecx, [ecx]
lea ecx, [esp + 0x24]
call fcn.00413146
lea ecx, [esp + 0x24]
mov edi, eax
call fcn.00413274
test eax, eax
jne 0x40fea5
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x28]
call fcn.00413568
mov esi, eax
mov eax, dword [esi]
mov edx, dword [eax - 4]
sub eax, 0x10
mov eax, dword [eax + 8]
mov ecx, 1
sub ecx, edx
sub eax, 0x104
or eax, ecx
mov byte [esp + 0x660], 3
jge 0x40fd3b
push 0x104
mov ecx, esi
call fcn.00401350
mov esi, dword [esi]
lea ecx, [esp + 0x3c]
mov al, byte [esi]
inc esi
mov byte [ecx], al
inc ecx
test al, al
jne 0x40fd41
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x660], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fd71
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
push 0x10
lea ecx, [esp + 0x28]
call dword [eax + 0x38]
test eax, eax
je 0x40fe4e
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x3c]
push ecx
push edx
lea eax, [esp + 0x558]
push 0x439e54
push eax
call fcn.0041c5fc
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x4c]
push ecx
push edx
lea eax, [esp + 0x158]
push 0x439e54
push eax
call fcn.0041c5fc
add esp, 0x20
lea ecx, [esp + 0x140]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004057f0
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x664], 4
call fcn.00406d50
mov ebx, eax
mov eax, dword [esp + 0x1c]
add esp, 4
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
mov byte [esp + 0x660], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fe15
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x40fe29
push 0
lea eax, [esp + 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 0x140]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x554]
push edx
call fcn.0040fbd0
jmp 0x40fea5
push 0x80070057
call fcn.00401000
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x3c]
push eax
push ecx
lea edx, [esp + 0x350]
push 0x439e54
push edx
call fcn.0041c5fc
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x4c]
push eax
push ecx
lea edx, [esp + 0x25c]
push 0x439e54
push edx
call fcn.0041c5fc
add esp, 0x20
push 3
lea eax, [esp + 0x248]
push eax
lea ecx, [esp + 0x350]
push ecx
call ebp
test eax, eax
je 0x40ff42
test edi, edi
jne 0x40fce0
lea ecx, [esp + 0x24]
call fcn.00413076
lea ecx, [esp + 0x24]
mov byte [esp + 0x660], 1
call fcn.004132d1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x660], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40feed
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 + 0x660], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ff16
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
mov ecx, dword [esp + 0x658]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x648]
pop ebx
call fcn.0041c22b
add esp, 0x654
ret 8
call fcn.00429b49
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
lea eax, [esp + 0x244]
push eax
lea ecx, [esp + 0x34c]
push ecx
lea edx, [esp + 0x20]
push 0x43c3a0
push edx
mov byte [esp + 0x670], 5
call fcn.004047d0
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
add esp, 0x10
push 0
push 0x439690
push esi
mov ecx, edi
call fcn.0042b3ae
mov ecx, edi
call fcn.0040f9a0
lea eax, [esi - 0x10]
mov byte [esp + 0x660], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ffbf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x24]
mov byte [esp + 0x660], 1
call fcn.004132d1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x660], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fff6
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 + 0x660], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41001f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x40ff1b