Function at 0x4a7620
Capabilities:
Delete file
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x508369
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [esi + 4]
mov edx, dword [eax + 0x10]
lea edi, [esi + 4]
push ebx
push ebx
mov ecx, edi
mov dword [esp + 0x38], edi
call edx
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x44], ebx
call fcn.00474090
lea ecx, [esp + 0x6c]
push ecx
mov dword [esp + 0xdc], ebx
call fcn.00474090
lea edx, [esp + 0xac]
mov byte [esp + 0xd8], 1
push edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.004aa8a0
mov byte [esp + 0xd8], 2
mov eax, dword [esi + 0x80]
mov esi, dword [esi + 0x68]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov ebx, dword [eax]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov eax, dword [eax + 0x68]
mov dword [esp + 0x88], ecx
test esi, esi
je 0x4a76ef
cmp esi, eax
je 0x4a76f4
call fcn.004e48f7
cmp ebx, dword [esp + 0x88]
je 0x4a7b83
test esi, esi
jne 0x4a7a0e
call fcn.004e48f7
cmp ebx, dword [esi + 0x18]
jne 0x4a7718
call fcn.004e48f7
lea eax, [ebx + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [eax]
sub eax, 0x10
call fcn.004048c0
add eax, 0x10
mov dword [esp + 0x38], eax
mov dword [esp + 0x10], 0
lea edx, [esp + 0x10]
push edx
mov byte [esp + 0xdc], 4
call fcn.004283e0
test eax, eax
jl 0x4a7afc
mov esi, dword [esp + 0x10]
mov edx, dword [edi]
mov eax, dword [esi]
mov ebx, dword [ebp + 8]
mov edx, dword [edx + 0x18]
push 0
mov ecx, edi
add ebx, 0xc
mov dword [esp + 0x28], eax
call edx
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x40]
push ebx
push 3
push eax
mov eax, dword [edx + 0xc]
call eax
push eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x10]
push esi
call ecx
test eax, eax
je 0x4a7a15
mov eax, dword [esp + 0x38]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
call fcn.004048c0
add eax, 0x10
mov dword [esi], eax
call fcn.0048afc0
add esp, 4
test eax, eax
je 0x4a78a4
mov edx, dword [0x563288]
mov eax, dword [edx + 0xc]
mov ecx, 0x563288
call eax
add eax, 0x10
mov dword [esp + 0x3c], eax
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0xdc], 5
mov eax, dword [esp + 0x14]
push 0xffff
lea edx, [esp + 0x44]
mov dword [esp + 0x30], 0
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xb0]
call eax
test eax, eax
je 0x4a787c
cmp dword [esp + 0x28], 0
je 0x4a787c
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call fcn.00427ad0
mov edi, eax
call fcn.00427b40
mov ecx, dword [ebp + 8]
sub eax, 0xd698
neg eax
sbb eax, eax
and eax, 0x2751
add eax, 0xd698
mov dword [ecx + 0x24], eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x1c]
call eax
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov esi, dword [esp + 0x10]
mov eax, dword [edx + 0x18]
mov edi, dword [esi]
push 0
call eax
mov ecx, dword [esp + 0x3c]
push eax
push ebx
push 3
push ecx
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [edi + 0x10]
push eax
push esi
call ecx
test eax, eax
je 0x4a7b05
mov byte [esp + 0xd8], 4
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a78a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x8c]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
je 0x4a78e2
mov ecx, dword [esp + 0x94]
add dword [esp + 0x14], ecx
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x8c]
adc dword [esp + 0x18], edx
add dword [esp + 0x4c], eax
adc dword [esp + 0x50], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x7c]
push eax
call edx
mov ecx, eax
lea eax, [esp + 0x2c]
add ecx, 4
push eax
call fcn.00401640
mov ecx, dword [esp + 0x2c]
push str.gzip
push ecx
call fcn.004e4707
add esp, 8
test eax, eax
je 0x4a7929
mov edx, dword [esp + 0x2c]
push str.bzip2
push edx
call fcn.004e4707
add esp, 8
test eax, eax
jne 0x4a7931
mov dword [esp + 0x34], 1
mov byte [esp + 0xd8], 4
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a7959
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x44]
test ebx, ebx
jne 0x4a7af5
call fcn.004e48f7
xor eax, eax
mov ecx, dword [esp + 0x48]
cmp ecx, dword [eax + 0x18]
jne 0x4a797e
call fcn.004e48f7
push edi
lea edx, [esp + 0xb0]
push edx
call fcn.004aa010
mov esi, eax
mov eax, dword [esp + 0x10]
cmp dword [esi], eax
je 0x4a79b8
mov edi, eax
test eax, eax
je 0x4a79a4
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esi]
test eax, eax
je 0x4a79b2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi], edi
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x30]
mov byte [esp + 0xd8], 3
test eax, eax
je 0x4a79d0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xd8], 2
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a79f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x44]
call fcn.004ac650
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
jmp 0x4a76d4
mov esi, dword [esi]
jmp 0x4a770e
mov ebx, dword [esp + 0x44]
test ebx, ebx
jne 0x4a7aee
call fcn.004e48f7
xor eax, eax
mov ecx, dword [esp + 0x48]
cmp ecx, dword [eax + 0x18]
jne 0x4a7a36
call fcn.004e48f7
mov edi, dword [esp + 0x20]
mov ecx, dword [edi + 0x14]
sub ecx, dword [edi + 0x10]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x4a7a58
call fcn.004e48f7
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 4]
sub eax, 0x10
call fcn.004048c0
lea esi, [eax + 0x10]
mov dword [esp + 0x24], esi
mov byte [esp + 0xd8], 7
cmp dword [esi - 0xc], 0
je 0x4a7a88
lea ecx, [esp + 0x24]
push ecx
call fcn.004ac930
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov edx, dword [edx + 0x50]
lea ecx, [esp + 0x8c]
push ecx
push eax
call edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x88], 1
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4a7ac1
mov dword [esp + 0x10], 0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esi - 0x10]
mov byte [esp + 0xd8], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a7961
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4a7961
mov eax, dword [ebx]
jmp 0x4a7a28
mov eax, dword [ebx]
jmp 0x4a7970
mov eax, dword [esp + 0x10]
jmp 0x4a79bc
mov ecx, dword [ebp + 8]
mov byte [esp + 0xd8], 4
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov dword [ecx + 0x94], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a7b3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xd8], 3
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4a7b52
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xd8], 2
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a81e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4a81e5
push ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x44]
sub eax, 0x10
mov dword [esp + 0x28], esp
mov esi, esp
call fcn.004048c0
add eax, 0x10
mov dword [esi], eax
call fcn.00429b80
mov esi, eax
mov edi, edx
mov edx, esi
add esp, 4
or edx, edi
je 0x4a7dc9
cmp edi, dword [esp + 0x18]
ja 0x4a7dc9
jb 0x4a7bc9
cmp esi, dword [esp + 0x14]
jae 0x4a7dc9
mov eax, dword [0x563288]
mov edx, dword [eax + 0xc]
mov ecx, 0x563288
call edx
add eax, 0x10
mov dword [esp + 0x28], eax
push edi
lea eax, [esp + 0x30]
push esi
push eax
mov byte [esp + 0xe4], 8
call fcn.00429cb0
add esp, 0xc
mov esi, eax
mov byte [esp + 0xd8], 9
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00429cb0
add esp, 0xc
mov edi, eax
lea ecx, [esp + 0x24]
push 0x16c
mov bl, 0xa
push ecx
mov byte [esp + 0xe0], bl
call fcn.00433510
mov byte [esp + 0xe0], 0xb
mov edx, dword [esi]
mov ecx, dword [edi]
mov eax, dword [eax]
push edx
push ecx
push eax
lea edi, [esp + 0x3c]
call fcn.00404890
mov byte [esp + 0xec], bl
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
add esp, 0x14
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a7c75
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xd8], 9
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 0x4a7c9d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xd8], 8
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a7cc5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x2c]
call fcn.00401140
mov esi, eax
lea ecx, [esp + 0x20]
push 0x15f
push ecx
mov byte [esp + 0xe0], 0xc
call fcn.00433510
push esi
push eax
lea edx, [esp + 0x34]
mov bl, 0xd
push edx
mov byte [esp + 0xec], bl
call fcn.0041d700
add esp, 0x14
mov ecx, dword [esp + 0x30]
mov byte [esp + 0xd8], 0xe
mov eax, dword [eax]
mov esi, dword [esp + 0x28]
push 4
push eax
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push esi
call edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edi, eax
mov byte [esp + 0xd8], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a7d4c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xd8], 0xc
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 0x4a7d74
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xd8], 8
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a7d9c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0xd8], 2
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
cmp edi, 7
je 0x4a7b6c
test edx, edx
jg 0x4a7dc9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x34], 0
je 0x4a7dd6
xor eax, eax
xor edx, edx
jmp 0x4a7dde
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
mov esi, dword [ecx]
push edx
mov edx, dword [esi + 0x10]
push eax
call edx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x80]
mov eax, dword [eax]
mov esi, dword [ebx + 0x68]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
mov edi, dword [ebx + 0x80]
mov eax, dword [ebx + 0x68]
test esi, esi
je 0x4a7e12
cmp esi, eax
je 0x4a7e17
call fcn.004e48f7
cmp dword [esp + 0x18], edi
je 0x4a8165
test esi, esi
jne 0x4a7ebd
call fcn.004e48f7
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esi + 0x18]
jne 0x4a7e3c
call fcn.004e48f7
mov edi, dword [esp + 0x18]
add edi, 0xc
push edi
lea edx, [esp + 0xb0]
push edx
call fcn.004aa010
mov esi, dword [eax]
mov dword [esp + 0x24], esi
test esi, esi
je 0x4a7e63
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov byte [esp + 0xd8], 0xf
test esi, esi
je 0x4a813f
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4a7ec4
call fcn.004e48f7
xor eax, eax
mov edx, dword [esp + 0x18]
cmp edx, dword [eax + 0x18]
jne 0x4a7e90
call fcn.004e48f7
lea eax, [edi + 4]
push eax
push esi
mov ecx, ebx
call fcn.004a8ce0
test eax, eax
je 0x4a80ff
cmp dword [ebx + 0xa8], 0
jne 0x4a7ec8
lea ecx, [esp + 0x54]
push ecx
push esi
call fcn.004a9960
jmp 0x4a7f99
mov esi, dword [esi]
jmp 0x4a7e2e
mov eax, dword [eax]
jmp 0x4a7e82
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4a7ff2
call fcn.004e48f7
xor eax, eax
mov edx, dword [esp + 0x18]
cmp edx, dword [eax + 0x18]
jne 0x4a7ee9
call fcn.004e48f7
mov ecx, dword [edi + 0x14]
sub ecx, dword [edi + 0x10]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x4a7f07
call fcn.004e48f7
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 4]
sub eax, 0x10
call fcn.004048c0
lea ebx, [eax + 0x10]
mov dword [esp + 0x2c], ebx
push ebx
mov byte [esp + 0xdc], 0x10
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
call fcn.00401640
lea edx, [esp + 0x34]
push edx
lea edi, [esp + 0x58]
mov byte [esp + 0xdc], 0x11
call fcn.0041ca50
mov byte [esp + 0xd8], 0x10
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a7f75
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov byte [esp + 0xd8], 0xf
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a7f99
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x34]
call edx
push esi
test eax, eax
je 0x4a805e
mov eax, dword [esi]
mov ecx, dword [eax + 0x6c]
call ecx
lea edx, [esp + 0x10]
push edx
mov ecx, eax
call fcn.00401640
mov byte [esp + 0xd8], 0x12
mov eax, dword [esi]
mov ecx, dword [eax + 0x90]
push esi
call ecx
mov edx, dword [esi]
mov edi, eax
mov eax, dword [edx + 0x1c]
push esi
call eax
push edi
lea ecx, [esp + 0x14]
call fcn.004a8340
cmp eax, 4
ja case.default.0x4a7feb
jmp dword [eax*4 + 0x4a8318]
mov eax, dword [eax]
jmp 0x4a7edb
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4a8032
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4a8032
lea ecx, [esp + 0x10]
call fcn.004a8650
jmp 0x4a8032
lea ecx, [esp + 0x10]
call fcn.004a87a0
jmp 0x4a8032
lea ecx, [esp + 0x10]
call fcn.004a8b60
test eax, eax
jne 0x4a803c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esp + 0x10]
push 0
push eax
push 0x2005
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov byte [esp + 0xd8], 0xf
mov eax, dword [esp + 0x10]
jmp 0x4a80da
mov ecx, dword [esi]
mov edx, dword [ecx + 0x6c]
call edx
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
call fcn.00401640
mov byte [esp + 0xd8], 0x13
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
call fcn.00401640
lea edx, [esp + 0x28]
push edx
lea edi, [esp + 0x70]
mov byte [esp + 0xdc], 0x14
call fcn.0041ca50
mov byte [esp + 0xd8], 0x13
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 0x4a80ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xd8], 0xf
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a80f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc dword [esp + 0x40]
mov ebx, dword [ebp + 8]
jmp 0x4a813f
mov ecx, dword [esi]
mov eax, dword [ecx + 0x50]
lea edx, [esp + 0x8c]
push edx
push esi
call eax
test eax, eax
jne 0x4a811d
mov dword [ebx + 0x88], 1
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x80004004
je 0x4a8135
call edi
cmp eax, 0x80004001
jne 0x4a813f
mov dword [ebx + 0x88], 1
mov byte [esp + 0xd8], 2
test esi, esi
je 0x4a8153
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
lea esi, [esp + 0x14]
call fcn.004ac650
mov esi, dword [esp + 0x14]
jmp 0x4a7e01
mov eax, dword [esp + 0x40]
test eax, eax
jle 0x4a818a
cmp eax, dword [ebx + 0x84]
jne 0x4a818a
cmp dword [ebx + 0xa4], 0
jne 0x4a818a
mov dword [ebx + 0x94], 1
jmp 0x4a8194
mov dword [ebx + 0x94], 0
test eax, eax
jle 0x4a81e5
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x98], 0
je 0x4a81d1
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
call edx
xor ecx, ecx
cmp ecx, dword [esp + 0x50]
ja 0x4a81e5
jb 0x4a81bb
cmp eax, dword [esp + 0x4c]
jae 0x4a81e5
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
lea ecx, [esp + 0x54]
push ecx
push eax
call fcn.004ad450
add esp, 8
jmp 0x4a81e5
mov ecx, dword [ecx + 0x44]
lea edx, [esp + 0x6c]
push edx
lea edx, [esp + 0x58]
call fcn.004ad220
add esp, 4
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
mov edx, dword [esp + 0x40]
mov eax, dword [eax + 0x14]
push edx
call eax
lea esi, [esp + 0xac]
mov byte [esp + 0xd8], 0x15
call fcn.004aab50
mov ecx, dword [esp + 0xac]
push ecx
call fcn.004e3ed0
mov byte [esp + 0xdc], 0
mov esi, dword [esp + 0x7c]
xor ebx, ebx
add esp, 4
cmp esi, ebx
je 0x4a826d
mov eax, dword [esp + 0x7c]
mov edi, eax
cmp esi, eax
je 0x4a8264
mov eax, dword [esi]
sub eax, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a8259
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, edi
jne 0x4a823b
mov esi, dword [esp + 0x78]
push esi
call fcn.004e3ed0
add esp, 4
mov ecx, dword [esp + 0x6c]
push ecx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
call fcn.004e3ed0
mov dword [esp + 0xdc], 0xffffffff
mov esi, dword [esp + 0x64]
add esp, 4
cmp esi, ebx
je 0x4a82e2
mov eax, dword [esp + 0x64]
mov edi, eax
cmp esi, eax
je 0x4a82d9
lea esp, [esp]
mov eax, dword [esi]
sub eax, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a82ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, edi
jne 0x4a82b0
mov esi, dword [esp + 0x60]
push esi
call fcn.004e3ed0
add esp, 4
mov ecx, dword [esp + 0x54]
push ecx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
call fcn.004e3ed0
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4