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

Disassembly:
push 0xffffffffffffffff
push 0x507488
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0xc4]
mov dword fs:[0], eax
xor ebx, ebx
cmp ecx, ebx
je 0x46bc54
lea eax, [esp + 0x1c]
push eax
call fcn.00401640
mov dword [esp + 0xcc], ebx
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], ebx
jg 0x46bc70
mov dword [esp + 0xcc], 0xffffffff
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46bc54
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xbc
ret 4
lea ecx, [esp + 0x30]
push ecx
call fcn.00474090
mov ebp, dword [esp + 0xd4]
push ebp
lea ecx, [esp + 0x34]
mov byte [esp + 0xd0], 1
call fcn.0047b430
mov edx, dword [esp + 0x40]
sub edx, dword [esp + 0x3c]
test edx, 0xfffffffc
jne 0x46bcc0
lea esi, [esp + 0x30]
call fcn.0041d600
mov dword [esp + 0xcc], 0xffffffff
mov eax, dword [esp + 0x1c]
jmp 0x46bc38
mov edx, dword [0x563288]
mov eax, dword [edx + 0xc]
mov ecx, 0x563288
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0xcc], 2
mov edx, dword [0x563288]
mov eax, dword [edx + 0xc]
mov ecx, 0x563288
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0xcc], 3
mov eax, dword [ebp + 0x4c98]
cmp eax, ebx
jne 0x46bde5
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
cmp esi, eax
jbe 0x46bd21
call fcn.004e48f7
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x30]
mov edi, eax
cmp dword [esp + 0x3c], eax
jbe 0x46bd32
call fcn.004e48f7
test ebx, ebx
je 0x46bd3c
cmp ebx, dword [esp + 0x30]
je 0x46bd41
call fcn.004e48f7
cmp esi, edi
je 0x46c0c7
test ebx, ebx
jne 0x46bdd6
call fcn.004e48f7
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x46bd62
call fcn.004e48f7
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea edx, [esp + 0x28]
push edx
call fcn.0041e520
push 0
lea edi, [esp + 0x24]
call fcn.00437f60
test ebx, ebx
jne 0x46bddd
call fcn.004e48f7
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x46bd93
call fcn.004e48f7
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea edx, [esp + 0x2c]
push edx
call fcn.0041e520
push 1
push 0x516dd0
lea eax, [esp + 0x2c]
push eax
call fcn.0041e520
test ebx, ebx
jne 0x46bde1
call fcn.004e48f7
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x46bdca
call fcn.004e48f7
mov eax, dword [esp + 0x40]
add esi, 4
jmp 0x46bd25
mov eax, dword [ebx]
jmp 0x46bd58
mov eax, dword [ebx]
jmp 0x46bd89
mov eax, dword [ebx]
jmp 0x46bdc0
cmp eax, 1
jne 0x46c0c9
cmp dword [ebp + 0x51e4], ebx
je 0x46c328
push ebx
lea edi, [esp + 0x1c]
call fcn.004350d0
mov byte [esp + 0xcc], 4
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], ebx
jg 0x46be4c
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
lea edi, [esp + 0x2c]
call fcn.004350d0
lea edi, [esp + 0x18]
mov byte [esp + 0xcc], 5
call fcn.00404930
lea ecx, [esp + 0x28]
mov byte [esp + 0xcc], 4
call fcn.004016f0
mov edx, dword [esp + 0x18]
mov eax, dword [edx - 0xc]
cmp eax, ebx
jg 0x46be82
lea eax, [esp + 0x28]
push 0x1b2
push eax
call fcn.00433510
mov eax, dword [eax]
mov ecx, dword [ebp + 4]
push 0x30
push eax
push ecx
xor eax, eax
call fcn.00488c60
add esp, 0x14
lea ecx, [esp + 0x28]
call fcn.004016f0
lea esi, [esp + 0x84]
call fcn.00404b40
mov bl, 6
mov byte [esp + 0xcc], bl
mov edx, dword [ebp + 4]
mov eax, dword [ebp + 0x51e4]
lea ecx, [esp + 0x30]
mov dword [esp + 0x88], edx
push ecx
lea edx, [esp + 0x94]
push edx
mov dword [esp + 0x8c], 0
mov dword [esp + 0x94], eax
call fcn.004105d0
lea eax, [esp + 0x18]
lea edi, [esp + 0xa8]
call fcn.00404930
call fcn.004b1f90
sub esp, 0x3c
mov ebp, eax
mov eax, esp
mov dword [esp + 0x8c], esp
push eax
mov edi, esi
mov dword [esp + 0x6c], ebp
call fcn.0040edf0
push ebp
call fcn.004a4a80
test eax, eax
je 0x46c093
mov esi, dword [esp + 0xd4]
mov edx, dword [ebp]
mov eax, dword [esi + 4]
mov edx, dword [edx + 0x2c]
push eax
mov ecx, ebp
call edx
cmp eax, 1
jne 0x46c2b3
mov eax, dword [ebp]
mov edx, dword [eax + 0x30]
mov ecx, ebp
call edx
test eax, eax
jne 0x46c2b3
lea esi, [esp + 0x7c]
lea edi, [esp + 0x30]
call fcn.0041c960
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea esi, [esp + 0x7c]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
call fcn.0041ca30
mov esi, eax
lea edi, [esp + 0x48]
call fcn.00415390
test al, al
je 0x46c093
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x511ddc
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x60]
push ecx
call fcn.00404510
add esp, 0xc
mov edi, eax
lea esi, [esp + 0x48]
mov byte [esp + 0xcc], 7
call fcn.004761f0
mov eax, dword [eax]
push eax
call ebp
push eax
lea edx, [esp + 0x2c]
push edi
push edx
call fcn.00404510
add esp, 0xc
mov byte [esp + 0xcc], 8
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0041e520
lea ecx, [esp + 0x28]
call fcn.004016f0
lea ecx, [esp + 0x58]
mov byte [esp + 0xcc], bl
call fcn.004016f0
push 0
lea edi, [esp + 0x24]
call fcn.00437f60
push 0x511ddc
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x58]
push edx
call fcn.00404510
add esp, 0xc
mov edi, eax
mov byte [esp + 0xcc], 9
call fcn.004761f0
mov eax, dword [eax]
push eax
call ebp
push eax
lea eax, [esp + 0x58]
push edi
push eax
call fcn.00404510
add esp, 0xc
mov byte [esp + 0xcc], 0xa
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.0041e520
lea ecx, [esp + 0x54]
call fcn.004016f0
lea ecx, [esp + 0x50]
mov byte [esp + 0xcc], bl
call fcn.004016f0
lea edx, [esp + 0x24]
push edx
mov edx, 0x516dd0
call fcn.0041d510
call fcn.0041c1c0
lea esi, [esp + 0x7c]
lea edi, [esp + 0x30]
call fcn.0041ca30
mov esi, eax
lea edi, [esp + 0x48]
call fcn.00415390
test al, al
jne 0x46bf74
mov ebp, dword [esp + 0x2c]
test ebp, ebp
je 0x46c0a3
mov eax, dword [ebp]
mov edx, dword [eax + 0x28]
push 1
mov ecx, ebp
call edx
lea esi, [esp + 0x84]
call fcn.0040ed90
lea ecx, [esp + 0x18]
mov byte [esp + 0xcc], 3
call fcn.004016f0
mov ebp, dword [esp + 0xd4]
xor ebx, ebx
push ebx
lea edi, [esp + 0x24]
call fcn.00437f60
mov edx, dword [0x563288]
mov eax, dword [edx + 0xc]
mov ecx, 0x563288
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0xcc], 0xb
mov edx, dword [esp + 0x40]
sub edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
push ecx
sar edx, 2
push edx
push str.Copy
push eax
push str.Paste_target
lea edi, [esp + 0x2c]
call fcn.00404890
mov ecx, dword [ebp + 4]
mov esi, dword [esp + 0x34]
xor eax, eax
mov dword [esp + 0x74], eax
mov edi, 1
add esp, 0x14
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov word [esp + 0x78], ax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], 2
cmp dword [esi - 4], edi
jle 0x46c16c
mov edx, dword [esi - 0xc]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00401410
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x64], esi
cmp dword [eax - 4], edi
jle 0x46c18b
mov ecx, dword [eax - 0xc]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00401410
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004e4d4d
add esp, 8
cmp eax, ebx
jl 0x46c358
cmp eax, dword [esi - 8]
jg 0x46c358
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004e4d4d
add esp, 8
cmp eax, ebx
jl 0x46c358
mov ecx, dword [esp + 0x1c]
cmp eax, dword [ecx - 8]
jg 0x46c358
mov dword [ecx - 0xc], eax
mov ecx, dword [esp + 0x1c]
xor edx, edx
mov word [ecx + eax*2], dx
mov byte [esp + 0xcc], 3
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 0x46c21c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xcc], 2
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 0x46c244
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0xcc], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46c268
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x46c286
mov edi, dword [esp + 0x40]
call fcn.0041d590
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004e3ed0
add esp, 4
mov edx, dword [esp + 0x30]
push edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call fcn.004e3ed0
mov dword [esp + 0xd0], 0xffffffff
mov eax, dword [esp + 0x20]
add esp, 4
jmp 0x46bc38
lea eax, [esp + 0x2c]
push 0x1b2
push eax
call fcn.00433510
mov ecx, dword [eax]
mov edx, dword [esi + 4]
push 0x30
push ecx
push edx
xor eax, eax
call fcn.00488c60
add esp, 0x14
lea ecx, [esp + 0x2c]
call fcn.004016f0
mov eax, dword [ebp]
mov edx, dword [eax + 0x28]
push 1
mov ecx, ebp
call edx
lea esi, [esp + 0x84]
call fcn.0040ed90
lea ecx, [esp + 0x18]
call fcn.004016f0
lea ecx, [esp + 0x24]
call fcn.004016f0
lea ecx, [esp + 0x20]
call fcn.004016f0
lea esi, [esp + 0x30]
call fcn.0041d600
lea ecx, [esp + 0x1c]
call fcn.004016f0
jmp 0x46bc54
lea eax, [esp + 0x2c]
push 0x1b5
push eax
call fcn.00433510
mov eax, dword [eax]
mov ecx, dword [ebp + 4]
push 0x40
push eax
push ecx
xor eax, eax
call fcn.00488c60
add esp, 0x14
lea ecx, [esp + 0x2c]
call fcn.004016f0
jmp 0x46c0c9
push 0x80070057
call fcn.00401540
int3