Function at 0x4a3e90
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 0x4a3ed7
lea ecx, [esp + 0x30]
call fcn.0044b760
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 0x4a3ef6
lea ecx, [esp + 0x30]
call fcn.0044b760
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 0x5423a4
push ebp
push eax
call dword [ecx + 0x3c]
test eax, eax
jl 0x4a4927
mov esi, dword [esp + 0x58]
lea ecx, [esp + 0x30]
call fcn.0044b760
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov al, byte [0x56341c]
test al, 1
jne 0x4a3f53
mov cl, al
push str.Shell_IDList_Array
or cl, 1
mov byte [0x56341c], cl
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov dword [0x563420], eax
mov cx, word [0x563420]
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 0x4a3fdb
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 0x4a3fdb
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x4a3fdb
push eax
lea ecx, [esp + 0x34]
call fcn.004a4960
cmp eax, ebx
mov dword [esp + 0x30], eax
je 0x4a3fc5
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 0x4a4005
lea ecx, [esp + 0x30]
call fcn.0044b760
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 0x4a4029
lea ecx, [esp + 0x30]
call fcn.0044b760
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c4
ret 0xc
lea eax, [edi + 0x1d0]
cmp eax, ebx
je 0x4a4038
add eax, 4
jmp 0x4a403a
xor eax, eax
push eax
lea ecx, [esp + 0x64]
call fcn.00406280
mov edx, dword [0x546560]
mov dword [esp + 0x5c], 0x5409d8
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 0x4a4383
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.00510650
lea eax, [esp + 0x14]
lea ecx, [esp + 0x4c]
push eax
call fcn.00510700
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 8]
test eax, eax
mov eax, dword [esp + 0x14]
jne 0x4a414b
cmp ecx, eax
je 0x4a414b
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x4a4115
mov edx, dword [0x546564]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x4a411c
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x4a412c
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.00405870
jmp 0x4a4147
lea ecx, [esp + 0x2c]
call fcn.00412670
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 0x4a4160
cmp dword [eax - 4], ecx
jge 0x4a41c8
mov ebx, dword [eax - 8]
cmp ebx, ecx
jle 0x4a4169
mov ecx, ebx
push ecx
lea ecx, [esp + 0x18]
call fcn.00405530
test eax, eax
je 0x4a41c4
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 [0x546564]
cmp ebp, eax
je 0x4a41b4
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4a41b4
push ebp
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
jmp 0x4a41c8
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4a4327
cmp word [eax + 2], 0x3a
jne 0x4a421d
cmp word [eax + 4], 0x5c
jne 0x4a421d
cmp word [eax + 6], 0
jne 0x4a421d
mov ebx, dword [esp + 0x38]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
inc ebx
cmp ecx, edx
mov dword [esp + 0x38], ebx
je 0x4a435c
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a435c
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
jmp 0x4a4354
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 0x4a423b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, 0xffffffff
je 0x4a4316
mov eax, dword [esp + 0x80]
test al, 0x10
jne 0x4a4287
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 0x4a4316
mov edx, eax
not edx
shr edx, 4
and edx, 1
mov dword [esp + 0x1c], edx
jne 0x4a4316
and eax, 0x400
mov dword [esp + 0x1c], eax
jne 0x4a4316
cmp dword [esp + 0x2e0], 1
jle 0x4a42b2
inc dword [esp + 0x28]
jmp 0x4a42b8
dec dword [edi + 0x25c]
cmp dword [esp + 0x2dc], ebx
je 0x4a4316
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.004a3c60
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.004a49b0
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ecx, dword [edi + 0x20c]
test ecx, ecx
je 0x4a4412
mov ecx, dword [0x546564]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4a435c
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a435c
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00531732
add esp, 4
lea ecx, [esp + 0x4c]
call fcn.0050fe40
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 0x4a40ac
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.004f2570
mov eax, dword [0x546560]
add esp, 0x14
cmp ebp, 1
mov dword [esp + 0x18], eax
jg 0x4a43c0
cmp dword [esp + 0x2dc], ebx
je 0x4a4815
cmp dword [esp + 0x24], ebx
jne 0x4a43d8
cmp dword [esp + 0x28], ebx
jne 0x4a43d8
cmp dword [edi + 0x25c], ebx
jne 0x4a44c2
mov ecx, dword [esp + 0x20]
cmp eax, ecx
je 0x4a44c2
cmp dword [eax - 0xc], ebx
jge 0x4a43f6
mov edx, dword [0x546564]
add eax, 0xfffffff4
cmp eax, edx
jne 0x4a43ff
cmp dword [ecx - 0xc], ebx
jge 0x4a44a7
push ecx
mov ecx, dword [ecx - 8]
push ecx
lea ecx, [esp + 0x20]
call fcn.00405870
jmp 0x4a44c2
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a4439
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a4439
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
lea ecx, [esp + 0x4c]
call fcn.0050fe40
mov eax, dword [esp + 0x2c]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a446d
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a446d
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
lea ecx, [esp + 0x5c]
call fcn.0050fe40
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], 0
test eax, eax
je 0x4a4498
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.00412670
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 0x4a44d5
lea edx, [esp + 0x1c]
push 0x9f
mov ebx, ebp
push edx
jmp 0x4a44e4
lea eax, [esp + 0x10]
push 0xa0
mov ebx, 2
push eax
call fcn.004bc8d0
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 0x4a4537
mov eax, dword [esp + 0x10]
mov ecx, dword [0x546564]
and ebx, 0xfffffffd
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4a4537
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a4537
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00531732
add esp, 4
test bl, 1
je 0x4a4567
mov eax, dword [esp + 0x1c]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a4567
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a4567
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4a4583
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x4a4583
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4a480f
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, 0x54cd28
sub ebx, ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
sub ebx, edx
test eax, eax
jne 0x4a45ae
xor eax, eax
jmp 0x4a45b5
push 0x54cd28
call ebp
push 0x54cd28
push eax
lea ecx, [esp + 0x20]
call fcn.00405a90
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4a466f
mov ecx, eax
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.004ed900
mov eax, dword [eax]
add esp, 8
lea ecx, [esp + 0x10]
push eax
push 0x65
push ecx
call fcn.004bc8d0
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 [0x546564]
add esp, 0x10
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a4632
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a4632
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x1c]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a465d
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a465d
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.00531732
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 0x4a471a
mov ecx, eax
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.004ed900
mov eax, dword [eax]
add esp, 8
lea ecx, [esp + 0x10]
push eax
push 0x66
push ecx
call fcn.004bc8d0
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 [0x546564]
add esp, 0x10
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a46dd
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a46dd
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x1c]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a4708
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a4708
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.00531732
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 0x4a4786
mov ecx, eax
lea edx, [esp + 0x10]
push ecx
push 0x67
push edx
call fcn.004bc8d0
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 [0x546564]
add esp, 0x10
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4a4774
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a4774
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00531732
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 0x4a47ec
push ebx
lea edx, [esp + 0x14]
push 0x68
push edx
call fcn.004bc8d0
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 [0x546564]
add esp, 0x10
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4a47da
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a47da
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00531732
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, 0x54cd00
test edx, edx
jne 0x4a47f9
xor eax, eax
jmp 0x4a4800
push 0x54cd00
call ebp
push 0x54cd00
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 0x4a48a1
mov ecx, dword [edi + 0x220]
lea esi, [edi + 0x220]
cmp ecx, eax
je 0x4a486d
mov ebx, dword [ecx - 0xc]
test ebx, ebx
jge 0x4a4844
mov ebx, dword [0x546564]
add ecx, 0xfffffff4
cmp ecx, ebx
jne 0x4a484b
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x4a4856
push eax
push edx
mov ecx, esi
call fcn.00405870
jmp 0x4a486d
mov ecx, esi
call fcn.00412670
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.00518960
mov eax, dword [esp + 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add esp, 0x10
xor ebx, ebx
mov ecx, dword [0x546564]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4a48c8
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a48c8
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x20]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a48f3
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a48f3
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x2c]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a491e
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a491e
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
lea ecx, [esp + 0x5c]
call fcn.0050fe40
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], ebx
cmp eax, ebx
je 0x4a4945
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