Function at 0x49ac90
Capabilities:
Get file attributes
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x504d5d
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0xdc]
mov dword fs:[0], eax
mov edx, dword [esp + 0xf8]
mov esi, dword [esp + 0xf4]
mov ebx, dword [esp + 0xec]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
test eax, 0xfffffffc
je 0x49b443
mov dword [ebx + 0x10c], ecx
test edx, edx
jne 0x49b1f1
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
sar eax, 2
cmp eax, 1
jbe 0x49ae6f
test eax, eax
ja 0x49ad0c
call fcn.004e48f7
mov eax, dword [esi + 0xc]
lea ebp, [ebx + 8]
mov edi, ebp
call fcn.00404930
mov eax, dword [ebp]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x49ad2f
mov edx, dword [eax + 4]
push edx
push ebp
call fcn.00401410
mov eax, dword [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [ebp]
mov ecx, dword [eax - 8]
test eax, eax
je 0x49ad55
push ecx
push eax
call fcn.004e4d4d
add esp, 8
test eax, eax
jl 0x49ae65
mov ecx, dword [ebp]
cmp eax, dword [ecx - 8]
jg 0x49ae65
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.00401640
lea edx, [esp + 0x1c]
push edx
mov eax, ebp
mov dword [esp + 0xe8], 0
call fcn.0047db00
add esp, 4
test al, al
je 0x49adca
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
sar eax, 2
test eax, eax
ja 0x49adb3
call fcn.004e48f7
mov esi, dword [esi + 0xc]
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edx, eax
lea edi, [esp + 0x1c]
call fcn.00401600
mov eax, dword [ebp]
mov esi, dword [esp + 0x1c]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x104
or eax, ecx
jge 0x49adf4
mov ecx, 0x104
mov eax, ebp
call fcn.004014d0
mov eax, dword [ebp]
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [ebp]
mov ecx, dword [eax - 8]
test eax, eax
je 0x49ae17
push ecx
push eax
call fcn.004e4d4d
add esp, 8
test eax, eax
jl 0x49ae65
mov ecx, dword [ebp]
cmp eax, dword [ecx - 8]
jg 0x49ae65
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp]
xor edx, edx
mov word [ecx + eax*2], dx
mov edx, dword [esp + 0x104]
push ebp
call fcn.0041d510
mov dword [esp + 0xe4], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49aea3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x49aea3
push 0x80070057
call fcn.00401540
test eax, eax
ja 0x49ae78
call fcn.004e48f7
mov eax, dword [esi + 0xc]
lea ebp, [ebx + 8]
mov edi, ebp
call fcn.00404930
mov eax, dword [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x49b19d
mov edx, dword [esp + 0x104]
call fcn.0041d550
lea eax, [esp + 0x20]
push eax
mov ecx, str.compress
call fcn.00401640
xor edi, edi
mov dword [esp + 0xe4], 1
cmp dword [esp + 0xfc], edi
je 0x49b4c9
mov edx, dword [ebx + 4]
mov esi, dword [esp + 0xf0]
mov edx, dword [edx]
lea ecx, [ebx + 4]
lea eax, [esp + 0x18]
push eax
push esi
mov dword [esp + 0x20], edi
call edx
test eax, eax
je 0x49b706
mov ecx, dword [esp + 0x18]
cmp ecx, edi
je 0x49b706
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
lea edx, [esp + 0x14]
push edx
call eax
mov edi, ebp
mov byte [esp + 0xe4], 2
call fcn.00404930
lea ecx, [esp + 0x14]
mov byte [esp + 0xe4], 1
call fcn.004016f0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0xfc]
call fcn.00401640
mov byte [esp + 0xe4], 3
mov eax, dword [esp + 0x1c]
mov edi, 1
cmp dword [eax - 4], edi
jle 0x49af60
mov edx, dword [eax - 0xc]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.00401410
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004e4d4d
add esp, 8
test eax, eax
jl 0x49ae65
mov ecx, dword [esp + 0x1c]
cmp eax, dword [ecx - 8]
jg 0x49ae65
mov dword [ecx - 0xc], eax
mov edx, dword [esp + 0x1c]
xor ecx, ecx
mov word [edx + eax*2], cx
push esi
lea ecx, [esp + 0x20]
call fcn.0048a330
add esp, 4
test eax, eax
jne 0x49b431
mov ecx, dword [esp + 0x18]
mov dword [ebx + 0x12c], edi
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
mov ecx, dword [esp + 0x18]
mov dword [ebx + 0x110], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
call edx
mov ecx, dword [esp + 0x18]
mov dword [ebx + 0x114], eax
mov dword [esp + 0x100], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
call edx
mov ecx, dword [esp + 0x18]
mov dword [ebx + 0x118], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
call edx
mov ecx, dword [esp + 0x18]
mov dword [ebx + 0x128], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
lea edx, [esp + 0x14]
push edx
call eax
lea edi, [ebx + 0x20c]
mov byte [esp + 0xe4], 4
call fcn.00404930
lea ecx, [esp + 0x14]
mov byte [esp + 0xe4], 3
call fcn.004016f0
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 0x4c]
lea eax, [esp + 0x14]
push eax
call edx
lea edi, [ebx + 0x210]
mov byte [esp + 0xe4], 5
call fcn.00404930
lea ecx, [esp + 0x14]
mov byte [esp + 0xe4], 3
call fcn.004016f0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov ecx, dword [esp + 0x18]
mov dword [ebx + 0x7c], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
test eax, eax
je 0x49b0bd
mov eax, dword [ebx + 0x7c]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x1c]
call eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov esi, eax
mov eax, dword [edx + 8]
call eax
mov edx, esi
mov ecx, eax
call fcn.00486a20
add esp, 4
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x8c], 0
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 0x18]
mov dword [ebx + 0x120], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
lea eax, [esp + 0x14]
push eax
call edx
lea esi, [ebx + 0x124]
mov edi, esi
mov byte [esp + 0xe4], 6
call fcn.00404930
lea ecx, [esp + 0x14]
mov byte [esp + 0xe4], 3
call fcn.004016f0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x34]
call edx
mov ecx, dword [esp + 0x18]
cmp eax, 1
sete al
mov byte [ebx + 0x94], al
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
call eax
mov ecx, dword [esp + 0x18]
mov dword [ebx + 0xb0], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x40]
lea eax, [esp + 0x14]
push eax
call edx
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
lea ecx, [esp + 0x14]
setne byte [esp + 0x27]
call fcn.004016f0
cmp byte [esp + 0x27], 0
je 0x49b2fc
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 0x40]
lea eax, [esp + 0x14]
push eax
call edx
lea edi, [ebx + 0x80]
mov byte [esp + 0xe4], 7
call fcn.00404930
lea ecx, [esp + 0x14]
mov byte [esp + 0xe4], 3
call fcn.004016f0
or dword [ebx + 0x58], 0x40
mov edx, 0x518a80
jmp 0x49b301
mov ecx, dword [esp + 0x104]
push ecx
mov ecx, 0x104
mov esi, ebp
call fcn.00401520
push eax
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
mov eax, dword [ebp]
mov ecx, dword [eax - 8]
test eax, eax
je 0x49b1d4
push ecx
push eax
call fcn.004e4d4d
add esp, 8
test eax, eax
jl 0x49ae65
mov ecx, dword [ebp]
cmp eax, dword [ecx - 8]
jg 0x49ae65
mov dword [ecx - 0xc], eax
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
jmp 0x49aea3
lea ebp, [ebx + 8]
mov edi, ebp
call fcn.00401600
cmp dword [esp + 0x100], 0
je 0x49aea3
mov edx, dword [esi + 0x10]
sub edx, dword [esi + 0xc]
sar edx, 2
test edx, edx
ja 0x49b21b
call fcn.004e48f7
mov eax, dword [esi + 0xc]
mov edi, dword [eax]
mov eax, dword [ebp]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x104
or eax, ecx
jge 0x49b246
mov ecx, 0x104
mov eax, ebp
call fcn.004014d0
mov esi, dword [ebp]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [ebp]
mov ecx, dword [eax - 8]
test eax, eax
je 0x49b274
push ecx
push eax
call fcn.004e4d4d
add esp, 8
test eax, eax
jl 0x49ae65
mov ecx, dword [ebp]
cmp eax, dword [ecx - 8]
jg 0x49ae65
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x49b2a8
mov edx, dword [esp + 0x104]
mov edi, ebp
jmp 0x49ae9e
mov eax, dword [esp + 0x104]
push eax
mov ecx, 0x104
mov esi, ebp
call fcn.00401520
push eax
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
mov eax, dword [ebp]
mov ecx, dword [eax - 8]
test eax, eax
je 0x49b2df
push ecx
push eax
call fcn.004e4d4d
add esp, 8
test eax, eax
jl 0x49ae65
mov ecx, dword [ebp]
cmp eax, dword [ecx - 8]
jg 0x49ae65
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x49aea3
mov edx, 0x518a88
lea edi, [esp + 0x20]
call fcn.0041d550
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
lea edx, [esp + 0x14]
push edx
call eax
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
lea ecx, [esp + 0x14]
setne byte [esp + 0x27]
call fcn.004016f0
cmp byte [esp + 0x27], 0
je 0x49b384
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 0x3c]
lea eax, [esp + 0x14]
push eax
call edx
lea edi, [ebx + 0x78]
mov byte [esp + 0xe4], 8
call fcn.00404930
lea ecx, [esp + 0x14]
mov byte [esp + 0xe4], 3
call fcn.004016f0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
call edx
test eax, eax
je 0x49b37d
or dword [ebx + 0x58], 4
mov byte [ebx + 0x74], 1
mov edx, 0x518a80
jmp 0x49b389
mov edx, 0x518a88
lea edi, [esp + 0x20]
call fcn.0041d550
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
or eax, edx
je 0x49b3bc
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
or dword [ebx + 0x58], 0x20
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x9c], edx
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
test eax, eax
je 0x49b492
mov eax, dword [esi]
or dword [ebx + 0x58], 1
push ecx
sub eax, 0x10
mov dword [esp + 0x18], esp
mov edi, esp
call fcn.004048c0
add eax, 0x10
mov dword [edi], eax
call fcn.00488af0
add esp, 4
cmp eax, 2
je 0x49b492
lea eax, [esp + 0x6c]
call fcn.00499750
mov eax, dword [esp + 0xf0]
push eax
lea edi, [esp + 0x70]
mov byte [esp + 0xe8], 9
call fcn.0049f540
cmp eax, 1
je 0x49b461
mov ecx, edi
push ecx
mov byte [esp + 0xe8], 3
call fcn.00499780
lea ecx, [esp + 0x1c]
call fcn.004016f0
lea ecx, [esp + 0x20]
call fcn.004016f0
xor eax, eax
mov ecx, dword [esp + 0xdc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd4
ret 0x24
lea edi, [ebx + 0x64]
lea eax, [esp + 0xcc]
call fcn.00404930
mov edx, 0x518a80
lea edi, [esp + 0x20]
call fcn.0041d550
lea edx, [esp + 0x6c]
push edx
mov byte [esp + 0xe8], 3
call fcn.00499780
jmp 0x49b4a0
mov edx, 0x518a88
lea edi, [esp + 0x20]
call fcn.0041d550
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], 0
mov byte [esp + 0xe4], 1
call fcn.004016f0
jmp 0x49b7d2
mov esi, dword [esp + 0xf8]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.00401640
mov byte [esp + 0xe4], 0xa
mov eax, dword [esp + 0x1c]
cmp dword [eax - 4], 1
jle 0x49b500
mov edx, dword [eax - 0xc]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.00401410
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004e4d4d
add esp, 8
cmp eax, edi
jl 0x49ae65
mov ecx, dword [esp + 0x1c]
cmp eax, dword [ecx - 8]
jg 0x49ae65
mov dword [ecx - 0xc], eax
mov edx, dword [esp + 0x1c]
xor ecx, ecx
mov word [edx + eax*2], cx
mov edx, dword [esp + 0xf0]
push edi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x24]
push ecx
push edx
mov dword [esp + 0x38], edi
call fcn.00489bd0
add esp, 0x10
test eax, eax
je 0x49b73a
cmp dword [esp + 0x28], edi
je 0x49b577
mov eax, dword [esp + 0xf4]
push eax
call fcn.00487770
add esp, 4
mov edx, dword [0x563288]
mov eax, dword [edx + 0xc]
mov ecx, 0x563288
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
push 2
push str.compress_failed_d
lea edi, [esp + 0x30]
mov byte [esp + 0xec], 0xb
call fcn.00404890
add esp, 8
lea ecx, [esp + 0x14]
push ecx
mov ecx, str.main
call fcn.00401640
lea edx, [esp + 0x18]
mov bl, 0xc
push edx
mov ecx, 0x510ba4
mov byte [esp + 0xe8], bl
call fcn.00401640
mov byte [esp + 0xe4], 0xd
cmp dword [0x565350], 0
je 0x49b5fb
lea eax, [esp + 0x18]
push eax
mov edi, 0x565380
call fcn.004256f0
mov edi, eax
lea eax, [esp + 0x14]
call fcn.00404930
mov byte [esp + 0xe4], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49b622
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xe4], 0xb
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 0x49b64a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x510ba8
call fcn.00401640
mov byte [esp + 0xe4], 0xe
cmp dword [0x565350], 0
je 0x49b684
lea edx, [esp + 0x14]
push edx
mov edi, 0x565380
call fcn.004256f0
mov edi, eax
lea eax, [esp + 0x28]
call fcn.00404930
mov byte [esp + 0xe4], 0xb
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 0x49b6ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x565350
call fcn.004c9ff0
mov byte [esp + 0xe4], 0xa
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49b6de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xe4], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49b706
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xe4], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49b443
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x49b443
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push ecx
mov ecx, esi
mov edi, 1
call fcn.00401640
call fcn.004882e0
add esp, 4
mov dword [ebx + 0x120], eax
cmp eax, 2
jne 0x49b773
lea edi, [ebx + 0x124]
mov edx, 0x518ab8
call fcn.00401600
xor edi, edi
mov ecx, dword [ebx + 0x120]
push 5
mov edx, edi
mov dword [ebx + 0x7c], 5
call fcn.00486a20
add esp, 4
mov edx, str.000
lea edi, [esp + 0x20]
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x8c], 0
call fcn.0041d550
mov byte [esp + 0xe4], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x49b7d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, str.main
call fcn.00401640
lea edx, [esp + 0x14]
push edx
mov ecx, 0x510ba4
mov byte [esp + 0xe8], 0xf
call fcn.00401640
mov byte [esp + 0xe4], 0x10
cmp dword [0x565350], 0
je 0x49b823
lea eax, [esp + 0x14]
push eax
mov edi, 0x565380
call fcn.004256f0
mov edi, eax
lea eax, [esp + 0x28]
call fcn.00404930
mov byte [esp + 0xe4], 0xf
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 0x49b84b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xe4], 1
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49b873
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x510ba8
call fcn.00401640
mov byte [esp + 0xe4], 0x11
cmp dword [0x565350], 0
je 0x49b8ad
lea edx, [esp + 0x14]
push edx
mov edi, 0x565380
call fcn.004256f0
mov edi, eax
lea eax, [esp + 0x20]
call fcn.00404930
mov byte [esp + 0xe4], 1
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 0x49b8d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x565350
call fcn.004c9ff0
mov eax, dword [esp + 0xf4]
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
and ecx, 0xfffffffc
cmp ecx, 4
jne 0x49b942
mov esi, eax
call fcn.00472920
push ebp
call fcn.0047db00
add esp, 4
test al, al
je 0x49b942
test byte [ebx + 0x58], 1
je 0x49b43a
mov esi, ebp
call fcn.00488450
push ecx
mov edx, esp
mov dword [esp + 0x18], esp
push edx
mov ecx, str..sfx.exe
call fcn.00401640
call fcn.004884b0
add esp, 4
test eax, eax
jne 0x49b942
push ebp
mov edx, str..sfx.exe
call fcn.0041d510
mov eax, dword [ebx + 0x88]
or eax, dword [ebx + 0x8c]
jne 0x49b954
or dword [ebx + 0x58], 8
or dword [ebx + 0x58], 0x10
cmp dword [esp + 0x100], 0
je 0x49bd3d
mov ebp, dword [ebp]
sub ebp, 0x10
mov eax, ebp
call fcn.004048c0
lea esi, [eax + 0x10]
mov dword [esp + 0x28], esi
push esi
mov byte [esp + 0xe8], 0x12
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.00401640
mov byte [esp + 0xe4], 0x13
mov edx, dword [esp + 0x18]
cmp dword [edx - 0xc], 0
jne 0x49b9b7
mov edx, dword [esp + 0x104]
lea edi, [esp + 0x18]
call fcn.00401600
cmp dword [esi - 4], 1
jle 0x49b9cf
mov eax, dword [esi - 0xc]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00401410
mov esi, dword [esp + 0x28]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004e4d4d
add esp, 8
test eax, eax
jl 0x49ae65
cmp eax, dword [esi - 8]
jg 0x49ae65
mov dword [esi - 0xc], eax
xor edx, edx
mov word [esi + eax*2], dx
mov eax, dword [esp + 0xf4]
mov ebp, dword [eax + 0xc]
cmp ebp, dword [eax + 0x10]
jbe 0x49ba11
call fcn.004e48f7
mov eax, dword [esp + 0xf4]
mov edi, dword [eax]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebp
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x14], ecx
cmp dword [eax + 0xc], ecx
jbe 0x49ba3a
call fcn.004e48f7
mov eax, dword [esp + 0xf4]
mov eax, dword [eax]
test edi, edi
je 0x49ba44
cmp edi, eax
je 0x49ba49
call fcn.004e48f7
cmp ebp, dword [esp + 0x14]
je 0x49bce8
test edi, edi
jne 0x49bb1c
call fcn.004e48f7
cmp ebp, dword [edi + 0x10]
jb 0x49ba6a
call fcn.004e48f7
mov eax, dword [ebp]
sub eax, 0x10
call fcn.004048c0
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
lea eax, [esi - 0x10]
mov byte [esp + 0xe4], 0x14
call fcn.004048c0
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
mov byte [esp + 0xe4], 0x15
mov eax, dword [ebp - 8]
mov ecx, 1
sub ecx, dword [ebp - 4]
sub eax, 0x104
or eax, ecx
jge 0x49bac1
mov ecx, 0x104
lea eax, [esp + 0x1c]
call fcn.004014d0
mov ebp, dword [esp + 0x1c]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push ebp
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [ebp - 8]
push eax
push ebp
call fcn.004e4d4d
add esp, 8
test eax, eax
jl 0x49ae65
cmp eax, dword [ebp - 8]
jg 0x49ae65
xor ecx, ecx
mov dword [ebp - 0xc], eax
push ebp
mov word [ebp + eax*2], cx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x49bb23
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea edx, [esp + 0x24]
push edx
call fcn.0041e520
mov ebp, dword [esp + 0x1c]
jmp 0x49bb7d
mov edi, dword [edi]
jmp 0x49ba60
mov eax, dword [ebp - 8]
mov esi, dword [esp + 0x18]
mov ecx, 1
sub ecx, dword [ebp - 4]
sub eax, 0x104
or eax, ecx
jge 0x49bb4d
mov ecx, 0x104
lea eax, [esp + 0x1c]
call fcn.004014d0
mov ebp, dword [esp + 0x1c]
push esi
push ebp
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
mov eax, dword [ebp - 8]
push eax
push ebp
call fcn.004e4d4d
add esp, 8
test eax, eax
jl 0x49ae65
cmp eax, dword [ebp - 8]
jg 0x49ae65
xor ecx, ecx
mov dword [ebp - 0xc], eax
mov word [ebp + eax*2], cx
xor eax, eax
test edi, edi
setne al
test eax, eax
je 0x49bcde
push edi
push ebp
call fcn.004e4707
add esp, 8
test eax, eax
jne 0x49bbb1
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea edx, [esp + 0x24]
push edx
call fcn.0041e520
mov ebp, dword [esp + 0x1c]
lea eax, [esp + 0x34]
push eax
call fcn.0049f7e0
lea eax, [esp + 0x1c]
lea edi, [esp + 0x34]
mov byte [esp + 0xe4], 0x16
call fcn.00404930
lea esi, [esp + 0x50]
call fcn.0049f790
mov ecx, dword [esp + 0x10c]
mov edx, dword [esp + 0x108]
push 0xffffffffffffffff
push ecx
mov byte [esp + 0xec], 0x17
mov esi, dword [esp + 0x1c]
push edx
lea ecx, [esp + 0x5c]
call fcn.00497880
test eax, eax
je 0x49bc13
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.0049f6e0
mov ecx, dword [esp + 0x48]
sub ecx, dword [esp + 0x44]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x49bc41
lea ecx, [esp + 0x34]
push ecx
lea edx, [ebx + 0xd4]
push edx
call fcn.0049f490
lea esi, [esp + 0x50]
call fcn.00499ca0
lea eax, [esp + 0x34]
call fcn.0049aa00
add ebp, 0xfffffff0
mov byte [esp + 0xe4], 0x14
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x49bc78
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
mov byte [esp + 0xe4], 0x13
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 0x49bca0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x49bcda
call fcn.004e48f7
xor eax, eax
mov ecx, dword [esp + 0x30]
cmp ecx, dword [eax + 0x10]
jb 0x49bcbd
call fcn.004e48f7
add dword [esp + 0x30], 4
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0xf4]
jmp 0x49ba22
mov eax, dword [eax]
jmp 0x49bcaf
push 0x80004005
call fcn.00401540
mov byte [esp + 0xe4], 0x12
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x49bd10
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
mov byte [esp + 0xe4], 1
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49be6d
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x49be6d
lea eax, [esp + 0x34]
push eax
call fcn.0049f7e0
mov eax, ebp
lea edi, [esp + 0x34]
mov byte [esp + 0xe4], 0x18
call fcn.00404930
mov esi, dword [esp + 0xf4]
mov ebp, dword [esi + 0xc]
cmp ebp, dword [esi + 0x10]
jbe 0x49bd6e
call fcn.004e48f7
mov edi, dword [esi]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x14], eax
cmp dword [esi + 0xc], eax
jbe 0x49bd81
call fcn.004e48f7
mov esi, dword [esi]
test edi, edi
je 0x49bd8b
cmp edi, esi
je 0x49bd90
call fcn.004e48f7
cmp ebp, dword [esp + 0x14]
je 0x49be2e
lea esi, [esp + 0x50]
call fcn.0049f790
mov byte [esp + 0xe4], 0x19
test edi, edi
jne 0x49be26
call fcn.004e48f7
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x49bdc0
call fcn.004e48f7
mov ecx, dword [esp + 0x10c]
mov edx, dword [esp + 0x108]
mov esi, dword [ebp]
push 0xffffffffffffffff
push ecx
push edx
lea ecx, [esp + 0x5c]
call fcn.00497880
test eax, eax
je 0x49bdf1
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.0049f6e0
lea esi, [esp + 0x50]
mov byte [esp + 0xe4], 0x18
call fcn.00499ca0
test edi, edi
jne 0x49be2a
call fcn.004e48f7
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x49be17
call fcn.004e48f7
mov esi, dword [esp + 0xf4]
add ebp, 4
jmp 0x49bd70
mov eax, dword [edi]
jmp 0x49bdb6
mov eax, dword [edi]
jmp 0x49be0d
mov ecx, dword [esp + 0x48]
sub ecx, dword [esp + 0x44]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x49be5c
lea ecx, [esp + 0x34]
push ecx
lea edx, [ebx + 0xd4]
push edx
call fcn.0049f490
lea eax, [esp + 0x34]
mov byte [esp + 0xe4], 1
call fcn.0049aa00
mov ecx, dword [ebx + 0xe4]
sub ecx, dword [ebx + 0xe0]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x49beaa
cmp dword [ebx + 0x120], 0xff
ja 0x49bf19
mov dword [ebx + 0x208], 7
jmp 0x49bf19
mov esi, dword [esp + 0xf4]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
sar ecx, 2
test ecx, ecx
jbe 0x49bf19
lea edx, [esp + 0x14]
push 0xff
push edx
call fcn.00433510
mov edi, eax
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
add esp, 8
sar eax, 2
test eax, eax
ja 0x49bee4
call fcn.004e48f7
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
mov eax, dword [edi]
push edx
push eax
push 0x30
push 0
call fcn.00488bf0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49bf19
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebx + 0xe4]
sub ecx, dword [ebx + 0xe0]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov esi, ecx
neg esi
sbb esi, esi
mov dword [esp + 0xe4], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
neg esi
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x49bf6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x49b445