Function at 0x4a4de0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2c4
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x48], edi
mov dword [esp + 0x2d0], ebx
mov eax, dword [edi + 0x20c]
mov dword [esp + 0x58], ebx
cmp eax, ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
jne 0x4a4e27
lea ecx, [esp + 0x30]
call fcn.0044b8e0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c4
ret 0xc
mov eax, dword [edi + 0x3c]
cmp eax, ebx
jne 0x4a4e46
lea ecx, [esp + 0x30]
call fcn.0044b8e0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c4
ret 0xc
mov ecx, dword [eax]
lea edx, [esp + 0x58]
push edx
mov ebp, 1
push 0x5433a4
push ebp
push eax
call dword [ecx + 0x3c]
test eax, eax
jl 0x4a5877
mov esi, dword [esp + 0x58]
lea ecx, [esp + 0x30]
call fcn.0044b8e0
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov al, byte [0x5644dc]
test al, 1
jne 0x4a4ea3
mov cl, al
push str.Shell_IDList_Array
or cl, 1
mov byte [0x5644dc], cl
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov dword [0x5644e0], eax
mov cx, word [0x5644e0]
mov edx, dword [esi]
lea eax, [esp + 0x6c]
mov word [esp + 0x6c], cx
push eax
push esi
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x84], ebp
call dword [edx + 0x14]
test eax, eax
jl 0x4a4f2b
mov ecx, dword [esi]
lea edx, [esp + 0x4c]
lea eax, [esp + 0x6c]
push edx
push eax
push esi
call dword [ecx + 0xc]
test eax, eax
jl 0x4a4f2b
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x4a4f2b
push eax
lea ecx, [esp + 0x34]
call fcn.004a58b0
cmp eax, ebx
mov dword [esp + 0x30], eax
je 0x4a4f15
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.ole32.dll_ReleaseStgMedium]
mov eax, dword [esp + 0x58]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x34]
cmp eax, ebx
jne 0x4a4f55
lea ecx, [esp + 0x30]
call fcn.0044b8e0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c4
ret 0xc
mov ecx, dword [eax]
mov ebp, eax
cmp ecx, ebx
mov dword [esp + 0x68], ebp
jne 0x4a4f79
lea ecx, [esp + 0x30]
call fcn.0044b8e0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c4
ret 0xc
lea eax, [edi + 0x1d0]
cmp eax, ebx
je 0x4a4f88
add eax, 4
jmp 0x4a4f8a
xor eax, eax
push eax
lea ecx, [esp + 0x64]
call fcn.00406370
mov edx, dword [0x547570]
mov dword [esp + 0x5c], 0x5419d8
mov dword [esp + 0x2c], edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ebx
call dword [sym.imp.WINMM.dll_timeGetTime]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov dword [edi + 0x250], eax
add eax, 0x64
mov dword [edi + 0x25c], ebx
mov dword [edi + 0x254], eax
mov dword [edi + 0x258], 0x17
mov eax, dword [ebp]
mov dword [esp + 0x24], ebx
cmp eax, ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x10], eax
jle 0x4a52d3
lea eax, [ebp + eax*4 + 4]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x25c]
mov edx, dword [esp + 0x44]
inc eax
lea ecx, [esp + 0x60]
mov dword [edi + 0x25c], eax
lea eax, [esp + 0x5c]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [edx]
mov edx, dword [esp + 0x68]
add ecx, edx
mov edx, dword [eax]
push ecx
push edx
lea ecx, [esp + 0x54]
call fcn.00510f50
lea eax, [esp + 0x14]
lea ecx, [esp + 0x4c]
push eax
call fcn.00511000
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 8]
test eax, eax
mov eax, dword [esp + 0x14]
jne 0x4a509b
cmp ecx, eax
je 0x4a509b
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x4a5065
mov edx, dword [0x547574]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x4a506c
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x4a507c
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.00405870
jmp 0x4a5097
lea ecx, [esp + 0x2c]
call fcn.004124c0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x14]
mov edx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
cmp edx, 1
mov ecx, 0x100
jg 0x4a50b0
cmp dword [eax - 4], ecx
jge 0x4a5118
mov ebx, dword [eax - 8]
cmp ebx, ecx
jle 0x4a50b9
mov ecx, ebx
push ecx
lea ecx, [esp + 0x18]
call fcn.00405530
test eax, eax
je 0x4a5114
mov edi, dword [esp + 0x14]
lea ecx, [ebx + ebx + 2]
mov edx, ecx
lea esi, [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
mov dword [eax - 8], ebx
mov eax, dword [0x547574]
cmp ebp, eax
je 0x4a5104
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4a5104
push ebp
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
jmp 0x4a5118
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4a5277
cmp word [eax + 2], 0x3a
jne 0x4a516d
cmp word [eax + 4], 0x5c
jne 0x4a516d
cmp word [eax + 6], 0
jne 0x4a516d
mov ebx, dword [esp + 0x38]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
inc ebx
cmp ecx, edx
mov dword [esp + 0x38], ebx
je 0x4a52ac
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a52ac
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
jmp 0x4a52a4
lea ecx, [esp + 0x80]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x4a518b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, 0xffffffff
je 0x4a5266
mov eax, dword [esp + 0x80]
test al, 0x10
jne 0x4a51d7
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0xa0]
xor esi, esi
xor edx, edx
or eax, esi
mov esi, dword [esp + 0x3c]
or edx, ecx
mov ecx, dword [esp + 0x40]
add esi, edx
adc ecx, eax
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x24], eax
jmp 0x4a5266
mov edx, eax
not edx
shr edx, 4
and edx, 1
mov dword [esp + 0x1c], edx
jne 0x4a5266
and eax, 0x400
mov dword [esp + 0x1c], eax
jne 0x4a5266
cmp dword [esp + 0x2e0], 1
jle 0x4a5202
inc dword [esp + 0x28]
jmp 0x4a5208
dec dword [edi + 0x25c]
cmp dword [esp + 0x2dc], ebx
je 0x4a5266
mov edx, dword [esp + 0x14]
lea eax, [edi + 0x20c]
push eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x68]
push eax
push ecx
push edx
mov ecx, edi
mov dword [esp + 0x74], ebx
mov dword [esp + 0x2c], ebx
call fcn.004a4bb0
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
add ebx, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], ebx
add esi, ecx
mov ecx, dword [esp + 0x3c]
add ecx, eax
mov eax, dword [esp + 0x40]
adc eax, edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
mov ecx, edi
call fcn.004a5900
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ecx, dword [edi + 0x20c]
test ecx, ecx
je 0x4a5362
mov ecx, dword [0x547574]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4a52ac
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a52ac
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
lea ecx, [esp + 0x4c]
call fcn.00510740
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x44]
dec eax
sub edx, 4
test eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x44], edx
jg 0x4a4ffc
xor ebx, ebx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x2e0]
push 1
push 1
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.004f3130
mov eax, dword [0x547570]
add esp, 0x14
cmp ebp, 1
mov dword [esp + 0x18], eax
jg 0x4a5310
cmp dword [esp + 0x2dc], ebx
je 0x4a5765
cmp dword [esp + 0x24], ebx
jne 0x4a5328
cmp dword [esp + 0x28], ebx
jne 0x4a5328
cmp dword [edi + 0x25c], ebx
jne 0x4a5412
mov ecx, dword [esp + 0x20]
cmp eax, ecx
je 0x4a5412
cmp dword [eax - 0xc], ebx
jge 0x4a5346
mov edx, dword [0x547574]
add eax, 0xfffffff4
cmp eax, edx
jne 0x4a534f
cmp dword [ecx - 0xc], ebx
jge 0x4a53f7
push ecx
mov ecx, dword [ecx - 8]
push ecx
lea ecx, [esp + 0x20]
call fcn.00405870
jmp 0x4a5412
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a5389
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a5389
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
lea ecx, [esp + 0x4c]
call fcn.00510740
mov eax, dword [esp + 0x2c]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a53bd
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a53bd
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
lea ecx, [esp + 0x5c]
call fcn.00510740
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], 0
test eax, eax
je 0x4a53e8
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c4
ret 0xc
lea ecx, [esp + 0x18]
call fcn.004124c0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp ebp, 1
jne 0x4a5425
lea edx, [esp + 0x1c]
push 0x9f
mov ebx, ebp
push edx
jmp 0x4a5434
lea eax, [esp + 0x10]
push 0xa0
mov ebx, 2
push eax
call fcn.004bd990
mov eax, dword [eax]
add esp, 8
lea ecx, [edi + 0x21c]
push eax
push ebp
push str._d__s
push ecx
call fcn.00405cb0
add esp, 0x10
test bl, 2
je 0x4a5487
mov eax, dword [esp + 0x10]
mov ecx, dword [0x547574]
and ebx, 0xfffffffd
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4a5487
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a5487
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
test bl, 1
je 0x4a54b7
mov eax, dword [esp + 0x1c]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a54b7
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a54b7
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4a54d3
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x4a54d3
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4a575f
mov ebx, dword [edi + 0x25c]
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
sub ebx, eax
mov eax, 0x54dd98
sub ebx, ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
sub ebx, edx
test eax, eax
jne 0x4a54fe
xor eax, eax
jmp 0x4a5505
push 0x54dd98
call ebp
push 0x54dd98
push eax
lea ecx, [esp + 0x20]
call fcn.00405a90
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4a55bf
mov ecx, eax
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.004ee4c0
mov eax, dword [eax]
add esp, 8
lea ecx, [esp + 0x10]
push eax
push 0x65
push ecx
call fcn.004bd990
mov edx, dword [eax]
add esp, 8
lea eax, [esp + 0x24]
push edx
push str._s:_s
push eax
call fcn.00405cb0
mov eax, dword [esp + 0x20]
mov edx, dword [0x547574]
add esp, 0x10
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a5582
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a5582
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x1c]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a55ad
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a55ad
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [eax - 8]
push eax
call fcn.00405a90
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4a566a
mov ecx, eax
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.004ee4c0
mov eax, dword [eax]
add esp, 8
lea ecx, [esp + 0x10]
push eax
push 0x66
push ecx
call fcn.004bd990
mov edx, dword [eax]
add esp, 8
lea eax, [esp + 0x24]
push edx
push str._s:_s
push eax
call fcn.00405cb0
mov eax, dword [esp + 0x20]
mov edx, dword [0x547574]
add esp, 0x10
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a562d
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a562d
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x1c]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a5658
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a5658
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [eax - 8]
push eax
call fcn.00405a90
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4a56d6
mov ecx, eax
lea edx, [esp + 0x10]
push ecx
push 0x67
push edx
call fcn.004bd990
mov eax, dword [eax]
add esp, 8
lea ecx, [esp + 0x24]
push eax
push str._s:_d
push ecx
call fcn.00405cb0
mov eax, dword [esp + 0x20]
mov ecx, dword [0x547574]
add esp, 0x10
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4a56c4
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a56c4
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax - 8]
push ecx
lea ecx, [esp + 0x20]
call fcn.00405a90
test ebx, ebx
je 0x4a573c
push ebx
lea edx, [esp + 0x14]
push 0x68
push edx
call fcn.004bd990
mov eax, dword [eax]
add esp, 8
lea ecx, [esp + 0x24]
push eax
push str._s:_d
push ecx
call fcn.00405cb0
mov eax, dword [esp + 0x20]
mov ecx, dword [0x547574]
add esp, 0x10
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4a572a
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a572a
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax - 8]
push ecx
lea ecx, [esp + 0x20]
call fcn.00405a90
mov edx, 0x54dd70
test edx, edx
jne 0x4a5749
xor eax, eax
jmp 0x4a5750
push 0x54dd70
call ebp
push 0x54dd70
push eax
lea ecx, [esp + 0x20]
call fcn.00405a90
mov eax, dword [esp + 0x18]
xor ebx, ebx
mov edx, dword [eax - 8]
cmp edx, ebx
je 0x4a57f1
mov ecx, dword [edi + 0x220]
lea esi, [edi + 0x220]
cmp ecx, eax
je 0x4a57bd
mov ebx, dword [ecx - 0xc]
test ebx, ebx
jge 0x4a5794
mov ebx, dword [0x547574]
add ecx, 0xfffffff4
cmp ecx, ebx
jne 0x4a579b
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x4a57a6
push eax
push edx
mov ecx, esi
call fcn.00405870
jmp 0x4a57bd
mov ecx, esi
call fcn.004124c0
mov eax, dword [esp + 0x18]
mov dword [esi], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 0x80
push ecx
mov ecx, esp
push esi
call fcn.00405440
mov eax, dword [edi + 0xe4]
push 0x851f
mov ecx, dword [eax + 0x224]
push ecx
call fcn.005195c0
mov eax, dword [esp + 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add esp, 0x10
xor ebx, ebx
mov ecx, dword [0x547574]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4a5818
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a5818
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x20]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a5843
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a5843
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x2c]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a586e
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a586e
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
lea ecx, [esp + 0x5c]
call fcn.00510740
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], ebx
cmp eax, ebx
je 0x4a5895
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2c4
ret 0xc