Function at 0x4a0190
Capabilities:
Create directory
Delete file
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x53affb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1e8
mov eax, dword [0x590f68]
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1f0], eax
mov eax, dword [edi + 0x600]
test eax, eax
mov dword [esp + 0x2c], edi
mov dword [edi + 0x250], 1
lea esi, [edi + 0x6e8]
jne 0x4a0259
mov eax, dword [esi]
push 0x2e
push eax
call fcn.004ea4f2
add esp, 8
test eax, eax
jne 0x4a01f0
or eax, 0xffffffff
jmp 0x4a01f2
sub eax, dword [esi]
push eax
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.00402d70
push 0x54f0f8
push eax
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x208], 0
call fcn.00402f80
add esp, 0xc
push eax
mov ecx, esi
mov byte [esp + 0x200], 1
call fcn.00402e60
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x1fc], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a0253
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x38]
jmp 0x4a0283
push esi
lea eax, [esp + 0x34]
push 0x55c418
push eax
call fcn.00404c20
add esp, 0xc
push eax
mov ecx, esi
mov dword [esp + 0x200], 2
call fcn.00402e60
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x1fc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a02a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0xa0]
call fcn.0050af1a
push esi
lea eax, [edi + 0x6ec]
push eax
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x208], 3
call fcn.00402ed0
add esp, 0xc
mov ecx, dword [edi + 0x1a8]
xor edx, edx
xor eax, eax
test ecx, ecx
mov byte [esp + 0x1fc], 4
jle 0x4a032c
lea ebx, [ebx]
test eax, eax
jl 0x4a0709
cmp eax, dword [edi + 0x1a8]
jge 0x4a0709
mov ecx, dword [edi + 0x1a4]
lea ecx, [ecx + eax*4]
mov ecx, dword [ecx]
mov ebx, dword [ecx + 0x14]
mov ecx, dword [edi + 0x1a8]
add edx, ebx
inc eax
cmp eax, ecx
jl 0x4a02f0
cmp edx, 0xff
mov byte [esp + 0x13], 0xff
jg 0x4a0330
mov byte [esp + 0x13], dl
mov eax, dword [edi + 0x600]
test eax, eax
push ebp
jne 0x4a0de3
call fcn.00503c89
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x200], 5
call fcn.00503c89
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x40], eax
mov byte [esp + 0x200], 6
mov dword [esp + 0x24], 0
call fcn.00503c89
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x2c], eax
push 5
push 0x3f
lea ecx, [esp + 0x44]
mov byte [esp + 0x208], 7
call fcn.00446fb0
lea eax, [edi + 0x680]
push 0x55c404
push eax
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x20c], 8
call fcn.00402f80
lea ecx, [edi + 0x6e8]
push ecx
push eax
lea ecx, [esp + 0x58]
push ecx
mov byte [esp + 0x218], 9
call fcn.00402ed0
push 0x55c400
push eax
lea edx, [esp + 0x38]
mov bl, 0xa
push edx
mov byte [esp + 0x224], bl
call fcn.00402f80
lea ecx, [esp + 0x60]
push ecx
push eax
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x230], 0xb
call fcn.00402ed0
push 0x55c3f8
push eax
lea eax, [esp + 0x60]
push eax
mov byte [esp + 0x23c], 0xc
call fcn.00402f80
add esp, 0x3c
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x204], 0xd
call fcn.00402e60
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x200], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a0461
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x200], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a0487
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 + 0x200], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a04ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x200], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a04d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x200], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a04f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x48]
call fcn.00501882
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0xb4]
push eax
push ecx
mov byte [esp + 0x208], 0xe
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4a05fd
lea edx, [esp + 0xe0]
push edx
lea ecx, [esp + 0x14]
call fcn.004018f0
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x10]
push eax
push ecx
mov bl, 0xf
lea ecx, [esp + 0x50]
mov byte [esp + 0x208], bl
call fcn.00501bd3
mov ebp, dword [sym.imp.kernel32.dll_FindNextFileA]
lea edx, [esp + 0xb4]
push edx
push esi
call ebp
test eax, eax
je 0x4a05d0
lea esp, [esp]
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0x2c]
call fcn.004018f0
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0x50]
mov byte [esp + 0x208], 0x10
call fcn.00501bd3
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x200], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a05c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0xb4]
push eax
push esi
call ebp
test eax, eax
jne 0x4a0570
push esi
call dword [sym.imp.kernel32.dll_FindClose]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x200], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a05fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x50]
xor esi, esi
xor ebx, ebx
xor ebp, ebp
cmp eax, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], eax
jle 0x4a06a8
mov edi, esi
lea esp, [esp]
test ebx, ebx
jl 0x4a0729
cmp ebx, eax
jge 0x4a0729
test esi, esi
mov ecx, dword [esp + 0x4c]
jl 0x4a0720
cmp ebp, eax
jge 0x4a0720
mov eax, dword [ecx + ebx*4]
mov ecx, dword [ecx + esi]
push eax
push ecx
call fcn.004ea679
add esp, 8
test eax, eax
jle 0x4a065a
mov ebx, ebp
test edi, edi
jl 0x4a0717
mov eax, dword [esp + 0x50]
cmp edi, eax
jge 0x4a0717
cmp ebp, eax
mov ecx, dword [esp + 0x4c]
jge 0x4a070e
mov eax, dword [ecx + edi*4]
mov ecx, dword [ecx + esi]
push eax
push ecx
call fcn.004ea679
add esp, 8
test eax, eax
jge 0x4a0690
mov edi, ebp
mov eax, dword [esp + 0x28]
inc ebp
add esi, 4
cmp ebp, eax
mov eax, dword [esp + 0x50]
jl 0x4a0620
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x4a0821
test ebx, ebx
jl 0x4a072d
cmp ebx, eax
jge 0x4a072d
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + ebx*4]
mov esi, dword [esp + 0x2c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x4a0740
mov edx, dword [esi + 0xc]
test edx, edx
lea ebx, [esi + 0xc]
jl 0x4a0732
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4a0732
push eax
call fcn.00402ae0
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4a0700
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebp, 0x10
mov dword [esp + 0x2c], ebp
jmp 0x4a0740
jmp fcn.004fd76e
mov dword [esp + 0x18], edi
jmp fcn.004fd76e
mov dword [esp + 0x18], edi
jmp fcn.004fd76e
mov dword [esp + 0x18], edi
jmp fcn.004fd76e
mov dword [esp + 0x18], edi
jmp fcn.004fd76e
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.00401720
push 9
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
call fcn.00402d10
push 5
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x208], 0x11
call fcn.00402d70
mov ecx, dword [eax]
mov ebp, dword [esp + 0x10]
lea eax, [ecx - 0x10]
lea esi, [ebp - 0x10]
cmp eax, esi
mov byte [esp + 0x200], 0x12
je 0x4a07cb
mov edx, dword [esi + 0xc]
test edx, edx
lea ebp, [esi + 0xc]
jl 0x4a07b9
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4a07b9
push eax
call fcn.00402ae0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x4a07b0
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
lea ebp, [ebx + 0x10]
mov dword [esp + 0x10], ebp
jmp 0x4a07cb
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00401720
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x200], 0x11
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a07f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push ebp
call fcn.004ea81c
mov esi, eax
lea eax, [ebp - 0x10]
add esp, 4
inc esi
mov byte [esp + 0x200], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a0825
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x4a0825
mov esi, dword [esp + 0x24]
push esi
lea eax, [esp + 0x44]
push 0x55c3f0
push eax
call fcn.00404c00
push 0x55c404
lea esi, [edi + 0x680]
lea ecx, [esp + 0x34]
push esi
push ecx
call fcn.00402f80
mov eax, dword [eax]
add esp, 0x18
push 0
push eax
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a0877
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x55c404
lea eax, [esp + 0x24]
push esi
push eax
call fcn.00402f80
lea ebp, [edi + 0x6e8]
push ebp
push eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x218], 0x13
call fcn.00402ed0
lea edx, [esp + 0x58]
push edx
push eax
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0x224], 0x14
call fcn.00402ed0
push 0x55c3f8
push eax
lea ecx, [esp + 0x64]
push ecx
mov byte [esp + 0x230], 0x15
call fcn.00402f80
add esp, 0x30
mov ecx, dword [eax]
mov esi, dword [esp + 0x1c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
mov byte [esp + 0x200], 0x16
je 0x4a0938
mov edx, dword [esi + 0xc]
test edx, edx
lea ebx, [esi + 0xc]
jl 0x4a092a
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4a092a
push eax
call fcn.00402ae0
mov dword [esp + 0x28], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4a091d
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0x10
mov dword [esp + 0x1c], eax
jmp 0x4a0938
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00401720
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x200], 0x15
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a095e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x200], 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a0984
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x200], 0x13
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a09aa
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 + 0x200], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a09d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
push 0
push 0x1001
push eax
lea ecx, [esp + 0xb0]
call fcn.0050b262
test eax, eax
jne 0x4a0a42
push ebp
lea ecx, [esp + 0x24]
push 0x55c3cc
push ecx
call fcn.00404c20
add esp, 0xc
mov eax, dword [eax]
push 0
push 0
push eax
mov byte [esp + 0x20c], 0x17
call fcn.00515e6f
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x200], 0xe
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a0d2e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x4a0d2e
push 0
push 0x1000
push 0
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x6c]
call fcn.0050f218
mov byte [esp + 0x200], 0x18
call fcn.00503c89
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
push 0xc
push 0x558108
lea ecx, [esp + 0x18]
mov byte [esp + 0x208], 0x19
call fcn.00401720
mov esi, dword [esp + 0x10]
mov eax, dword [esi - 0xc]
push 0
push eax
lea eax, [esp + 0x64]
push eax
call fcn.0050ed91
mov eax, dword [esi - 0xc]
push eax
push esi
lea ecx, [esp + 0x64]
call fcn.0050ef5c
mov edx, dword [edi + 0x1b4]
lea ecx, [edi + 0x1b4]
lea eax, [esp + 0x5c]
push eax
call dword [edx + 8]
mov edx, dword [edi + 0x1a0]
lea ebp, [edi + 0x1a0]
lea eax, [esp + 0x5c]
push eax
mov ecx, ebp
call dword [edx + 8]
mov ecx, dword [esp + 0x74]
mov esi, dword [edi + 0x5c0]
not ecx
test cl, 1
jne 0x4a0af8
mov edx, dword [esp + 0x70]
push edx
push 2
call fcn.0050f48b
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
add eax, 4
cmp eax, ecx
jbe 0x4a0b16
lea ecx, [esp + 0x5c]
call fcn.0050eb86
mov ecx, dword [esp + 0x84]
mov dword [ecx], esi
mov eax, dword [esp + 0x84]
push 0xb
add eax, 4
push 0x550a78
lea ecx, [esp + 0x18]
mov dword [esp + 0x8c], eax
call fcn.00401720
mov esi, dword [esp + 0x10]
mov eax, dword [esi - 0xc]
push 0
push eax
lea edx, [esp + 0x64]
push edx
call fcn.0050ed91
mov eax, dword [esi - 0xc]
push eax
push esi
lea ecx, [esp + 0x64]
call fcn.0050ef5c
push 1
lea eax, [esp + 0x1b]
push eax
lea ecx, [esp + 0x64]
call fcn.0050ef5c
mov eax, dword [edi + 0x1a8]
xor ebx, ebx
test eax, eax
jle 0x4a0beb
mov edi, edi
test ebx, ebx
jl 0x4a072d
cmp ebx, dword [ebp + 8]
jge 0x4a072d
mov ecx, dword [ebp + 4]
mov edi, dword [ecx + ebx*4]
lea eax, [ecx + ebx*4]
mov eax, dword [edi + 0x14]
xor esi, esi
test eax, eax
jle 0x4a0bd6
test esi, esi
jl 0x4a072d
cmp esi, dword [edi + 0x14]
jge 0x4a072d
mov edx, dword [edi + 0x10]
lea eax, [edx + esi*4]
mov eax, dword [eax]
mov eax, dword [eax + 0x38]
push 0x2400
push eax
lea ecx, [esp + 0x64]
call fcn.0050ef5c
mov eax, dword [edi + 0x14]
inc esi
cmp esi, eax
jl 0x4a0ba3
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0x1a8]
inc ebx
cmp ebx, eax
jl 0x4a0b80
mov esi, dword [esp + 0x10]
mov edi, ecx
mov edx, dword [esp + 0x28]
cmp edx, dword [edi + 0x358]
mov ebp, dword [esp + 0x18]
jl 0x4a0cfb
push 0x55c404
lea eax, [edi + 0x680]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00402f80
add esp, 0xc
test ebp, ebp
mov byte [esp + 0x200], 0x1a
jl 0x4a072d
cmp ebp, dword [esp + 0x50]
jge 0x4a072d
mov ecx, dword [esp + 0x4c]
lea ecx, [ecx + ebp*4]
push ecx
push eax
lea edx, [esp + 0x28]
push edx
call fcn.00402ed0
add esp, 0xc
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea ebp, [esi - 0x10]
cmp eax, ebp
mov byte [esp + 0x200], 0x1b
je 0x4a0ca8
mov edx, dword [ebp + 0xc]
test edx, edx
lea esi, [ebp + 0xc]
jl 0x4a0c96
mov edx, dword [eax]
cmp edx, dword [ebp]
jne 0x4a0c96
push eax
call fcn.00402ae0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x4a0c8d
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
lea esi, [ebx + 0x10]
mov dword [esp + 0x10], esi
jmp 0x4a0ca8
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00401720
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x200], 0x1a
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a0cce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x200], 0x19
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a0cf4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push esi
call dword [sym.imp.kernel32.dll_DeleteFileA]
lea eax, [esi - 0x10]
mov byte [esp + 0x200], 0x18
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a0d1d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x200], 0xe
call fcn.0050f1d3
lea ecx, [esp + 0xa4]
call fcn.0050aeb8
lea ecx, [esp + 0x48]
mov byte [esp + 0x200], 8
call fcn.005018ff
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x200], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a0d71
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x200], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a0d97
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 + 0x200], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a0dbd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x200], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a0de3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x34]
push 0
push 0x1001
push eax
lea ecx, [esp + 0xb0]
call fcn.0050b262
test eax, eax
jne 0x4a0e9d
lea eax, [edi + 0x6e8]
push eax
lea ecx, [esp + 0x28]
push 0x55c3b4
push ecx
call fcn.00404c20
push 0x55c398
push eax
lea edx, [esp + 0x34]
mov bl, 0x1c
push edx
mov byte [esp + 0x218], bl
call fcn.00402f80
add esp, 0x18
mov eax, dword [eax]
push 0
push 0
push eax
mov byte [esp + 0x20c], 0x1d
call fcn.00515e6f
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x200], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a0e6e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x200], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a10f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x4a10f8
push 0
push 0x1000
push 0
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x6c]
call fcn.0050f218
mov ecx, dword [esp + 0x74]
not ecx
test cl, 1
mov byte [esp + 0x200], 0x1e
je 0x4a0edb
mov eax, dword [edi + 0x600]
test eax, eax
je 0x4a0edb
mov eax, 1
jmp 0x4a0edd
xor eax, eax
push eax
lea ecx, [esp + 0x24]
call fcn.004cb4f0
mov byte [esp + 0x200], 0x1f
call fcn.00503c89
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x600]
test eax, eax
mov byte [esp + 0x200], 0x20
lea ecx, [esp + 0x1c]
je 0x4a0f21
push 7
push 0x558118
jmp 0x4a0f28
push 0xc
push 0x558108
call fcn.00401720
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx - 0xc]
push 0
push eax
lea eax, [esp + 0x64]
push eax
call fcn.0050ed91
mov eax, dword [ebx - 0xc]
push eax
push ebx
lea ecx, [esp + 0x64]
call fcn.0050ef5c
mov edx, dword [edi + 0x1b4]
lea ecx, [edi + 0x1b4]
lea eax, [esp + 0x5c]
push eax
call dword [edx + 8]
mov eax, dword [edi + 0x600]
test eax, eax
lea eax, [esp + 0x5c]
push eax
lea ecx, [edi + 0x22c]
jne 0x4a0f7e
lea ecx, [edi + 0x1a0]
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [esp + 0x74]
mov esi, dword [edi + 0x5c0]
not ecx
test cl, 1
jne 0x4a0fa0
mov edx, dword [esp + 0x70]
push edx
push 2
call fcn.0050f48b
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
add eax, 4
cmp eax, ecx
jbe 0x4a0fbe
lea ecx, [esp + 0x5c]
call fcn.0050eb86
mov ecx, dword [esp + 0x84]
mov dword [ecx], esi
mov ecx, dword [esp + 0x84]
mov eax, dword [edi + 0x600]
add ecx, 4
test eax, eax
mov dword [esp + 0x84], ecx
jne 0x4a10a7
push 0xb
push 0x550a78
lea ecx, [esp + 0x24]
call fcn.00401720
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx - 0xc]
push 0
push eax
lea edx, [esp + 0x64]
push edx
call fcn.0050ed91
mov eax, dword [ebx - 0xc]
push eax
push ebx
lea ecx, [esp + 0x64]
call fcn.0050ef5c
push 1
lea eax, [esp + 0x1b]
push eax
lea ecx, [esp + 0x64]
call fcn.0050ef5c
mov eax, dword [edi + 0x1a8]
xor ebp, ebp
test eax, eax
jle 0x4a10a7
test ebp, ebp
jl 0x4a072d
mov ecx, dword [esp + 0x30]
cmp ebp, dword [ecx + 0x1a8]
jge 0x4a072d
mov edx, ecx
mov eax, dword [edx + 0x1a4]
mov edi, dword [eax + ebp*4]
lea eax, [eax + ebp*4]
mov eax, dword [edi + 0x14]
xor esi, esi
test eax, eax
jle 0x4a1096
test esi, esi
jl 0x4a072d
cmp esi, dword [edi + 0x14]
jge 0x4a072d
mov ecx, dword [edi + 0x10]
lea eax, [ecx + esi*4]
mov eax, dword [eax]
mov edx, dword [eax + 0x38]
push 0x2400
push edx
lea ecx, [esp + 0x64]
call fcn.0050ef5c
mov eax, dword [edi + 0x14]
inc esi
cmp esi, eax
jl 0x4a1063
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x1a8]
inc ebp
cmp ebp, ecx
jl 0x4a1034
mov edi, eax
mov eax, dword [edi + 0x1c]
mov dword [eax + 0x49c], 0
lea eax, [ebx - 0x10]
mov byte [esp + 0x200], 0x1f
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a10d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x20]
mov byte [esp + 0x200], 0x1e
call fcn.004cb540
lea ecx, [esp + 0x5c]
mov byte [esp + 0x200], 4
call fcn.0050f1d3
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov dword [edi + 0x250], 0
mov byte [esp + 0x200], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a1128
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0xa4]
mov dword [esp + 0x200], 0xffffffff
call fcn.0050af59
mov ecx, dword [esp + 0x1f8]
pop ebp
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1e8]
pop ebx
call fcn.004e9911
add esp, 0x1f4
ret