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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43cd97
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x44d740]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push esi
push edi
mov eax, dword [0x44d740]
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 0x40e10d
mov eax, 0x80004001
jmp 0x40e422
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 0x40e422
push 0
push 0
push 0xffffffffffffffff
push dword [esp + 0x74]
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
mov ebx, eax
test ebx, ebx
jne 0x40e184
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.ole32.dll_ReleaseStgMedium]
jmp 0x40e420
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.00420439
mov esi, eax
add esp, 4
mov dword [esp + 0x90], esi
xor edi, edi
mov byte [esp + 0x108], 1
test ebx, ebx
je 0x40e279
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 0x40e231
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e222
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.004028b0
lea eax, [esp + 0x14]
mov byte [esp + 0x108], 2
push eax
lea ecx, [esp + 0x88]
call fcn.004132f0
mov byte [esp + 0x108], 1
cmp dword [esp + 0x28], 8
jb 0x40e270
push dword [esp + 0x14]
call fcn.00424bf6
add esp, 4
inc edi
cmp edi, ebx
jb 0x40e1f0
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.00429830
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 0x445e3c
call fcn.004028b0
xor eax, eax
mov byte [esp + 0x108], 3
push eax
push 0x445e3c
lea ecx, [esp + 0x3c]
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
call fcn.004028b0
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 0x445e3c
mov word [ecx], ax
call fcn.004028b0
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.00412110
cmp dword [esp + 0x48], 8
jb 0x40e35d
push dword [esp + 0x34]
call fcn.00424bf6
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 0x40e38f
push dword [esp + 0x14]
call fcn.00424bf6
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.00412200
push eax
mov byte [esp + 0x10c], 8
mov ecx, dword [edi + 0xbc]
push 0xb
call fcn.00411730
cmp dword [esp + 0x60], 0x10
jb 0x40e3e0
push dword [esp + 0x4c]
call fcn.00424bf6
add esp, 4
lea ecx, [esp + 0x94]
call fcn.0040a2a0
test esi, esi
je 0x40e3f9
push esi
call fcn.00425eb0
add esp, 4
mov esi, dword [esp + 0x84]
test esi, esi
je 0x40e420
push dword [esp + 0x30]
mov edx, dword [esp + 0x8c]
push ecx
mov ecx, esi
call fcn.0040a7e0
push esi
call fcn.00424bf6
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.00424436
mov esp, ebp
pop ebp
ret 0x18