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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43dcf7
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x44e740]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push esi
push edi
mov eax, dword [0x44e740]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x2c], edx
cmp byte [edx + 0x24], 0
jne 0x41482d
mov eax, 0x80004001
jmp 0x414b42
mov dword [eax], 1
lea edx, [esp + 0x64]
push edx
mov eax, 0xf
mov dword [esp + 0x78], 0
mov word [esp + 0x74], ax
lea edx, [esp + 0x74]
mov eax, dword [ecx]
push edx
push ecx
mov dword [esp + 0x84], 1
mov dword [esp + 0x88], 0xffffffff
mov dword [esp + 0x8c], 1
call dword [eax + 0xc]
test eax, eax
js 0x414b42
push 0
push 0
push 0xffffffffffffffff
push dword [esp + 0x74]
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
mov ebx, eax
test ebx, ebx
jne 0x4148a4
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.ole32.dll_ReleaseStgMedium]
jmp 0x414b40
xor eax, eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x108], eax
xor ecx, ecx
mov eax, 0x104
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004212ec
mov esi, eax
add esp, 4
mov dword [esp + 0x90], esi
xor edi, edi
mov byte [esp + 0x108], 1
test ebx, ebx
je 0x414999
push 0x104
push esi
push edi
push dword [esp + 0x74]
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
cmp word [esi], ax
je 0x414951
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x414942
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.004074e0
lea eax, [esp + 0x14]
mov byte [esp + 0x108], 2
push eax
lea ecx, [esp + 0x88]
call fcn.00419390
mov byte [esp + 0x108], 1
cmp dword [esp + 0x28], 8
jb 0x414990
push dword [esp + 0x14]
call fcn.00425576
add esp, 4
inc edi
cmp edi, ebx
jb 0x414910
push dword [esp + 0x68]
call dword [sym.imp.SHELL32.dll_DragFinish]
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.ole32.dll_ReleaseStgMedium]
push 0x60
lea eax, [esp + 0x98]
push 0
push eax
call fcn.00429ef0
add esp, 0xc
mov dword [esp + 0x28], 7
xor eax, eax
mov dword [esp + 0x24], 0
lea ecx, [esp + 0x14]
mov word [esp + 0x14], ax
push eax
push 0x447038
call fcn.004074e0
xor eax, eax
mov byte [esp + 0x108], 3
push eax
push 0x447038
lea ecx, [esp + 0x3c]
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
call fcn.004074e0
sub esp, 0x18
mov byte [esp + 0x120], 4
mov ecx, esp
xor eax, eax
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x447038
mov word [ecx], ax
call fcn.004074e0
mov edi, dword [esp + 0x44]
lea eax, [esp + 0x9c]
lea ecx, [esp + 0xac]
push dword [edi + 0x28]
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x5c]
push eax
push 9
call fcn.00418930
cmp dword [esp + 0x48], 8
jb 0x414a7d
push dword [esp + 0x34]
call fcn.00425576
add esp, 4
xor eax, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
mov byte [esp + 0x108], 7
cmp dword [esp + 0x28], 8
jb 0x414aaf
push dword [esp + 0x14]
call fcn.00425576
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov word [esp + 0x14], ax
lea ecx, [esp + 0x94]
lea eax, [esp + 0x4c]
mov dword [esp + 0x24], 0
push eax
call fcn.00418a20
push eax
mov byte [esp + 0x10c], 8
mov ecx, dword [edi + 0xbc]
push 0xb
call fcn.00417f60
cmp dword [esp + 0x60], 0x10
jb 0x414b00
push dword [esp + 0x4c]
call fcn.00425576
add esp, 4
lea ecx, [esp + 0x94]
call fcn.00411a10
test esi, esi
je 0x414b19
push esi
call fcn.004259b4
add esp, 4
mov esi, dword [esp + 0x84]
test esi, esi
je 0x414b40
push dword [esp + 0x30]
mov edx, dword [esp + 0x8c]
push ecx
mov ecx, esi
call fcn.00411f50
push esi
call fcn.00425576
add esp, 0xc
xor eax, eax
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.00424db6
mov esp, ebp
pop ebp
ret 0x18